/* ============================================
   ENXOVAIS — Stylesheet Principal
   Aesthetic: Boutique de luxo acessível
   Paleta: Rosa antigo · Marfim · Sage green
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Brand Palette */
    --primary: #B5756B;           /* Rosa antigo / terracota suave */
    --primary-light: #D9A99E;     /* Rosa claro */
    --primary-dark: #8C5249;      /* Rosa escuro */
    --secondary: #7A9478;         /* Sage green */
    --secondary-light: #9BB59A;   /* Sage green claro */
    --accent: #C9A87C;            /* Dourado suave / linho */
    --accent-soft: #EDD9C4;       /* Bege pêssego */

    /* Backgrounds */
    --bg-cream: #FDFAF7;          /* Off-white quente */
    --bg-warm: #F5EDE8;           /* Rosé muito suave */
    --bg-sage: #EFF3EE;           /* Sage clarinho */
    --bg-dark: #2d1712;           /* Marrom escuro quente */
    --bg-card: #FFFFFF;
    --bg-linen: #F9F4EE;          /* Textura de linho */

    /* Text */
    --text-dark: #2A2422;
    --text-medium: #5C4E4A;
    --text-light: #9C8880;

    /* Borders */
    --border: #E8D9D2;
    --border-light: #F2E9E4;

    /* Status */
    --success: #7A9478;
    --danger: #C0574E;
    --warning: #C9956C;

    /* Shadows — mais suaves e rosadas */
    --shadow-sm: 0 2px 12px rgba(181, 117, 107, 0.06);
    --shadow-md: 0 4px 24px rgba(181, 117, 107, 0.10);
    --shadow-lg: 0 8px 48px rgba(181, 117, 107, 0.14);
    --shadow-xl: 0 16px 64px rgba(181, 117, 107, 0.18);

    /* Radius — mais arredondado, suave */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-pill: 100px;

    /* Transitions */
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--bg-cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Textura sutil no body */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='1' height='1' x='0' y='0' fill='%23B5756B' fill-opacity='0.018'/%3E%3Crect width='1' height='1' x='2' y='2' fill='%23B5756B' fill-opacity='0.018'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--primary);
    color: rgba(255,255,255,0.88);
    padding: 10px 0;
    font-size: 12.5px;
    font-weight: 400;
    letter-spacing: 0.6px;
    font-family: var(--font-body);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: rgba(255,255,255,0.95);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.top-bar a:hover { color: white; text-decoration: underline; text-underline-offset: 3px; }

.top-bar-left { display: flex; gap: 24px; align-items: center; }
.top-bar-right { display: flex; gap: 24px; align-items: center; }

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.header {
    background: rgba(253, 250, 247, 0.97);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(253, 250, 247, 0.99);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    padding-bottom: 18px;
    gap: 20px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 1;
    min-width: 0;
}

.logo-icon {
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: none;
    flex-shrink: 0;
}

.logo-text { min-width: 0; flex-shrink: 1; }

.logo-text h1 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.1;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-text span {
    font-size: 10px;
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    margin-top: 1px;
}

/* Nav */
.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}

.nav-links a {
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-medium);
    border-radius: var(--radius-pill);
    transition: var(--transition);
    letter-spacing: 0.2px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--primary);
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: calc(100% - 36px);
}

/* Search Bar */
.search-bar {
    display: flex;
    align-items: center;
    background: var(--bg-linen);
    border-radius: var(--radius-pill);
    padding: 0 6px 0 20px;
    border: 1.5px solid var(--border-light);
    transition: var(--transition);
    width: 280px;
}

.search-bar:focus-within {
    border-color: var(--primary-light);
    background: white;
    box-shadow: 0 0 0 4px rgba(181, 117, 107, 0.12);
}

.search-bar input {
    border: none;
    background: none;
    padding: 10px 14px;
    font-size: 13.5px;
    width: 100%;
    outline: none;
    color: var(--text-dark);
    font-family: var(--font-body);
}

.search-bar input::placeholder { color: var(--text-light); font-weight: 300; }

.search-bar button {
    background: var(--primary);
    color: white;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-bounce);
}

.search-bar button:hover {
    background: var(--primary-dark);
    transform: scale(1.08);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin-left: auto;
}

.header-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-medium);
    border: none;
    font-size: 20px;
    transition: var(--transition);
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.header-btn:hover {
    background: var(--bg-warm);
    color: var(--primary);
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--primary);
    color: white;
    font-size: 9px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid var(--bg-cream);
}

.cart-count:empty,
.cart-count[data-count="0"] { display: none; }

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
}

.mobile-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(150deg, #E8D5CF 0%, #F0E4DC 35%, #EEF2EE 100%);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
    min-height: 560px;
    display: flex;
    align-items: center;
}

/* Decorative pattern — bordado sutil */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(181,117,107,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(122,148,120,0.08) 0%, transparent 45%),
        radial-gradient(circle at 60% 80%, rgba(201,168,124,0.07) 0%, transparent 40%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--bg-cream), transparent);
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content { max-width: 560px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: white;
    border: 1.5px solid var(--primary-light);
    border-radius: var(--radius-pill);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 28px;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.hero h2 {
    font-family: var(--font-display);
    font-size: 58px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.12;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

.hero h2 em {
    font-style: italic;
    color: var(--primary);
    font-weight: 400;
}

.hero p {
    font-size: 17px;
    color: var(--text-medium);
    margin-bottom: 40px;
    line-height: 1.75;
    font-weight: 300;
    max-width: 440px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    flex-shrink: 0;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

/* Anel decorativo ao redor */
.hero-visual::before {
    content: '';
    position: absolute;
    inset: -16px;
    border: 1.5px dashed var(--primary-light);
    border-radius: 50%;
    opacity: 0.5;
    animation: spin-slow 30s linear infinite;
}

@keyframes spin-slow {
    to { transform: rotate(360deg); }
}

.hero-visual-inner {
    text-align: center;
    color: var(--text-medium);
    z-index: 1;
}

.hero-visual-inner .big-icon {
    font-size: 88px;
    margin-bottom: 16px;
    display: block;
}

.hero-visual-inner p {
    font-family: var(--font-display);
    font-size: 19px;
    font-style: italic;
    color: var(--primary);
    font-weight: 400;
    margin-bottom: 0;
}

/* Float Badges */
.hero-float-badge {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 4s ease-in-out infinite;
    border: 1px solid var(--border-light);
}

.hero-float-badge:nth-child(2) { bottom: 40px; left: -40px; animation-delay: 0.5s; }
.hero-float-badge:nth-child(3) { top: 40px; right: -40px; animation-delay: 1.5s; }

.hero-float-badge .badge-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-warm);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.hero-float-badge .badge-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.hero-float-badge .badge-text small {
    display: block;
    font-weight: 400;
    color: var(--text-light);
    font-size: 11px;
    margin-top: 1px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 14.5px;
    font-weight: 500;
    border-radius: var(--radius-pill);
    border: none;
    transition: var(--transition);
    cursor: pointer;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 20px rgba(181, 117, 107, 0.32);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(181, 117, 107, 0.42);
}

.btn-secondary {
    background: white;
    color: var(--text-dark);
    border: 1.5px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 1.5px solid var(--text-dark);
}

.btn-outline:hover {
    background: var(--text-dark);
    color: white;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.12);
    border-color: white;
}

.btn-sm { padding: 9px 22px; font-size: 13px; }
.btn-lg { padding: 17px 44px; font-size: 16px; }

.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #a0423a; }

.btn-success { background: var(--success); color: white; }
.btn-success:hover { background: #5e7a5c; }

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
}

.btn-cart {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-size: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    letter-spacing: 0.2px;
    transition: var(--transition);
    box-shadow: 0 3px 14px rgba(181, 117, 107, 0.25);
}

.btn-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(181, 117, 107, 0.35);
}

.btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ============================================
   FEATURES STRIP
   ============================================ */
.features-strip {
    background: var(--bg-linen);
    padding: 36px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    color: var(--primary);
    border: 1.5px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.feature-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.feature-text p {
    font-size: 12.5px;
    color: var(--text-light);
    font-weight: 300;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section {
    padding: 84px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header .label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
    display: block;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 14px;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.section-header h2 em {
    font-style: italic;
    color: var(--primary);
    font-weight: 400;
}

.section-header p {
    font-size: 15.5px;
    color: var(--text-light);
    max-width: 520px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.75;
}

/* Ornamento decorativo sob o título */
.section-header::after {
    content: '❧';
    display: block;
    margin-top: 16px;
    color: var(--primary-light);
    font-size: 18px;
    opacity: 0.7;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.section-header-flex .section-header {
    text-align: left;
    margin-bottom: 0;
}

.section-header-flex .section-header::after { display: none; }

/* ============================================
   CATEGORIES
   ============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    border: 1.5px solid var(--border-light);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(181,117,107,0.04), rgba(122,148,120,0.04));
    opacity: 0;
    transition: var(--transition);
}

.category-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: var(--transition);
    border-radius: 2px;
}

.category-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-card:hover::before { opacity: 1; }
.category-card:hover::after { transform: translateX(-50%) scaleX(1); }

.category-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    background: var(--bg-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: var(--transition-bounce);
    border: 1px solid var(--border-light);
}

.category-card:hover .category-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(-5deg);
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(181,117,107,0.3);
}

.category-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 4px;
    letter-spacing: 0.2px;
}

.category-card p {
    font-size: 12.5px;
    color: var(--text-light);
    font-weight: 300;
}

/* ============================================
   PRODUCT GRID
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    group: true;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.product-image {
    display: block;
    position: relative;
    padding-top: 105%;
    overflow: hidden;
    background: var(--bg-linen);
}

.product-image img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.06);
}

.product-image .no-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    color: var(--border);
}

.product-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.product-badge {
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.badge-sale { background: var(--danger); color: white; }
.badge-new { background: var(--secondary); color: white; }
.badge-featured { background: var(--accent); color: white; }

.product-actions-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(42,36,34,0.65), transparent);
    transform: translateY(100%);
    transition: var(--transition);
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

.product-card:hover .product-actions-overlay {
    transform: translateY(0);
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 8px;
}

.product-name {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-name a:hover { color: var(--primary); }

.product-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.price-current {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    font-family: var(--font-display);
}

.price-original {
    font-size: 13.5px;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 300;
}

.price-discount {
    font-size: 11px;
    font-weight: 600;
    color: var(--secondary);
    background: rgba(122, 148, 120, 0.12);
    padding: 3px 9px;
    border-radius: var(--radius-pill);
}

.product-card .btn-cart {
    font-size: 13px;
    padding: 10px 18px;
}

/* ============================================
   SINGLE PRODUCT PAGE
   ============================================ */
.product-detail {
    padding: 40px 0 88px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 108px;
}

.gallery-main {
    width: 100%;
    padding-top: 100%;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-linen);
    margin-bottom: 16px;
    border: 1px solid var(--border-light);
}

.gallery-main img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-thumb {
    padding-top: 100%;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    background: var(--bg-linen);
    transition: var(--transition);
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(181,117,107,0.15);
}

.gallery-thumb img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

.product-detail-info h1 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.product-detail-info .product-category {
    margin-bottom: 22px;
}

.product-detail-price {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-light);
}

.product-detail-price .price-current {
    font-size: 38px;
}

.product-detail-price .price-original {
    font-size: 17px;
}

.product-description {
    color: var(--text-medium);
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 34px;
    font-weight: 300;
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
}

.product-quantity label {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-dark);
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    overflow: hidden;
    background: white;
}

.qty-selector button {
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-dark);
    transition: var(--transition);
}

.qty-selector button:hover {
    background: var(--bg-warm);
    color: var(--primary);
}

.qty-selector input {
    width: 56px;
    height: 44px;
    text-align: center;
    border: none;
    border-left: 1.5px solid var(--border);
    border-right: 1.5px solid var(--border);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    outline: none;
    background: transparent;
}

.product-detail-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 36px;
}

.product-detail-actions .btn-cart {
    width: auto;
    flex: 1;
    padding: 16px 32px;
    font-size: 15.5px;
}

.product-meta {
    padding: 24px;
    background: var(--bg-linen);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.product-meta-item {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
    align-items: center;
    color: var(--text-medium);
}

.product-meta-item:last-child { border-bottom: none; }

.product-meta-item .icon {
    font-size: 17px;
    width: 24px;
    text-align: center;
    color: var(--primary);
}

.product-meta-item strong { color: var(--text-dark); }

/* ============================================
   CART SIDEBAR
   ============================================ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(42,36,34,0.45);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0; right: 0;
    width: 430px;
    max-width: 92vw;
    height: 100vh;
    background: white;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -12px 0 48px rgba(181,117,107,0.12);
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-header {
    padding: 28px 28px 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.cart-header h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
}

.cart-header .close-cart,
.mobile-sidebar-header .close-cart {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-medium);
    -webkit-tap-highlight-color: transparent;
}

.cart-header .close-cart:hover,
.mobile-sidebar-header .close-cart:hover {
    background: var(--danger);
    color: white;
    border-color: var(--danger);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 28px;
}

.cart-empty {
    text-align: center;
    padding: 64px 24px;
    color: var(--text-light);
}

.cart-empty .empty-icon {
    font-size: 68px;
    margin-bottom: 18px;
    display: block;
    opacity: 0.3;
}

.cart-empty h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.cart-empty p { font-size: 14px; font-weight: 300; }

.cart-item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-light);
    align-items: center;
    animation: slideIn 0.35s ease;
}

@keyframes slideIn {
    from { transform: translateX(24px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-linen);
    border: 1px solid var(--border-light);
}

.cart-item-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    font-family: var(--font-display);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
}

.cart-item-qty button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cart-item-qty button:hover {
    background: var(--bg-warm);
    border-color: var(--primary-light);
}

.cart-item-qty span {
    font-size: 14px;
    font-weight: 600;
    width: 32px;
    text-align: center;
}

.cart-item-remove {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    color: var(--text-light);
    font-size: 17px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.cart-item-remove:hover {
    background: rgba(192,87,78,0.1);
    color: var(--danger);
}

.cart-footer {
    padding: 24px 28px;
    border-top: 1px solid var(--border-light);
    flex-shrink: 0;
    background: var(--bg-linen);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-medium);
}

.cart-total strong {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--primary);
    font-weight: 600;
}

.cart-footer .btn {
    width: 100%;
    padding: 16px;
    font-size: 15.5px;
}

.cart-footer .continue-shopping {
    display: block;
    text-align: center;
    margin-top: 14px;
    font-size: 13.5px;
    color: var(--text-light);
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    padding: 8px;
    transition: var(--transition);
    font-weight: 400;
}

.cart-footer .continue-shopping:hover { color: var(--primary); }

/* ============================================
   CHECKOUT PAGE
   ============================================ */
.checkout-page {
    padding: 44px 0 88px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.checkout-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px;
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
}

.checkout-section h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-dark);
}

.checkout-section h3 .step-number {
    width: 34px;
    height: 34px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group { margin-bottom: 18px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 7px;
    letter-spacing: 0.2px;
}

.form-group label .required { color: var(--danger); }

.form-control {
    width: 100%;
    padding: 13px 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14.5px;
    color: var(--text-dark);
    transition: var(--transition);
    background: var(--bg-cream);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary-light);
    background: white;
    box-shadow: 0 0 0 4px rgba(181, 117, 107, 0.1);
}

.form-control::placeholder {
    color: var(--text-light);
    font-weight: 300;
}

textarea.form-control { resize: vertical; min-height: 84px; }

/* Order Summary */
.order-summary {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border-light);
    position: sticky;
    top: 108px;
}

.order-summary h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.order-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    align-items: center;
}

.order-item-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-linen);
    flex-shrink: 0;
    border: 1px solid var(--border-light);
}

.order-item-img img { width: 100%; height: 100%; object-fit: cover; }

.order-item-details {
    flex: 1;
    min-width: 0;
}

.order-item-name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-item-qty {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 300;
}

.order-item-price {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    flex-shrink: 0;
    font-family: var(--font-display);
}

.order-totals {
    padding-top: 20px;
    margin-top: 8px;
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-medium);
    font-weight: 300;
}

.order-total-row.total {
    padding-top: 16px;
    margin-top: 10px;
    border-top: 1.5px solid var(--border);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.order-total-row.total span:last-child {
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 500;
}

.pix-info {
    background: var(--bg-sage);
    border-radius: var(--radius-md);
    padding: 22px;
    margin-top: 24px;
    text-align: center;
    border: 1px solid rgba(122,148,120,0.2);
}

.pix-info .pix-icon {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
}

.pix-info h4 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.pix-info p {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 300;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumb {
    padding: 18px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 300;
}

.breadcrumb a {
    color: var(--text-medium);
    transition: var(--transition);
}

.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .separator { color: var(--border); }

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 52px;
}

.pagination a, .pagination span {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 500;
    border: 1.5px solid var(--border);
    transition: var(--transition);
    color: var(--text-medium);
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(181,117,107,0.06);
}

.pagination .active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(181,117,107,0.3);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.65);
    padding: 68px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 52px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-text h3 {
    font-family: var(--font-display);
    font-size: 24px;
    color: white;
    margin-bottom: 4px;
    font-weight: 500;
}

.footer-brand .logo-text span {
    font-size: 10px;
    color: var(--primary-light);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-brand p {
    margin-top: 18px;
    font-size: 13.5px;
    line-height: 1.75;
    color: rgba(255,255,255,0.42);
    font-weight: 300;
}

.footer h4 {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 11px; }

.footer-links a {
    font-size: 13.5px;
    color: rgba(255,255,255,0.45);
    transition: var(--transition);
    font-weight: 300;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    font-size: 13.5px;
    margin-bottom: 13px;
    font-weight: 300;
}

.footer-contact .icon {
    color: var(--primary-light);
    font-size: 15px;
    margin-top: 2px;
}

.footer-bottom {
    padding: 26px 0;
    text-align: center;
    font-size: 12.5px;
    color: rgba(255,255,255,0.28);
    font-weight: 300;
}

/* ============================================
   CATALOG PAGE
   ============================================ */
.catalog-page { padding: 44px 0 88px; }

.catalog-layout {
    display: grid;
    grid-template-columns: 268px 1fr;
    gap: 36px;
}

.catalog-sidebar {
    position: sticky;
    top: 108px;
    align-self: start;
}

.sidebar-section {
    background: white;
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
}

.sidebar-section h4 {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.category-filter { list-style: none; }
.category-filter li { margin-bottom: 2px; }

.category-filter a {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    font-size: 13.5px;
    color: var(--text-medium);
    transition: var(--transition);
    font-weight: 300;
}

.category-filter a:hover,
.category-filter a.active {
    background: rgba(181, 117, 107, 0.07);
    color: var(--primary);
    font-weight: 500;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.catalog-header h2 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 500;
}

.catalog-sort select {
    padding: 10px 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 13.5px;
    color: var(--text-dark);
    outline: none;
    background: white;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition);
}

.catalog-sort select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(181,117,107,0.1);
}

.catalog-count {
    font-size: 13.5px;
    color: var(--text-light);
    font-weight: 300;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(150deg, #B5756B 0%, #8C5249 50%, #2A2422 100%);
    padding: 88px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Pattern de renda/bordado */
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3Ccircle cx='30' cy='30' r='10'/%3E%3Cpath d='M10 30 L50 30 M30 10 L30 50'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: 42px;
    color: white;
    margin-bottom: 18px;
    position: relative;
    font-weight: 400;
    font-style: italic;
}

.cta-section p {
    font-size: 17px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 36px;
    position: relative;
    font-weight: 300;
}

.cta-section .btn { position: relative; }

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-bounce);
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

/* ============================================
   ALERT MESSAGES
   ============================================ */
.alert {
    padding: 14px 22px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success { background: rgba(122,148,120,0.1); color: #4a6e48; border: 1px solid rgba(122,148,120,0.2); }
.alert-error { background: rgba(192,87,78,0.1); color: #a0423a; border: 1px solid rgba(192,87,78,0.2); }
.alert-warning { background: rgba(201,149,108,0.1); color: #9a6030; border: 1px solid rgba(201,149,108,0.2); }
.alert-info { background: rgba(107,147,181,0.1); color: #3a6b94; border: 1px solid rgba(107,147,181,0.2); }

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast-container {
    position: fixed;
    top: 28px;
    right: 28px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: white;
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 300px;
    max-width: 420px;
    animation: toastIn 0.45s cubic-bezier(0.16,1,0.3,1);
    border-left: 3.5px solid var(--secondary);
}

.toast.toast-out {
    animation: toastOut 0.3s ease forwards;
}

.toast-icon { font-size: 22px; }
.toast-message { font-size: 14px; font-weight: 500; flex: 1; color: var(--text-dark); }

@keyframes toastIn {
    from { transform: translateX(110%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes toastOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(110%); opacity: 0; }
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   EMPTY STATES
   ============================================ */
.empty-state {
    text-align: center;
    padding: 88px 20px;
}

.empty-state .icon { font-size: 80px; margin-bottom: 22px; opacity: 0.25; }
.empty-state h3 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-medium);
}
.empty-state p { color: var(--text-light); margin-bottom: 28px; font-weight: 300; }

/* ============================================
   MOBILE MENU SIDEBAR
   ============================================ */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(42,36,34,0.45);
    z-index: 9996;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0; right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: white;
    z-index: 9997;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -12px 0 48px rgba(181,117,107,0.12);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-sidebar.active { transform: translateX(0); }

@media (max-width: 768px) {
    .mobile-sidebar {
        width: 100%;
        max-width: 100vw;
    }
}

.mobile-sidebar-header {
    padding: 22px 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    background: var(--bg-linen);
}

.mobile-sidebar-header h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

.mobile-nav-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-list li a {
    display: block;
    padding: 15px 26px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-light);
    font-weight: 400;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-list li a:hover,
.mobile-nav-list li a:active {
    background: var(--bg-warm);
    color: var(--primary);
    padding-left: 32px;
}

.mobile-sidebar-footer {
    padding: 22px 24px;
    border-top: 1px solid var(--border-light);
    flex-shrink: 0;
    background: var(--bg-linen);
}

/* ============================================
   FOOTER BADGES
   ============================================ */
.footer-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 26px 0;
    margin-bottom: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-badges-group { text-align: center; }

.footer-badges .badge-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.35);
    margin-bottom: 12px;
    font-weight: 500;
}

.footer-badges .badge-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-badges .badge-icons img {
    height: 30px;
    width: auto;
    background: white;
    border-radius: 8px;
    padding: 4px 10px;
    object-fit: contain;
    transition: var(--transition);
    opacity: 0.85;
}

.footer-badges .badge-icons img:hover {
    transform: translateY(-3px);
    opacity: 1;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

/* ============================================
   FOOTER ACCORDION (MOBILE)
   ============================================ */
.footer-accordion-toggle {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.accordion-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    display: inline-block;
    color: rgba(255,255,255,0.35);
}

.footer-accordion.active .accordion-arrow {
    transform: rotate(90deg);
}

.footer-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.footer-accordion.active .footer-accordion-content {
    max-height: 500px;
    opacity: 1;
}

@media (min-width: 769px) {
    .footer-accordion-content {
        max-height: none !important;
        opacity: 1 !important;
        overflow: visible !important;
    }
    .accordion-arrow { display: none; }
    .footer-accordion-toggle { cursor: default; }
}

/* ============================================
   ADMIN STYLES
   ============================================ */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, var(--primary-dark) 0%, var(--bg-dark) 100%);
    padding: 20px;
}

.admin-login-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 52px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-xl);
}

.admin-login-card h2 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 8px;
    text-align: center;
}

.admin-login-card p {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 36px;
    font-weight: 300;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
    background: var(--bg-cream);
}

.admin-sidebar {
    width: 260px;
    background: var(--bg-dark);
    color: white;
    padding: 24px 0;
    flex-shrink: 0;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    overflow-y: auto;
    z-index: 100;
}

.admin-sidebar .logo {
    padding: 0 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 16px;
}

.admin-sidebar .logo-text h3 {
    font-family: var(--font-display);
    font-size: 20px;
    color: white;
    font-weight: 500;
}

.admin-sidebar .logo-text span {
    font-size: 10px;
    color: var(--primary-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.admin-nav { list-style: none; padding: 0 12px; }
.admin-nav li { margin-bottom: 2px; }

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    transition: var(--transition);
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(181,117,107,0.15);
    color: var(--primary-light);
}

.admin-nav a .nav-icon {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.admin-main { margin-left: 260px; flex: 1; padding: 36px; min-width: 0; }

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
}

.admin-header h1 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 500;
}

.admin-header p {
    color: var(--text-light);
    font-size: 14px;
    margin-top: 4px;
    font-weight: 300;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-card .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.stat-card .stat-value {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.stat-card .stat-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 300;
}

.admin-table-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.admin-table-header {
    padding: 22px 28px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-linen);
}

.admin-table-header h3 {
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-display);
}

.admin-table { width: 100%; border-collapse: collapse; }

.admin-table th {
    padding: 14px 22px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    background: var(--bg-cream);
    border-bottom: 1px solid var(--border-light);
}

.admin-table td {
    padding: 16px 22px;
    font-size: 13.5px;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.admin-table tr:hover td { background: rgba(181, 117, 107, 0.02); }

.admin-table .product-thumb {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-linen);
}

.admin-table .product-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.status-badge {
    display: inline-flex;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    font-size: 11.5px;
    font-weight: 500;
}

.status-active { background: rgba(122,148,120,0.1); color: #4a6e48; }
.status-inactive { background: rgba(192,87,78,0.1); color: #a0423a; }
.status-pending { background: rgba(201,149,108,0.1); color: #9a6030; }

.table-actions { display: flex; gap: 6px; }

.table-actions button,
.table-actions a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    color: var(--text-medium);
    cursor: pointer;
    transition: var(--transition);
}

.table-actions button:hover,
.table-actions a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(181,117,107,0.06);
}

.table-actions .btn-delete:hover {
    border-color: var(--danger);
    color: var(--danger);
    background: rgba(192,87,78,0.06);
}

.admin-form-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--border-light);
}

.admin-form-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 28px;
}

.image-upload {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background: var(--bg-linen);
}

.image-upload:hover {
    border-color: var(--primary-light);
    background: rgba(181, 117, 107, 0.03);
}

.image-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.image-upload .upload-icon {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--primary-light);
}

.image-upload p {
    font-size: 13.5px;
    color: var(--text-light);
    font-weight: 300;
}

.image-preview {
    width: 100%;
    max-width: 200px;
    margin: 12px auto 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.image-preview img { width: 100%; height: auto; }

.images-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .hero h2 { font-size: 44px; }
    .hero-visual { width: 340px; height: 340px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .top-bar { display: none; }

    .header .container {
        flex-wrap: nowrap;
        gap: 8px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .mobile-toggle { display: flex; }

    .nav-links,
    .nav-links.active,
    .header nav {
        display: none !important;
    }

    .search-bar { display: none; }

    .logo { gap: 10px; }

    .logo-icon img { height: 42px !important; }

    .logo-text h1 { font-size: 20px; }
    .logo-text span { font-size: 9px; letter-spacing: 2px; }

    .hero { padding: 52px 0; min-height: auto; }

    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 36px;
    }

    .hero h2 { font-size: 36px; }
    .hero p { font-size: 15.5px; }
    .hero-buttons { justify-content: center; }

    .hero-visual {
        width: 100%;
        max-width: 280px;
        height: 280px;
    }

    .hero-float-badge { display: none; }

    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    .category-card { padding: 22px 16px; }
    .category-icon { width: 52px; height: 52px; font-size: 22px; }

    .section { padding: 52px 0; }
    .section-header h2 { font-size: 30px; }

    .section-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .product-gallery { position: static; }

    .checkout-grid { grid-template-columns: 1fr; }
    .order-summary { position: static; }

    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-sidebar { position: static; }

    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-badges { gap: 24px; }
    .footer-badges .badge-icons img { height: 26px; }

    .cart-sidebar { width: 100%; max-width: 100vw; }

    .form-row { grid-template-columns: 1fr; }

    .product-detail-price .price-current { font-size: 30px; }

    .toast-container {
        top: auto;
        bottom: 18px;
        right: 16px;
        left: 16px;
    }
    .toast { min-width: 0; max-width: 100%; }

    .admin-sidebar {
        transform: translateX(-100%);
        transition: var(--transition);
    }
    .admin-sidebar.active { transform: translateX(0); }
    .admin-main { margin-left: 0; padding: 18px; }
    .admin-table { font-size: 12px; }
    .admin-table th, .admin-table td { padding: 10px 14px; }
    .images-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    .product-info { padding: 14px; }
    .product-name { font-size: 14px; margin-bottom: 8px; }
    .price-current { font-size: 17px; }
    .price-original { font-size: 12px; }
    .product-card .btn-cart { font-size: 12px; padding: 9px 12px; }

    .features-grid { grid-template-columns: 1fr; }

    .hero h2 { font-size: 29px; }

    .container { padding: 0 18px; }

    .logo-icon img { height: 38px !important; }
    .logo-text h1 { font-size: 17px; }
    .logo-text span { font-size: 8.5px; }
    .logo { gap: 8px; }
}

@media (max-width: 380px) {
    .header .container {
        padding-left: 12px;
        padding-right: 12px;
        gap: 6px;
    }
    .logo-icon img { height: 33px !important; }
    .logo-text h1 { font-size: 14px; }
    .logo-text span { font-size: 8px; }
    .logo { gap: 7px; }
    .header-btn { width: 38px; height: 38px; font-size: 18px; }
    .mobile-toggle { padding: 6px; }
    .mobile-toggle span { width: 20px; }
}

@media (max-width: 320px) {
    .logo-icon img { height: 28px !important; }
    .logo-text h1 { font-size: 12.5px; }
    .logo-text span { display: none; }
}