/* ---------- Theme ---------- */
:root {
  --bg: #F8F9FA;           /* Cool blanc cassé primary */
  --bg2: #E9ECEF;          /* Slightly darker cool blanc cassé */
  --panel: #ffffff;        /* Pure white */
  --panel2: #FDFDFE;       /* Very light cool blanc cassé */
  --text: #2C3E50;         /* Deep blue text */
  --muted: #7F8C8D;        /* Middle grey for muted text */
  --line: rgba(44, 62, 80, 0.1);     /* Very subtle borders with deep blue */
  --line2: rgba(127, 140, 141, 0.08);  /* Even more subtle borders with middle grey */
  --shadow: rgba(44, 62, 80, 0.08);   /* Soft shadows with deep blue */
  --accent: #3498DB;       /* Ocean blue accent */
  --accent-light: #5DADE2; /* Lighter ocean blue */
  --accent-dark: #2980B9;  /* Darker ocean blue */
  --danger: #E74C3C;       /* Professional red */
  --warning: #F39C12;      /* Professional orange */
  --success: #2ECC71;      /* Professional green */
  --radius-xl: 17.6px;     /* 22px * 0.8 */
  --radius-lg: 14.4px;     /* 18px * 0.8 */
  --radius-md: 11.2px;     /* 14px * 0.8 */
  --radius-sm: 8px;        /* 10px * 0.8 */
  --max: 960px;            /* 1200px * 0.8 */
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  background: var(--bg);
  color: #2C3E50;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
/* ---------- Layout ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 17.6px;        /* 22px * 0.8 */
}
.section {
  padding: 27.2px 0;      /* 34px * 0.8 */
}
.grid {
  display: grid;
  gap: 14.4px;            /* 18px * 0.8 */
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Typography ---------- */
.h0 {
  font-size: 44.8px;      /* 56px * 0.8 */
  letter-spacing: 0.8px;   /* 1px * 0.8 */
  line-height: 1;
  margin: 0;
  color: var(--text);
}
.h1 {
  font-size: 33.6px;      /* 42px * 0.8 */
  letter-spacing: 0.8px;   /* 1px * 0.8 */
  line-height: 1.1;
  margin: 0;
  color: var(--text);
}
.h2 {
  font-size: 22.4px;      /* 28px * 0.8 */
  letter-spacing: 0.48px;  /* 0.6px * 0.8 */
  line-height: 1.15;
  margin: 0;
  color: var(--text);
}
.h3 {
  font-size: 16px;        /* 20px * 0.8 */
  letter-spacing: 0.32px;  /* 0.4px * 0.8 */
  line-height: 1.2;
  margin: 0;
  color: var(--text);
}
.p {
  color: var(--muted);
  line-height: 1.6;
  margin: 8px 0 0;         /* 10px * 0.8 */
}
.kicker {
  display: inline-flex;
  gap: 6.4px;              /* 8px * 0.8 */
  align-items: center;
  padding: 5.6px 8px;      /* 7px *0.8, 10px*0.8 */
  border: 1px solid var(--line);
  background: rgba(52, 152, 219, 0.05);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9.6px;        /* 12px * 0.8 */
  letter-spacing: 0.56px;  /* 0.7px * 0.8 */
  text-transform: uppercase;
}

/* === BUTTONS - UPDATED WITH BLUE AND GREY PALETTE === */
.btn {
  border-radius: 11.2px;   /* 14px * 0.8 */
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  padding: 9.6px 11.2px;   /* 12px*0.8, 14px*0.8 */
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6.4px;              /* 8px * 0.8 */
}
.btn:hover { 
  transform: translateY(-1.6px);   /* -2px * 0.8 */
  background: var(--panel2);
  border-color: var(--accent);
  box-shadow: 0 6.4px 16px rgba(52, 152, 219, 0.15);   /* 8px*0.8, 20px*0.8 */
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 14.4px 32px rgba(52, 152, 219, 0.15);  /* 18px*0.8, 40px*0.8 */
}
.btn-primary:hover { 
  background: var(--accent-light);
  border-color: var(--accent-light);
  box-shadow: 0 17.6px 44px rgba(52, 152, 219, 0.25);  /* 22px*0.8, 55px*0.8 */
}

.btn-secondary {
  background: var(--muted);
  color: #ffffff;
  border-color: var(--muted);
}
.btn-secondary:hover {
  background: #95A5A6;
  border-color: #95A5A6;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #ffffff;
}

.btn-danger {
  background: var(--danger);
  color: #ffffff;
  border-color: var(--danger);
}
.btn-danger:hover {
  background: #C0392B;
}

.btn-success {
  background: var(--success);
  color: #ffffff;
  border-color: var(--success);
}
.btn-success:hover {
  background: #27AE60;
}

.btn-link {
  background: transparent;
  border: none;
  color: var(--accent);
  padding: 6.4px 9.6px;    /* 8px*0.8, 12px*0.8 */
  text-decoration: underline;
  text-underline-offset: 3.2px;  /* 4px * 0.8 */
}
.btn-link:hover {
  color: var(--accent-dark);
  transform: translateY(-0.8px);  /* -1px * 0.8 */
}

.btn-icon {
  width: 35.2px;           /* 44px * 0.8 */
  height: 35.2px;          /* 44px * 0.8 */
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14.4px;       /* 18px * 0.8 */
}

.btn-sm {
  padding: 6.4px 9.6px;    /* 8px*0.8, 12px*0.8 */
  font-size: 10.4px;       /* 13px * 0.8 */
  border-radius: 8px;      /* 10px * 0.8 */
}

.btn-lg {
  padding: 12.8px 22.4px;  /* 16px*0.8, 28px*0.8 */
  font-size: 12.8px;       /* 16px * 0.8 */
  border-radius: 12.8px;   /* 16px * 0.8 */
}

/* ---------- Product cards ---------- */
.products { 
  display: grid; 
  gap: 11.2px;             /* 14px * 0.8 */
  grid-template-columns: repeat(4, minmax(0,1fr)); 
}
@media (max-width: 980px){ 
  .products { 
    grid-template-columns: repeat(2, minmax(0,1fr)); 
  } 
}
@media (max-width: 560px){ 
  .products { 
    grid-template-columns: 1fr; 
  } 
}


.pCard {
  border-radius: 14.4px;    /* 18px * 0.8 */
  background: var(--panel);
  overflow: hidden;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.pCard:hover {
  transform: translateY(-1.6px);   /* -2px * 0.8 */
  border-color: var(--accent);
  box-shadow: 0 16px 56px rgba(44, 62, 80, 0.15);  /* 20px*0.8, 70px*0.8 */
}
.pThumb {
  aspect-ratio: 1/1;
  background: linear-gradient(180deg, rgba(52, 152, 219, 0.05), rgba(52, 152, 219, 0.02));
  display: grid;
  place-items: center;
}
.pBody { 
  padding: 11.2px;         /* 14px * 0.8 */
}
.pName { 
  font-weight: 800; 
  letter-spacing: .32px;   /* 0.4px * 0.8 */
  text-transform: uppercase; 
  font-size: 10.4px;       /* 13px * 0.8 */
  color: var(--text);
}
.pMeta { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  margin-top: 8px;         /* 10px * 0.8 */
}
.price { 
  font-weight: 900; 
  letter-spacing: .4px;    /* 0.5px * 0.8 */
  color: var(--accent);
}
.badges { 
  display: flex; 
  gap: 4.8px;              /* 6px * 0.8 */
  flex-wrap: wrap; 
  margin-top: 8px;         /* 10px * 0.8 */
}
.badge {
  font-size: 8.8px;        /* 11px * 0.8 */
  color: var(--muted);
  padding: 4.8px 6.4px;    /* 6px*0.8, 8px*0.8 */
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel2);
}

/* Header */
.site-header {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;          /* 10px * 0.8 */
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 1.6px 16px var(--shadow);  /* 2px*0.8, 20px*0.8 */
  margin-bottom: 0;
}

.container.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1120px;       /* 1400px * 0.8 */
  margin: 0 auto;
  padding: 0 16px;         /* 20px * 0.8 */
}

.header-left {
  flex: 0 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 32px;            /* 40px * 0.8 */
  width: auto;
  border-radius: 6.4px;    /* 8px * 0.8 */
  transition: all 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);  /* 5px*0.8, 15px*0.8 */
}

.header-center {
  flex: 1;
  overflow: hidden;
  position: relative;
  margin: 0 16px;          /* 20px * 0.8 */
  min-width: 0;
}

.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: flex;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

.marquee-text {
  color: var(--muted);
  font-size: 10.4px;       /* 13px * 0.8 */
  font-weight: 700;
  letter-spacing: 1.6px;   /* 2px * 0.8 */
  text-transform: uppercase;
  padding: 0 9.6px;        /* 12px * 0.8 */
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.header-right {
  flex: 0 0 auto;
}

.nav {
  display: flex;
  gap: 20px;               /* 25px * 0.8 */
  align-items: center;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 11.2px;       /* 14px * 0.8 */
  padding: 6.4px 0;        /* 8px * 0.8 */
  position: relative;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.4px;   /* 0.5px * 0.8 */
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;                /* 5px * 0.8 */
}

.nav a:hover {
  color: var(--accent);
  transform: translateY(-1.6px);   /* -2px * 0.8 */
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.6px;           /* 2px * 0.8 */
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.nav .navlink {
  background: rgba(52, 152, 219, 0.1);
  padding: 6.4px 14.4px;   /* 8px*0.8, 18px*0.8 */
  border-radius: 16px;     /* 20px * 0.8 */
  border: 1px solid var(--line);
  transition: all 0.3s ease;
}

.nav .navlink:hover {
  background: rgba(52, 152, 219, 0.15);
  border-color: var(--accent);
  transform: translateY(-2.4px);   /* -3px * 0.8 */
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.1);  /* 5px*0.8, 15px*0.8 */
}

.cart-badge,
.wishlist-badge {
  background: var(--accent);
  color: white;
  border-radius: 50%;
  padding: 1.6px 6.4px;    /* 2px*0.8, 8px*0.8 */
  font-size: 8.8px;        /* 11px * 0.8 */
  margin-left: 4px;        /* 5px * 0.8 */
  font-weight: 700;
  min-width: 14.4px;       /* 18px * 0.8 */
  display: inline-block;
  text-align: center;
  line-height: 1.4;
}

.wishlist-badge {
  background: var(--danger);
}

.nav a .fa-heart {
  color: var(--danger);
  font-size: 12.8px;       /* 16px * 0.8 */
}

.nav a:hover .fa-heart {
  color: var(--danger);
}

@media (max-width: 1200px) {
  .marquee-text {
    font-size: 9.6px;      /* 12px * 0.8 */
    letter-spacing: 1.2px;  /* 1.5px * 0.8 */
    padding: 0 8px;         /* 10px * 0.8 */
  }

  .nav {
    gap: 16px;             /* 20px * 0.8 */
  }

  .nav a {
    font-size: 10.4px;     /* 13px * 0.8 */
  }
}

@media (max-width: 992px) {
  .header-center {
    display: none;
  }

  .container.header-inner {
    padding: 0 12px;       /* 15px * 0.8 */
  }
}

@media (max-width: 768px) {
  .brand-logo {
    height: 28px;          /* 35px * 0.8 */
  }

  .nav {
    gap: 12px;             /* 15px * 0.8 */
  }

  .nav a {
    font-size: 9.6px;      /* 12px * 0.8 */
  }

  .nav .navlink {
    padding: 4.8px 11.2px; /* 6px*0.8, 14px*0.8 */
    font-size: 9.6px;      /* 12px * 0.8 */
  }

  .cart-badge,
  .wishlist-badge {
    font-size: 8px;        /* 10px * 0.8 */
    padding: 0.8px 4.8px;  /* 1px*0.8, 6px*0.8 */
    min-width: 12.8px;     /* 16px * 0.8 */
  }
}

@media (max-width: 576px) {
  .brand-logo {
    height: 24px;          /* 30px * 0.8 */
  }

  .nav {
    gap: 8px;              /* 10px * 0.8 */
  }

  .nav a {
    font-size: 8.8px;      /* 11px * 0.8 */
  }

  .nav .navlink {
    padding: 4px 8px;      /* 5px*0.8, 10px*0.8 */
    font-size: 8.8px;      /* 11px * 0.8 */
  }

  .container.header-inner {
    padding: 0 8px;        /* 10px * 0.8 */
  }
}

.marquee-wrapper:hover .marquee-content {
  animation-play-state: paused;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 32px;             /* 40px * 0.8 */
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--panel), transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--panel), transparent);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 19.2px;       /* 24px * 0.8 */
  cursor: pointer;
  padding: 4px;            /* 5px * 0.8 */
  margin-left: 8px;        /* 10px * 0.8 */
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--panel);
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 12px;         /* 15px * 0.8 */
    flex-direction: column;
    gap: 12px;             /* 15px * 0.8 */
    min-width: 160px;      /* 200px * 0.8 */
    border-radius: 0 0 0 8px;  /* 10px * 0.8 */
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px var(--shadow);  /* 10px*0.8, 30px*0.8 */
  }

  .nav.active {
    display: flex;
  }
}

/* Footer Styles */
.site-footer {
  background: var(--panel2);
  border-top: 1px solid var(--line);
  padding: 48px 0 16px;    /* 60px*0.8, 20px*0.8 */
  margin-top: 64px;        /* 80px * 0.8 */
  position: relative;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

.site-footer:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent),
    transparent
  );
}

.container.footer-inner {
  max-width: 1120px;       /* 1400px * 0.8 */
  margin: 0 auto;
  padding: 0 16px;         /* 20px * 0.8 */
}

/* Top Features */
.footer-top {
  margin-bottom: 40px;     /* 50px * 0.8 */
}

.footer-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;               /* 25px * 0.8 */
}

.footer-feature {
  display: flex;
  align-items: center;
  gap: 14.4px;             /* 18px * 0.8 */
  padding: 16px;           /* 20px * 0.8 */
  background: var(--panel);
  border-radius: 12.8px;   /* 16px * 0.8 */
  border: 1px solid var(--line);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.footer-feature:hover {
  background: var(--panel);
  border-color: var(--accent);
  transform: translateY(-4px);  /* -5px * 0.8 */
  box-shadow: 0 12px 28px var(--shadow);  /* 15px*0.8, 35px*0.8 */
}

.feature-icon {
  width: 40px;             /* 50px * 0.8 */
  height: 40px;            /* 50px * 0.8 */
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(52, 152, 219, 0.08);
  border-radius: 9.6px;    /* 12px * 0.8 */
  border: 1px solid var(--line);
  color: var(--accent);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.footer-feature:hover .feature-icon {
  background: rgba(52, 152, 219, 0.15);
  transform: scale(1.1);
  box-shadow: 0 6.4px 16px rgba(52, 152, 219, 0.1);  /* 8px*0.8, 20px*0.8 */
}

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

.feature-title {
  font-weight: 700;
  color: var(--text);
  font-size: 12.8px;       /* 16px * 0.8 */
  margin-bottom: 4.8px;    /* 6px * 0.8 */
  letter-spacing: 0.4px;   /* 0.5px * 0.8 */
}

.feature-subtitle {
  color: var(--muted);
  font-size: 10.4px;       /* 13px * 0.8 */
  line-height: 1.5;
}

/* Middle Section */
.footer-middle {
  margin-bottom: 32px;     /* 40px * 0.8 */
  padding: 32px 0;         /* 40px * 0.8 */
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;               /* 40px * 0.8 */
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  color: var(--text);
  font-size: 14.4px;       /* 18px * 0.8 */
  font-weight: 700;
  margin-bottom: 20px;     /* 25px * 0.8 */
  position: relative;
  padding-bottom: 8px;     /* 10px * 0.8 */
  letter-spacing: 0.4px;   /* 0.5px * 0.8 */
}

.footer-heading:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;             /* 40px * 0.8 */
  height: 1.6px;           /* 2px * 0.8 */
  background: var(--accent);
  border-radius: 1.6px;    /* 2px * 0.8 */
}

.footer-description {
  color: var(--muted);
  font-size: 11.2px;       /* 14px * 0.8 */
  line-height: 1.7;
  margin-bottom: 16px;     /* 20px * 0.8 */
}

.footer-contact {
  margin-top: auto;
}

.footer-contact p {
  color: var(--muted);
  font-size: 10.4px;       /* 13px * 0.8 */
  margin-bottom: 6.4px;    /* 8px * 0.8 */
  display: flex;
  align-items: center;
  gap: 6.4px;              /* 8px * 0.8 */
}

.footer-contact p strong {
  color: var(--text);
  font-weight: 600;
  min-width: 56px;         /* 70px * 0.8 */
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 9.6px;    /* 12px * 0.8 */
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 11.2px;       /* 14px * 0.8 */
  transition: all 0.2s ease;
  display: inline-block;
  padding: 3.2px 0;        /* 4px * 0.8 */
  position: relative;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);  /* 5px * 0.8 */
}

.footer-links a:before {
  content: "→";
  position: absolute;
  left: -16px;             /* -20px * 0.8 */
  opacity: 0;
  transition: all 0.2s ease;
  color: var(--accent);
}

.footer-links a:hover:before {
  opacity: 1;
  left: -12px;             /* -15px * 0.8 */
}

/* Newsletter */
.footer-newsletter-text {
  color: var(--muted);
  font-size: 11.2px;       /* 14px * 0.8 */
  line-height: 1.6;
  margin-bottom: 16px;     /* 20px * 0.8 */
}

.newsletter-form {
  margin-bottom: 24px;     /* 30px * 0.8 */
}

.input-group {
  display: flex;
  gap: 6.4px;              /* 8px * 0.8 */
  margin-bottom: 8px;      /* 10px * 0.8 */
}

.newsletter-input {
  flex: 1;
  padding: 11.2px 14.4px;  /* 14px*0.8, 18px*0.8 */
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 8px;      /* 10px * 0.8 */
  color: var(--text);
  font-size: 11.2px;       /* 14px * 0.8 */
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--panel);
  box-shadow: 0 4px 12px var(--shadow);  /* 5px*0.8, 15px*0.8 */
}

.newsletter-input::placeholder {
  color: var(--muted);
}

.newsletter-btn {
  padding: 11.2px 16px;    /* 14px*0.8, 20px*0.8 */
  background: var(--accent);
  border: none;
  border-radius: 8px;      /* 10px * 0.8 */
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.newsletter-btn:hover {
  background: var(--accent-light);
  transform: translateY(-1.6px);   /* -2px * 0.8 */
  box-shadow: 0 6.4px 16px rgba(52, 152, 219, 0.2);  /* 8px*0.8, 20px*0.8 */
}

.newsletter-message {
  font-size: 10.4px;       /* 13px * 0.8 */
  padding: 6.4px;          /* 8px * 0.8 */
  border-radius: 4.8px;    /* 6px * 0.8 */
  display: none;
}

.newsletter-message.success {
  background: rgba(46, 204, 113, 0.1);
  color: var(--success);
  border: 1px solid rgba(46, 204, 113, 0.2);
  display: block;
}

.newsletter-message.error {
  background: rgba(231, 76, 60, 0.1);
  color: var(--danger);
  border: 1px solid rgba(231, 76, 60, 0.2);
  display: block;
}

/* Social Media */
.footer-social {
  margin-top: auto;
}

.social-title {
  color: var(--muted);
  font-size: 11.2px;       /* 14px * 0.8 */
  margin-bottom: 12px;     /* 15px * 0.8 */
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 12px;               /* 15px * 0.8 */
}

.social-icon {
  width: 32px;             /* 40px * 0.8 */
  height: 32px;            /* 40px * 0.8 */
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 8px;      /* 10px * 0.8 */
  color: var(--text);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: rgba(52, 152, 219, 0.1);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2.4px) scale(1.1);  /* -3px*0.8 */
  box-shadow: 0 6.4px 16px var(--shadow);    /* 8px*0.8, 20px*0.8 */
}

/* Bottom Section */
.footer-bottom {
  padding-top: 24px;       /* 30px * 0.8 */
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;               /* 20px * 0.8 */
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 12px;               /* 15px * 0.8 */
}

.payment-title {
  color: var(--muted);
  font-size: 10.4px;       /* 13px * 0.8 */
  font-weight: 600;
}

.payment-icons {
  display: flex;
  gap: 9.6px;              /* 12px * 0.8 */
}

.payment-icon {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 6.4px;    /* 8px * 0.8 */
  padding: 4.8px 9.6px;    /* 6px*0.8, 12px*0.8 */
  color: var(--text);
  font-size: 10.4px;       /* 13px * 0.8 */
  font-weight: 600;
  cursor: default;
  transition: all 0.2s ease;
}

.payment-icon:hover {
  background: var(--panel);
  transform: translateY(-1.6px);  /* -2px * 0.8 */
}

.footer-copyright {
  text-align: center;
  flex: 1;
}

.footer-copyright p {
  color: var(--muted);
  font-size: 10.4px;       /* 13px * 0.8 */
  margin: 0;
}

.footer-copyright a {
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s ease;
  margin: 0 6.4px;         /* 8px * 0.8 */
}

.footer-copyright a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.back-to-top {
  display: flex;
  align-items: center;
  gap: 6.4px;              /* 8px * 0.8 */
  padding: 8px 14.4px;     /* 10px*0.8, 18px*0.8 */
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 8px;      /* 10px * 0.8 */
  color: var(--text);
  font-size: 10.4px;       /* 13px * 0.8 */
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-to-top:hover {
  background: var(--panel);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1.6px);  /* -2px * 0.8 */
}

/* Responsive Design */
@media (max-width: 1200px) {
  .footer-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;             /* 30px * 0.8 */
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 32px 0 16px;  /* 40px*0.8, 20px*0.8 */
    margin-top: 32px;      /* 40px * 0.8 */
  }

  .footer-features {
    grid-template-columns: 1fr;
    gap: 12px;             /* 15px * 0.8 */
  }

  .footer-feature {
    padding: 12px;         /* 15px * 0.8 */
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;             /* 30px * 0.8 */
  }

  .footer-middle {
    padding: 24px 0;       /* 30px * 0.8 */
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;             /* 20px * 0.8 */
  }

  .payment-methods {
    flex-direction: column;
    gap: 8px;              /* 10px * 0.8 */
  }

  .payment-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-feature {
    flex-direction: column;
    text-align: center;
    gap: 9.6px;            /* 12px * 0.8 */
  }

  .feature-text {
    align-items: center;
  }

  .feature-icon {
    width: 36px;           /* 45px * 0.8 */
    height: 36px;          /* 45px * 0.8 */
  }

  .social-icons {
    justify-content: center;
  }

  .input-group {
    flex-direction: column;
  }

  .newsletter-btn {
    width: 100%;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);  /* 20px * 0.8 */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-feature {
  animation: fadeInUp 0.5s ease forwards;
}

.footer-feature:nth-child(1) {
  animation-delay: 0.1s;
}
.footer-feature:nth-child(2) {
  animation-delay: 0.2s;
}
.footer-feature:nth-child(3) {
  animation-delay: 0.3s;
}
.footer-feature:nth-child(4) {
  animation-delay: 0.4s;
}

/* === HERO SLIDER - ZERO MARGIN VERSION === */
.hero-slider {
  position: relative;
  width: 100vw;
  height: 480px;           /* 600px * 0.8 */
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  box-shadow: 0 16px 48px var(--shadow);  /* 20px*0.8, 60px*0.8 */
}

.hero-slider .swiper {
  width: 100%;
  height: 100%;
}

.hero-slider .swiper-slide {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-slider .slider-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;        /* 800px * 0.8 */
  padding: 16px;           /* 20px * 0.8 */
  animation: fadeInUp 1s ease;
  background: transparent;
  border: none;
  box-shadow: none;
}

.hero-slider .slider-content h2 {
  font-size: 2rem;         /* 2.5rem * 0.8 -> 2rem */
  font-weight: 800;
  margin: 0 0 8px 0;       /* 10px * 0.8 */
  text-transform: uppercase;
  letter-spacing: 1.6px;   /* 2px * 0.8 */
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  color: white;
}

.hero-slider .slider-content p {
  font-size: 1rem;         /* 1.2rem * 0.8 -> 0.96rem, approximated */
  margin: 0 0 16px 0;      /* 20px * 0.8 */
  opacity: 0.9;
  font-weight: 400;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  color: white;
}

.hero-slider .btn-primary {
  padding: 12px 32px;      /* 15px*0.8, 40px*0.8 */
  font-size: 0.88rem;      /* 1.1rem * 0.8 */
  border-radius: 40px;     /* 50px * 0.8 */
  background: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;                /* 10px * 0.8 */
}

.hero-slider .btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1.6px);   /* -2px * 0.8 */
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);  /* 10px*0.8, 20px*0.8 */
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
  color: white;
  background: rgba(0,0,0,0.3);
  width: 40px;             /* 50px * 0.8 */
  height: 40px;            /* 50px * 0.8 */
  border-radius: 50%;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
  background: var(--accent);
}

.hero-slider .swiper-pagination-bullet {
  width: 8px;              /* 10px * 0.8 */
  height: 8px;             /* 10px * 0.8 */
  background: white;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.hero-slider .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--accent);
  width: 24px;             /* 30px * 0.8 */
  border-radius: 4px;      /* 5px * 0.8 */
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);  /* 30px * 0.8 */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-slider {
    height: 360px;         /* 450px * 0.8 */
  }
  .hero-slider .slider-content h2 {
    font-size: 1.6rem;     /* 2rem * 0.8 */
  }
  .hero-slider .slider-content p {
    font-size: 0.8rem;     /* 1rem * 0.8 */
  }
  .hero-slider .btn-primary {
    padding: 9.6px 24px;   /* 12px*0.8, 30px*0.8 */
    font-size: 0.8rem;     /* 1rem * 0.8 */
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 280px;         /* 350px * 0.8 */
  }
}
.site-header {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;          /* 10px * 0.8 */
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 1.6px 16px var(--shadow);  /* 2px*0.8, 20px*0.8 */
  margin-bottom: 0 !important;
}
/* ULTIMATE ZERO MARGIN FIX - ADD AT VERY END */
.hero-slider,
.hero-slider:first-child,
.hero-slider:first-of-type,
.hero-slider:last-child,
.hero-slider:last-of-type {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-top: none !important;
  border-bottom: none !important;
}

.site-header + .hero-slider,
.site-header + * .hero-slider,
.site-header + div > .hero-slider {
  margin-top: 0 !important;
}

/* Kill any container padding that might affect it */
.container:has(.hero-slider),
.container:has(> .hero-slider) {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Force everything to have no margin before slider */
body > *:first-child.hero-slider,
body > div:first-child .hero-slider,
main > *:first-child.hero-slider,
main > div:first-child .hero-slider {
  margin-top: 0 !important;
}
/* Overlay removed for transparent background */
/* .swiper-slide:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(248, 249, 250, 0.8);
} */

.slider-content {
  position: relative;
  z-index: 2;
  max-width: 520px;        /* 650px * 0.8 */
  background: transparent;
  padding: 40px;           /* 50px * 0.8 */
  border-radius: 16px;     /* 20px * 0.8 */
  border: 1px solid var(--line);
  box-shadow: 0 16px 32px var(--shadow);  /* 20px*0.8, 40px*0.8 */
  animation: slideInUp 0.8s ease-out;
}

/* Added text shadow for better readability on images */
.slider-content h2,
.slider-content p {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(24px);  /* 30px * 0.8 */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider-content h2 {
  font-size: 41.6px;       /* 52px * 0.8 */
  margin-bottom: 16px;     /* 20px * 0.8 */
  color: var(--text);
  font-weight: 800;
  line-height: 1.2;
}

.slider-content p {
  font-size: 16px;         /* 20px * 0.8 */
  color: var(--muted);
  margin-bottom: 28px;     /* 35px * 0.8 */
  line-height: 1.6;
}

.slider-content .btn-primary {
  padding: 12.8px 32px;    /* 16px*0.8, 40px*0.8 */
  font-size: 14.4px;       /* 18px * 0.8 */
  font-weight: 600;
  border-radius: 9.6px;    /* 12px * 0.8 */
  background: var(--accent);
  border: none;
  transition: all 0.3s ease;
}

.slider-content .btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2.4px);   /* -3px * 0.8 */
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);  /* 10px*0.8, 25px*0.8 */
}

.swiper-button-next,
.swiper-button-prev {
  width: 48px;             /* 60px * 0.8 */
  height: 48px;            /* 60px * 0.8 */
  border-radius: 50%;
  color: var(--text);
  transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 17.6px;       /* 22px * 0.8 */
  font-weight: bold;
}

/*.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--accent);
  color: white;
  transform: scale(1.1);
}*/

.swiper-pagination-bullet {
  width: 11.2px;           /* 14px * 0.8 */
  height: 11.2px;          /* 14px * 0.8 */
  background: rgba(52, 152, 219, 0.3);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--accent);
  transform: scale(1.3);
}

/* === PRODUCT IMAGES SLIDER === */
.product-images-slide {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;               /* 15px * 0.8 */
  padding: 32px;           /* 40px * 0.8 */
  width: 100%;
  height: 100%;
}

.product-image-item {
  border-radius: 9.6px;    /* 12px * 0.8 */
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 24px var(--shadow);  /* 10px*0.8, 30px*0.8 */
  transition: transform 0.3s ease;
  background: var(--panel);
}

.product-image-item:hover {
  transform: scale(1.05);
  z-index: 2;
}

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

.product-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(248, 249, 250, 0.9), transparent);
  padding: 12px;           /* 15px * 0.8 */
  color: var(--text);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.product-image-item:hover .product-image-overlay {
  transform: translateY(0);
}

.product-image-overlay h4 {
  margin: 0 0 4px 0;       /* 5px * 0.8 */
  font-size: 11.2px;       /* 14px * 0.8 */
  font-weight: 600;
}

.product-image-overlay .price {
  color: var(--accent);
  font-weight: 700;
  font-size: 12.8px;       /* 16px * 0.8 */
}

/* === STATS SECTION - UPDATED TO GREY === */
.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));  /* 200px * 0.8 */
  gap: 24px;               /* 30px * 0.8 */
  margin: 48px 0;          /* 60px * 0.8 */
  padding: 32px;           /* 40px * 0.8 */
  background: var(--panel);
  border-radius: 16px;     /* 20px * 0.8 */
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px var(--shadow);  /* 10px*0.8, 30px*0.8 */
}

.stat-item {
  text-align: center;
  padding: 16px;           /* 20px * 0.8 */
}

.stat-value {
  font-size: 38.4px;       /* 48px * 0.8 */
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 8px;      /* 10px * 0.8 */
  line-height: 1;
}

.stat-label {
  text-align: center;
  font-size: 12.8px;       /* 16px * 0.8 */
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;   /* 1px * 0.8 */
}

.stat-icon {
  font-size: 32px;         /* 40px * 0.8 */
  color: var(--muted);
  margin-bottom: 12px;     /* 15px * 0.8 */
}

/* === SECTION HEADERS ENHANCED === */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 64px 0 32px;     /* 80px*0.8, 40px*0.8 */
  padding-bottom: 16px;    /* 20px * 0.8 */
  border-bottom: 2px solid var(--line);
  position: relative;
}

.section-header h2 {
  font-size: 25.6px;       /* 32px * 0.8 */
  margin: 0;
  position: relative;
  padding-left: 20px;      /* 25px * 0.8 */
  color: var(--text);
  font-weight: 700;
}

.section-header h2:before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;                /* 5px * 0.8 */
  bottom: 4px;             /* 5px * 0.8 */
  width: 4.8px;            /* 6px * 0.8 */
  background: var(--accent);
  border-radius: 2.4px;    /* 3px * 0.8 */
  box-shadow: 0 0 16px rgba(52, 152, 219, 0.3);  /* 20px*0.8 */
}

.section-header .btn {
  padding: 9.6px 24px;     /* 12px*0.8, 30px*0.8 */
  border-radius: 8px;      /* 10px * 0.8 */
  font-weight: 600;
  transition: all 0.3s ease;
}

/* === CATEGORIES GRID ENHANCED === */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));  /* 220px * 0.8 */
  gap: 20px;               /* 25px * 0.8 */
  margin: 32px 0;          /* 40px * 0.8 */
}

.category-card {
  background: var(--panel);
  border-radius: 12.8px;   /* 16px * 0.8 */
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--line);
  position: relative;
  max-height: 224px;           /* 280px * 0.8 */
}

.category-card:hover {
  transform: translateY(-8px);  /* -10px * 0.8 */
  border-color: var(--accent);
  box-shadow: 0 16px 32px rgba(52, 152, 219, 0.15);  /* 20px*0.8, 40px*0.8 */
}

.category-image {
max-height: 144px;
    min-height: 144px;
  background: var(--bg2);
  overflow: hidden;
  position: relative;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
  transform: scale(1.1);
}

.category-overlay {
  font-size: x-small;
  top: 0;
  left: 0;
  right: 0;
    bottom: 14px;
  background: linear-gradient(to top, rgba(248, 249, 250, 0.9), transparent);
  display: flex;
  align-items: flex-end;
    padding: 4px;
    position: absolute;
}


.category-info h3 {
  margin: 0 0 8px 0;       /* 10px * 0.8 */
  font-size: 16px;         /* 20px * 0.8 */
  color: var(--text);
}

.category-info .btn-link {
  color: #454d4d;

  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6.4px;              /* 8px * 0.8 */
  transition: color 0.3s ease;
  position: absolute;
    bottom: 5px;
    left: 5px;
}

.category-info .btn-link:hover {
  color: var(--accent);
}

/* === COUNTDOWN TIMER ENHANCED - UPDATED TO GREY === */
.countdown-section {
  background: var(--panel);
  border-radius: 19.2px;   /* 24px * 0.8 */
  padding: 48px 32px;      /* 60px*0.8, 40px*0.8 */
  margin: 64px 0;          /* 80px * 0.8 */
  text-align: center;
  border: 2px solid var(--line);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 32px var(--shadow);  /* 20px*0.8, 40px*0.8 */
}



@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
}

.countdown-title {
  font-size: 28.8px;       /* 36px * 0.8 */
  margin-bottom: 12px;     /* 15px * 0.8 */
  color: var(--muted);
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.countdown-subtitle {
  color: var(--muted);
  margin-bottom: 32px;     /* 40px * 0.8 */
  font-size: 16px;         /* 20px * 0.8 */
  position: relative;
  z-index: 1;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 20px;               /* 25px * 0.8 */
  margin-bottom: 32px;     /* 40px * 0.8 */
  position: relative;
  z-index: 1;
}

.countdown-unit {
  background: var(--panel2);
  padding: 20px 16px;      /* 25px*0.8, 20px*0.8 */
  border-radius: 12.8px;   /* 16px * 0.8 */
  min-width: 88px;         /* 110px * 0.8 */
  border: 2px solid var(--line);
  box-shadow: 0 8px 24px var(--shadow);  /* 10px*0.8, 30px*0.8 */
  transition: transform 0.3s ease;
}

.countdown-unit:hover {
  transform: translateY(-4px);  /* -5px * 0.8 */
  border-color: var(--accent);
}

.countdown-value {
  font-size: 38.4px;       /* 48px * 0.8 */
  font-weight: 900;
  color: var(--muted);
  display: block;
  line-height: 1;
  text-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);  /* 5px*0.8, 15px*0.8 */
}

.countdown-label {
  font-size: 11.2px;       /* 14px * 0.8 */
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.6px;   /* 2px * 0.8 */
  margin-top: 12px;        /* 15px * 0.8 */
  display: block;
}

/* === PRODUCT CARD ENHANCEMENTS === */
.product-badges {
  position: absolute;
  top: 12px;               /* 15px * 0.8 */
  left: 12px;              /* 15px * 0.8 */
  display: flex;
  flex-direction: column;
  gap: 6.4px;              /* 8px * 0.8 */
  z-index: 10;
}

.product-badge {
  padding: 6.4px 12px;     /* 8px*0.8, 15px*0.8 */
  border-radius: 20px;     /* 25px * 0.8 */
  font-size: 8.8px;        /* 11px * 0.8 */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;   /* 1px * 0.8 */
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  color: white;
}

.badge-new {
  background: var(--success);
}

.badge-sale {
  background: var(--danger);
}

.badge-bestseller {
  background: var(--warning);
  color: var(--text);
}

.badge-limited {
  background: #9C27B0;
}

.badge-featured {
  background: var(--accent);
}

.wishlist-btn {
  position: absolute;
  top: 12px;               /* 15px * 0.8 */
  right: 12px;             /* 15px * 0.8 */
  width: 33.6px;           /* 42px * 0.8 */
  height: 33.6px;          /* 42px * 0.8 */
  background: var(--panel);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  border: 1px solid var(--line);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 14.4px;       /* 18px * 0.8 */
}

.wishlist-btn:hover {
  background: var(--danger);
  color: white;
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 4px 16px rgba(231, 76, 60, 0.3);  /* 5px*0.8, 20px*0.8 */
}

.wishlist-btn.active {
  background: var(--danger);
  color: white;
  animation: heartBeat 0.5s ease;
}

@keyframes heartBeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}

.quick-view-btn {
  position: absolute;
  bottom: 16px;            /* 20px * 0.8 */
  left: 50%;
  transform: translateX(-50%) translateY(16px);  /* 20px * 0.8 */
  background: var(--panel);
  backdrop-filter: blur(10px);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 9.6px 24px;     /* 12px*0.8, 30px*0.8 */
  border-radius: 24px;     /* 30px * 0.8 */
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  font-weight: 700;
  font-size: 11.2px;       /* 14px * 0.8 */
  z-index: 10;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;                /* 10px * 0.8 */
  box-shadow: 0 8px 24px var(--shadow);  /* 10px*0.8, 30px*0.8 */
}

.pCard:hover .quick-view-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;                /* 5px * 0.8 */
  margin: 6.4px 0;         /* 8px * 0.8 */
}

.rating-stars {
  color: #F1C40F;
  font-size: 11.2px;       /* 14px * 0.8 */
}

.rating-count {
  color: var(--muted);
  font-size: 10.4px;       /* 13px * 0.8 */
}

/* === PRODUCT HOVER EFFECTS === */
.pCard {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.pCard:hover {
  transform: translateY(-8px);  /* -10px * 0.8 */
  box-shadow: 0 20px 40px var(--shadow);  /* 25px*0.8, 50px*0.8 */
}

.pCard:hover .pThumb img {
  transform: scale(1.05);
}

.pThumb {
  overflow: hidden;
  border-radius: 9.6px 9.6px 0 0;  /* 12px * 0.8 */
}

.pThumb img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === LOADING ANIMATIONS === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);  /* 20px * 0.8 */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}
.delay-4 {
  animation-delay: 0.4s;
}
/* Mobile Menu Styles - Simple Dropdown */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22.4px;       /* 28px * 0.8 */
  cursor: pointer;
  color: var(--text);
  padding: 4px 8px;        /* 5px*0.8, 10px*0.8 */
  z-index: 100;
}

.mobile-dropdown {
  display: none;
  position: absolute;
  top: 56px;               /* 70px * 0.8 */
  right: 16px;             /* 20px * 0.8 */
  background: white;
  border-radius: 6.4px;    /* 8px * 0.8 */
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);  /* 5px*0.8, 20px*0.8 */
  width: 176px;            /* 220px * 0.8 */
  z-index: 1000;
  overflow: hidden;
}

.mobile-dropdown.active {
  display: block;
}

.mobile-dropdown a {
  display: flex;
  align-items: center;
  gap: 9.6px;              /* 12px * 0.8 */
  padding: 12px 16px;      /* 15px*0.8, 20px*0.8 */
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}

.mobile-dropdown a:last-child {
  border-bottom: none;
}

.mobile-dropdown a:hover {
  background: var(--accent);
  color: white;
}

.mobile-dropdown a i {
  width: 16px;             /* 20px * 0.8 */
  text-align: center;
  font-size: 0.88rem;      /* 1.1rem * 0.8 */
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
}
/* Simple Mobile Dropdown Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22.4px;       /* 28px * 0.8 */
  cursor: pointer;
  color: var(--text);
  padding: 4px 8px;        /* 5px*0.8, 10px*0.8 */
  z-index: 100;
}

.mobile-dropdown {
  display: none;
  position: absolute;
  top: 56px;               /* 70px * 0.8 */
  right: 16px;             /* 20px * 0.8 */
  background: white;
  border-radius: 6.4px;    /* 8px * 0.8 */
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);  /* 5px*0.8, 20px*0.8 */
  width: 176px;            /* 220px * 0.8 */
  z-index: 1000;
  overflow: hidden;
}

.mobile-dropdown.active {
  display: block;
}

.mobile-dropdown a {
  display: flex;
  align-items: center;
  gap: 9.6px;              /* 12px * 0.8 */
  padding: 12px 16px;      /* 15px*0.8, 20px*0.8 */
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}

.mobile-dropdown a:last-child {
  border-bottom: none;
}

.mobile-dropdown a:hover {
  background: var(--accent);
  color: white;
}

.mobile-dropdown a i {
  width: 16px;             /* 20px * 0.8 */
  text-align: center;
  font-size: 0.88rem;      /* 1.1rem * 0.8 */
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
}
/* === HOME PAGE RESPONSIVE OPTIMIZATIONS - ADD TO EXISTING CSS === */

/* Hero Slider Mobile */
@media (max-width: 768px) {
  .hero-slider {
    height: 400px;
    margin: 10px 0 20px;
    border-radius: 12px;
  }

  .swiper-slide {
    padding: 0 15px;
  }

  .slider-content {
    padding: 25px 20px;
    max-width: 100%;
  }

  .slider-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .slider-content p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .slider-content .btn-primary {
    padding: 12px 25px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 350px;
  }

  .slider-content {
    padding: 20px 15px;
  }

  .slider-content h2 {
    font-size: 24px;
  }

  .slider-content p {
    font-size: 14px;
  }
}

/* Product Images Slider Mobile */
@media (max-width: 768px) {
  .product-images-slide {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 150px);
    gap: 10px;
    padding: 15px;
  }

  .product-image-item:hover {
    transform: scale(1.02);
  }

  .product-image-overlay {
    transform: translateY(0);
    background: linear-gradient(to top, rgba(248, 249, 250, 0.95), transparent);
    padding: 10px;
  }

  .product-image-overlay h4 {
    font-size: 12px;
  }

  .product-image-overlay .price {
    font-size: 14px;
  }
}

/* Stats Section Mobile */
@media (max-width: 768px) {
  .stats-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
    padding: 20px;
  }

  .stat-item {
    padding: 15px 10px;
  }

  .stat-value {
    font-size: 32px;
  }

  .stat-label {
    font-size: 13px;
  }

  .stat-icon {
    font-size: 28px;
    margin-bottom: 8px;
  }
}

@media (max-width: 480px) {
  .stats-section {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 15px;
  }

  .stat-item {
    padding: 12px;
   /* display: flex;*/
    align-items: center;
    text-align: left;
    gap: 15px;
  }

  .stat-icon {
    margin-bottom: 0;
    font-size: 24px;
  }

  .stat-content {
    flex: 1;
  }

  .stat-value {
    font-size: 24px;
    margin-bottom: 2px;
  }

  .stat-label {
    font-size: 12px;
  }
}

/* Section Headers Mobile */
@media (max-width: 768px) {
  .section-header {
    margin: 40px 0 25px;
    padding-bottom: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .section-header h2 {
    font-size: 24px;
    padding-left: 15px;
  }

  .section-header h2:before {
    width: 4px;
  }

  .section-header .btn {
    padding: 8px 20px;
    font-size: 13px;
    width: 100%;
  }
}

/* Categories Grid Mobile */
@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 12px;
    margin: 20px 0;
  }

  .category-card {
    height: 200px;
  }


  .category-info {
    padding: 15px;
  }

  .category-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .category-info .btn-link {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .category-card {
    height: 180px;
  }

}

/* Countdown Timer Mobile */
@media (max-width: 768px) {
  .countdown-section {
    padding: 30px 20px;
    margin: 40px 0;
  }

  .countdown-title {
    font-size: 24px;
  }

  .countdown-subtitle {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .countdown-timer {
    flex-wrap: wrap;
    gap: 10px;
  }

  .countdown-unit {
    min-width: 70px;
    padding: 15px 10px;
  }

  .countdown-value {
    font-size: 28px;
  }

  .countdown-label {
    font-size: 11px;
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .countdown-timer {
    gap: 5px;
  }

  .countdown-unit {
    min-width: 60px;
    padding: 12px 8px;
  }

  .countdown-value {
    font-size: 24px;
  }

  .countdown-label {
    font-size: 10px;
    letter-spacing: 1px;
  }
}

/* Product Cards Mobile Enhancements */
@media (max-width: 768px) {
  .pCard {
    border-radius: 12px;
  }

  .pBody {
    padding: 12px;
  }

  .pName {
    font-size: 12px;
  }

  .price {
    font-size: 14px;
  }

  .product-badges {
    top: 8px;
    left: 8px;
    gap: 4px;
  }

  .product-badge {
    padding: 4px 10px;
    font-size: 9px;
  }

  .wishlist-btn {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .quick-view-btn {
    display: none; /* Hide quick view on mobile */
  }

  .product-rating {
    margin: 5px 0;
  }

  .rating-stars {
    font-size: 12px;
  }

  .rating-count {
    font-size: 11px;
  }
}

/* Product Grid Spacing Mobile */
@media (max-width: 768px) {
  .products {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .products {
    gap: 15px;
  }
}

/* Container Padding Mobile */
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }

  .section {
    padding: 20px 0;
  }
}

/* Typography Mobile */
@media (max-width: 768px) {
  .h0 {
    font-size: 32px;
  }

  .h1 {
    font-size: 28px;
  }

  .h2 {
    font-size: 22px;
  }

  .h3 {
    font-size: 18px;
  }

  .p {
    font-size: 14px;
    line-height: 1.5;
  }

  .kicker {
    font-size: 10px;
    padding: 5px 8px;
  }
}

/* Buttons Mobile */
@media (max-width: 768px) {
  .btn {
    padding: 10px 12px;
    font-size: 13px;
  }

  .btn-lg {
    padding: 12px 20px;
    font-size: 14px;
  }

  .btn-sm {
    padding: 6px 10px;
    font-size: 11px;
  }

  .btn-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

/* Badges Mobile */
@media (max-width: 768px) {
  .badges {
    margin-top: 5px;
    gap: 4px;
  }

  .badge {
    font-size: 9px;
    padding: 4px 6px;
  }
}

/* Fix for very small phones */
@media (max-width: 360px) {
  .hero-slider {
    height: 300px;
  }

  .slider-content h2 {
    font-size: 20px;
  }

  .slider-content p {
    font-size: 13px;
  }

  .stats-section {
    padding: 10px;
  }

  .stat-item {
    padding: 10px;
  }

  .stat-value {
    font-size: 20px;
  }

  .stat-label {
    font-size: 11px;
  }

  .countdown-unit {
    min-width: 50px;
  }

  .countdown-value {
    font-size: 20px;
  }

  .section-header h2 {
    font-size: 20px;
  }
}

/* Landscape mode for phones */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-slider {
    height: 250px;
  }

  .slider-content {
    padding: 15px 20px;
  }

  .slider-content h2 {
    font-size: 22px;
    margin-bottom: 5px;
  }

  .slider-content p {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .stats-section {
    margin: 20px 0;
    padding: 15px;
  }

  .stat-item {
    padding: 10px;
  }
}

/* Improve touch targets on mobile */
@media (hover: none) and (pointer: coarse) {
  .btn,
  .nav a,
  .category-card,
  .pCard,
  .social-icon,
  .footer-links a,
  .back-to-top {
    min-height: 44px;
    min-width: 44px;
  }

  .wishlist-btn {
    width: 44px;
    height: 44px;
  }

  .product-badge {
    padding: 6px 12px;
  }
}

/* Fix for notch phones */
@supports (padding: max(0px)) {
  @media (max-width: 768px) {
    .container {
      padding-left: max(15px, env(safe-area-inset-left));
      padding-right: max(15px, env(safe-area-inset-right));
    }
  }
}
/* === HOME PAGE RESPONSIVE OPTIMIZATIONS - ADD TO EXISTING CSS === */

/* Hero Slider Mobile */
@media (max-width: 768px) {
  .hero-slider {
    height: 380px;
    margin: 10px 0 20px;
    border-radius: 16px;
  }

  .swiper-slide {
    padding: 0 20px;
  }

  .slider-content {
    padding: 25px 20px;
    max-width: 90%;
  }

  .slider-content h2 {
    font-size: 26px;
    margin-bottom: 8px;
  }

  .slider-content p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .slider-content .btn-primary {
    padding: 10px 20px;
    font-size: 13px;
    width: auto;
    min-width: 140px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 36px;
    height: 36px;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 320px;
  }

  .slider-content {
    padding: 18px 15px;
    max-width: 95%;
  }

  .slider-content h2 {
    font-size: 22px;
  }

  .slider-content p {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .slider-content .btn-primary {
    padding: 8px 16px;
    font-size: 12px;
    min-width: 120px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 32px;
    height: 32px;
  }
}

/* Product Images Slider Mobile */
@media (max-width: 768px) {
  .product-images-slide {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 130px);
    gap: 8px;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .product-images-slide {
    grid-template-rows: repeat(2, 100px);
    gap: 6px;
    padding: 10px;
  }
}

/* Stats Section Mobile */
@media (max-width: 768px) {
  .stats-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 30px 0;
    padding: 20px;
  }

  .stat-item {
    padding: 15px 8px;
    justify-items: center;
  }

  .stat-value {
    font-size: 28px;
  }

  .stat-label {
    font-size: 12px;
  }

  .stat-icon {
    font-size: 24px;
    margin-bottom: 8px;
  }
}

@media (max-width: 480px) {
  .stats-section {
    gap: 8px;
    padding: 12px;
  }

  .stat-item {
    padding: 10px 5px;
  }

  .stat-value {
    font-size: 22px;
  }

  .stat-label {
    font-size: 11px;
  }
}

/* Section Headers Mobile */
@media (max-width: 768px) {
  .section-header {
    margin: 30px 0 20px;
    padding-bottom: 10px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .section-header h2 {
    font-size: 22px;
    padding-left: 12px;
  }

  .section-header h2:before {
    width: 4px;
    top: 3px;
    bottom: 3px;
  }

  .section-header .btn {
    padding: 8px 16px;
    font-size: 12px;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .section-header {
    margin: 25px 0 15px;
  }

  .section-header h2 {
    font-size: 20px;
  }

  .section-header .btn {
    padding: 6px 12px;
    font-size: 11px;
  }
}

/* Categories Grid Mobile - 2 per row on mobile */
@media (max-width: 768px) {
  .categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
  }

  .category-card {
    height: 180px;
  }


  .category-info {
    padding: 12px;
  }

  .category-info h3 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .category-info .btn-link {
    font-size: 11px;
    bottom: 0;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    gap: 8px;
  }

  .category-card {
    height: 120px;
  }


  .category-info h3 {
    font-size: 14px;
  }
}

/* Countdown Timer Mobile */
@media (max-width: 768px) {
  .countdown-section {
    padding: 25px 15px;
    margin: 30px 0;
  }

  .countdown-title {
    font-size: 22px;
  }

  .countdown-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .countdown-timer {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .countdown-unit {
    min-width: 65px;
    padding: 12px 8px;
  }

  .countdown-value {
    font-size: 24px;
  }

  .countdown-label {
    font-size: 10px;
    margin-top: 6px;
  }
}

@media (max-width: 480px) {
  .countdown-timer {
    gap: 8px;
  }

  .countdown-unit {
    min-width: 55px;
    padding: 8px 5px;
  }

  .countdown-value {
    font-size: 20px;
  }

  .countdown-label {
    font-size: 9px;
  }
}

/* Product Cards - CRITICAL: Always 2 per row on mobile */
@media (max-width: 768px) {
  .products {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .pCard {
    border-radius: 14px;
    margin: 0;
  }

  .pThumb {
    aspect-ratio: 1/1;
  }

  .pBody {
    padding: 10px 8px;
  }

  .pName {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pMeta {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 6px;
  }

  .price {
    font-size: 14px;
  }

  .product-badges {
    top: 6px;
    left: 6px;
    gap: 3px;
  }

  .product-badge {
    padding: 3px 8px;
    font-size: 8px;
  }

  .wishlist-btn {
    top: 6px;
    right: 6px;
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .badges {
    margin-top: 4px;
    gap: 4px;
  }

  .badge {
    font-size: 8px;
    padding: 3px 5px;
  }

  .quick-view-btn {
    display: none;
  }

  .product-rating {
    margin: 4px 0;
  }

  .rating-stars {
    font-size: 11px;
  }

  .rating-count {
    font-size: 10px;
  }
}

/* Small phones - still 2 per row */
@media (max-width: 480px) {
  .products {
    gap: 8px !important;
  }

  .pBody {
    padding: 8px 6px;
  }

  .pName {
    font-size: 11px;
  }

  .price {
    font-size: 12px;
  }

  .product-badge {
    padding: 2px 6px;
    font-size: 7px;
  }

  .wishlist-btn {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }
}

/* Very small phones - still 2 per row */
@media (max-width: 360px) {
  .products {
    gap: 6px !important;
  }

  .pBody {
    padding: 6px 4px;
  }

  .pName {
    font-size: 10px;
  }

  .price {
    font-size: 11px;
  }

  .badge {
    font-size: 7px;
    padding: 2px 4px;
  }
}

/* Container Padding Mobile */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .section {
    padding: 15px 0;
  }
}

/* Typography Mobile */
@media (max-width: 768px) {
  .h0 {
    font-size: 32px;
  }

  .h1 {
    font-size: 26px;
  }

  .h2 {
    font-size: 22px;
  }

  .h3 {
    font-size: 18px;
  }

  .p {
    font-size: 13px;
    line-height: 1.5;
  }

  .kicker {
    font-size: 9px;
    padding: 4px 8px;
    gap: 4px;
  }
}

/* Buttons Mobile */
@media (max-width: 768px) {
  .btn {
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 10px;
  }

  .btn-lg {
    padding: 10px 18px;
    font-size: 13px;
  }

  .btn-sm {
    padding: 5px 10px;
    font-size: 10px;
  }

  .btn-icon {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
}

/* Landscape mode for phones */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-slider {
    height: 250px;
  }

  .slider-content {
    padding: 15px 20px;
  }

  .slider-content h2 {
    font-size: 22px;
    margin-bottom: 5px;
  }

  .slider-content p {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .stats-section {
    margin: 15px 0;
    padding: 15px;
  }

  .products {
    gap: 10px;
  }
}

/* Improve touch targets on mobile */
@media (hover: none) and (pointer: coarse) {
  .btn,
  .category-card,
  .pCard,
  .social-icon,
  .footer-links a,
  .back-to-top {
    cursor: pointer;
  }

  .wishlist-btn {
    width: 36px;
    height: 36px;
  }
}

/* Fix for notch phones */
@supports (padding: max(0px)) {
  @media (max-width: 768px) {
    .container {
      padding-left: max(15px, env(safe-area-inset-left));
      padding-right: max(15px, env(safe-area-inset-right));
    }
  }
}
/* === UPDATED HEADER STYLES FOR ICON-BASED MOBILE NAV === */

/* Desktop Navigation Styles */
.nav {
  display: flex;
  gap: 20px;               /* 25px * 0.8 */
  align-items: center;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 11.2px;       /* 14px * 0.8 */
  padding: 6.4px 0;        /* 8px * 0.8 */
  position: relative;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.4px;   /* 0.5px * 0.8 */
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6.4px;              /* 8px * 0.8 */
}

.nav-link i {
  font-size: 14.4px;       /* 18px * 0.8 */
  transition: transform 0.3s ease;
}

.nav-link:hover {
  color: var(--accent);
  transform: translateY(-1.6px);   /* -2px * 0.8 */
}

.nav-link:hover i {
  transform: scale(1.1);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.6px;           /* 2px * 0.8 */
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.navlink {
  background: rgba(52, 152, 219, 0.1);
  padding: 6.4px 14.4px !important;  /* 8px*0.8, 18px*0.8 */
  border-radius: 16px;     /* 20px * 0.8 */
  border: 1px solid var(--line);
}

.navlink:hover {
  background: rgba(52, 152, 219, 0.15);
  border-color: var(--accent);
}

/* Badge counts for cart and wishlist */
.badge-count {
  position: absolute;
  top: -4px;               /* -5px * 0.8 */
  right: -6.4px;           /* -8px * 0.8 */
  background: #cb2121;
  color: white;
  border-radius: 50%;
  padding: 1.6px 4.8px;    /* 2px*0.8, 6px*0.8 */
  font-size: 8px;          /* 10px * 0.8 */
  font-weight: 700;
  min-width: 14.4px;       /* 18px * 0.8 */
  height: 14.4px;          /* 18px * 0.8 */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1.6px 4px rgba(0,0,0,0.2);  /* 2px*0.8, 5px*0.8 */
}

.nav-link .fa-heart + .badge-count {
  background: var(--danger);
}

/* Position relative for badge positioning */
.nav-link {
  position: relative;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 19.2px;       /* 24px * 0.8 */
  cursor: pointer;
  color: var(--text);
  padding: 6.4px 9.6px;    /* 8px*0.8, 12px*0.8 */
  border-radius: 6.4px;    /* 8px * 0.8 */
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(52, 152, 219, 0.1);
  color: var(--accent);
}

/* Mobile Styles - Icons Only */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 56px;               /* 70px * 0.8 */
    right: 12px;             /* 15px * 0.8 */
    background: white;
    border-radius: 9.6px;    /* 12px * 0.8 */
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);  /* 10px*0.8, 30px*0.8 */
    width: 144px;            /* 180px * 0.8 */
    z-index: 1000;
    overflow: hidden;
    border: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 6.4px 0;        /* 8px * 0.8 */
  }

  .nav.mobile-active {
    display: flex;
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);  /* -10px * 0.8 */
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-link {
    width: 100%;
    padding: 12px 16px !important;  /* 15px*0.8, 20px*0.8 */
    margin: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0 !important;
    background: transparent !important;
    font-size: 11.2px;       /* 14px * 0.8 */
    gap: 9.6px;              /* 12px * 0.8 */
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-link i {
    font-size: 16px;         /* 20px * 0.8 */
    width: 19.2px;           /* 24px * 0.8 */
    text-align: center;
  }

  .nav-link:hover {
    background: rgba(52, 152, 219, 0.05) !important;
    transform: none;
  }

  .nav-link::after {
    display: none;
  }

  .navlink {
    border: none !important;
  }

  /* Hide text labels, show only icons on mobile */
@media (max-width: 768px) {
  .nav-link .nav-label {
    display: none; /* This will hide text on mobile */
  }
}

  /* Badge positioning for mobile */
  .badge-count {
    position: relative;
    top: auto;
    right: auto;
    margin-left: auto;
    min-width: 19.2px;       /* 24px * 0.8 */
    height: 19.2px;          /* 24px * 0.8 */
    font-size: 8.8px;        /* 11px * 0.8 */
  }

  .mobile-menu-toggle {
    display: block;
  }

  /* Adjust header for mobile */
  .header-right {
    display: flex;
    align-items: center;
    gap: 8px;                /* 10px * 0.8 */
  }

  .brand-logo {
    height: 28px;            /* 35px * 0.8 */
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .nav {
    width: 128px;            /* 160px * 0.8 */
    right: 8px;              /* 10px * 0.8 */
  }

  .nav-link {
    padding: 9.6px 12px !important;  /* 12px*0.8, 15px*0.8 */
    font-size: 10.4px;       /* 13px * 0.8 */
  }

  .nav-link i {
    font-size: 14.4px;       /* 18px * 0.8 */
    width: 16px;             /* 20px * 0.8 */
  }

  .badge-count {
    min-width: 16px;         /* 20px * 0.8 */
    height: 16px;            /* 20px * 0.8 */
    font-size: 8px;          /* 10px * 0.8 */
  }

  .brand-logo {
    height: 24px;            /* 30px * 0.8 */
  }

  .mobile-menu-toggle {
    font-size: 17.6px;       /* 22px * 0.8 */
    padding: 4.8px 8px;      /* 6px*0.8, 10px*0.8 */
  }
}

/* Very Small Phones */
@media (max-width: 360px) {
  .nav {
    width: 112px;            /* 140px * 0.8 */
  }

  .nav-link {
    padding: 8px 9.6px !important;  /* 10px*0.8, 12px*0.8 */
    font-size: 9.6px;        /* 12px * 0.8 */
  }

  .nav-link i {
    font-size: 12.8px;       /* 16px * 0.8 */
    width: 14.4px;           /* 18px * 0.8 */
  }

  .brand-logo {
    height: 22.4px;          /* 28px * 0.8 */
  }
}

/* Landscape Mode */
@media (max-height: 500px) and (orientation: landscape) {
  .nav {
    max-height: 80vh;
    overflow-y: auto;
  }
}/* === DESKTOP NAVIGATION === */
.nav-desktop {
  display: flex;
  gap: 20px;               /* 25px * 0.8 */
  align-items: center;
}

/* === MOBILE ICON NAVIGATION (Visible on mobile only) === */
.nav-mobile {
  display: none;
  align-items: center;
  gap: 6.4px;              /* 8px * 0.8 */
}

.mobile-nav-icon {
  position: relative;
  color: var(--text);
  text-decoration: none;
  font-size: 16px;         /* 20px * 0.8 */
  padding: 6.4px;          /* 8px * 0.8 */
  border-radius: 50%;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;             /* 40px * 0.8 */
  height: 32px;            /* 40px * 0.8 */
}

.mobile-nav-icon:hover {
  background: rgba(52, 152, 219, 0.1);
  color: var(--accent);
  transform: translateY(-1.6px);   /* -2px * 0.8 */
}

.mobile-nav-icon:active {
  transform: scale(0.95);
}

.mobile-nav-label {
  display: none; /* Hide text labels on mobile icons */
  font-size: 8px;          /* 10px * 0.8 */
  position: absolute;
  bottom: -12px;           /* -15px * 0.8 */
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  color: var(--muted);
}

/* Show labels on hover/touch for better UX */
.mobile-nav-icon:hover .mobile-nav-label {
  display: block;
}

/* Badge positioning for mobile icons */
.mobile-nav-icon .badge-count {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(25%, -25%);
  min-width: 14.4px;       /* 18px * 0.8 */
  height: 14.4px;          /* 18px * 0.8 */
  font-size: 8px;          /* 10px * 0.8 */
  background: #cb2121;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3.2px;        /* 0 4px * 0.8 */
  box-shadow: 0 1.6px 4px rgba(0,0,0,0.2);  /* 2px*0.8, 5px*0.8 */
}

.mobile-nav-icon .fa-heart + .badge-count {
  background: var(--danger);
}

/* === RESPONSIVE BREAKPOINTS === */

/* Tablet and below */
@media (max-width: 992px) {
  .nav-desktop {
    gap: 12px;             /* 15px * 0.8 */
  }
  
  .nav-desktop .nav-link {
    font-size: 10.4px;     /* 13px * 0.8 */
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Hide desktop navigation on mobile */
  .nav-desktop {
    display: none;
  }
  
  /* Show mobile icon navigation */
  .nav-mobile {
    display: flex;
  }
  
  /* Adjust header spacing for mobile */
  .header-inner {
    padding: 6.4px 12px;   /* 8px*0.8, 15px*0.8 */
  }
  
  .brand-logo {
    height: 28px;          /* 35px * 0.8 */
  }
  
  /* Make touch targets bigger */
  .mobile-nav-icon {
    width: 35.2px;         /* 44px * 0.8 */
    height: 35.2px;        /* 44px * 0.8 */
    font-size: 17.6px;     /* 22px * 0.8 */
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .nav-mobile {
    gap: 3.2px;            /* 4px * 0.8 */
  }
  
  .mobile-nav-icon {
    width: 32px;           /* 40px * 0.8 */
    height: 32px;          /* 40px * 0.8 */
    font-size: 16px;       /* 20px * 0.8 */
    padding: 4.8px;        /* 6px * 0.8 */
  }
  
  .brand-logo {
    height: 24px;          /* 30px * 0.8 */
  }
  
  /* Adjust badge size for smaller screens */
  .mobile-nav-icon .badge-count {
    min-width: 12.8px;     /* 16px * 0.8 */
    height: 12.8px;        /* 16px * 0.8 */
    font-size: 7.2px;      /* 9px * 0.8 */
    margin-top: 4px;       /* 5px * 0.8 */
  }
}

/* Very Small Phones (e.g., iPhone SE) */
@media (max-width: 360px) {
  .nav-mobile {
    gap: 1.6px;            /* 2px * 0.8 */
  }
  
  .mobile-nav-icon {
    width: 28.8px;         /* 36px * 0.8 */
    height: 28.8px;        /* 36px * 0.8 */
    font-size: 14.4px;     /* 18px * 0.8 */
  }
  
  .brand-logo {
    height: 22.4px;        /* 28px * 0.8 */
  }
}

/* Optional: If you want to show text labels below icons on larger mobile */
@media (min-width: 481px) and (max-width: 768px) {
  .mobile-nav-icon {
    flex-direction: column;
    width: auto;
    height: auto;
    gap: 3.2px;            /* 4px * 0.8 */
  }
  
  .mobile-nav-label {
    display: block;
    position: static;
    transform: none;
    font-size: 8px;        /* 10px * 0.8 */
  }
  
  .mobile-nav-icon .badge-count {
    top: 1.6px;            /* 2px * 0.8 */
    right: 1.6px;          /* 2px * 0.8 */
    transform: none;
  }
}

/* Active state for current page */
.mobile-nav-icon.active,
.nav-desktop .nav-link.active {
  color: var(--accent);
}

.mobile-nav-icon.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  right: 25%;
  height: 1.6px;           /* 2px * 0.8 */
  background: var(--accent);
  border-radius: 1.6px;    /* 2px * 0.8 */
}

/* Animation for icons */
.mobile-nav-icon {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);  /* 5px * 0.8 */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===== HERO SLIDER MODERN FULL-WIDTH ===== */
.hero-slider {
    width: 100vw;
    height: 480px;           /* 600px * 0.8 */
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(0,0,0,0.1);  /* 20px*0.8, 40px*0.8 */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}

.hero-slider .swiper {
    width: 100%;
    height: 100%;
}

.hero-slider .swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
}

.hero-slider .swiper-slide::before {
    content: none;
}

.hero-slider .slider-content {
    margin-bottom: 8px;      /* 10px * 0.8 */
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;        /* 800px * 0.8 */
    padding: 16px;           /* 20px * 0.8 */
    animation: fadeInUp 1s ease;
    background: transparent;
    border: none;
    box-shadow: none;
}

.hero-slider .slider-content h2 {
    font-size: 2rem;         /* 2.5rem * 0.8 */
    font-weight: 800;
    margin: 0px;
    text-transform: uppercase;
    letter-spacing: 1.6px;   /* 2px * 0.8 */
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: white;
}

.hero-slider .slider-content p {
    font-size: 0.96rem;      /* 1.2rem * 0.8 */
    margin: 0px;
    opacity: 0.9;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: white;
}

.hero-slider .btn-primary {
    padding: 12px 32px;      /* 15px*0.8, 40px*0.8 */
    font-size: 0.88rem;      /* 1.1rem * 0.8 */
    border-radius: 40px;     /* 50px * 0.8 */
    background: var(--accent);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;                /* 10px * 0.8 */
}

.hero-slider .btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-1.6px);   /* -2px * 0.8 */
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);  /* 10px*0.8, 20px*0.8 */
}

.hero-slider .btn-primary i {
    transition: transform 0.3s ease;
}

.hero-slider .btn-primary:hover i {
    transform: translateX(4px);  /* 5px * 0.8 */
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: white;
    background: rgba(0,0,0,0.3);
    width: 40px;             /* 50px * 0.8 */
    height: 40px;            /* 50px * 0.8 */
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: var(--accent);
}

.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
    font-size: 16px;         /* 20px * 0.8 */
    font-weight: bold;
}

.hero-slider .swiper-pagination-bullet {
    width: 8px;              /* 10px * 0.8 */
    height: 8px;             /* 10px * 0.8 */
    background: white;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent);
    width: 24px;             /* 30px * 0.8 */
    border-radius: 4px;      /* 5px * 0.8 */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);  /* 30px * 0.8 */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-slider {
        height: 360px;       /* 450px * 0.8 */
    }
    .hero-slider .slider-content h2 {
        font-size: 1.6rem;   /* 2rem * 0.8 */
    }
    .hero-slider .slider-content p {
        font-size: 0.8rem;   /* 1rem * 0.8 */
    }
    .hero-slider .btn-primary {
        padding: 9.6px 24px; /* 12px*0.8, 30px*0.8 */
        font-size: 0.8rem;   /* 1rem * 0.8 */
    }
}


/* Already present from product modal, but ensure .form-group and .form-control exist */
.form-group {
    margin-bottom: 12px;     /* 15px * 0.8 */
}
.form-group label {
    display: block;
    margin-bottom: 4px;      /* 5px * 0.8 */
    font-weight: 500;
    color: #555;
}
.form-control {
    width: 100%;
    padding: 8px;            /* 10px * 0.8 */
    border: 1px solid #ddd;
    border-radius: 4px;      /* 5px * 0.8 */
    font-size: 11.2px;       /* 14px * 0.8 */
}
.btn-block {
    width: 100%;
}
.mt-3 {
    margin-top: 12px;        /* 15px * 0.8 */
}
/* === PREMIUM IMAGE ENHANCEMENTS (Optional) === */

/* Option 1: Soft Glow Effect */
.pCard:hover .pThumb img {
  box-shadow: 0 8px 24px rgba(52, 152, 219, 0.3);  /* 10px*0.8, 30px*0.8 */
}

/* Option 2: Vintage Film Effect */
.pThumb img {
  filter: contrast(1.05) saturate(1.1);
}

/* Option 3: Subtle Vignette on Hover */

/* Option 5: 3D Lift Effect */
.pCard:hover {
  transform: translateY(-6.4px) scale(1.02);  /* -8px*0.8 */
  box-shadow: 0 20px 32px -8px rgba(44, 62, 80, 0.25);  /* 25px*0.8, 40px*0.8, -10px*0.8 */
}

/* Option 6: Border Accent on Image */
.pThumb {
  border-bottom: none;
}


/* Base styles for categories grid (desktop) */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0;
}

/* Tablet screens: switch to 2 columns if needed */
@media (max-width: 980px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Mobile: horizontal scrollable row, up to 4 items visible */
@media (max-width: 768px) {
  .categories-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    margin: 20px 0;
    padding-bottom: 8px; /* space for scrollbar */
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
  }

  .category-card {
    flex: 0 0 calc(25% - 12px); /* exactly 4 cards per row (gap accounted) */
    scroll-snap-align: start;
    min-width: 120px; /* fallback for very small screens */
  }
}

/* For very narrow phones, ensure cards are still readable */
@media (max-width: 480px) {
  .category-card {
    flex: 0 0 calc(33.333% - 10px); /* show 3 cards at a time on very small screens */
  }
}

/* Optional: hide ugly scrollbar but keep functionality */
@media (max-width: 768px) {
  .categories-grid::-webkit-scrollbar {
    height: 4px;
  }
  .categories-grid::-webkit-scrollbar-track {
    background: var(--bg2);
    border-radius: 2px;
  }
  .categories-grid::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 2px;
  }
}
