/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  --bg-main: #000000;
  --bg-sidebar: #0A0A0A;
  --bg-card: #121212;
  --bg-card-hover: #1C1C1C;
  --bg-modal: #0D0D0D;
  
  --primary: #D4AF37; /* Metallic Gold */
  --primary-rgb: 212, 175, 55;
  --primary-glow: rgba(var(--primary-rgb), 0.35);
  --accent: #FFFFFF; /* Pure White */
  --accent-glow: rgba(255, 255, 255, 0.2);
  
  --text-main: #FFFFFF;
  --text-muted: #A0A0A0;
  --text-dark: #000000;
  
  --border-color: rgba(212, 175, 55, 0.15); /* Subtle Gold border */
  --border-gold: rgba(212, 175, 55, 0.4);
  
  --font-sans: 'Outfit', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.9);
  --glass-bg: rgba(10, 10, 10, 0.85);
  --glass-border: rgba(212, 175, 55, 0.15);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ==========================================================================
   LAYOUT STRUCTURE
   ========================================================================== */
.app-container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar Styling */
.sidebar {
  width: 280px;
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 100;
  transition: var(--transition-smooth);
}

.sidebar-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.brand-logo {
  max-width: 180px;
  max-height: 80px;
  object-fit: contain;
  transition: var(--transition-smooth);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.brand-logo:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 12px var(--primary-glow));
}

.close-sidebar {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 2rem;
  cursor: pointer;
}

.categories-nav {
  padding: 24px;
  overflow-y: auto;
  flex-grow: 1;
}

.categories-nav h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  font-weight: 600;
}

.categories-nav ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.categories-nav li a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--border-radius-sm);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  border-left: 3px solid transparent;
}

.categories-nav li.active a,
.categories-nav li a:hover {
  color: var(--text-main);
  background-color: rgba(255, 255, 255, 0.03);
  border-left-color: var(--primary);
}

.categories-nav li.active a {
  background-color: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  font-weight: 600;
}

/* Main Content Area */
.main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 0 32px 40px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Top Header */
.top-header {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 32px;
  gap: 24px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-mobile {
  display: none;
  font-weight: 800;
  font-size: 1.25rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

/* Search Bar styling */
.search-bar-container {
  max-width: 750px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
}

.search-form {
  display: flex;
  position: relative;
  width: 100%;
  max-width: 380px;
}

.search-label-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.search-hint {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.search-subhint {
  font-size: 0.72rem;
  color: var(--primary);
  opacity: 0.9;
  margin-top: 3px;
  letter-spacing: -0.1px;
  white-space: nowrap;
}

/* Right Side WhatsApp Helper */
.header-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.wa-helper-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.wa-helper-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.wa-helper-link {
  color: #25D366; /* WhatsApp Green */
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: underline;
  margin-top: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-smooth);
}

.wa-helper-link:hover {
  color: #20BA56;
  text-shadow: 0 0 10px rgba(37, 211, 102, 0.4);
  transform: translateY(-1px);
}

/* Instagram Profile Link */
.header-instagram {
  display: flex;
  align-items: center;
  margin-left: 24px;
  margin-right: auto; /* Pushes WhatsApp helper to the far right */
  flex-shrink: 0;
}

.insta-label-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.insta-helper-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}


.instagram-link-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF; /* White text by default */
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-card);
}

.instagram-link-badge:hover {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
  transform: translateY(-1px);
}

.search-form input {
  width: 100%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 14px 80px 14px 20px;
  border-radius: var(--border-radius-md);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.search-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.15);
  background-color: var(--bg-card-hover);
}

.clear-search-btn {
  position: absolute;
  right: 42px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  font-size: 1.35rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.clear-search-btn:hover {
  color: var(--accent);
}

.search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.search-btn:hover {
  color: var(--primary);
}

/* ==========================================================================
   STOREFRONT / PRODUCT GRID
   ========================================================================== */
.gallery-section {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.results-count {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Grid layout */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

/* Product Card Styling */
.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-md);
  border: 1px solid transparent;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-6px);
  background-color: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

.product-card:hover::before {
  border-color: var(--border-gold);
  box-shadow: inset 0 0 15px rgba(255, 215, 0, 0.05);
}

.product-card-img-wrap {
  position: relative;
  padding-bottom: 100%; /* square ratio */
  background-color: #0d121c;
  overflow: hidden;
}

.product-card-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-img-wrap img {
  transform: scale(1.08);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.product-card:hover .image-overlay {
  opacity: 1;
}

.product-card-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.product-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
  height: 38px;
}

.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-badge {
  background-color: rgba(255, 215, 0, 0.15);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-gold);
}

.card-view-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-smooth);
}

.product-card:hover .card-view-btn {
  text-shadow: 0 0 8px var(--primary-glow);
}

/* ==========================================================================
   LOADING / SPINNER STATES
   ========================================================================== */
.loader-container {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  gap: 16px;
  color: var(--text-muted);
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border-color);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.pag-btn {
  min-width: 40px;
  height: 40px;
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.pag-btn:hover:not(.disabled):not(.active) {
  background-color: var(--bg-card-hover);
  color: var(--text-main);
  border-color: var(--primary);
}

.pag-btn.active {
  background-color: var(--primary);
  color: var(--text-dark);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.pag-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ==========================================================================
   PRODUCT DETAILS MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  padding: 24px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--bg-modal);
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  border-radius: var(--border-radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: var(--transition-smooth);
}

.modal-overlay.open .modal-content {
  transform: scale(1);
}

.close-modal {
  position: absolute;
  right: 24px;
  top: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 10;
}

.close-modal:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

.modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

/* Modal Gallery Left Side */
.modal-gallery {
  padding: 32px;
  background-color: rgba(0, 0, 0, 0.2);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-image-container {
  width: 100%;
  aspect-ratio: 1;
  background-color: #07090d;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.thumbnail-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.thumbnail-list::-webkit-scrollbar {
  height: 4px;
}

.thumb-item {
  width: 64px;
  height: 64px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  background-color: #07090d;
  transition: var(--transition-smooth);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-item:hover,
.thumb-item.active {
  border-color: var(--primary);
  transform: scale(1.05);
}

/* Modal Details Right Side */
.modal-details {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-details .badge {
  background-color: rgba(var(--primary-rgb), 0.15);
  color: var(--primary);
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(var(--primary-rgb), 0.25);
}

.modal-details h1 {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.info-group {
  margin-bottom: 24px;
}

.tagline {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

/* Size Selection */
.size-section {
  margin-bottom: 32px;
}

.size-section h3 {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.size-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.size-grid button {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.size-grid button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.size-grid button.active {
  background-color: var(--accent);
  color: var(--text-dark);
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
}

.size-helper {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
}

/* Buy Button WhatsApp */
.purchase-action {
  margin-bottom: 32px;
}

.btn-whatsapp {
  width: 100%;
  background-color: #25D366; /* WhatsApp Green */
  color: white;
  border: none;
  padding: 16px 28px;
  border-radius: var(--border-radius-md);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  background-color: #20BA56;
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:active {
  transform: translateY(0);
}

.wa-icon {
  fill: currentColor;
}

/* Features icons list */
.features-list {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.feature-icon {
  font-size: 1.25rem;
}



/* ==========================================================================
   RESPONSIVE DESIGN / MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .modal-content {
    max-width: 640px;
  }
  
  .modal-body {
    grid-template-columns: 1fr;
  }
  
  .modal-gallery {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
  }
  
  .modal-details {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .search-label-group,
  .header-instagram {
    display: none;
  }
  
  /* Mobile Sidebar styling */
  .sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    bottom: 0;
    box-shadow: var(--shadow-lg);
  }
  
  .sidebar.open {
    left: 0;
  }
  
  .close-sidebar {
    display: block;
  }
  
  .logo-mobile {
    display: flex;
    align-items: center;
    height: 48px;
  }
  
  .brand-logo-mobile {
    height: 100%;
    max-height: 44px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
  }
  
  .brand-logo-mobile:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px var(--primary-glow));
  }
  
  .menu-toggle {
    display: block;
  }
  
  /* Grid 2-row Header for Mobile */
  .top-header {
    display: grid;
    grid-template-areas: 
      "left right"
      "search search";
    grid-template-columns: 1fr auto;
    gap: 16px;
    height: auto;
    padding: 16px 0 12px;
    margin-bottom: 16px;
    position: relative;
  }
  
  .header-left {
    grid-area: left;
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
  }
  
  .logo-mobile {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .header-right {
    grid-area: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  
  .wa-helper-text {
    display: none;
  }
  
  .wa-helper-link {
    font-size: 1.25rem;
    margin-top: 0;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background-color: var(--bg-card);
    box-shadow: var(--shadow-sm);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
  }
  
  .wa-helper-link:hover {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
  }
  
  .wa-helper-btn-text {
    display: none;
  }
  
  .wa-helper-btn-icon {
    font-size: 1.25rem;
    margin-left: 0;
  }
  
  .search-bar-container {
    grid-area: search;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
  }
  
  .search-form {
    max-width: 100%;
    width: 100%;
  }
  
  .main-content {
    padding: 0 16px 20px;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }
  
  .product-card-info {
    padding: 10px;
  }
  
  .product-card-title {
    font-size: 0.8rem;
    height: 32px;
    margin-bottom: 8px;
  }
  
  .product-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
  }
  
  .card-view-btn {
    font-size: 0.72rem;
  }
  
  .section-header h2 {
    font-size: 1.35rem;
  }
  
  /* Modal responsive tweaks on mobile */
  .modal-overlay {
    padding: 10px;
  }
  
  .modal-gallery {
    padding: 16px;
    gap: 12px;
  }
  
  .modal-details {
    padding: 16px;
  }
  
  .modal-details h1 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }
  
  .close-modal {
    right: 12px;
    top: 12px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-gold);
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }
  
  /* Size charts modal mobile */
  .size-chart-view-modal {
    padding: 16px;
  }
  
  .size-chart-view-title {
    font-size: 1.2rem;
    margin-bottom: 14px;
  }
  
  /* Prices page mobile */
  .prices-card {
    padding: 16px;
  }
  
  .prices-card-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
  }
  
  .prices-card-header h2 {
    font-size: 1.15rem;
  }
  
  .premium-table th, 
  .premium-table td {
    padding: 10px 8px;
    font-size: 0.92rem;
  }
  
  .price-val {
    font-size: 1rem;
  }
  
  .prices-list li {
    font-size: 0.92rem;
    padding: 8px 0;
  }
}

/* Size Chart View Modal Styling */
.size-chart-view-modal {
  max-width: 800px;
  padding: 30px;
  background-color: var(--bg-modal);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
}
.size-chart-view-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  text-align: center;
}
.size-chart-view-img-wrap {
  width: 100%;
  max-height: 70vh;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  padding: 10px;
}
.size-chart-view-img-wrap img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* ==========================================================================
   PRICES PAGE STYLING
   ========================================================================== */
.prices-page-container {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 32px;
  width: 100%;
  margin-top: 10px;
}

.prices-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.prices-card:hover {
  border-color: var(--border-gold);
  box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.1);
  transform: translateY(-2px);
}

.prices-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.prices-card-header .icon {
  font-size: 1.8rem;
}

.prices-card-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.prices-table-wrapper {
  overflow-x: auto;
}

.premium-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.premium-table th, 
.premium-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.premium-table th {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  font-weight: 600;
  border-bottom: 2px solid var(--border-color);
}

.premium-table td {
  font-size: 1.05rem;
  color: var(--text-main);
  font-weight: 500;
}

.premium-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.02);
  color: var(--primary);
}

.price-val {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.15rem;
}

.prices-side-cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.prices-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prices-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 1.05rem;
}

.prices-list li:last-child {
  border-bottom: none;
}

.prices-list li .label {
  color: var(--text-main);
  font-weight: 500;
}

.prices-list li .value {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.highlight-card {
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(212, 175, 55, 0.03) 100%);
}

.frete-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.frete-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 1.05rem;
  transition: var(--transition-smooth);
}

.frete-item:hover {
  background-color: rgba(212, 175, 55, 0.03);
  border-color: rgba(212, 175, 55, 0.2);
}

.frete-item .peças {
  font-weight: 500;
  color: var(--text-main);
}

.frete-item .cost {
  font-weight: 700;
  color: var(--primary);
}

.frete-item.main-highlight {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.02) 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.frete-item.main-highlight .peças {
  color: #FFFFFF;
  font-weight: 700;
}

.frete-item.main-highlight .cost {
  color: var(--primary);
  font-weight: 800;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

/* Responsividade para a página de preços */
@media (max-width: 992px) {
  .prices-page-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

