/* ===== VARIÁVEIS E RESET ===== */
:root {
  /* Cores principais - Tema Joias */
  --primary: #d4af37;
  --primary-dark: #b8941f;
  --primary-light: #f4e8c1;
  --secondary: #2c2c2c;
  --accent: #c4a747;
  
  /* Cores neutras */
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f4;
  --gray-200: #e8eaed;
  --gray-300: #dadce0;
  --gray-400: #bdc1c6;
  --gray-500: #9aa0a6;
  --gray-600: #80868b;
  --gray-700: #5f6368;
  --gray-800: #3c4043;
  --gray-900: #202124;
  
  /* Cores semânticas */
  --success: #34a853;
  --warning: #f9ab00;
  --error: #ea4335;
  --info: #4285f4;
  
  /* Tipografia */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Playfair Display', serif;
  
  /* Espaçamentos */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  
  /* Bordas */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
  
  /* Transições */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  overflow-x: hidden;

  /* Fundo madrepérola */
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.95),
      rgba(245, 245, 245, 0.9),
      rgba(250, 245, 240, 0.95),
      rgba(240, 240, 240, 0.95)
    ),
    radial-gradient(circle at top left, rgba(255, 240, 220, 0.3), transparent 70%),
    radial-gradient(circle at bottom right, rgba(230, 230, 255, 0.3), transparent 70%);
  background-blend-mode: screen, overlay;
  background-attachment: fixed;
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--gray-900);
  margin-bottom: var(--space-md);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: var(--space-md); }

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  font-size: 2.25rem;
  color: var(--secondary);
  margin-bottom: var(--space-sm);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-600);
}

/* ===== HEADER ===== */
   /* TOP BAR LUXUOSA */
        .top-bar {
            background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
            color: var(--white);
            padding: 0.75rem 0;
            font-size: 0.875rem;
            border-bottom: 1px solid rgba(255, 215, 0, 0.2);
            position: relative;
            overflow: hidden;
        }

        .top-bar::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--primary), transparent);
            animation: shine 3s infinite;
        }

        @keyframes shine {
            0%, 100% { opacity: 0.3; }
            50% { opacity: 1; }
        }

        .top-bar .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            z-index: 2;
        }

        /* SEÇÃO DO CARRINHO */
        .cart-section {
            display: flex;
            align-items: center;
        }

        .cart-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 215, 0, 0.3);
            color: var(--white);
            padding: 0.5rem 0.75rem;
            border-radius: var(--radius-md);
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            position: relative;
            backdrop-filter: blur(10px);
        }

        .cart-btn:hover {
            background: rgba(255, 215, 0, 0.15);
            border-color: var(--primary);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
        }

        .cart-count {
            background: var(--primary);
            color: var(--secondary);
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            font-weight: 600;
            position: absolute;
            top: -6px;
            right: -6px;
            box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
        }

        /* BANNER PROMOCIONAL */
        .promo-banner {
            display: flex;
            align-items: center;
            gap: var(--space-md);
            background: rgba(255, 255, 255, 0.05);
            padding: 0.5rem 1.5rem;
            border-radius: 30px;
            border: 1px solid rgba(255, 215, 0, 0.1);
            backdrop-filter: blur(10px);
        }

        .promo-tag {
            background: linear-gradient(135deg, var(--primary), #ffed4e);
            color: var(--secondary);
            padding: 0.375rem 1rem;
            border-radius: 20px;
            font-weight: 700;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-family: 'Inter', sans-serif;
            box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .promo-text {
            font-weight: 500;
            color: #e0e0e0;
            font-size: 0.875rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .promo-text::before,
        .promo-text::after {
            content: '✦';
            color: var(--primary);
            font-size: 0.75rem;
        }

        /* BOTÃO ADMIN */
        .header-actions {
            display: flex;
            align-items: center;
        }

        .admin-btn {
            background: transparent;
            border: 1px solid rgba(255, 215, 0, 0.4);
            color: var(--primary);
            padding: 0.5rem 1rem;
                margin-top: -36px;

            border-radius: var(--radius-md);
            font-size: 0.75rem;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            backdrop-filter: blur(10px);
        }

        .admin-btn:hover {
            background: var(--primary);
            color: var(--secondary);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
        }

        /* RESPONSIVIDADE */
        @media (max-width: 768px) {
            .top-bar .container {
                padding: 0 1rem;
                flex-wrap: wrap;
                gap: 0.75rem;
                justify-content: center;
            }

            .promo-banner {
                order: -1;
                width: 100%;
                justify-content: center;
                padding: 0.5rem 1rem;
            }

            .promo-text {
                font-size: 0.8rem;
            }

            .promo-text::before,
            .promo-text::after {
                display: none;
            }

            .cart-section,
            .header-actions {
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
            }

            .cart-section {
                left: 1rem;
            }

            .header-actions {
                right: 1rem;
            }

            .admin-btn span {
                display: none;
            }

            .admin-btn {
                padding: 0.5rem;
            }
        }

        @media (max-width: 480px) {
            .promo-banner {
                flex-direction: column;
                gap: 0.5rem;
                text-align: center;
            }

            .promo-text {
                font-size: 0.75rem;
            }
        }
 /* Header Principal */
       /* Efeitos de brilho para o header */
.header-main {
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    overflow: hidden;
    /* O background será aplicado via JS */
}

/* Elemento para os efeitos de brilho - FIXO */
.header-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 35%, rgba(255, 255, 255, 0.15) 0%, transparent 80px),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.12) 0%, transparent 90px),
        radial-gradient(circle at 45% 20%, rgba(255, 255, 255, 0.18) 0%, transparent 70px),
        radial-gradient(circle at 85% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 85px),
        radial-gradient(circle at 15% 75%, rgba(255, 255, 255, 0.14) 0%, transparent 75px);
    mix-blend-mode: overlay;
    animation: gentleTwinkle 6s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes gentleTwinkle {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Container para a imagem de fundo */
.header-main::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* A imagem será aplicada via JS */
}
        
   

/* Classe para quando o efeito estiver ativo */
.header-with-effects {
    position: relative !important;
    background: none !important;
}

.header-with-effects::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
}


        
        /* Seção da Logo */
        .logo-section {
            display: flex;
            align-items: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .logo img {
            height: 50px;
            width: auto;
            border-radius: 8px;
        }
        
        .logo h1 {
            font-size: 1.8rem;
            font-weight: 700;
            letter-spacing: 1px;
            background: linear-gradient(to right, #d4af37, #ff8e53);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        /* Seção de Pesquisa */
        .search-section {
            flex: 1;
            max-width: 600px;
            margin: 0 30px;
            position: relative;
        }
        
        .search-container {
            display: flex;
            position: relative;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 30px;
            overflow: hidden;
            transition: all 0.3s;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .search-container:focus-within {
            background: rgba(255, 255, 255, 0.15);
            box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.3);
        }
        
        .search-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #ccc;
            z-index: 1;
        }
        
        .search-input {
            width: 100%;
            padding: 12px 20px;
            padding-left: 45px;
            border: none;
            background: transparent;
            color: white;
            font-size: 0.95rem;
            outline: none;
        }
        
        .search-input::placeholder {
            color: #aaa;
        }
        
        .search-btn {
            background: linear-gradient(to right, #d4af37, #ff8e53);
            border: none;
            color: white;
            padding: 0 20px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .search-btn:hover {
            background: linear-gradient(to right, #e55a2b, #e57a42);
        }
        
        /* Resultados da Pesquisa */
        .search-results {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            margin-top: 10px;
            z-index: 1001;
            overflow: hidden;
            display: none;
        }
        
        .search-results-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            background: #f8f9fa;
            border-bottom: 1px solid #eee;
        }
        
        .search-results-header h4 {
            color: #333;
            font-size: 1rem;
            margin: 0;
        }
        
        .close-search-results {
            background: none;
            border: none;
            color: #777;
            cursor: pointer;
            font-size: 1.1rem;
            transition: color 0.3s;
        }
        
        .close-search-results:hover {
            color: #333;
        }
        
        .search-results-content {
            max-height: 300px;
            overflow-y: auto;
            padding: 10px 0;
        }
        
        .search-result-item {
            display: flex;
            align-items: center;
            padding: 10px 20px;
            cursor: pointer;
            transition: background 0.2s;
        }
        
        .search-result-item:hover {
            background: #f5f5f5;
        }
        
        .search-result-item img {
            width: 40px;
            height: 40px;
            object-fit: cover;
            border-radius: 5px;
            margin-right: 15px;
        }
        
        .search-result-info {
            flex: 1;
        }
        
        .search-result-name {
            font-weight: 500;
            color: #333;
            margin-bottom: 3px;
        }
        
        .search-result-price {
            color: #ff6b35;
            font-weight: 600;
            font-size: 0.9rem;
        }

.cart-btn {
  position: relative;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-700);
  cursor: pointer;
  padding: var(--space-sm);
  bottom: 15px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.cart-btn:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--error);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.4rem;
  border-radius: 50%;
  min-width: 18px;
  text-align: center;
}
/* ===== LUXURY NAVIGATION SYSTEM ===== */
.category-nav {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.category-nav .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.category-buttons {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.25rem 0;
  scrollbar-width: none;
}

.category-buttons::-webkit-scrollbar {
  display: none;
}

.category-btn {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #e0e0e0;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  font-size: 0.925rem;
  letter-spacing: 0.4px;
  min-height: 48px;
}

.category-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transition: left 0.6s;
}

.category-btn:hover::before {
  left: 100%;
}

.category-btn:hover {
  background: linear-gradient(135deg, rgba(255,215,0,0.12) 0%, rgba(255,193,7,0.08) 100%);
  color: #ffffff;
  transform: translateY(-2px);
  border-color: rgba(255, 215, 0, 0.25);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.15);
}

.category-btn.active {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #1a1a1a;
  border-color: #ffd700;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
  font-weight: 600;
}

.category-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
}

.category-btn i {
  font-size: 1.125rem;
  transition: transform 0.3s ease;
  width: 20px;
  text-align: center;
}

.category-btn:hover i {
  transform: scale(1.1);
}

.category-btn.active i {
  transform: scale(1.1);
  color: #1a1a1a;
}

/* ===== LUXURY SUBCATEGORY NAV ===== */
.subcategory-nav {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.98) 0%, rgba(35, 35, 35, 0.95) 100%);
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
  padding: 1rem 0;
  position: sticky;
  top: 18px;
  z-index: 99;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.subcategory-buttons {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.125rem 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 215, 0, 0.25) transparent;
  font-size: 1.425rem;
  
}

.subcategory-buttons::-webkit-scrollbar {
  height: 3px;
}

.subcategory-buttons::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

.subcategory-buttons::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.25);
  border-radius: 2px;
}

.subcategory-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: #b0b0b0;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  font-size: 0.875rem;
  letter-spacing: 0.2px;
  min-height: 40px;
}

.subcategory-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transition: left 0.5s;
}

.subcategory-btn:hover::before {
  left: 100%;
}

.subcategory-btn:hover {
  background: rgba(255, 215, 0, 0.08);
  color: #ffffff;
  transform: translateY(-1px);
  border-color: rgba(255, 215, 0, 0.15);
  box-shadow: 0 3px 10px rgba(255, 215, 0, 0.1);
}

.subcategory-btn.active {
  background: rgba(255, 215, 0, 0.12);
  color: #ffd700;
  border-color: rgba(255, 215, 0, 0.3);
  font-weight: 500;
  box-shadow: 0 3px 12px rgba(255, 215, 0, 0.15);
    font-size: 1.125rem;

}

.subcategory-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 1px;
  background: #ffd700;
  border-radius: 1px;
}

.subcategory-btn i {
  font-size: 0.9rem;
  transition: transform 0.2s ease;
  width: 16px;
  text-align: center;
}

.subcategory-btn:hover i {
  transform: scale(1.05);
}

.subcategory-btn.active i {
  transform: scale(1.05);
  color: #ffd700;
}

/* Indicador visual da categoria pai */
.subcategory-nav::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, #ffd700, #ffed4e);
  opacity: 0.6;
}

/* ===== CATEGORY PRODUCTS SECTION ===== */
.category-products {
  padding: 2rem 0;
  background: #f8f9fa;
}

.category-products .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #ffd700, #ffed4e);
  border-radius: 2px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Responsividade */
@media (max-width: 768px) {
  .category-nav .container,
  .subcategory-nav .container,
  .category-products .container {
    padding: 0 1rem;
  }
  
  .category-buttons {
    gap: 0.5rem;
  }
  
  .category-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    min-height: 44px;
  }
  
  .category-btn i {
    font-size: 1rem;
  }
  
  .subcategory-nav {
    top: 2px;
    padding: 0.875rem 0;
  }
  
  .subcategory-buttons {
    gap: 0.375rem;
  }
  
  .subcategory-btn {
    padding: 0.5rem 1rem;
    font-size: 0.825rem;
    min-height: 36px;
  }
  
  .subcategory-btn i {
    font-size: 0.85rem;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .category-btn {
    padding: 0.625rem 1rem;
    font-size: 0.825rem;
  }
  
  .subcategory-btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.8rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Efeito de foco para acessibilidade */
.category-btn:focus,
.subcategory-btn:focus {
  outline: 2px solid #ffd700;
  outline-offset: 2px;
}
/* ===== MAIN CONTENT ===== */
.main-content {
  padding: var(--space-2xl) 0;
  min-height: 60vh;
}

.hero-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--gray-800) 100%);
  color: var(--white);
  padding: var(--space-2xl) var(--space-xl);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23d4af37" fill-opacity="0.05" points="0,1000 1000,0 1000,1000"/></svg>');
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.hero-content h2 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--gray-200);
  margin-bottom: var(--space-xl);
}

.cta-button {
  background: var(--primary);
  color: var(--secondary);
  border: none;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-lg);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.cta-button:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}
/* ====== CARD BASE ====== */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.4s ease;
  position: relative;
  backdrop-filter: blur(3px);
}

/* ====== EFEITO LUXUOSO NO HOVER ====== */
.product-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.4) 45%,
    rgba(255, 255, 255, 0.1) 100%
  );
  transform: rotate(25deg);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.product-card:hover::before {
  opacity: 1;
  animation: shine 1.2s linear forwards;
}

/* ====== BRILHO DESLIZANTE ====== */
@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(25deg);
    opacity: 0.1;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    transform: translateX(100%) rotate(25deg);
    opacity: 0;
  }
}

/* ====== EFEITO GERAL DO HOVER ====== */
.product-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15),
              0 0 20px rgba(255, 215, 0, 0.15);
  border-color: rgba(255, 215, 0, 0.4);
}

/* ====== IMAGEM ====== */
.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.product-card:hover .product-image {
  transform: scale(1.07);
  filter: brightness(1.1) saturate(1.2);
}

/* ====== TEXTO E BOTÕES ====== */
.product-info {
  padding: var(--space-lg);
}

.product-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.5px;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  background-color: #000000a6;
      width: fit-content;
  margin-bottom: var(--space-md);
}

/* ====== AÇÕES ====== */
.product-actions {
  display: flex;
  gap: var(--space-sm);
}

.btn-primary, .btn-secondary {
  flex: 1;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

/* ====== BOTÕES DE LUXO ====== */
.btn-primary {
  background: linear-gradient(135deg, #bfa66b, #f1d27a);
  color: #fff;
  box-shadow: 0 2px 6px rgba(191,166,107,0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #f1d27a, #bfa66b);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(191,166,107,0.5);
}

.btn-secondary {
  background: rgba(240,240,240,0.8);
  border: 1px solid rgba(180,180,180,0.3);
  color: var(--gray-700);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.9);
  border-color: #d1b46a;
  color: #bfa66b;
}


/* ===== CART SIDEBAR ===== */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -410px;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-xl);
  transition: var(--transition);
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.cart-header h3 {
  margin: 0;
  color: var(--gray-900);
}

.close-cart {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-600);
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.close-cart:hover {
  background: var(--gray-200);
  color: var(--gray-900);
}

.cart-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-md);
}

.cart-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  background: var(--white);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.cart-item-details {
  flex: 1;
}

.cart-item-title {
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--gray-900);
}

.cart-item-price {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.quantity-btn {
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.quantity-btn:hover {
  background: var(--gray-200);
}

.quantity-input {
  width: 50px;
  text-align: center;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: var(--space-xs);
}

.remove-btn {
  background: none;
  border: none;
  color: var(--error);
  cursor: pointer;
  padding: var(--space-xs);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.remove-btn:hover {
  background: var(--error);
  color: var(--white);
}

.cart-summary {
  padding: var(--space-lg);
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.cart-totals {
  margin-bottom: var(--space-lg);
}

.total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--gray-200);
}

.total-line.final {
  border-bottom: none;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
}

.checkout-btn {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.checkout-btn:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.checkout-btn:disabled {
  background: var(--gray-400);
  cursor: not-allowed;
  transform: none;
}

/* ===== MODALS ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  backdrop-filter: blur(4px);
}

.modal.open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-xl);
  border-bottom: 1px solid var(--gray-200);
}

.modal-body {
  padding: var(--space-xl);
}

.modal-footer {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-xl);
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.modal-footer .btn-primary,
.modal-footer .btn-secondary {
  flex: 1;
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--gray-700);
}

.form-input, .form-select {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.order-summary {
  background: var(--gray-50);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  margin-top: var(--space-xl);
}

.order-summary h4 {
  margin-bottom: var(--space-md);
  color: var(--gray-800);
}

.order-total {
  border-top: 2px solid var(--gray-300);
  padding-top: var(--space-md);
  margin-top: var(--space-md);
}

/* ===== FOOTER ===== */
.main-footer {
  background: black;
  color: var(--white);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-section h4 {
  color: var(--primary);
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: var(--gray-300);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  color: var(--gray-300);
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: var(--space-lg);
  text-align: center;
  color: var(--gray-400);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 50px;
  right: var(--space-xl);
  z-index: 100;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--success);
  color: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .header-main .container {
    grid-template-columns: 1fr auto;
    gap: var(--space-md);
  }
  
  .logo {
    grid-column: 1 / -1;
    margin-left: 10px;
    text-align: center;
    margin-bottom: var(--space-md);
  }
  
  .search-container {
    grid-column: 1 / -1;
    order: 3;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
  }
  
  .cart-sidebar {
    max-width: 100%;
  }
  
  .modal-content {
    width: 95%;
    margin: var(--space-md);
  }
  
  .modal-footer {
    flex-direction: column;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .whatsapp-float {
      bottom: 50px;
    right: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .category-buttons {
    gap: var(--space-xs);
  }
  
 .category-btn {
  padding: var(--space-sm) var(--space-md);
  font-size: 1.475rem;
  
    font-family: 'Cormorant Garamond', 'Georgia', serif; 
   font-weight: 500; 
   letter-spacing: 0.3px; 
 }
  
  .product-actions {
    flex-direction: column;
  }
  
  .hero-banner {
    padding: var(--space-xl) var(--space-lg);
    margin-bottom: var(--space-xl);
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }

.hidden { display: none; }
.visible { display: block; }

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== LOADING STATES ===== */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  border: 3px solid var(--gray-200);
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: var(--space-xl) auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== OVERLAY ===== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.overlay.active {
  display: block;
}

/* ===== SEÇÕES ESPECIAIS ===== */
.exclusive-products, .featured-products {
    padding: var(--space-2xl) 0;
}

.exclusive-products {
  background: linear-gradient(
    135deg,
    #f5f3ed 0%,
    #efe8d8 35%,
    #e4d3a1 70%,
    #d9c089 100%
  );
  color: #3a2f1b;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

/* Brilho de luxo sutil */
.exclusive-products::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.6) 45%,
    rgba(255, 255, 255, 0.2) 100%
  );
  transform: rotate(25deg);
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.exclusive-products:hover::before {
  opacity: 1;
  animation: section-shine 2s linear forwards;
}

@keyframes section-shine {
  0% {
    transform: translateX(-100%) rotate(25deg);
    opacity: 0.2;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: translateX(100%) rotate(25deg);
    opacity: 0;
  }
}


.exclusive-products .section-header h2,
.exclusive-products .section-header p {
    color: black;
}

.featured-products {
    background: var(--gray-50);
}

/* Cards especiais */
.exclusive-card, .featured-card {
    position: relative;
    border: 2px solid transparent;
    transition: var(--transition);
}

.exclusive-card {
    background: var(--white);
    border-radius: var(--radius-xl);
}

.featured-card {
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.exclusive-card:hover {
    transform: translateY(-5px);
    border-color: #764ba2;
    box-shadow: 0 10px 30px rgba(118, 75, 162, 0.3);
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Badges */
.exclusive-badge, .featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.exclusive-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.featured-badge {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: var(--secondary);
}

/* Seção vazia */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-500);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}


/* ===== OVERLAY ===== */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    backdrop-filter: blur(4px);
}

.overlay.active {
    display: block;
}

/* ===== MODAIS ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.modal.open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-xl);
    border-bottom: 1px solid var(--gray-200);
}

.modal-body {
    padding: var(--space-xl);
}

.modal-footer {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-xl);
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.modal-footer .btn-primary,
.modal-footer .btn-secondary {
    flex: 1;
}

.close-modal, .close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-600);
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.close-modal:hover, .close-cart:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

/* ===== FORMULÁRIOS ===== */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 600;
    color: var(--gray-700);
}

.form-input, .form-select {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.order-summary {
    background: var(--gray-50);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-top: var(--space-xl);
}

.order-summary h4 {
    margin-bottom: var(--space-md);
    color: var(--gray-800);
}

.order-total {
    border-top: 2px solid var(--gray-300);
    padding-top: var(--space-md);
    margin-top: var(--space-md);
}


/* ===== MODAL DE DETALHES DO PRODUTO ===== */
.product-modal-content {
    max-width: 800px;
    width: 95%;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.product-detail-image-section {
    position: relative;
}

.product-detail-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.product-detail-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-badge {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #000;
}

.exclusive-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

.out-of-stock-badge {
    background: #dc3545;
    color: #fff;
}

.product-detail-info {
    padding: 10px 0;
}

.product-detail-title {
    font-size: 1.8rem;
    color: var(--gray-900);
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.product-detail-meta {
    background: var(--gray-50);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-200);
}

.meta-item:last-child {
    border-bottom: none;
}

.meta-item strong {
    color: var(--gray-700);
}

.meta-item span {
    color: var(--gray-800);
    font-weight: 500;
}

.product-description-section {
    margin-bottom: 25px;
}

.product-description-section h4 {
    color: var(--gray-800);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.product-description-text {
    color: var(--gray-700);
    line-height: 1.6;
    font-size: 0.95rem;
}

.no-description {
    color: var(--gray-500);
    font-style: italic;
    margin-bottom: 25px;
}

.product-detail-actions {
    border-top: 2px solid var(--gray-200);
    padding-top: 25px;
}

.quantity-selector {
    margin-bottom: 20px;
}

.quantity-selector label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--gray-700);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-controls .quantity-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.quantity-controls .quantity-input {
    width: 80px;
    height: 40px;
    font-size: 1rem;
    text-align: center;
}

.large-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Responsividade */
@media (max-width: 768px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-detail-image {
        height: 300px;
    }
    
    .product-detail-title {
        font-size: 1.5rem;
    }
    
    .product-detail-price {
        font-size: 1.7rem;
    }
    
    .modal-content {
        width: 98%;
        margin: 10px;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.product-modal-content {
    animation: fadeIn 0.3s ease;
}

/* ===== SISTEMA DE PESQUISA ===== */
.search-section {
    position: relative;
}

.search-results {
    position: relative;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    margin-top: 10px;
    max-height: 500px;
    overflow-y: auto;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.search-results-header h4 {
    margin: 0;
    color: var(--gray-800);
    font-size: 1rem;
}

.close-search-results {
    background: none;
    border: none;
    color: var(--gray-600);
    cursor: pointer;
    padding: 5px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.close-search-results:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

.search-results-content {
    padding: 15px;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.search-result-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 15px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-result-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.search-result-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.9rem;
    margin-bottom: 5px;
    line-height: 1.3;
}

.search-result-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
}

.search-result-category {
    font-size: 0.75rem;
    color: var(--gray-600);
    background: var(--gray-100);
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
}

.search-no-results {
    text-align: center;
    padding: 30px 20px;
    color: var(--gray-500);
}

.search-no-results i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    opacity: 0.5;
}

.search-loading {
    text-align: center;
    padding: 20px;
    color: var(--gray-600);
}

.search-loading .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsividade */
@media (max-width: 768px) {
    .search-results-grid {
        grid-template-columns: 1fr;
    }
    
    .search-result-card {
        flex-direction: row;
        align-items: center;
    }
    
    .search-result-image {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }
    
    .search-result-info {
        flex: 1;
    }
}

/* ===== ESTILOS PARA DESCRIÇÃO DE JOIAS ===== */
.product-description-section {
    margin: 25px 0;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.product-description-section h4 {
    color: #b8860b; /* Dourado */
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.jewelry-description {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.jewelry-paragraph {
    margin-bottom: 15px;
    text-align: justify;
}

.jewelry-features-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.jewelry-features-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    border-bottom: 1px solid #f5f5f5;
}

.jewelry-features-list li:last-child {
    border-bottom: none;
}

.jewelry-list-icon {
    position: absolute;
    left: 0;
    color: #d4af37; /* Dourado */
    font-weight: bold;
}

.jewelry-subtitle {
    color: #a67c52; /* Marrom dourado */
    font-size: 1.1rem;
    margin: 20px 0 10px 0;
    font-weight: 600;
    padding-bottom: 5px;
    border-bottom: 2px solid #f5e6d3;
}

.tech-term {
    color: #8b7355;
    background-color: #fffaf0;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

/* Destaques especiais */
.jewelry-description strong {
    color: #b8860b;
}

/* Emojis e ícones */
.jewelry-description .fas {
    color: #d4af37;
    margin-right: 8px;
}

/* Box de informações importantes */
.jewelry-info-box {
    background: linear-gradient(135deg, #fffaf0 0%, #fff5e6 100%);
    border-left: 4px solid #d4af37;
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.1);
}

/* Responsivo */
@media (max-width: 768px) {
    .jewelry-description {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .product-description-section h4 {
        font-size: 1.2rem;
    }
}
/* ===== BOTÃO DIAMANTE SUSPENSO - PERFEITAMENTE ALINHADO ===== */

/* Container principal - SEMPRE no canto inferior ESQUERDO */
.diamond-top-btn {
    position: fixed;
    bottom: 40px;
    left: 40px;
    width: 70px;
    height: 110px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 0;
    margin: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
}

/* Visível quando mostra */
.diamond-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Container interno */
.diamond-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

/* Pêndulo completo (corrente + diamante) */
.diamond-pendant {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

/* CORRENTE - Alinhada centralmente */
.pendant-chain {
    position: absolute;
    top: 0;
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(220, 220, 220, 0.7) 30%,
        rgba(180, 180, 180, 0.5) 70%,
        transparent 100%
    );
    z-index: 1;
}

/* Segmentos da corrente - centralizados */
.chain-segment {
    position: absolute;
    left: -3px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #e0e0e0, #c0c0c0);
    border-radius: 50%;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.chain-segment:nth-child(1) { top: 10px; }
.chain-segment:nth-child(2) { top: 30px; }
.chain-segment:nth-child(3) { top: 50px; }

/* DIAMANTE - Centralizado e perfeitamente alinhado */
.diamond-gem {
    position: absolute;
    bottom: 0;
    width: 60px;
    height: 60px;
    transform: rotate(45deg);
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(240, 240, 255, 0.85) 25%,
        rgba(220, 230, 255, 0.75) 50%,
        rgba(200, 220, 255, 0.65) 75%,
        rgba(180, 210, 255, 0.55) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 5px 20px rgba(0, 100, 255, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(100, 150, 255, 0.2);
    z-index: 2;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

/* Facetas do diamante - centralizadas */
.diamond-facet {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.df-1 {
    width: 25px;
    height: 25px;
    animation: facet-shine-1 4s ease-in-out infinite;
}

.df-2 {
    width: 20px;
    height: 20px;
    animation: facet-shine-2 5s ease-in-out infinite 0.5s;
}

.df-3 {
    width: 15px;
    height: 15px;
    animation: facet-shine-3 6s ease-in-out infinite 1s;
}

.df-4 {
    width: 10px;
    height: 10px;
    animation: facet-shine-4 7s ease-in-out infinite 1.5s;
}

/* Centro do diamante */
.diamond-core {
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle,
        rgba(255, 255, 255, 1) 0%,
        rgba(200, 220, 255, 0.8) 50%,
        transparent 100%
    );
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    z-index: 3;
}

/* Brilhos flutuantes */
.sparkle {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    filter: blur(1px);
    z-index: 3;
}

.s1 {
    width: 5px;
    height: 5px;
    top: 20px;
    right: 15px;
    animation: sparkle-float-1 3s ease-in-out infinite;
}

.s2 {
    width: 4px;
    height: 4px;
    top: 40px;
    left: 10px;
    animation: sparkle-float-2 4s ease-in-out infinite 0.5s;
}

.s3 {
    width: 6px;
    height: 6px;
    top: 60px;
    right: 5px;
    animation: sparkle-float-3 5s ease-in-out infinite 1s;
}

/* Sombra do pêndulo */
.pendant-shadow {
    position: absolute;
    bottom: -8px;
    width: 65px;
    height: 15px;
    background: radial-gradient(ellipse at center,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        transparent 70%
    );
    filter: blur(4px);
    z-index: 1;
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* ===== EFEITOS DE HOVER ===== */
.diamond-top-btn:hover {
    transform: translateY(-5px);
}

.diamond-top-btn:hover .diamond-gem {
    transform: rotate(45deg) scale(1.1);
    box-shadow: 
        0 10px 30px rgba(0, 100, 255, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(100, 150, 255, 0.4);
}

.diamond-top-btn:hover .pendant-shadow {
    width: 75px;
    height: 20px;
    opacity: 0.9;
    filter: blur(6px);
}

/* ===== ANIMAÇÕES ===== */

/* Brilho das facetas */
@keyframes facet-shine-1 {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.9; }
}

@keyframes facet-shine-2 {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

@keyframes facet-shine-3 {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

@keyframes facet-shine-4 {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.6; }
}

/* Brilhos flutuantes */
@keyframes sparkle-float-1 {
    0%, 100% { transform: translate(0, 0); opacity: 0; }
    50% { transform: translate(-3px, -5px); opacity: 1; }
}

@keyframes sparkle-float-2 {
    0%, 100% { transform: translate(0, 0); opacity: 0; }
    50% { transform: translate(4px, -8px); opacity: 0.8; }
}

@keyframes sparkle-float-3 {
    0%, 100% { transform: translate(0, 0); opacity: 0; }
    50% { transform: translate(-5px, -10px); opacity: 0.9; }
}

/* Balanço suave */
@keyframes gentle-swing {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

.diamond-top-btn.visible .diamond-gem {
    animation: gentle-swing 8s ease-in-out infinite;
}

/* ===== RESPONSIVIDADE - SEMPRE LADO ESQUERDO ===== */

/* Tablets */
@media (max-width: 1024px) {
    .diamond-top-btn {
        bottom: 35px;
        left: 35px;
        width: 65px;
        height: 100px;
    }
    
    .diamond-gem {
        width: 55px;
        height: 55px;
    }
    
    .pendant-chain {
        height: 55px;
    }
    
    .chain-segment:nth-child(3) { top: 45px; }
}

/* Tablets pequenos */
@media (max-width: 768px) {
    .diamond-top-btn {
        bottom: 30px;
        left: 30px;
        width: 60px;
        height: 95px;
    }
    
    .diamond-gem {
        width: 50px;
        height: 50px;
    }
    
    .df-1 { width: 22px; height: 22px; }
    .df-2 { width: 18px; height: 18px; }
    .df-3 { width: 14px; height: 14px; }
    .df-4 { width: 10px; height: 10px; }
    
    .pendant-chain {
        height: 50px;
    }
    
    .chain-segment:nth-child(2) { top: 25px; }
    .chain-segment:nth-child(3) { top: 40px; }
}

/* Mobile */
@media (max-width: 480px) {
    .diamond-top-btn {
        bottom: 25px;
        left: 25px;
        width: 55px;
        height: 85px;
    }
    
    .diamond-gem {
        width: 45px;
        height: 45px;
    }
    
    .df-1 { width: 20px; height: 20px; }
    .df-2 { width: 16px; height: 16px; }
    .df-3 { width: 12px; height: 12px; }
    .df-4 { width: 8px; height: 8px; }
    
    .pendant-chain {
        height: 45px;
    }
    
    .chain-segment {
        width: 7px;
        height: 7px;
        left: -2.5px;
    }
    
    .chain-segment:nth-child(1) { top: 8px; }
    .chain-segment:nth-child(2) { top: 23px; }
    .chain-segment:nth-child(3) { top: 38px; }
    
    .pendant-shadow {
        width: 50px;
        height: 12px;
    }
}

/* Mobile muito pequeno */
@media (max-width: 360px) {
    .diamond-top-btn {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 80px;
    }
    
    .diamond-gem {
        width: 40px;
        height: 40px;
    }
    
    .pendant-chain {
        height: 40px;
    }
    
    .chain-segment:nth-child(3) { top: 35px; }
}

/* ===== ESTILOS PARA DEBUG (REMOVER DEPOIS) ===== */
.diamond-top-btn.debug {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    border: 2px dashed red !important;
    background: rgba(255, 0, 0, 0.1) !important;
}

.diamond-top-btn.debug .diamond-gem {
    border: 2px solid blue !important;
}

.diamond-top-btn.debug .pendant-chain {
    background: green !important;
}


/* ===== ESTILOS DE PAGINAÇÃO ===== */
.load-more-container {
    grid-column: 1 / -1;
    text-align: center;
    margin: 40px 0;
    padding: 20px;
    border-top: 1px solid #eee;
}

.load-more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.load-more-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.load-more-btn .fa-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pagination-info {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}

.pagination-end {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px;
    color: #28a745;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 20px 0;
}

.pagination-end i {
    font-size: 24px;
    margin-bottom: 10px;
}

.pagination-total {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* Loading skeleton para os produtos */
.product-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 8px;
    height: 300px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Grid responsivo para produtos */
#selectedCategoryProducts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

@media (max-width: 768px) {
    #selectedCategoryProducts {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    #selectedCategoryProducts {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .load-more-btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
    }
}