﻿img {
  max-width: 100%;
  height: auto;
  display: block;
}

:root {

  --primary-color: #2ecc71;

  --primary-dark: #27ae60;
  --secondary-color: #333333;

  --text-main: #333333;
  --text-light: #666666;
  --bg-color: #f9f9f9;
  --bg-light: #ffffff;
  --bg-dark: #111111;

  --container-width: 1200px;

  --border-color: #e5e5e5;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-pill: 10px;

  --success-color: #2ecc71;
  --danger-color: #dc2626;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.02);
  --shadow-hover: 0 14px 36px rgba(0, 0, 0, 0.08);
  --primary-gradient: linear-gradient(135deg, #2ecc71, #27ae60);
}

html {
  width: 100%;
  background-color: #111;
  /* Matches footer to hide bottom whitespace/overscroll */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  width: 100%;
  overflow-x: hidden;
  background-color: var(--bg-color);
  /* Restores light background for content */
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-content {
  background-color: var(--bg-color);
  /* Restores light background for content */
  flex: 1;
  /* Pushes footer to bottom */
  width: 100%;
}

.no-scroll {
  overflow: hidden !important;
  height: 100% !important;
  /* Lock height to prevent scrolling on some mobile browsers */
}

.site-header {
  border-bottom: 1px solid var(--border-color);
  background: #fff;
  min-height: 120px;
  padding-top: 12px;
  padding-bottom: 12px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.logo,
.site-logo,
.navbar-logo {
  display: flex;
  align-items: center;
}

.logo img,
.site-logo img,
.navbar-logo img {
  height: 96px;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {

  .logo img,
  .site-logo img,
  .navbar-logo img {
    height: 64px;
  }
}

.search-box {
  flex: 1;
  max-width: 500px;
  margin: 0 20px;
}

.search-box input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: var(--radius-pill);
  outline: none;
  font-size: 14px;
  background: #f5f5f5;
  transition: background 0.2s, border-color 0.2s;
}

.search-box input:focus {
  background: #fff;
  border-color: var(--primary-color);
}

.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--primary-color);
}

/* Mobile Submenu Panel (Slide-in) */
.mobile-submenu-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  /* Force full width on mobile to cover everything */
  background: #fff;
  z-index: 2000;
  /* Must be higher than header (100) and other overlays */
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none;
  /* No shadow needed if full screen */
  display: flex;
  flex-direction: column;
}

.mobile-submenu-panel.active {
  transform: translateX(0);
}

.mobile-submenu-header {
  display: flex;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #eee;
  background: #f9f9f9;
}

.mobile-submenu-back {
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}

.mobile-submenu-content {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.mobile-submenu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-submenu-list li {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-submenu-list a {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 15px;
}

.mobile-submenu-list a:hover {
  background: #f9f9f9;
  color: var(--primary-color);
}

.mobile-submenu-strong {
  font-weight: 700 !important;
  color: var(--primary-color) !important;
  background: #f0fdf4;
}

@media (max-width: 768px) {

  /* Hide default dropdowns completely on mobile to prevent interference */
  .nav-links .dropdown-menu {
    display: none !important;
  }
}

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

.user-btn,
.cart-btn {
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-actions .icon {
  width: 28px;
  height: 28px;
  stroke-width: 1.8;
}

.cart-btn {
  position: relative;
}

.cart-count {
  background: #ea4335;
  color: white;
  font-size: 11px;
  font-weight: bold;
  height: 18px;
  width: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: absolute;
  top: -8px;
  right: -8px;
}

.top-bar {
  background: #333;
  color: #fff;
  font-size: 12px;
  padding: 6px 0;
}

.top-bar-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
}

.top-bar-right a {
  color: #fff;
  text-decoration: none;
  margin-left: 15px;
  opacity: 0.8;
}

.top-bar-right a:hover {
  opacity: 1;
}

.main-nav-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 50px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  height: 100%;
  padding: 0;
  margin: 0;
}

.nav-links li {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #111;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a.active {
  color: var(--primary-color);
}

/* Dropdown Arrow Styling */
.nav-links .dropdown-trigger>a::after {
  content: ' ▾';
  display: inline-block;
  margin-left: 6px;
}

@media (max-width: 768px) {
  .nav-links .dropdown-trigger>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .nav-links .dropdown-trigger>a::after {
    content: '›';
    font-size: 20px;
    font-weight: bold;
    color: #999;
  }
}

.nav-links .dropdown-trigger:hover .dropdown-menu {
  display: block;
}

.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 10px 0;
  z-index: 100;
  border: 1px solid #eee;
  list-style: none;
}

.dropdown-menu li {
  height: auto;
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-weight: 500;
}

.dropdown-menu a:hover {
  background: #f9f9f9;
  color: var(--primary-color);
}

.info-bar {
  background: #232f3e;
  color: #fff;
  padding: 12px 0;
  border-bottom: 1px solid #333;
}

.info-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
}

.info-nav-arrow {
  display: none;
  /* Hidden on desktop */
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* Mobile Info Slider */
@media (max-width: 900px) {

  /* Adjust breakpoint if needed, usually 768px but 900px is safe for wrap */
  .info-container {
    justify-content: center;
    padding: 0 40px;
    /* Space arrows */
    flex-wrap: nowrap;
    /* Prevent wrap in slider mode */
    min-height: 48px;
    /* Fixed height to prevent jump */
  }

  .info-item {
    display: none;
    /* Hide all by default */
    width: 100%;
    justify-content: center;
    text-align: center;
    animation: fadeIn 0.3s ease;
  }

  .info-item.active {
    display: flex;
    /* Show active */
  }

  .info-nav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 5px;
    cursor: pointer;
    z-index: 5;
    transition: color 0.2s;
  }

  .info-nav-arrow:hover,
  .info-nav-arrow:active {
    color: #fff;
  }

  .info-nav-arrow.prev {
    left: 5px;
  }

  .info-nav-arrow.next {
    right: 5px;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }
}

.info-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.social-bar {
  background: #fff;
  padding: 7px 0;

  border-bottom: 1px solid #eee;
}

.social-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: center;

  align-items: center;
}

.social-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--primary-color);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.social-label {
  font-weight: 700;
  color: #111;
  font-size: 14px;
  margin-right: 0;
}

.social-pill {
  font-size: 13px;
  color: #555;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  transition: color 0.2s;
}

.social-pill:hover {
  color: var(--primary-color);
}

.social-pill::before {
  content: '';
  width: 16px;
  height: 16px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.social-pill.facebook::before {
  background-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="%231877F2" xmlns="http://www.w3.org/2000/svg"><path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.791-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/></svg>');
}

.social-pill.instagram::before {
  background-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z" fill="url(%23instagramGradient)"/><defs><linearGradient id="instagramGradient" x1="0" y1="24" x2="24" y2="0" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="%23f09433"/><stop offset=".25" stop-color="%23e6683c"/><stop offset=".5" stop-color="%23dc2743"/><stop offset=".75" stop-color="%23cc2366"/><stop offset="1" stop-color="%23bc1888"/></linearGradient></defs></svg>');
}

.social-pill.tiktok::before {
  background-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="%23000000" xmlns="http://www.w3.org/2000/svg"><path d="M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-5.2 1.74 2.89 2.89 0 0 1 2.31-4.64 2.93 2.93 0 0 1 .88.13V9.4a6.84 6.84 0 0 0-1-.05A6.33 6.33 0 0 0 5 20.1a6.34 6.34 0 0 0 10.86-4.43v-7a8.16 8.16 0 0 0 4.77 1.52v-3.4a4.85 4.85 0 0 1-1.04-.1z"/></svg>');
}

.social-pill.youtube::before {
  background-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="%23FF0000" xmlns="http://www.w3.org/2000/svg"><path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/></svg>');
}

.social-pill.google::before {
  background-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z" fill="%234285F4"/><path d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z" fill="%2334A853"/><path d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z" fill="%23FBBC05"/><path d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z" fill="%23EA4335"/></svg>');
}

.social-pill.whatsapp::before {
  background-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="%2325D366" xmlns="http://www.w3.org/2000/svg"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413Z"/></svg>');
}

.social-pill {
  padding: 6px 14px;
  border: 1px solid #eee;
  border-radius: 999px;
  background: white;
  font-size: 13px;
  color: #333;
  font-weight: 600;
}

.social-pill:hover {
  border-color: var(--primary-color);
  color: #111;
  background: #f9f9f9;
}

.social-label {
  display: flex;
  align-items: center;
  gap: 5px;
}

.social-label::before {
  content: '🔒';
  font-size: 16px;
}

.main-content {
  max-width: 1200px;
  margin: 0 auto 40px;

  padding: 0 16px;
  flex: 1;
  width: 100%;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-main);
  text-align: center;

}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.card,
.product-card,
.order-card,
.checkout-section,
.confirmation-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);

}

.product-card {
  height: 100%;
}

.product-card:hover,
.order-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #f0f0f0;
}

.checkout-section {
  padding: 24px;
  margin-bottom: 24px;
}

.confirmation-card {
  padding: 60px 20px;
  text-align: center;
  max-width: 600px;
  margin: 40px auto;
}

.product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #f6f6f6;
  margin-bottom: 12px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-image img:broken,
.product-image img[src=""] {
  content: url("https://placehold.co/300x300?text=No+Image");
}

.img-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  line-height: 1;
  color: #333;
}

.product-image:hover .img-nav {
  opacity: 1;
}

.img-nav:hover {
  background: #f5f5f5;
  color: var(--primary-color);
}

.img-nav.prev {
  left: 8px;
}

.img-nav.next {
  right: 8px;
}

.product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-brand {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  margin-top: 4px;
  margin-bottom: 4px;
  font-weight: 600;
}

.product-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: #111;
  margin: 6px 0;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin: 6px 0 10px 0;
}

.stock {
  font-size: 13px;
  margin-bottom: 12px;
  font-weight: 500;
}

.in-stock,
.out-of-stock,
.low-stock {
  display: flex;
  align-items: center;
  gap: 5px;
}

.in-stock {
  color: var(--success-color);
}

.out-of-stock {
  color: var(--danger-color);
}

.low-stock {
  color: #f59e0b;

}

.btn,
.add-to-cart,
.checkout-btn,
.auth-btn,
.btn-secondary,
.btn-small,
.action-btn,
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: var(--radius-pill);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  font-size: 14px;
  text-decoration: none;
}

.add-to-cart,
.auth-btn,
.primary-btn {
  background: var(--primary-gradient);
  color: #fff;
  width: 100%;

  margin-top: auto;
}

.add-to-cart:hover,
.auth-btn:hover,
.primary-btn:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.add-to-cart:disabled,
.detail-add-btn:disabled {
  background: #ccc !important;
  color: #666;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.6;
}

.add-to-cart:disabled:hover,
.detail-add-btn:disabled:hover {
  transform: none;
  box-shadow: none;
  opacity: 0.6;
}

.checkout-btn,
.btn-secondary {
  background: #000;
  color: white;
  width: 100%;
}

.checkout-btn:hover,
.btn-secondary:hover {
  background: #222;
}

.view-details-btn,
.action-btn {
  background: #fff;
  border: 1px solid #ddd;
  color: var(--text-main);
  border-radius: var(--radius-sm);

  padding: 6px 12px;
  font-size: 13px;
  width: auto;
}

.view-details-btn:hover,
.action-btn:hover {
  background: #f5f5f5;
}

.action-btn.delete {
  color: var(--danger-color);
  border-color: #fee2e2;
}

.action-btn.delete:hover {
  background: #fef2f2;
}

.skeleton {
  background: linear-gradient(90deg,
      #eee 25%,
      #f5f5f5 37%,
      #eee 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

@keyframes shimmer {
  0% {
    background-position: -400px 0;
  }

  100% {
    background-position: 400px 0;
  }
}

.site-footer {
  background-color: #111;
  color: #aaa;
  padding: 60px 0 20px 0;
  margin-top: auto;
  margin-bottom: 0;
  /* Ensure no external gap */
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 0;
  /* Changed from 40px to 0 to prevent whitespace issues */
  padding-bottom: 40px;
  /* Kept spacing internal */
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col .logo {
  margin-bottom: 20px;
}

.footer-col .logo img {
  height: 54px;
  filter: brightness(2) invert(1);
  opacity: 0.8;
}

.footer-col ul li a {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  max-width: 1200px;
  margin: 0 auto;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 998;

}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 90%;
  background: white;
  transform: translateX(100%);
  will-change: transform;

  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
}

.cart-drawer.open {
  transform: translateX(0);
}

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

.cart-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
}

.cart-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  transition: color 0.2s;
  line-height: 1;
  padding: 0;
}

.cart-close:hover {
  color: var(--text-main);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0f0f0;
}

.cart-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.cart-item-image {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #f3f3f3;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.cart-item-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.3;
}

.cart-item-price {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-main);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-pill);
  height: 32px;
  padding: 0 4px;
}

.qty-btn {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 16px;
  width: 24px;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

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

.qty-val {
  font-size: 14px;
  font-weight: 600;
  padding: 0 8px;
  min-width: 24px;
  text-align: center;
}

.remove-link {
  font-size: 13px;
  color: #999;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.remove-link:hover {
  color: var(--danger-color);
  text-decoration: underline;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
  background: #fff;
  flex-shrink: 0;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  margin-bottom: 20px;
}

.total-label {
  font-weight: 600;
  color: var(--text-main);
}

.total-amount {
  font-weight: 800;
  font-size: 20px;
}

.checkout-btn {
  width: 100%;
  padding: 16px;
  background: var(--primary-gradient);
  color: white;
  border: none;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.25);
}

.checkout-btn:hover {
  background: linear-gradient(135deg, #27ae60, #219150);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(46, 204, 113, 0.35);
}

.empty-cart-message {
  text-align: center;
  padding: 40px 0;
  color: var(--text-light);
}

.auth-modal,
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.auth-modal-content,
.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 30px;
  border: 1px solid #888;
  width: 90%;
  max-width: 500px;
  border-radius: var(--radius-md);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.auth-close,
.close,
.close-modal {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.auth-close:hover,
.close:hover,
.close-modal:hover {
  color: black;
}

.auth-tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-weight: 600;
  color: #666;
}

.auth-tab.active {
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.form-group input:focus {
  border-color: var(--primary-color);
  outline: none;
}

.hero-section {
  background: #f1f1f1;
  background-image: url('assets/index-front.png');
  background-size: cover;
  background-position: center;
  padding: 40px 0;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .hero-section {
    background-image: url('assets/index-front-mobile.png');
    /* Ensure content is positioned at the top area */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 60px;
    /* Space from top */
    padding-bottom: 800px;
    /* Space for phones at bottom */
    text-align: center;
    height: auto;
    min-height: 1400px;
    /* Ensure tall enough canvas */
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
  }

  /* Typography Overrides */
  .hero-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 15px;
    color: white;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .hero-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
  }

  .hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 15px;
    margin-bottom: 30px;
    font-size: 13px;
    color: white;
    font-weight: 500;
  }

  .hero-features span {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  /* Button Stack */
  .hero-buttons {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px;
    width: 100% !important;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: nowrap !important;
  }

  .hero-btn {
    background: white;
    color: #111;
    flex: 1 !important;
    width: auto !important;
    /* Allow flex to control width */
    padding: 12px 5px !important;
    /* Minimize padding */
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px !important;
    /* Ensure text fits */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    white-space: nowrap !important;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.hero-banner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 400px;
  box-shadow: var(--shadow-sm);
}

.hero-text {
  flex: 1;
  padding: 60px;
}

.hero-text h1 {
  font-size: 48px;
  color: #111;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-btn {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(46, 204, 113, 0.3);
}

.hero-image-placeholder {
  flex: 1;
  height: 400px;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brands-section {
  margin-bottom: 40px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);

  gap: 20px;
  justify-items: center;
}

.brand-card {

  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  width: 140px;

  transition: transform 0.2s ease;
  color: var(--text-main);
  border: none;
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: none;
  border-color: transparent;
}

.brand-card:hover .brand-logo-circle {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.brand-logo-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #f3f3f3;
  overflow: hidden;
}

.brand-media {
  position: relative;
  display: block;
  width: 100%;
  padding-top: 100%;
}

.trending-section {
  margin-bottom: 40px;
}

.trending-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);

  gap: 20px;
}

@media (max-width: 1024px) {
  .trending-grid {
    grid-template-columns: repeat(3, 1fr);

  }
}

@media (max-width: 600px) {
  .trending-grid {
    grid-template-columns: repeat(2, 1fr);

    gap: 16px;
  }
}

.brand-name {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
  color: #111;
  text-align: center;
}

.brand-link {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.brand-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-link::after {
  transition: transform 0.2s;
}

.has-ltr-icon {
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s ease;
}

.brand-link svg {
  display: block;
}

.brand-card:hover .brand-link {
  color: var(--primary-color);
}

.brand-card:hover .has-ltr-icon {
  transform: translateX(4px);
}

.brand-card:hover .brand-link::after {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .brands-grid {
    gap: 12px;
  }

  .brand-card {
    width: calc(33.33% - 12px);

    max-width: 120px;
    padding: 10px;
  }

  .brand-logo-circle {
    width: 96px;
    border-radius: 50%;
    background: #f3f3f3;
    overflow: hidden;
  }

  .brand-name {
    font-size: 13px;
  }

  .brand-link {
    font-size: 11px;
  }
}

.auth-form input,
.form-group input,
.form-group select,
.form-group textarea,
.checkout-section input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.google-btn {
  background: #db4437;
  margin-top: 10px;
}

.google-btn:hover {
  background: #c53929;
}

.auth-error {
  color: red;
  font-size: 13px;
  margin-top: 10px;
  display: none;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

.checkout-section h3,
.order-info h3 {
  font-size: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.delivery-option,
.payment-option {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.delivery-option:hover,
.payment-option:hover {
  border-color: var(--primary-color);
  background: #f9fff9;
}

.delivery-option input,
.payment-option input {
  margin-right: 15px;
}

.delivery-option .price {
  margin-left: auto;
  font-weight: bold;
}

.summary-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f5f5f5;
}

.summary-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #eee;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  color: #555;
}

.summary-row.total {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  margin-top: 20px;
  border-top: 2px solid #eee;
  padding-top: 15px;
}

.order-card {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .order-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .view-details-btn {
    width: 100%;
  }
}

.order-meta {
  font-size: 13px;
  color: #666;
}

.order-status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  background: #eee;
  font-size: 12px;
  font-weight: bold;
  margin-left: 10px;
}

.modal-order-item {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.modal-order-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.admin-tabs {
  display: flex;
  gap: 20px;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 30px;
}

.header-actions {
  position: relative;

}

.account-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 260px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  display: none;
  z-index: 1000;
  border: 1px solid var(--border-color);
  margin-top: 12px;
  animation: fadeIn 0.1s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.account-dropdown.show {
  display: block;
}

.account-dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: white;
  transform: rotate(45deg);
  border-top: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
}

.dropdown-user-info {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fafafa;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.dropdown-avatar {
  width: 36px;
  height: 36px;
  background: #e0e0e0;
  color: #666;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.dropdown-user-details {
  overflow: hidden;
}

.dropdown-email {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  display: block;
}

.dropdown-menu-items {
  padding: 8px 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.dropdown-item:hover {
  background: #f5f5f5;
  color: var(--primary-color);
}

.dropdown-item.logout {
  color: var(--danger-color);
  border-top: 1px solid #f0f0f0;
  margin-top: 8px;
  padding-top: 12px;
}

.dropdown-item.logout:hover {
  background: #fff5f5;
}

.profile-container {
  max-width: 800px;
  margin: 0 auto;
}

.profile-header {
  margin-bottom: 30px;
}

.profile-section {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.profile-section h3 {
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.address-card {
  border: 1px solid #eee;
  padding: 16px;
  border-radius: var(--radius-sm);
  position: relative;
  background: #fafafa;
}

.address-card h4 {
  font-size: 15px;
  margin-bottom: 8px;
}

.address-card p {
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
}

.delete-addr-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #999;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
}

.delete-addr-btn:hover {
  color: var(--danger-color);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.admin-tab {
  cursor: pointer;
  font-weight: 600;
  color: #6b7280;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.admin-tab.active {
  color: #111;
  border-bottom-color: #111;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.orders-table th,
.orders-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.orders-table th {
  background-color: #f9fafb;
  font-weight: 600;
  font-size: 14px;
  color: #555;
}

.orders-table img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 4px;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

.check-icon {
  font-size: 64px;
  color: var(--success-color);
  margin-bottom: 20px;
  display: inline-block;
}

.secondary-nav {
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  width: 100%;
}

.secondary-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  height: 50px;
  gap: 30px;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  height: 100%;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--primary-color);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee;
  border-radius: 0 0 8px 8px;
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.dropdown-trigger:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}

.dropdown-menu li a:hover {
  background: #f9f9f9;
  color: var(--primary-color);
}

.search-box {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none;
  width: 18px;
  height: 18px;
}

.search-box input {
  padding-left: 40px !important;

}

.collection-page .collection-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 16px;
}

.collection-page .filter-sidebar {
  width: 250px;
  flex-shrink: 0;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.collection-page .filter-group {
  margin-bottom: 24px;
}

.collection-page .filter-group h3 {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--text-main);
}

.collection-page .filter-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 14px;
}

.collection-page .price-inputs {
  display: flex;
  gap: 10px;
  align-items: center;
}

.collection-page .price-inputs input {
  width: 100%;
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
}

.collection-page .collection-products {
  flex: 1;
}

.collection-page .product-list-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.collection-page .collection-row {
  display: flex;
  align-items: center;
  gap: 32px;

  background: white;
  padding: 32px 0;
  border-bottom: 1px solid #eee;
}

.collection-page .collection-row:last-child {
  border-bottom: none;
}

.collection-page .collection-image {
  width: 240px;

  height: 240px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: white;
  padding: 10px;
}

.collection-page .collection-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.collection-page .collection-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.collection-page .brand {
  font-size: 13px;
  color: #999;
  font-weight: 500;
  margin-bottom: 4px;
}

.collection-page .title {
  font-size: 18px;
  font-weight: 700;
  color: #111;

  margin-bottom: 8px;
  line-height: 1.4;
}

.collection-page .info-divider {
  width: 100%;
  height: 1px;
  background-color: #eee;
  border: none;
  margin: 12px 0;
}

.collection-page .price {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin: 0;

}

.collection-page .colors {
  display: flex;
  gap: 8px;
  align-items: center;
}

.collection-page .colors span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.collection-page .stock {
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.collection-page .stock.in-stock {
  color: #27ae60;
}

.collection-page .stock.out-of-stock {
  color: #e74c3c;
}

.collection-page .collection-actions {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;

  min-width: 180px;
}

.collection-page .add-to-cart {

  transition: transform 0.2s;
}

.collection-page .add-to-cart:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.collection-page .view-details-btn {

  transition: background 0.2s;
}

.product-details-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 20px;
  align-items: start;
}

@media (max-width: 768px) {
  .product-details-layout {
    grid-template-columns: 1fr;
  }
}

.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-image-container {
  width: 100%;
  height: 500px;

  background-color: #ffffff;

  border: 1px solid #eee;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}

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

.thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.thumb {
  width: 80px;
  height: 80px;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  padding: 5px;
  object-fit: contain;
}

.thumb.active {
  border-color: var(--primary-color);
  border-width: 2px;
}

.detail-info {
  display: flex;
  flex-direction: column;
}

.detail-brand {
  font-size: 14px;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.detail-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.detail-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
}

.detail-divider {
  height: 1px;
  background: #eee;
  margin: 20px 0;
}

.detail-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 30px;
}

.detail-actions {
  display: flex;
  gap: 20px;
  margin-top: auto;
}

.detail-add-btn {
  flex: 1;
  background-color: var(--primary-color);
  color: white;
  font-size: 16px;
  font-weight: 700;
  padding: 18px;
  border-radius: 50px;

  border: none;
  cursor: pointer;
  transition: transform 0.2s;
  text-align: center;
}

.detail-add-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.detail-add-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 768px) {
  .collection-page .collection-layout {
    flex-direction: column;
  }

  .collection-page .filter-sidebar {
    width: 100%;
  }
}

.collection-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #eee;
}

.collection-image {
  width: 220px;
  height: 220px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #f7f7f7;
  border-radius: 12px;
}

.collection-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.collection-info {
  flex: 1;
  max-width: 520px;
}

.collection-brand {
  font-size: 13px;
  color: #888;
  margin-bottom: 4px;
}

.collection-title {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}

.collection-divider {
  height: 1px;
  background: #e5e5e5;
  margin: 12px 0;
}

.collection-price {
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 10px;
}

.collection-colors {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.collection-color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #ccc;
}

.collection-stock {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #16a34a;
}

.collection-stock::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #16a34a;
  border-radius: 50%;
}

.collection-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.collection-actions .add-to-cart {
  width: 160px;
}

.collection-actions .view-details-btn {
  width: 160px;
  text-align: center;
}

.product-list-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.row-image {
  width: 360px;
  height: 360px;
  flex-shrink: 0;
  background: #f7f7f7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.row-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.row-info {
  flex: 1;
  max-width: 420px;
}

.row-brand {
  font-size: 13px;
  color: #888;
}

.row-title {
  font-size: 18px;
  font-weight: 600;
  margin: 6px 0;
}

.row-divider {
  height: 1px;
  background: #e5e5e5;
  margin: 12px 0;
}

.row-price {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.row-colors {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #ccc;
}

.stock-status.in-stock {
  color: #16a34a;
}

.stock-status.out-of-stock {
  color: #dc2626;
}

.row-actions {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.row-actions .add-to-cart,
.row-actions .view-details-btn {
  width: 160px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #eee;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.stat-card h3 {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}

.stat-value {
  font-size: 28px;
  font-weight: bold;
  color: #333;
}

.load-more-container {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.load-more-btn {
  background: #f3f3f3;
  border: 1px solid #ddd;
  color: #555;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.load-more-btn:hover {
  background: #e9e9e9;
}

.badge-open {
  background: #e0f2fe;
  color: #0284c7;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

.badge-solved {
  background: #dcfce7;
  color: #166534;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

.search-box {
  position: relative;

}

.search-results-panel {
  position: absolute;
  background: white;
  border-radius: 8px;

  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid #eee;
  z-index: 9999;

  max-height: 60vh;
  overflow-y: auto;
  display: none;
  width: 100%;

  box-sizing: border-box;
}

.search-results-panel.active {
  display: block;
}

.search-result-item {
  display: flex !important;
  align-items: center !important;
  padding: 12px;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
  background: #fff;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: #f9f9f9;
}

.search-result-thumb {
  width: 50px !important;
  height: 50px !important;
  object-fit: contain !important;
  margin-right: 12px;
  border-radius: 4px;
  display: block;
  flex-shrink: 0;
  background: #fff;
}

.search-result-info {
  flex: 1;
  min-width: 0;

}

.search-result-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-brand {
  font-size: 12px;
  color: #888;
}

.search-result-meta {
  text-align: right;
  margin-left: 12px;
  flex-shrink: 0;
}

.search-result-price {
  font-weight: 700;
  color: #111;
  font-size: 14px;
}

.search-result-stock {
  font-size: 11px;
  margin-top: 2px;
}

.search-no-results {
  padding: 20px;
  text-align: center;
  color: #888;
  font-size: 14px;
}

@media (max-width: 600px) {
  .search-results-panel {
    position: fixed;
    top: 60px;

    left: 10px;
    right: 10px;
    width: auto;
    max-height: 50vh;
  }
}

.dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.dialog-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.custom-dialog {
  background: white;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: scale(0.95);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
}

.dialog-overlay.active .custom-dialog {
  transform: scale(1);
}

.dialog-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  font-size: 28px;
}

.dialog-icon-wrapper.error {
  background: #fee2e2;
  color: #ef4444;
}

.dialog-icon-wrapper.success {
  background: #dcfce7;
  color: #166534;
}

.dialog-icon-wrapper.warning {
  background: #fef3c7;
  color: #d97706;
}

.dialog-icon-wrapper.info {
  background: #e0f2fe;
  color: #0284c7;
}

.dialog-title {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.dialog-message {
  font-size: 15px;
  color: #555;
  margin-bottom: 24px;
  line-height: 1.5;
}

.dialog-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.dialog-btn {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.dialog-btn.primary {
  background: #2ecc71;
  color: white;
}

.dialog-btn.primary:hover {
  background: #27ae60;
}

.dialog-btn.secondary {
  background: #f3f4f6;
  color: #374151;
}

.dialog-btn.secondary:hover {
  background: #e5e7eb;
}

.dialog-btn.danger {
  background: #ef4444;
  color: white;
}

.dialog-btn.danger:hover {
  background: #dc2626;
}

.account-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 260px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid #eee;
  padding: 10px;
  z-index: 2000;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: block;

}

.account-dropdown.show {
  opacity: 1;
  transform: translateY(10px);

  pointer-events: auto;
}

.dropdown-user-info {
  display: flex;
  align-items: center;
  padding: 12px;
  gap: 12px;
  border-bottom: 1px solid #f5f5f5;
  margin-bottom: 8px;
}

.dropdown-avatar {
  width: 40px;
  height: 40px;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
}

.dropdown-avatar svg {
  width: 20px;
  height: 20px;
}

.dropdown-user-details {
  overflow: hidden;
}

.dropdown-email {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-menu-items {
  display: flex;
  flex-direction: column;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 14px;
  color: #444;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.1s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.dropdown-item:hover {
  background: #f9f9f9;
  color: #000;
}

.dropdown-item svg {
  color: #6b7280;
  stroke-width: 2px;
}

.dropdown-item.logout {
  color: #ef4444;
  margin-top: 4px;
  border-top: 1px solid #f9fafb;
  border-radius: 0 0 8px 8px;

}

.dropdown-item.logout:hover {
  background: #fef2f2;
  color: #dc2626;
}

.detail-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.highlight-item {
  background: #fdfdfd;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.highlight-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-color: #e0e0e0;
}

.h-icon {
  font-size: 24px;
}

.h-text {
  font-size: 13px;
  font-weight: 600;
  color: #444;
  line-height: 1.3;
}

.detail-section {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.detail-heading {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-heading::before {
  content: '';
  display: block;
  width: 4px;
  height: 16px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.warranty-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.warranty-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #555;
}

.check-icon {
  color: var(--success-color);
  font-weight: bold;
}

.specs-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-card {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.spec-header {
  padding: 12px 16px;
  background: #f9fafb;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.spec-header:hover {
  background: #f3f4f6;
}

.spec-header .chevron {
  font-size: 10px;
  transition: transform 0.2s;
  color: #888;
}

.spec-card.open .chevron {
  transform: rotate(180deg);
}

.spec-body {
  display: block;

  padding: 0;
}

.spec-card .spec-body {
  display: none;
}

.spec-card.open .spec-body {
  display: block;
}

.spec-card .spec-body {
  display: block;
}

.spec-card.closed .spec-body {

  display: none;
}

.spec-body {
  display: none;
  border-top: 1px solid #eee;
}

.spec-card.open .spec-body {
  display: block;
}

.spec-row-display {
  display: flex;
  padding: 10px 16px;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
}

.spec-row-display:last-child {
  border-bottom: none;
}

.spec-row-display:nth-child(even) {
  background: #fafafa;
}

.spec-label-display {
  width: 40%;
  color: #666;
  font-weight: 500;
}

.spec-value-display {
  width: 60%;
  color: #111;
  font-weight: 600;
}

@media (max-width: 600px) {
  .warranty-list {
    grid-template-columns: 1fr;
  }
}

.product-details-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px;
  width: 100%;
}

.product-details-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;

  gap: 48px;
  align-items: start;
  width: 100%;
}

@media (max-width: 900px) {
  .product-details-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.detail-left-col {
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-width: 0;

}

.detail-right-col {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 140px;
  height: fit-content;
  min-width: 0;
}

.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.main-image-container {
  width: 100%;
  background: #fff;
  border-radius: 16px;

  border: 1px solid #f0f0f0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;

  aspect-ratio: 1 / 1;

  min-height: 500px;
}

.main-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.main-image-container img:hover {
  transform: scale(1.02);
}

.thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.thumbnails .thumb {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  object-fit: cover;
  flex-shrink: 0;
  background: #fdfdfd;
}

.thumbnails .thumb:hover {
  border-color: #ddd;
}

.thumbnails .thumb.active {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.15);
}

.detail-title {
  font-size: 32px;

  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 700;
  color: #111;
}

.detail-price {
  font-size: 36px;

  color: #111;
  font-weight: 800;
  margin-bottom: 20px;
}

.detail-brand {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  margin-bottom: 8px;
  font-weight: 600;
}

.detail-full-width {

  grid-column: 1 / -1;
}

.rich-text-specs {
  color: var(--text-main);
  line-height: 1.6;
  font-size: 15px;
}

.rich-text-specs h1,
.rich-text-specs h2,
.rich-text-specs h3,
.rich-text-specs h4 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: 700;
  line-height: 1.3;
}

.rich-text-specs h1 {
  font-size: 1.8em;
}

.rich-text-specs h2 {
  font-size: 1.5em;
}

.rich-text-specs h3 {
  font-size: 1.25em;
}

.rich-text-specs p {
  margin-bottom: 1em;
}

.rich-text-specs ul,
.rich-text-specs ol {
  margin-bottom: 1em;
  padding-left: 20px;
}

.rich-text-specs li {
  margin-bottom: 0.5em;
}

.rich-text-specs a {
  color: var(--primary-color);
  text-decoration: underline;
}

.rich-text-specs blockquote {
  border-left: 4px solid var(--border-color);
  padding-left: 1em;
  color: var(--text-light);
  font-style: italic;
  margin-right: 0;
}

.admin-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.admin-img-card {
  position: relative;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 5px;
  background: white;
  text-align: center;
}

.admin-img-card img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.admin-img-card.showcase {
  border-color: var(--primary-color);
  background: #f0f9ff;
  box-shadow: 0 0 0 2px var(--primary-color);
}

.admin-img-actions {
  margin-top: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.delete-img-btn {
  background: #fee2e2;
  color: #ef4444;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.delete-img-btn:hover {
  background: #fecaca;
}

.showcase-label {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: #555;
}

.showcase-label input {
  margin: 0;
}

.showcase-section {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  margin: 60px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: none;
}

.showcase-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.showcase-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);

  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 20px;
}

.showcase-content {
  background: rgba(20, 20, 20, 0.8);

  padding: 40px;
  border-radius: 12px;
  backdrop-filter: blur(5px);
  max-width: 600px;
  width: 90%;
}

.showcase-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--primary-color);

}

.showcase-subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.showcase-btn {
  display: inline-block;
  background: var(--primary-color);

  color: white;
  padding: 14px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.showcase-btn:hover {
  transform: scale(1.05);
  background: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
}

@media (max-width: 768px) {
  .showcase-section {
    height: 450px;
  }

  .showcase-title {
    font-size: 28px;
  }

  .showcase-subtitle {
    font-size: 16px;
  }
}

.brand-carousel {
  width: 100%;
  overflow: hidden;
  background: #f8f9fa;
  padding: 40px 0;
  margin: 50px 0;
  position: relative;
}

.brand-track {
  display: flex;
  width: calc(200px * 24);

  animation: scroll 30s linear infinite;
  align-items: center;
}

.brand-slide {
  width: 200px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 30px;
}

.brand-slide img {
  max-width: 100%;
  max-height: 50px;

  object-fit: contain;
  filter: grayscale(100%);

  opacity: 0.7;
  transition: filter 0.3s, opacity 0.3s;
}

.brand-slide img:hover {
  filter: grayscale(0%);

  opacity: 1;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-200px * 6));
  }

}

@media (max-width: 768px) {
  .brand-slide {
    width: 150px;
    padding: 0 15px;
  }

  .brand-track {
    width: calc(150px * 12);
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(calc(-150px * 6));
    }
  }
}

.accessories-section {
  padding: 60px 0;
  background: #fff;
}

.accessories-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 30px;
  align-items: stretch;

}

.accessories-banner {
  flex: 0 0 25%;

  background: #f9f9f9;
  padding: 40px 30px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.accessories-banner h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.accessories-banner p {
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.6;
}

.view-all-link {
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
  transition: all 0.2s;
}

.view-all-link:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.accessories-grid-wrapper {
  flex: 1;

  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;

}

.accessories-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 5px;

  scrollbar-width: none;

  -ms-overflow-style: none;

  width: 100%;
}

.accessories-grid::-webkit-scrollbar {
  display: none;

}

.product-card {
  background: white;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;

  min-height: 380px;

}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.product-image {
  position: relative;
  width: 100%;
  padding-top: 100%;

  background: #fff;
  overflow: hidden;
  border-bottom: 1px solid #f9f9f9;
}

.product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 15px;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;

  gap: 6px;
}

.accessories-grid .product-card {
  flex: 0 0 calc(25% - 15px);
  min-width: 220px;
}

.accessories-grid-wrapper {
  flex: 1;
  position: relative;
  overflow: visible;

  display: flex;
  align-items: center;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  background: white;
  color: #333;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;

  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.accessories-grid-wrapper:hover .nav-arrow {
  opacity: 1;
  pointer-events: auto;
}

.accessories-grid-wrapper:hover .nav-arrow.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.nav-arrow.next {
  right: 10px;
  top: calc(50% - 26px);

  transform: translateY(0);
}

.nav-arrow.prev {
  left: auto;
  right: 10px;
  top: calc(50% + 10px);

  transform: translateY(0);
}

.nav-arrow.disabled {

  cursor: default;
  pointer-events: none !important;
  background: #f5f5f5;
  color: #ccc;
  border-color: #eee;
}

@media (max-width: 992px) {
  .accessories-container {
    flex-direction: column;
  }

  .accessories-banner {
    flex: none;
    width: 100%;
    margin-bottom: 20px;
    padding: 30px;
  }

  .accessories-grid .product-card {
    flex: 0 0 280px;

  }
}

.hardware-section {
  padding: 40px 0;
  background: #f9f9f9;
  border-top: 1px solid #e5e5e5;
}

.hardware-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

.hardware-grid-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.hardware-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 5px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
}

.hardware-grid::-webkit-scrollbar {
  display: none;
}

.hardware-grid .product-card {
  min-width: 220px;
  flex: 0 0 calc(25% - 15px);
}

.nav-arrow.green-arrow {
  border-color: #2ecc71;
  color: #2ecc71;
  background: white;
}

.nav-arrow.green-arrow:hover {
  background: #2ecc71;
  color: white;
}

@media (max-width: 1024px) {
  .hardware-grid .product-card {
    flex: 0 0 calc(33.33% - 15px);
  }
}

@media (max-width: 768px) {
  .hardware-grid .product-card {
    flex: 0 0 calc(50% - 15px);
  }
}

.faq-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
  border-top: 1px solid #eee;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-group {
  margin-bottom: 50px;
}

.faq-group:last-child {
  margin-bottom: 0;
}

.faq-group-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #333;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e5e5;
}

.faq-item {
  background: transparent;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 0;
  overflow: hidden;
}

.faq-header {
  padding: 24px 0;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  background: transparent;
  user-select: none;
  transition: color 0.2s;
}

.faq-header:hover {
  color: #555;
}

.faq-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  flex-shrink: 0;
}

.faq-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.faq-question {
  flex: 1;
  font-weight: 400;
  color: #333;
  font-size: 1.05rem;
}

.faq-toggle {
  font-size: 1.2rem;
  color: #888;
  transition: transform 0.3s ease;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-toggle::after {
  content: '\2304';

  font-size: 18px;
  transform: translateY(-2px);
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-out;
  padding: 0 0 0 47px;

  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0;
}

.faq-item.active .faq-body {
  padding: 0 0 30px 47px;
  opacity: 1;

}

.faq-body p {
  margin-bottom: 12px;
}

.faq-body p:last-child {
  margin-bottom: 0;
}

.support-info-banner {
  background-color: var(--primary-color);
  padding: 25px 0;
  color: white;
}

.support-banner-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.support-item {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 220px;
}

.support-icon-wrapper svg {
  width: 36px;
  height: 36px;
  stroke-width: 1.5;
  opacity: 0.9;
}

.support-text h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 2px;
  color: #fff;
}

.support-text p {
  font-size: 14px;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

/* Support Banner Slider Styles */
.support-nav-arrow {
  display: none;
  /* Hidden on desktop */
}

@media (max-width: 992px) {
  .support-banner-container {
    justify-content: center;
    flex-wrap: nowrap;
    /* Prevent wrap for slider */
    position: relative;
    /* For arrows */
    padding: 0 50px;
    /* Space for arrows */
    min-height: 60px;
  }

  .support-item {
    display: none;
    /* Hide by default */
    flex: 1;
    justify-content: center;
    text-align: center;
    min-width: 0;
    /* Allow shrinking */
    animation: fadeIn 0.3s ease;
  }

  .support-item.active {
    display: flex;
  }

  .support-nav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px;
    cursor: pointer;
    z-index: 5;
    transition: color 0.2s;
  }

  .support-nav-arrow:hover,
  .support-nav-arrow:active {
    color: #fff;
  }

  .support-nav-arrow.prev {
    left: 10px;
  }

  .support-nav-arrow.next {
    right: 10px;
  }
}

.reviews-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .reviews-layout {
    flex-direction: column;
    gap: 30px;
  }
}

.reviews-summary {
  flex: 0 0 300px;
  background: #fdfdfd;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
}

.rating-big {
  text-align: center;
  margin-bottom: 20px;
}

#avg-rating-val {
  font-size: 48px;
  font-weight: 800;
  color: #333;
  display: block;
  line-height: 1;
}

.stars-static {
  color: #f59e0b;

  font-size: 24px;
  margin: 10px 0;
  letter-spacing: 2px;
}

.rating-count {
  color: #666;
  font-size: 14px;
}

.rating-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 25px;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #555;
}

.bar-container {
  flex: 1;
  height: 8px;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: #f59e0b;
  border-radius: 4px;
}

.write-review-btn {
  width: 100%;
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.write-review-btn:hover {
  background: #27ae60;
}

.reviews-content {
  flex: 1;
  width: 100%;
}

.reviews-filter-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

#reviews-sort {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-card {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 20px;
}

.review-card:last-child {
  border-bottom: none;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.review-author {
  font-weight: 700;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.verified-badge {
  background: #e6fffa;
  color: #2ecc71;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.review-date {
  color: #999;
  font-size: 13px;
}

.review-stars {
  color: #f59e0b;
  font-size: 14px;
  margin-bottom: 8px;
}

.review-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
  color: #111;
}

.review-body {
  color: #555;
  line-height: 1.6;
  font-size: 15px;
}

.review-form-container {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 30px;
  border: 1px solid #eee;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
}

.form-group textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.submit-review-btn {
  background: #333;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  float: right;
}

.submit-review-btn:hover {
  background: #000;
}

.star-rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 5px;
}

.star-rating-input input {
  display: none;
}

.star-rating-input label {
  cursor: pointer;
  font-size: 24px;
  color: #ddd;
  margin: 0;
  line-height: 1;
}

.star-rating-input label:hover,
.star-rating-input label:hover~label {
  color: #ffd700;

}

.star-rating-input input:checked~label {
  color: #f59e0b;

}

.star-rating-input input:checked+label:hover,
.star-rating-input input:checked+label:hover~label,
.star-rating-input input:checked~label:hover,
.star-rating-input input:checked~label:hover~label,
.star-rating-input label:hover~input:checked~label {
  color: #e58e0a;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 17px;

  padding-left: 2px;
}

.product-rating .stars {
  color: #f59e0b;
  letter-spacing: 1px;
}

.product-rating .count {
  color: #888;
  font-size: 14px;

  font-weight: 500;
}

.skeleton {
  background: #f0f0f0;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: 4px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.product-card.skeleton-card {
  pointer-events: none;
  user-select: none;
}

.skeleton-img {
  width: 100%;
  aspect-ratio: 1;

  margin-bottom: 12px;
  border-radius: 8px;
}

.skeleton-text {
  height: 14px;
  margin-bottom: 8px;
  width: 80%;
}

.skeleton-text.short {
  width: 40%;
}

.skeleton-text.price {
  height: 18px;
  width: 30%;
  margin-top: 8px;
}

.skeleton-btn {
  height: 40px;
  width: 100%;
  margin-top: 12px;
  border-radius: 6px;
}

.skeleton-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.skeleton-detail-left {
  aspect-ratio: 1;
  border-radius: 12px;
}

.skeleton-detail-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skeleton-title {
  height: 32px;
  width: 70%;
}

.skeleton-line {
  height: 16px;
  width: 100%;
}

.skeleton-desc {
  height: 100px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .skeleton-detail-container {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.blog-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.blog-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.blog-date {
  font-size: 12px;
  color: #888;
  font-weight: 500;
}

.blog-title {
  font-size: 18px;
  margin: 0 0 12px 0;
  font-weight: 700;
  line-height: 1.4;
  color: #111;
  transition: color 0.2s;
}

.blog-card:hover .blog-title {
  color: var(--primary-color);
}

.blog-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.badge-news,
.badge-article {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-news {
  background: #edef02;

  color: #000;
}

.badge-article {
  background: #f0f0f0;
  color: #333;
}

#news-grid,
#articles-grid {
  gap: 24px;
}

#news-grid .blog-card,
#articles-grid .blog-card {
  background: #1e1e1e;

  border: 1px solid #333;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

#news-grid .blog-card .blog-title,
#articles-grid .blog-card .blog-title {
  color: #fff;
}

#news-grid .blog-card:hover .blog-title,
#articles-grid .blog-card:hover .blog-title {
  color: var(--primary-color);
}

#news-grid .blog-card .blog-excerpt,
#articles-grid .blog-card .blog-excerpt {
  color: #b0b0b0;

}

#news-grid .blog-card .blog-date,
#articles-grid .blog-card .blog-date {
  color: #777;
}

#news-grid .blog-card:hover,
#articles-grid .blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  background: #252525;
  border-color: #444;
}

.dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dialog-overlay.active {
  opacity: 1;
  visibility: visible;
}

.custom-dialog {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dialog-overlay.active .custom-dialog {
  transform: scale(1);
}

.dialog-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
}

.dialog-icon-wrapper.success {
  background: #d4edda;
  color: #155724;
}

.dialog-icon-wrapper.error {
  background: #f8d7da;
  color: #721c24;
}

.dialog-icon-wrapper.warning {
  background: #fff3cd;
  color: #856404;
}

.dialog-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

.dialog-message {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.5;
}

.dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.dialog-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.dialog-btn.primary {
  background: var(--primary-color);
  color: #fff;
}

.dialog-btn.primary:hover {
  background: var(--primary-dark);
}

.dialog-btn.secondary {
  background: #eee;
  color: #333;
}

.dialog-btn.secondary:hover {
  background: #ddd;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid #000;
  border-radius: 50px;

  overflow: hidden;
  width: 140px;

  justify-content: space-between;
  background: #fff;
  height: 50px;

}

.qty-btn {
  background: transparent;
  border: none;
  padding: 0 15px;
  cursor: pointer;
  font-size: 24px;
  font-weight: 400;
  color: #000;
  transition: opacity 0.2s;
  height: 100%;
  display: flex;
  align-items: center;
}

.qty-btn:hover {
  opacity: 0.6;
  background: transparent;
}

.qty-input {
  width: 50px;
  text-align: center;
  border: none;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  color: #000;
  background: transparent;
  appearance: none;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.btn-outline-green {
  background: #fff;
  border: 1px solid #000 !important;
  color: #000 !important;
  font-weight: 600;
  border-radius: 50px !important;
  transition: all 0.2s;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-transform: none;

}

.btn-outline-green:hover {
  background: #f5f5f5 !important;
  color: #000 !important;
  border-color: #000 !important;
}

.btn-full-green {
  background: var(--primary-color);
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.2s;
  height: 50px;
  font-size: 18px;
  width: 100%;
}

.btn-full-green:hover {
  background: var(--primary-dark);
  opacity: 1;
}

.btn-full-green:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-whatsapp {
  background: #25D366;
  border: none;
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
  border-radius: 50px;
  height: 44px;

  font-size: 15px;
  width: 80%;

  margin: 0 auto;

  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  background: #128C7E;
}

.detail-section-bordered {
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
  background: #fff;
}

.detail-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 15px !important;
}

.action-row {
  display: flex;
  gap: 15px;
  width: 100%;
  margin-bottom: 15px;
}

.custom-section-card {
  border: 1px solid var(--primary-color);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);

}

.custom-section-header {
  background: var(--primary-color);
  color: #fff;
  padding: 12px 20px;

  font-weight: 800;
  font-size: 16px;

  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  margin: 16px 16px 6px 16px;

}

.custom-section-body {
  padding: 8px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;

}

.cs-row {
  background: #f0fbf0;
  border-radius: 12px;
  padding: 14px 18px;

  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
  transition: transform 0.2s;

  border-left: 5px solid var(--primary-color);
}

.cs-row:hover {
  transform: translateX(4px);
}

.cs-key {
  font-weight: 700;
  font-size: 15px;

  color: #1f2937;
}

.cs-val {
  background: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #d1fae5;
  font-size: 14px;
  color: #059669;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.static-section-wrapper {
  margin-top: 20px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.accordion-item {
  border-bottom: 1px solid #eee;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 15px 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  text-align: left;
}

.accordion-header:hover {
  color: var(--primary-color);
}

.accordion-content {
  display: none;

  padding-bottom: 15px;
  animation: fadeIn 0.3s;
}

.acc-arrow {
  transition: transform 0.3s ease;
}

.share-section {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #4b5563;
  transition: all 0.2s;
}

.share-btn:hover {
  background: #e5e7eb;
  color: #000;
  transform: translateY(-2px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.categories-section {
  margin-top: 60px;
  margin-bottom: 60px;
  padding: 0 20px;
  text-align: center;
}

.categories-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
  text-align: left;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.categories-grid {
  display: flex;
  justify-content: flex-start;

  gap: 30px;
  flex-wrap: nowrap;

  overflow-x: auto;

  max-width: 100%;

  margin: 0 auto;
  padding: 10px 20px 20px 20px;

  scrollbar-width: none;

  -ms-overflow-style: none;

}

.categories-grid::-webkit-scrollbar {
  display: none;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  width: 220px;
  min-width: 220px;

  transition: transform 0.2s;
  margin-bottom: 0px;

}

.category-item:hover {
  transform: translateY(-5px);
}

.cat-circle {
  width: 200px;

  height: 200px;
  border-radius: 50%;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.cat-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-name {
  font-weight: 700;
  font-size: 20px;

  color: #333;
  margin-bottom: 8px;
  text-align: center;
  white-space: nowrap;

}

.cat-link-text {
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  transition: color 0.2s;

}

.category-item:hover .cat-link-text {
  color: var(--primary-color);

}

.cat-link-text svg {
  transition: transform 0.2s;
}

.random-grid-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;

  padding-right: 80px;
  box-sizing: border-box;
}

.random-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 5px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  align-items: stretch;
}

.random-grid::-webkit-scrollbar {
  display: none;
}

.random-grid .product-card {
  flex: 0 0 calc(25% - 15px);
  min-width: 220px;
  height: auto;
  display: flex;
  flex-direction: column;
}

.random-grid .product-card .product-info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.random-grid .product-card .add-to-cart {
  margin-top: auto !important;
}

.random-grid-wrapper .nav-arrow {
  position: absolute;

  right: 20px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  opacity: 0;
  transition: opacity 0.3s, background-color 0.3s;
  visibility: hidden;
}

.random-grid-wrapper:hover .nav-arrow {
  opacity: 1;
  visibility: visible;
}

.random-grid-wrapper .nav-arrow.next {
  top: calc(50% - 24px);
  transform: translateY(0);
}

.random-grid-wrapper .nav-arrow.prev {
  top: calc(50% + 24px);
  transform: translateY(0);
  left: auto;

}

.random-grid-wrapper .nav-arrow:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

@media (max-width: 1400px) {
  .random-grid-wrapper {
    padding-right: 60px;

  }

  .random-grid-wrapper .nav-arrow {
    right: 10px;

  }
}

@media (max-width: 1280px) {

  .random-grid-wrapper .nav-arrow.prev {
    left: auto;
    top: calc(50% + 24px);
  }

  .random-grid-wrapper .nav-arrow.next {
    top: calc(50% - 24px);
  }
}

@media (max-width: 1024px) {
  .random-grid {
    justify-content: flex-start;
  }

  .random-grid .product-card {
    flex: 0 0 calc(33.33% - 15px);
  }

  .random-grid-wrapper {
    padding-right: 0;

  }

  .random-grid-wrapper .nav-arrow {
    display: none;

  }
}

@media (max-width: 768px) {
  .random-grid .product-card {
    flex: 0 0 calc(50% - 15px);
  }
}

.hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  overflow: hidden;
  color: white;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);

  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 20px;
}

.hero-subtitle {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  opacity: 0.9;
  font-weight: 600;
}

.hero-title {
  font-size: 48px;

  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  font-size: 14px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-features span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.hero-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  font-size: 14px;
}

.hero-btn.white {
  background: white;
  color: #333;
  border: 2px solid white;
}

.hero-btn.white:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
  background: #f0f0f0;
}

@media (max-width: 768px) {
  .hero-section {
    height: 400px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-features {
    font-size: 12px;
    flex-direction: column;
    gap: 5px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

.trust-container {
  padding: 0 16px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.trust-title {
  font-size: 28px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.trust-title .lock-icon {
  font-size: 24px;
}

.trust-desc {
  font-size: 15px;
  color: #666;
  margin-bottom: 20px;
  max-width: 800px;
}

.trust-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pill-badge {
  border: 1px solid #ddd;
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 12px;
  color: #333;
  font-weight: 500;
  background: #f9f9f9;
}

.section-heading {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111;
}

.accounts-section,
.snippets-section {
  max-width: var(--container-width);
  margin: 40px auto;
  padding: 0 16px;
}

.accounts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.account-card {
  display: flex;
  align-items: center;
  border: 1px solid var(--primary-color);
  border-radius: 12px;
  padding: 16px;
  text-decoration: none;
  color: #111;
  transition: box-shadow 0.2s, background 0.2s;
  background: #fff;
}

.account-card:hover {
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.15);
  background: #fbfbfb;
}

.ac-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: 50%;
  background: #f5f5f5;
  margin-right: 12px;
}

.facebook-icon {
  color: #1877f2;
}

.instagram-icon {
  color: #c32aa3;
}

.tiktok-icon {
  color: #000;
}

.youtube-icon {
  color: #ff0000;
}

.google-icon {
  color: #4285f4;
}

.whatsapp-icon {
  color: #25d366;
}

.ac-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ac-text strong {
  font-size: 14px;
  font-weight: 700;
}

.ac-text span {
  font-size: 12px;
  color: #666;
}

.ac-arrow {
  color: #ccc;
  font-size: 14px;
}

.snippets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.snippet-card {
  border: 1px solid var(--primary-color);
  border-radius: 12px;
  padding: 24px;
  background: #fff;
}

.snippet-text {
  font-size: 16px;
  font-style: italic;
  color: #333;
  margin-bottom: 16px;
  line-height: 1.5;
}

.snippet-author {
  font-size: 12px;
  color: #888;
}

.cta-banner-green {
  max-width: var(--container-width);
  margin: 40px auto 60px;
  padding: 24px;
  border: 1px solid var(--primary-color);
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: #fff;
}

.cta-content h3 {
  font-size: 18px;
  color: #111;
  margin-bottom: 4px;
}

.cta-content p {
  font-size: 14px;
  color: #666;
}

.cta-btn {
  background: var(--primary-color);
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: opacity 0.2s;
}

.cta-btn:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  /* Kill horizontal scroll *
/
  * {
    max-width: 100%;
  }

  /* Header */
  .header-container {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .search-box {
    margin: 0;
    max-width: 100%;
  }

  .main-nav-bar {
    display: block;
    height: 0;
    overflow: visible;
    border: none;
    padding: 0;
    margin: 0;
  }

  .main-nav-bar .nav-container {
    height: 0;
    min-height: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
  }

  /* Hamburger Menu Toggle */
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    margin-right: 10px;
  }

  .hamburger-box {
    width: 24px;
    height: 24px;
    display: inline-block;
    position: relative;
  }

  .hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
  }

  .hamburger-inner,
  .hamburger-inner::before,
  .hamburger-inner::after {
    width: 24px;
    height: 2px;
    background-color: #333;
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
  }

  .hamburger-inner::before,
  .hamburger-inner::after {
    content: "";
    display: block;
  }

  .hamburger-inner::before {
    top: -8px;
  }

  .hamburger-inner::after {
    bottom: -8px;
  }

  /* Navigation Drawer Full Width */


  .nav-links li {
    height: auto;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-links a {
    display: block;
    padding: 15px 0;
    font-size: 16px;
    color: #333;
  }

  /* Dropdown in Mobile */
  .nav-links .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 15px;
    background: #f9f9f9;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    min-width: unset;
  }

  .nav-links .dropdown-trigger.active .dropdown-menu {
    display: block;
  }


  /* HERO */
  .hero-section {
    height: 400px;
    width: 100%;
    margin: 0;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  /* Product grids */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .trending-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Collection layout */
  .collection-layout {
    flex-direction: column;
  }

  .collection-row,
  .product-list-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .collection-image,
  .row-image {
    width: 100%;
    height: auto;
  }

  .collection-actions,
  .row-actions {
    width: 100%;
    align-items: stretch;
  }

  .collection-actions .add-to-cart,
  .collection-actions .view-details-btn,
  .row-actions .add-to-cart,
  .row-actions .view-details-btn {
    width: 100%;
  }

  /* Product Details */
  .product-details-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .main-image-container {
    min-height: auto;
    aspect-ratio: 1 / 1;
  }

  .detail-title {
    font-size: 24px;
  }

  .detail-price {
    font-size: 26px;
  }

  /* Accessories + horizontal sliders */
  .accessories-container {
    flex-direction: column;
  }

  .accessories-banner {
    width: 100%;
  }

  .accessories-grid .product-card {
    flex: 0 0 70%;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .detail-right-col {
    position: static;
  }

}

/* Responsive Grids & Layouts */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .trending-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trending-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-details-layout {
    grid-template-columns: 1fr;
    /* Stack Details */
    gap: 30px;
  }

  .detail-right-col {
    position: static;
    /* Remove sticky */
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  * {
    max-width: 100%;
  }

  /* Header */
  .header-container {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .search-box {
    margin: 0;
    max-width: 100%;
  }

  .main-nav {
    display: none;
    /* Handled by hamburger */
  }

  /* Hero */
  .hero-section {
    height: auto;
    min-height: 400px;
    padding: 40px 20px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  /* Grids */
  .products-grid,
  .trending-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .brand-card {
    width: 100%;
    /* Reset fixed width */
  }

  /* Collection Page */
  .collection-layout {
    flex-direction: column;
  }

  .filter-sidebar {
    width: 100%;
    margin-bottom: 20px;
  }

  .collection-row,
  .product-list-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .collection-image,
  .row-image {
    width: 100%;
    height: auto;
    max-width: 300px;
    /* Limit size on mobile */
    margin: 0 auto;
  }

  /* Checkout */
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  /* Accessories */
  .accessories-container {
    flex-direction: column;
  }

  .accessories-banner {
    width: 100%;
    margin-bottom: 20px;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-title {
    font-size: 24px;
  }

  .detail-price {
    font-size: 24px;
  }
}

/* Utility for Responsive Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 15px;
}

.table-responsive table {
  width: 100%;
  min-width: 600px;
  /* Ensure table doesn't squash */
}

/* Fix for Brand Images & Text */
/* Fix for Brand Images & Text */
.brand-logo-circle {
  width: 100px;
  height: 100px;
  min-width: 100px;
  min-height: 100px;
  border-radius: 50%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 15px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background-color: #f9f9f9;
}

/* Target span to ensure full centering */
.brand-media {
  display: flex !important;
  width: 100%;
  height: 100%;
  align-items: center !important;
  justify-content: center !important;
}

.brand-media img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  display: block;
  margin: auto;
}

.brand-card .brand-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  color: #333;
  text-align: center;
}

/* Mobile-specific adjustments for brands to prevent squashing */
@media (max-width: 768px) {
  .brand-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100%;
    padding: 0 !important;
    /* Remove any padding that might shift center */
  }

  /* Force brand name to be full width and centered with no side margins */
  .brand-card .brand-name {
    width: 100% !important;
    text-align: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block !important;
  }

  .brand-logo-circle {
    width: 140px;
    height: 140px;
    min-width: 140px;
    min-height: 140px;
    margin: 0 auto 10px auto !important;
    /* Ensure circle itself is centered with bottom margin */
  }

  /* Ensure the link container is also centered */
  .brand-link {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
    align-items: center !important;
  }

  .product-details-wrapper {
    padding: 0 16px;
  }

  .product-details-wrapper {
    padding: 0 16px;
  }
}

/* =========================================
   Mobile Header Restructure & Social Bar Fix
   ========================================= */

/* Hide toggle on desktop */
.mobile-menu-toggle {
  display: none;
}



.social-pill {
  white-space: nowrap;
  flex: 0 0 auto;
  /* Allow shrinking/growing */
}

/* Mobile Header Layout (< 768px) */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
    grid-area: toggle;
    margin-right: 0;
  }

  .header-container {
    display: grid !important;
    /* Override flex */
    grid-template-columns: 40px 1fr auto;
    /* Toggle | Logo | Actions */
    grid-template-areas:
      "toggle logo actions"
      "search search search";
    gap: 12px;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .logo {
    grid-area: logo;
    display: flex;
    justify-content: flex-start;
    /* Align left next to menu */
    align-items: center;
    width: 100%;
    padding-left: 5px;
    /* Add slight buffer from menu */
  }

  /* Adjust logo size for mobile header if needed */
  .logo img {
    max-height: 40px;
    width: auto;
  }

  .account-dropdown {
    max-width: none !important;
    /* Override the global * rule */
    width: 220px !important;
    right: -10px !important;
    /* Slight adjustments for edge alignment */
    z-index: 9999 !important;
  }

  .header-actions {
    grid-area: actions;
    gap: 15px;
  }

  .search-box {
    grid-area: search;
    width: 100%;
    margin: 0 !important;
    max-width: 100%;
  }

  /* Ensure Header Stays on Top */
  .site-header {
    position: relative;
    z-index: 1005 !important;
    /* Force higher z-index */
    background: #fff;
  }

  .header-container {
    position: relative;
    z-index: 1005 !important;
    background: #fff;
  }

  /* Navigation Drawer Full Width & Below Header */
  .nav-links {
    position: fixed;
    top: 110px;
    /* Starts below the header */
    left: 0;
    width: 100% !important;
    height: calc(100vh - 110px);
    /* Fill remaining height */
    background: #fff;
    flex-direction: column;
    padding: 20px;
    /* Standard padding */
    box-shadow: none;

    /* Animation: Expand Down */
    clip-path: inset(0 0 100% 0);
    /* Hidden (masked from bottom up) */
    visibility: hidden;
    /* Hide completely when closed */
    transition: clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0s linear 0.4s;
    /* Delay hiding until animation finishes */

    z-index: 1000 !important;
    /* Strictly lower than header */
    overflow-y: auto;
    display: flex;
    max-width: none !important;
  }

  .nav-links.active {
    clip-path: inset(0 0 0 0);
    /* Fully Visible */
    visibility: visible;
    transition: clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0s linear 0s;
    /* Show instantly */
  }

  /* Hamburger to X Animation */
  .mobile-menu-toggle.active .hamburger-inner {
    background-color: transparent !important;
    /* Hide middle line */
    transform: rotate(0deg);
    /* Reset rotation */
  }

  .mobile-menu-toggle.active .hamburger-inner::before {
    top: 0 !important;
    transform: rotate(45deg);
    background-color: #333;
  }

  .mobile-menu-toggle.active .hamburger-inner::after {
    bottom: 0 !important;
    transform: rotate(-45deg);
    /* Correct angle for X */
    background-color: #333;
  }

  /* Make social pills resize nicely on small screens */
  .social-wrapper {
    flex-wrap: wrap;
    gap: 8px;
  }

  .social-pill {
    font-size: 12px;
    padding: 6px 10px;
    min-width: auto;
    /* remove forced width */
    flex: 0 1 auto;
    /* allow natural wrapping */
    text-align: center;
  }
}

/* =========================================
   Cart Drawer Styles (Missing Fix)
   ========================================= */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  /* Higher than header (1005) */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100vh;
  background: #fff;
  z-index: 2001;
  /* Higher than overlay */
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.cart-header h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #333;
}

.cart-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  color: #666;
  padding: 5px;
  transition: color 0.2s;
}

.cart-close:hover {
  color: #000;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #f9f9f9;
}

/* Ensure empty cart message looks good */
.empty-cart-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #999;
}

/* Mobile Responsive Cart */
@media (max-width: 480px) {
  .cart-drawer {
    width: 100% !important;
    max-width: none;
  }
}

/* =========================================
   Container Utilities (For sections outside main-content)
   ========================================= */
.container,
.faq-container,
.hardware-container,
.accessories-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  box-sizing: border-box;
}

.site-header {
  position: relative;
  z-index: 1005 !important;
  /* Force higher z-index */
  background: #fff;
}

.header-container {
  position: relative;
  z-index: 1005 !important;
  background: #fff;
}

/* Navigation Drawer Full Width & Below Header */


/* Hamburger to X Animation */
.mobile-menu-toggle.active .hamburger-inner {
  background-color: transparent !important;
  /* Hide middle line */
  transform: rotate(0deg);
  /* Reset rotation */
}

.mobile-menu-toggle.active .hamburger-inner::before {
  top: 0 !important;
  transform: rotate(45deg);
  background-color: #333;
}

.mobile-menu-toggle.active .hamburger-inner::after {
  bottom: 0 !important;
  transform: rotate(-45deg);
  /* Correct angle for X */
  background-color: #333;
}

/* Make social pills resize nicely on small screens */


/* =========================================
   Cart Drawer Styles (Missing Fix)
   ========================================= */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  /* Higher than header (1005) */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100vh;
  background: #fff;
  z-index: 2001;
  /* Higher than overlay */
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.cart-header h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #333;
}

.cart-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  color: #666;
  padding: 5px;
  transition: color 0.2s;
}

.cart-close:hover {
  color: #000;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #f9f9f9;
}

/* Ensure empty cart message looks good */
.empty-cart-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #999;
}

/* Mobile Responsive Cart */
@media (max-width: 480px) {
  .cart-drawer {
    width: 100% !important;
    max-width: none;
  }
}

/* =========================================
   Container Utilities (For sections outside main-content)
   ========================================= */
.container,
.faq-container,
.hardware-container,
.accessories-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  box-sizing: border-box;
}

.faq-section {
  background: #fff;
  padding: 40px 0;
}

/* =========================================
   Admin Dashboard Responsiveness
   ========================================= */

@media (max-width: 768px) {

  /* Admin Tabs */
  .admin-tabs {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 5px;
    /* Space for scrollbar */
    -webkit-overflow-scrolling: touch;
    margin-right: -20px;
    /* Offset container padding */
    display: flex;
    gap: 10px;
  }

  .admin-tab {
    flex-shrink: 0;
    padding: 10px 15px;
    /* Larger hit area */
  }

  /* Admin Nav specific overrides */
  .main-nav {
    z-index: 1001;
  }

  /* Stats Grid */
  .stats-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    /* Smaller min-width */
    gap: 15px;
  }

  .stat-card {
    padding: 15px;
  }

  .stat-value {
    font-size: 24px;
  }

  /* Modals */
  .modal-content {
    width: 95% !important;
    margin: 10% auto;
    max-height: 85vh;
    overflow-y: auto;
    padding: 20px;
  }

  /* Forms */
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    box-sizing: border-box;
    /* Ensure padding doesn't overflow */
  }

  /* Admin Header */
  /* Quick Actions */
  .tab-content .action-btn {
    width: 100%;
    margin-bottom: 10px;
  }

  /* Product Form Variants */
  .variant-row {
    grid-template-columns: 1fr 1fr !important;
    /* Stack columns */
    gap: 8px !important;
    position: relative;
    padding-bottom: 30px !important;
  }

  .variant-row button {
    position: absolute;
    bottom: 5px;
    right: 5px;
  }

  .v-name {
    grid-column: 1 / -1;
  }

  .v-image {
    grid-column: 1 / -1;
  }
}

/* =========================================
   Notax Support Chat Widget (Fixed Position)
   ========================================= */
#sc-chat-window {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  max-height: 500px;
  height: 480px;
}

#sc-chat-window.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sc-chat-header {
  background: #2ecc71;
  color: #fff;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.sc-close-btn {
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.sc-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
  background: #f9f9f9;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sc-message {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
}

.sc-message.user {
  align-self: flex-end;
  background: #2ecc71;
  color: #fff;
  border-bottom-right-radius: 2px;
}

.sc-message.bot {
  align-self: flex-start;
  background: #fff;
  color: #333;
  border: 1px solid #eee;
  border-bottom-left-radius: 2px;
}

.sc-message-time {
  font-size: 10px;
  opacity: 0.7;
  margin-top: 4px;
  text-align: right;
}

.sc-chat-input-area {
  padding: 12px;
  background: #fff;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sc-chat-input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 14px;
  outline: none;
}

.sc-chat-input:focus {
  border-color: #2ecc71;
}

.sc-send-btn {
  background: #2ecc71;
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.sc-send-btn:hover {
  background: #27ae60;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .product-details-layout {
    display: flex;
    flex-direction: column;
  }

  /* On mobile, description comes last naturally if it's the 3rd child */
  .product-description-container {
    order: 3;
  }
}

/* Desktop Product Detail Grid Layout */
@media (min-width: 992px) {
  .product-details-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
  }

  .detail-left-col {
    /* Wraps Gallery + Description */
    grid-column: 1;
    /* No grid-row needed, implies auto/flow */
    display: flex;
    flex-direction: column;
  }

  .detail-right-col {
    grid-column: 2;
    /* Sticks relative to the full height of the grid (which is determined by left col) */
    position: -webkit-sticky;
    position: sticky;
    top: 130px;
    height: fit-content;
    align-self: start;
  }

  .product-description-container {
    /* Inside left col now */
    margin-top: 0 !important;
    padding-top: 20px !important;
    border-top: none !important;
  }
}

/* Mobile Adjustments for Reordering */
@media (max-width: 991px) {
  .product-details-layout {
    display: flex;
    flex-direction: column;
  }

  /* 
       Reset display: contents because it strips the container 
       and might cause children to respect/ignore padding differently.
       We want a standard block layout on mobile.
    */
  .detail-left-col {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  /* 
       To preserve order: Gallery (1) -> Right Col (Info) (2) -> Desc (3)
       Since Desc is INSIDE Left Col, we can't easily interleave Right Col in between them 
       using just Flexbox order on the parent if Left Col wraps them.
       
       HOWEVER, previous working state had them separate. 
       With the new nesting, Right Col is OUTSIDE Left Col.
       Structure: 
       <Layout>
         <LeftCol> [Gallery, Desc] </LeftCol>
         <RightCol> [Info] </RightCol>
       </Layout>

       This nesting makes "Gallery -> Info -> Desc" Impossible with pure CSS if we keep the nesting.
       
       WAIT. The user says "padding on mobile view". 
       If I use `display: contents`, the children (Gallery, Desc) become direct children of Layout.
       Then `order` works. 
       
       LeftCol (contents) -> Gallery (order 1)
       RightCol (order 2)
       LeftCol (contents) -> Desc (order 3)
       
       This IS correct for ordering.
       
       The padding issue likely comes from the fact that `display: contents` removes the wrapper, 
       so if the wrapper handled negative margins or width constraints, they are gone.
       
       Let's check parent padding.
       .product-details-wrapper usually has padding. 
       .detail-gallery or .right-col might have their own padding.
       
       If `display: contents` is causing issues, maybe the children are 100% width and hitting the edge?
       
       Let's try to Force the children to have correct width/box-sizing.
    */

  .detail-left-col {
    display: contents;
  }

  .detail-gallery {
    order: 1;
    width: 100%;
  }

  .detail-right-col {
    order: 2;
    width: 100%;
    margin-top: 20px;
  }

  .product-description-container {
    order: 3;
    width: 100%;
    border-top: 1px solid #eee !important;
    padding-top: 30px !important;
    /* Ensure no extra margin is adding "visual" padding */
    margin-left: 0;
    margin-right: 0;
  }
}

/* Product Description Read More */
.detail-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.detail-desc.collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 11;
  line-clamp: 11;
  /* Standard property for compatibility */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Remove previous height/mask logic */
  max-height: none;
  mask-image: none;
  -webkit-mask-image: none;
}

.read-more-btn {
  display: none;
  /* Hidden by default, JS controls visibility */
  margin-top: 15px;
  padding: 8px 24px;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  border-radius: 50px;
  /* Pill shape */
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.read-more-btn:hover {
  background: var(--primary-color);
  color: white;
}

@media (max-width: 480px) {
  #sc-chat-window {
    bottom: 80px;
    right: 15px;
    left: 15px;
    width: auto;
    height: 60vh;
  }
}

/* =========================================
   FAQ Section Styles (Restored)
   ========================================= */
.faq-section {
  background: #fff;
  padding: 40px 0;
  width: 100%;
}

/* =========================================
   Mobile Footer Accordion (Premium UI)
   ========================================= */
@media (max-width: 768px) {
  .site-footer {
    padding: 40px 0 80px 0;
    /* Add bottom padding for chat widget */
  }

  .footer-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    /* Remove grid gap, we'll use borders/padding */
  }

  .footer-col {
    border-bottom: 1px solid #333;
    padding-bottom: 0;
  }

  /* Use order to put logo at bottom or keep at top? 
     Default is top. Let's keep it top but style it differently. */
  .footer-col:first-child {
    border-bottom: none;
    padding-bottom: 20px;
    margin-bottom: 20px;
    text-align: center;
  }

  /* Target columns with H4 (The link columns) */
  .footer-col h4 {
    margin: 0;
    padding: 20px 0;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: color 0.3s ease;
  }

  .footer-col h4:hover {
    color: var(--primary-color);
  }

  /* Chevron Icon */
  .footer-col h4::after {
    content: '›';
    /* Chevron */
    font-size: 24px;
    font-weight: 400;
    /* Regular weight for cleaner look */
    transition: transform 0.3s ease;
    transform: rotate(90deg);
    /* Points down by default */
    margin-left: 15px;
    /* Add requested space */
    display: inline-block;
    /* Required for transform */
    line-height: 1;
  }

  .footer-col.active h4::after {
    transform: rotate(-90deg);
    /* Points up when active */
  }

  /* Collapsible Lists */
  .footer-col ul {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0;
    /* Clear default margin */
    padding-left: 10px;
  }

  .footer-col.active ul {
    max-height: 300px;
    /* Arbitrary large height */
    opacity: 1;
    margin-bottom: 20px;
  }

  .footer-col ul li {
    margin-bottom: 12px;
  }
}