/* ==========================================
   RESET & BASE
   ========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a1a2e;
    --primary-dark: #282828;
    --accent: #282828;
    --accent-hover: #1a1a1a;
    --green: #27ae60;
    --yellow: #f39c12;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --border: #e0e0e0;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
    --radius: 8px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--light-bg);
    line-height: 1.6;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ==========================================
   TOP BAR
   ========================================== */
.top-bar {
    background: var(--accent);
    color: var(--white);
    text-align: center;
    padding: 8px 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ==========================================
   HEADER
   ========================================== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 16px;
}

.logo img {
    height: 40px;
    width: auto;
}

.header-search {
    flex: 1;
    display: flex;
    max-width: 500px;
}

.search-input {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid var(--border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--accent);
}

.search-btn {
    padding: 10px 16px;
    background: var(--accent);
    color: var(--white);
    border: 2px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--accent-hover);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    color: var(--text-light);
    position: relative;
}

.header-action i {
    font-size: 20px;
    margin-bottom: 2px;
    color: var(--primary);
}

.header-action:hover {
    color: var(--accent);
}

.header-action:hover i {
    color: var(--accent);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--accent);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.main-nav {
    background: var(--primary-dark, #1a1a2e);
}

.nav-list {
    display: flex;
    gap: 0;
}

/* ==========================================
   CATEGORIES DRAWER (mobile)
   ========================================== */
.cat-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cat-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cat-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: var(--white);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
}

.cat-drawer.open {
    transform: translateX(0);
}

.cat-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: none;
}

.cat-drawer-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.cat-drawer-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.cat-drawer-close:hover {
    background: var(--light-bg);
    color: var(--text);
}

.cat-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 0;
}

.cat-drawer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.cat-drawer-item:hover,
.cat-drawer-item:active {
    background: var(--light-bg);
}

.cat-drawer-item i {
    font-size: 12px;
    color: var(--text-muted);
}

/* Hide cat-drawer on desktop */
@media (min-width: 769px) {
    .cat-drawer-overlay,
    .cat-drawer {
        display: none;
    }
}

.nav-link {
    display: block;
    padding: 12px 24px;
    color: rgba(255,255,255,.7);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    border-bottom: 3px solid transparent;
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255,255,255,.06);
}

.nav-link.active-nav {
    color: var(--white);
    font-weight: 600;
    border-bottom-color: #FFD700;
}

/* ==========================================
   BANNER / CAROUSEL
   ========================================== */
.banner-section {
    position: relative;
    overflow: hidden;
    background: var(--primary-dark);
}

.banner-carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.banner-slide {
    min-width: 100%;
    position: relative;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.banner-dot.active {
    background: var(--white);
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.banner-arrow:hover {
    background: rgba(0,0,0,0.7);
}

.banner-arrow.prev {
    left: 16px;
}

.banner-arrow.next {
    right: 16px;
}

/* ==========================================
   BRANDS BAR
   ========================================== */
.brands-section {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.brands-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.brands-list img {
    height: 30px;
    opacity: 0.6;
    transition: var(--transition);
    filter: grayscale(50%);
}

.brands-list img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ==========================================
   SECTIONS
   ========================================== */
.section {
    padding: 40px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    padding-bottom: 8px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

/* ==========================================
   PRODUCT CAROUSEL (horizontal scroll)
   ========================================== */
.products-carousel-wrapper {
    position: relative;
}

.products-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 8px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.products-carousel::-webkit-scrollbar {
    display: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 1px solid var(--border);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.carousel-btn.prev {
    left: -18px;
}

.carousel-btn.next {
    right: -18px;
}

/* ==========================================
   PRODUCT GRID
   ========================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

/* ==========================================
   PRODUCT CARD
   ========================================== */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: visible;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-width: 220px;
    max-width: 280px;
    position: relative;
    flex-shrink: 0;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f4d03f;
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
    letter-spacing: 0.5px;
}

.product-card-wishlist {
    position: absolute;
    top: auto;
    bottom: -18px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    color: var(--text-muted);
    transition: var(--transition);
    z-index: 3;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    -webkit-tap-highlight-color: transparent;
}

.product-card-wishlist:hover,
.product-card-wishlist.active {
    color: var(--accent);
    border-color: var(--accent);
}

.product-card-wishlist.active i {
    font-weight: 900;
}

.product-card-image {
    position: relative;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    height: 220px;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
}

.product-card-image img {
    max-height: 100%;
    object-fit: contain;
}

.product-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 55px;
}

.product-card-title a:hover {
    color: var(--accent);
}

.product-card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.product-card-installments {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.product-card-actions {
    margin-top: auto;
}

.btn-add-cart {
    width: 100%;
    padding: 12px 16px;
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    -webkit-tap-highlight-color: transparent;
}

.btn-add-cart:hover {
    background: #219a52;
    transform: scale(1.02);
}

.btn-add-cart:active {
    transform: scale(0.97);
}

.btn-add-cart i {
    font-size: 15px;
}

/* ==========================================
   PRODUCT DETAIL PAGE
   ========================================== */
.product-detail {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    margin: 24px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.product-gallery {
    position: relative;
}

.product-gallery-main {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: #fafafa;
}

.product-gallery-main img {
    max-height: 380px;
    object-fit: contain;
}

.product-gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.product-gallery-thumbs img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.product-gallery-thumbs img:hover,
.product-gallery-thumbs img.active-thumb {
    border-color: var(--accent);
}

.gallery-icons {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
}

.gallery-icon {
    width: 32px;
    height: 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
}

.gallery-icon:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.product-info h1 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.product-rating .stars {
    color: var(--yellow);
    font-size: 14px;
}

.product-rating .rating-num {
    font-weight: 600;
    font-size: 14px;
}

.product-rating .reviews-link {
    font-size: 12px;
    color: var(--text-muted);
}

.product-category-link {
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 16px;
    display: block;
}

.product-price-box {
    background: var(--light-bg);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.product-price-main {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.product-price-installments {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
}

.product-price-installments a {
    color: var(--accent);
    font-weight: 600;
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.product-quantity label {
    font-weight: 600;
    font-size: 14px;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.qty-btn {
    width: 36px;
    height: 36px;
    background: var(--light-bg);
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--border);
}

.qty-input {
    width: 50px;
    height: 36px;
    text-align: center;
    border: none;
    font-size: 14px;
    font-weight: 600;
    outline: none;
}

.btn-buy {
    width: 100%;
    padding: 14px;
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 8px;
}

.btn-buy:hover {
    background: #219a52;
}

.buy-note {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
}

/* Shipping calculator */
.shipping-calc {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.shipping-calc h4 {
    font-size: 14px;
    margin-bottom: 8px;
}

.shipping-calc p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.shipping-form {
    display: flex;
    gap: 8px;
}

.shipping-form input {
    flex: 1;
    padding: 10px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    outline: none;
}

.shipping-form input:focus {
    border-color: var(--accent);
}

.shipping-form button {
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.shipping-form button:hover {
    background: var(--accent);
}

.stock-link {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--accent);
    cursor: pointer;
}

/* Shipping Results */
.shipping-results {
    margin-top: 16px;
}

.shipping-loading {
    padding: 12px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

.shipping-loading i {
    margin-right: 6px;
}

.shipping-error {
    padding: 10px 14px;
    background: #fff3f3;
    color: #c0392b;
    border: 1px solid #f5c6cb;
    border-radius: var(--radius);
    font-size: 13px;
}

.shipping-location {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.shipping-location i {
    margin-right: 4px;
    color: var(--accent);
}

.shipping-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    background: var(--white);
    transition: var(--transition);
}

.shipping-option:hover {
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.shipping-option-icon {
    font-size: 20px;
    width: 32px;
    text-align: center;
    flex-shrink: 0;
}

.shipping-option-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.shipping-option-info strong {
    font-size: 13px;
    color: var(--primary);
}

.shipping-option-days {
    font-size: 12px;
    color: var(--text-muted);
}

.shipping-option-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--success, #27ae60);
    white-space: nowrap;
}

/* Cart page shipping option selection */
.cart-shipping-option.selected-shipping {
    border-color: #27ae60;
    background: #f0fdf4;
    box-shadow: 0 0 0 1px #27ae60;
}

.cart-shipping-calc {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.cart-shipping-calc h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text);
}

.cart-shipping-calc h4 i {
    margin-right: 6px;
    color: var(--text-muted);
}

.cart-shipping-calc .shipping-form {
    display: flex;
    gap: 8px;
}

.cart-shipping-calc .shipping-form input {
    flex: 1;
    padding: 8px 10px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    outline: none;
}

.cart-shipping-calc .shipping-form input:focus {
    border-color: #282828;
}

.cart-shipping-calc .shipping-form button {
    padding: 8px 16px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
}

.cart-shipping-calc .shipping-form button:hover {
    opacity: 0.85;
}

.cart-shipping-calc .shipping-option {
    padding: 10px 12px;
    margin-bottom: 6px;
    font-size: 12px;
}

.cart-shipping-calc .shipping-option-icon {
    font-size: 16px;
}

.cart-shipping-calc .shipping-option-info strong {
    font-size: 12px;
}

.cart-shipping-calc .shipping-option-days {
    font-size: 11px;
}

.cart-shipping-calc .shipping-option-price {
    font-size: 12px;
}

/* Description section */
.product-description {
    margin-top: 32px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.product-description h2 {
    font-size: 18px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.product-description h3 {
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--primary);
}

.product-description p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Reviews section */
.reviews-section {
    margin-top: 32px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.reviews-section h2 {
    font-size: 18px;
    margin-bottom: 20px;
}

.reviews-summary {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.reviews-overall {
    text-align: center;
    min-width: 120px;
}

.reviews-overall .rating-big {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.reviews-overall .stars-big {
    color: var(--yellow);
    font-size: 20px;
}

.reviews-overall .review-count {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.reviews-metrics {
    flex: 1;
}

.metric-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    font-size: 12px;
}

.metric-label {
    min-width: 140px;
    color: var(--text-light);
}

.metric-bar {
    flex: 1;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background: var(--green);
    border-radius: 3px;
}

.metric-value {
    min-width: 30px;
    text-align: right;
    color: var(--text-muted);
}

.star-bars {
    margin-top: 16px;
}

.star-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 12px;
}

.review-card {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.review-card:last-child {
    border-bottom: none;
}

.review-stars {
    color: var(--yellow);
    font-size: 14px;
    margin-bottom: 4px;
}

.review-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.review-text {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.review-meta {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-helpful {
    font-size: 11px;
    color: var(--text-muted);
}

.review-helpful a {
    color: var(--accent);
}

.btn-evaluate {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 24px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
}

.btn-evaluate:hover {
    background: var(--accent-hover);
}

.btn-more-reviews {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
}

.btn-more-reviews:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ==========================================
   CART PAGE
   ========================================== */
.cart-page {
    padding: 32px 0;
}

.cart-page h1 {
    font-size: 24px;
    margin-bottom: 24px;
}

.cart-empty {
    text-align: center;
    padding: 60px 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.cart-empty i {
    font-size: 64px;
    color: var(--border);
    margin-bottom: 16px;
}

.cart-empty p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.cart-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.cart-table table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    background: var(--primary);
    color: var(--white);
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
}

.cart-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.cart-product-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-product-info img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 4px;
}

.cart-product-name {
    font-size: 13px;
    font-weight: 600;
}

.cart-remove {
    color: var(--accent);
    font-size: 12px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}

.cart-remove:hover {
    text-decoration: underline;
}

.cart-summary {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
}

.cart-summary-box {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    min-width: 320px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.cart-summary-row.total {
    font-size: 20px;
    font-weight: 700;
    border-top: 2px solid var(--border);
    padding-top: 12px;
    margin-top: 12px;
}

.btn-checkout {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 16px;
}

.btn-checkout:hover {
    background: var(--accent-hover);
}

.btn-continue {
    display: inline-block;
    margin-top: 12px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
}

/* ==========================================
   INFO SECTION
   ========================================== */
.info-section {
    padding: 40px 0;
    background: var(--white);
}

.info-welcome {
    text-align: center;
    margin-bottom: 32px;
}

.info-welcome h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 8px;
}

.info-welcome p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.info-card {
    text-align: center;
    padding: 24px 16px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.info-card:hover {
    background: var(--light-bg);
}

.info-card i {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 12px;
}

.info-card h4 {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 8px;
}

.info-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================
   NEWSLETTER
   ========================================== */
.newsletter-section {
    background: var(--primary);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.newsletter-section h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.newsletter-section > .container > p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 24px;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-inputs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.newsletter-inputs input {
    flex: 1;
    padding: 10px 14px;
    border: none;
    border-radius: var(--radius);
    font-size: 13px;
    outline: none;
}

.newsletter-interests {
    margin-bottom: 16px;
}

.newsletter-interests span {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    opacity: 0.9;
}

.interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.interest-tags label {
    font-size: 12px;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.interest-tags label:hover {
    border-color: var(--accent);
    background: rgba(233, 69, 96, 0.2);
}

.interest-tags input[type="checkbox"] {
    display: none;
}

.interest-tags label:has(input:checked) {
    background: var(--accent);
    border-color: var(--accent);
}

.newsletter-consent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    opacity: 0.8;
    margin-bottom: 16px;
}

.newsletter-consent a {
    color: var(--accent);
    text-decoration: underline;
}

.btn-primary {
    padding: 12px 32px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: scale(1.02);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 24px;
    padding-bottom: 32px;
}

.footer-logo {
    height: 36px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-col h4 {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 12px;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 16px 0;
    text-align: center;
    font-size: 11px;
    opacity: 0.5;
}

/* ==========================================
   BACK TO TOP & WHATSAPP
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

/* ==========================================
   STATIC PAGES
   ========================================== */
.static-page {
    padding: 32px 0;
}

.static-content {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.static-content h1 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 8px;
}

.static-content .date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.static-content h2 {
    font-size: 18px;
    color: var(--primary);
    margin-top: 24px;
    margin-bottom: 12px;
}

.static-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.static-content ul {
    margin-bottom: 16px;
    padding-left: 20px;
}

.static-content ul li {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
    list-style: disc;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
}

.back-link:hover {
    gap: 10px;
}

/* ==========================================
   ALERT / TOAST
   ========================================== */
.toast {
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--green);
    color: var(--white);
    padding: 14px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-hover);
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.4s ease;
}

.toast.show {
    transform: translateX(0);
}

/* ==========================================
   CART DRAWER (sidebar)
   ========================================== */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 90vw;
    height: 100%;
    background: var(--white);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.cart-drawer-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.cart-drawer-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
}

.cart-drawer-close:hover {
    background: var(--light-bg);
    color: var(--text);
}

/* Free Shipping Bar */
.free-shipping-bar {
    display: none;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
}

.free-shipping-text {
    font-size: 13px;
    color: var(--text);
    margin-bottom: 8px;
}

.free-shipping-text i {
    margin-right: 4px;
}

.free-shipping-pending .free-shipping-text i {
    color: var(--yellow, #f39c12);
}

.free-shipping-achieved .free-shipping-text {
    color: #27ae60;
}

.free-shipping-achieved .free-shipping-text i {
    color: #27ae60;
}

.free-shipping-progress {
    width: 100%;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
}

.free-shipping-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.free-shipping-pending .free-shipping-fill {
    background: linear-gradient(90deg, #f39c12, #e67e22);
}

.free-shipping-achieved .free-shipping-fill {
    background: linear-gradient(90deg, #27ae60, #2ecc71);
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    -webkit-overflow-scrolling: touch;
}

.cart-drawer-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: var(--text-muted);
}

.cart-drawer-empty i {
    font-size: 56px;
    color: var(--border);
    margin-bottom: 16px;
}

.cart-drawer-empty p {
    font-size: 15px;
}

.cart-drawer-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}

.cart-drawer-item:last-child {
    border-bottom: none;
}

.cart-drawer-item-img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: #fafafa;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border: 1px solid var(--border);
}

.cart-drawer-item-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-drawer-item-info {
    flex: 1;
    min-width: 0;
}

.cart-drawer-item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-drawer-item-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 8px;
}

.cart-drawer-item-qty {
    margin-bottom: 6px;
}

.drawer-qty {
    display: inline-flex;
    border: 2px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}

.drawer-qty .qty-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
    font-weight: 700;
    background: var(--light-bg);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.drawer-qty .qty-btn:hover {
    background: var(--border);
}

.drawer-qty .qty-btn:active {
    background: var(--accent);
    color: var(--white);
}

.drawer-qty .qty-input {
    width: 40px;
    height: 32px;
    text-align: center;
    border: none;
    font-size: 14px;
    font-weight: 600;
    background: var(--white);
    outline: none;
}

.cart-drawer-remove {
    font-size: 12px;
    color: var(--accent);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.cart-drawer-remove:hover {
    text-decoration: underline;
    color: var(--accent-hover);
}

.cart-drawer-footer {
    flex-shrink: 0;
    padding: 16px 20px;
    border-top: 2px solid var(--border);
    background: var(--white);
}

.cart-drawer-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cart-drawer-total span:first-child {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.cart-drawer-total .total-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.btn-drawer-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    height: 48px;
    text-align: center;
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 8px;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    box-sizing: border-box;
    line-height: 1;
}

.btn-drawer-cart:hover {
    background: #219a52;
}

.btn-drawer-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    height: 48px;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    box-sizing: border-box;
    line-height: 1;
}

.btn-drawer-checkout:hover {
    background: var(--accent);
}

/* ==========================================
   CHECKOUT PAGE
   ========================================== */
.checkout-page {
    padding: 32px 0 64px;
}

.checkout-title {
    font-size: 22px;
    margin-bottom: 24px;
    color: var(--primary);
}

.checkout-title i {
    margin-right: 8px;
    font-size: 18px;
}

/* Steps indicator */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 32px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.checkout-step {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: var(--transition);
}

.checkout-step.active {
    opacity: 1;
}

.checkout-step.completed {
    opacity: 0.7;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

.checkout-step.active .step-number {
    background: var(--primary);
    color: var(--white);
}

.checkout-step.completed .step-number {
    background: #27ae60;
    color: var(--white);
}

.checkout-step span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.checkout-step-line {
    width: 60px;
    height: 2px;
    background: var(--border);
    margin: 0 12px;
}

/* Grid layout */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}

/* Form sections */
.checkout-section {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    margin-bottom: 20px;
}

.checkout-section h2 {
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    color: var(--primary);
}

.checkout-section h2 i {
    margin-right: 8px;
    color: var(--text-muted);
}

.checkout-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group.small {
    max-width: 120px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select {
    padding: 10px 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
}

.form-group input.error {
    border-color: #e74c3c;
}

.cep-input-group {
    display: flex;
    gap: 6px;
}

.cep-input-group input {
    flex: 1;
}

.btn-cep-search {
    padding: 10px 14px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-cep-search:hover {
    opacity: 0.85;
}

.cep-hint {
    font-size: 11px;
    color: var(--text-muted);
}

/* Free shipping notice */
.checkout-free-shipping-notice {
    margin-top: 16px;
    padding: 12px 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius);
    color: #27ae60;
    font-size: 13px;
    font-weight: 600;
}

.checkout-free-shipping-notice i {
    margin-right: 6px;
}

/* Payment methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.payment-option {
    cursor: pointer;
    display: block;
}

.payment-option input {
    display: none;
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.payment-option.selected .payment-option-content {
    border-color: var(--primary);
    background: rgba(26, 26, 46, 0.03);
}

.payment-option-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    border-radius: var(--radius);
    font-size: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.payment-option-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.payment-option-info strong {
    font-size: 14px;
    color: var(--text);
}

.payment-option-info span {
    font-size: 12px;
    color: var(--text-muted);
}

.payment-option-badge {
    padding: 4px 10px;
    background: #27ae60;
    color: var(--white);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Payment details */
.payment-details {
    margin-bottom: 20px;
}

.pix-info,
.boleto-info {
    padding: 16px;
    background: var(--light-bg);
    border-radius: var(--radius);
}

.pix-discount {
    padding: 10px 14px;
    background: #f0fdf4;
    border-radius: var(--radius);
    color: #27ae60;
    font-size: 13px;
    margin-bottom: 12px;
}

.pix-discount i {
    margin-right: 6px;
}

.pix-total {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text);
}

.pix-total strong {
    color: #27ae60;
}

.pix-note {
    font-size: 12px;
    color: var(--text-muted);
}

.boleto-info p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 6px;
}

.boleto-info i {
    margin-right: 4px;
    color: var(--primary);
}

/* Credit Card Form */
.credit-card-form {
    padding: 16px;
    background: var(--light-bg);
    border-radius: var(--radius);
}

.card-preview {
    margin-bottom: 20px;
    perspective: 1000px;
}

.card-preview-inner {
    background: linear-gradient(135deg, #1a1a2e, #2d1b69, #1a1a2e);
    border-radius: 14px;
    padding: 24px;
    min-height: 180px;
    position: relative;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.card-chip {
    width: 44px;
    height: 32px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    border-radius: 6px;
    margin-bottom: 20px;
}

.card-brand-icon {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 28px;
    color: rgba(255,255,255,0.8);
}

.card-preview-number {
    font-size: 20px;
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
    margin-bottom: 20px;
    word-spacing: 6px;
}

.card-preview-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-label {
    display: block;
    font-size: 9px;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.card-preview-name,
.card-preview-expiry {
    display: block;
    font-size: 13px;
    font-weight: 500;
}

.card-secure-info {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.card-secure-info i {
    color: #27ae60;
    margin-right: 4px;
}

/* Actions */
.checkout-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.btn-checkout-back {
    padding: 10px 20px;
    background: none;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-checkout-back:hover {
    border-color: var(--text-muted);
    color: var(--text);
}

.btn-checkout-next {
    padding: 12px 28px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-checkout-next:hover {
    opacity: 0.9;
}

.btn-checkout-confirm {
    padding: 14px 32px;
    background: #27ae60;
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-checkout-confirm:hover {
    background: #219a52;
}

/* Sidebar summary */
.checkout-sidebar {
    position: sticky;
    top: 20px;
}

.checkout-summary-box {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.checkout-summary-box h3 {
    font-size: 16px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    color: var(--primary);
}

.checkout-items {
    margin-bottom: 16px;
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-item-img {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
    flex-shrink: 0;
}

.checkout-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-item-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkout-item-name {
    font-size: 12px;
    color: var(--text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.checkout-item-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

/* Totals */
.checkout-totals {
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-light);
}

.checkout-total-row.shipping-free span:last-child {
    color: #27ae60;
    font-weight: 600;
}

.checkout-total-row.shipping-free i {
    margin-right: 4px;
}

.checkout-total-row.discount {
    color: #27ae60;
}

.checkout-total-row.total {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    padding-top: 12px;
    margin-top: 8px;
    border-top: 2px solid var(--primary);
}

.checkout-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
}

.checkout-secure i {
    color: #27ae60;
    font-size: 14px;
}

/* Order confirmed modal */
.checkout-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.checkout-modal {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    max-width: 440px;
    width: 100%;
    animation: modalShow 0.4s ease;
}

@keyframes modalShow {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.checkout-modal-icon {
    font-size: 56px;
    color: #27ae60;
    margin-bottom: 16px;
}

.checkout-modal h2 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--primary);
}

.order-number {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.checkout-modal > p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.order-details-summary {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.order-detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.order-detail-item i {
    color: var(--primary);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .reviews-summary {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 13px;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-steps {
        padding: 14px;
        gap: 0;
    }

    .checkout-step span {
        display: none;
    }

    .checkout-step-line {
        width: 30px;
    }

    .checkout-form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.small {
        max-width: 100%;
    }

    .checkout-section {
        padding: 20px 16px;
    }

    .checkout-actions {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .checkout-actions .btn-checkout-back,
    .checkout-actions .btn-checkout-next,
    .checkout-actions .btn-checkout-confirm {
        width: 100%;
        justify-content: center;
    }

    .container {
        padding: 0 12px;
    }

    .top-bar {
        font-size: 11px;
        padding: 5px 0;
    }

    /* ---- MOBILE HEADER: hamburger | logo | cart ---- */
    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 14px;
        gap: 0;
        flex-wrap: nowrap;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        order: 1;
        font-size: 22px;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    .logo {
        order: 2;
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .logo img {
        height: 34px;
    }

    /* Hide search on mobile header */
    .header-search {
        display: none;
    }

    /* Hide full actions, show only cart icon inline */
    .header-actions {
        display: flex !important;
        order: 3;
        gap: 0;
        flex-shrink: 0;
    }

    .header-actions .header-action {
        display: none;
    }

    .header-actions .cart-link {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        position: relative;
    }

    .header-actions .cart-link span {
        display: none;
    }

    .header-actions .cart-link i {
        font-size: 22px;
        margin: 0;
        color: var(--primary);
    }

    .header-actions .cart-link .cart-badge {
        display: flex;
        top: 2px;
        right: 0px;
        width: 18px;
        height: 18px;
        font-size: 10px;
    }

    /* Hide desktop nav on mobile */
    .main-nav {
        display: none;
    }

    .nav-list {
        flex-direction: column;
    }

    .nav-link {
        padding: 11px 16px;
        font-size: 13px;
    }

    .banner-arrow {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .banner-dot {
        width: 10px;
        height: 10px;
    }

    /* ---- PRODUCT CARDS mobile (match screenshot) ---- */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .products-grid .product-card {
        min-width: unset;
        max-width: unset;
    }

    .product-card {
        border-radius: 16px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    }

    /* Carousel cards need fixed width on mobile */
    .products-carousel .product-card {
        min-width: 82vw;
        max-width: 82vw;
        flex-shrink: 0;
    }

    .product-card:hover {
        transform: none;
        box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    }

    .product-card-image {
        height: auto !important;
        min-height: 220px !important;
        padding: 20px !important;
        border-radius: 16px 16px 0 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible !important;
        background: #fff !important;
    }

    .product-card-image img {
        width: 70% !important;
        min-width: 200px !important;
        height: auto !important;
        max-height: none !important;
        max-width: none !important;
        margin: 0 auto;
        display: block;
        object-fit: contain;
    }

    .product-card-wishlist {
        display: none;
    }

    .product-badge {
        top: 12px;
        left: 12px;
        font-size: 11px;
        padding: 5px 14px;
    }

    .product-card-body {
        padding: 16px;
    }

    .product-card-title {
        font-size: 16px;
        min-height: 44px;
        -webkit-line-clamp: 2;
        margin-bottom: 8px;
        font-weight: 600;
        line-height: 1.3;
    }

    .product-card-price {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 4px;
    }

    .product-card-installments {
        font-size: 13px;
        margin-bottom: 16px;
        color: var(--text-muted);
    }

    .btn-add-cart {
        padding: 14px 16px;
        font-size: 16px;
        min-height: 50px;
        border-radius: 25px;
        font-weight: 600;
    }

    /* Carousel buttons mobile */
    .products-carousel {
        gap: 14px;
        padding-left: 4px;
    }

    .carousel-btn {
        display: none;
    }

    /* Section */
    .section {
        padding: 24px 0;
    }

    .section-title {
        font-size: 20px;
        text-align: center;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .section-subtitle {
        text-align: center;
    }

    .section-header {
        margin-bottom: 16px;
        justify-content: center;
        text-align: center;
    }

    /* Brands */
    .brands-section {
        padding: 12px 0;
    }

    .brands-list {
        gap: 16px;
    }

    .brands-list img {
        height: 22px;
    }

    /* Product detail mobile */
    .product-detail {
        padding: 16px;
        margin: 12px 0;
    }

    .product-gallery-main {
        min-height: 280px;
        padding: 16px;
    }

    .product-gallery-main img {
        max-height: 250px;
    }

    .product-info h1 {
        font-size: 18px;
    }

    .product-price-main {
        font-size: 26px;
    }

    .product-price-box {
        padding: 14px;
    }

    .btn-buy {
        padding: 14px;
        font-size: 15px;
        min-height: 52px;
        border-radius: 25px;
    }

    .qty-btn {
        width: 44px;
        height: 44px;
    }

    .qty-input {
        width: 50px;
        height: 44px;
        font-size: 16px;
    }

    /* Cart drawer mobile - full width */
    .cart-drawer {
        width: 100%;
        max-width: 100vw;
    }

    .cart-drawer-item-img {
        width: 70px;
        height: 70px;
    }

    /* Footer mobile */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .info-card {
        padding: 16px 10px;
    }

    .info-card i {
        font-size: 26px;
    }

    .info-welcome h3 {
        font-size: 18px;
    }

    .newsletter-inputs {
        flex-direction: column;
    }

    .newsletter-section h3 {
        font-size: 17px;
    }

    .static-content {
        padding: 20px;
    }

    .static-content h1 {
        font-size: 22px;
    }

    .cart-summary {
        justify-content: center;
    }

    .cart-summary-box {
        min-width: unset;
        width: 100%;
    }

    /* Cart table mobile */
    .cart-table table {
        font-size: 12px;
    }

    .cart-table th,
    .cart-table td {
        padding: 10px 8px;
    }

    .cart-product-info img {
        width: 48px;
        height: 48px;
    }

    .cart-product-name {
        font-size: 12px;
    }

    /* Floating buttons mobile */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 16px;
        right: 16px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 72px;
        right: 16px;
    }

    .toast {
        top: auto;
        bottom: 80px;
        right: 12px;
        left: 12px;
        text-align: center;
        font-size: 13px;
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    /* Carousel cards stay big on small screens */
    .products-carousel .product-card {
        min-width: 85vw;
        max-width: 85vw;
    }

    .products-carousel .product-card .product-card-image {
        height: auto !important;
        min-height: 220px !important;
        padding: 16px !important;
    }

    .products-carousel .product-card .product-card-image img {
        width: 70% !important;
        min-width: 200px !important;
        max-height: none !important;
    }

    .products-carousel .product-card .product-card-body {
        padding: 14px;
    }

    .products-carousel .product-card .product-card-price {
        font-size: 22px;
    }

    .products-carousel .product-card .btn-add-cart {
        font-size: 16px;
        padding: 14px 16px;
        border-radius: 25px;
        min-height: 50px;
    }

    /* Grid cards can be compact */
    .products-grid .product-card .product-card-image {
        height: 130px;
    }

    .products-grid .product-card .product-card-body {
        padding: 8px;
    }

    .products-grid .product-card .product-card-price {
        font-size: 15px;
    }

    .products-grid .product-card .btn-add-cart {
        font-size: 16px;
        padding: 9px 6px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .product-detail {
        padding: 12px;
    }

    .product-gallery-main {
        min-height: 220px;
    }

    .info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cart-drawer-item-img {
        width: 64px;
        height: 64px;
    }

    .cart-drawer-item-name {
        font-size: 12px;
    }

    .cart-drawer-item-price {
        font-size: 14px;
    }

    .brands-list {
        gap: 16px;
    }

    .brands-list img {
        height: 22px;
    }

    .reviews-section,
    .product-description {
        padding: 16px;
    }

    .reviews-section h2,
    .product-description h2 {
        font-size: 16px;
    }
}
