/* =========================================================

   Bionnexa Peptides – Main Stylesheet

   ========================================================= */



/* Fonts */

@font-face {

  font-family: 'Satoshi';

  src: url('wp-content/uploads/2025/06/Satoshi-Variable.woff2') format('woff2'),

       url('wp-content/uploads/2025/06/Satoshi-Variable.woff') format('woff');

  font-weight: 100 900;

  font-style: normal;

}

@font-face {

  font-family: 'Sofia Pro';

  src: url('wp-content/uploads/2025/06/SofiaPro-SemiBold.woff2') format('woff2'),

       url('wp-content/uploads/2025/06/SofiaPro-SemiBold.woff') format('woff');

  font-weight: 600;

  font-style: normal;

}

@font-face {

  font-family: 'Sofia Pro';

  src: url('wp-content/uploads/2025/06/SofiaPro-Bold.woff2') format('woff2'),

       url('wp-content/uploads/2025/06/SofiaPro-Bold.woff') format('woff');

  font-weight: 700;

  font-style: normal;

}

@font-face {

  font-family: 'Sofia Pro';

  src: url('wp-content/uploads/2025/06/SofiaPro-Medium.woff2') format('woff2'),

       url('wp-content/uploads/2025/06/SofiaPro-Medium.woff') format('woff');

  font-weight: 500;

  font-style: normal;

}



/* ── Tokens ─────────────────────────────────────────────── */

:root {

  --green:       #6CA042;

  --green-light: #D9FFB2;

  --green-mid:   #78D22D;

  --dark:        #171A14;

  --dark-2:      #202020;

  --white:       #FFFFFF;

  --gray:        #DBE2D4;



  --font-body:   'Satoshi', 'Sofia Pro', system-ui, sans-serif;

  --font-head:   'Sofia Pro', 'Satoshi', system-ui, sans-serif;



  --max-w: 1280px;

  --px: clamp(16px, 4vw, 80px);

  --radius: 12px;

  --transition: 0.2s ease;

}



/* ── Container ──────────────────────────────────────────── */

.container {

  max-width: var(--max-w);

  margin: 0 auto;

  padding: 0 var(--px);

}



/* ── Reset ──────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {

  font-family: var(--font-body);

  font-size: 16px;

  color: var(--dark);

  background: var(--white);

  line-height: 1.6;

  overflow-x: hidden;

}

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

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

ul { list-style: none; }

button { cursor: pointer; font-family: inherit; border: none; background: none; }



/* =========================================================

   AGE GATE

   ========================================================= */

#age-gate-overlay {

  position: fixed; inset: 0; z-index: 99999;

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

  background: rgba(0,0,0,0.92);

  backdrop-filter: blur(6px);

}

#age-gate-overlay.hidden { display: none; }



.age-gate-box {

  background: var(--white);

  border-radius: var(--radius);

  padding: 48px 40px;

  max-width: 460px;

  width: 90%;

  text-align: center;

}

.age-gate-box img { width: 200px; margin: 0 auto 24px; }

.age-gate-box h2 {

  font-family: var(--font-head);

  font-size: clamp(20px, 4vw, 28px);

  font-weight: 700;

  margin-bottom: 8px;

}

.age-gate-box p { color: #555; margin-bottom: 32px; }

.age-gate-buttons { display: flex; gap: 16px; justify-content: center; }

.btn-age {

  padding: 14px 40px;

  border-radius: 999px;

  font-size: 16px;

  font-weight: 700;

  transition: var(--transition);

}

.btn-age-yes {

  background: var(--green);

  color: var(--white);

}

.btn-age-yes:hover { background: #568033; }

.btn-age-no {

  background: var(--dark);

  color: var(--white);

}

.btn-age-no:hover { background: #333; }



#age-denied {

  display: none;

  position: fixed; inset: 0; z-index: 99999;

  background: rgba(0,0,0,0.97);

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

  flex-direction: column;

  color: var(--white);

  text-align: center;

  padding: 40px;

}

#age-denied.visible { display: flex; }

#age-denied h2 { font-size: 2rem; margin-bottom: 16px; }

#age-denied p  { color: #aaa; }



/* =========================================================

   ANNOUNCEMENT BAR

   ========================================================= */

.announcement-bar {

  background: var(--green-light);

  border-bottom: 1px solid var(--gray);

  padding: 9px var(--px);

  text-align: center;

  font-size: 14px;

  font-weight: 600;

  color: var(--dark);

}

.announcement-bar span { color: var(--green); }



/* =========================================================

   HEADER

   ========================================================= */

.site-header {

  position: sticky; top: 0; z-index: 9000;

  background: var(--white);

  border-bottom: 1px solid var(--gray);

  box-shadow: 0 2px 12px rgba(44,64,83,0.07);

  /* floating card on desktop only */

}

.header-inner {

  max-width: var(--max-w);

  margin: 0 auto;

  padding: 0 var(--px);

  height: 84px;

  display: flex;

  align-items: center;

  gap: 24px;

}



/* Logo */

.site-logo {

  display: flex;

  align-items: center;

  flex-shrink: 0;

  text-decoration: none;

}

.site-logo img {

  height: 58px;

  width: auto;

  display: block;

}



/* Desktop Nav */

.site-nav {

  flex: 1;

  display: flex;

  justify-content: center;

  align-items: center;

}

.nav-list {

  display: flex;

  gap: 4px;

  align-items: center;

  list-style: none;

  margin: 0;

  padding: 0;

}

.nav-list > li { position: relative; }

.nav-link {

  font-family: var(--font-head);

  font-size: 15px;

  font-weight: 600;

  color: var(--dark-2);

  padding: 8px 14px;

  border-radius: 8px;

  display: flex;

  align-items: center;

  gap: 5px;

  transition: background var(--transition), color var(--transition);

  white-space: nowrap;

  cursor: pointer;

}

.nav-link:hover { background: var(--green-light); color: var(--green); }

.nav-link .arrow {

  font-size: 9px;

  opacity: .6;

  transition: transform var(--transition);

  display: inline-block;

}

.nav-list > li:hover > .nav-link .arrow { transform: rotate(180deg); }



/* Dropdown */

.dropdown {

  position: absolute;

  top: calc(100% + 6px);

  left: 50%;

  transform: translateX(-50%) translateY(-8px);

  background: var(--white);

  border: 1px solid var(--gray);

  border-radius: var(--radius);

  padding: 6px;

  min-width: 230px;

  box-shadow: 0 12px 32px rgba(22,26,20,0.12);

  opacity: 0;

  pointer-events: none;

  transition: opacity .18s ease, transform .18s ease;

  list-style: none;

}

.nav-list > li:hover > .dropdown {

  opacity: 1;

  pointer-events: all;

  transform: translateX(-50%) translateY(0);

}

.dropdown li a {

  display: flex;

  align-items: center;

  padding: 9px 14px;

  font-size: 14px;

  font-weight: 500;

  color: var(--dark-2);

  border-radius: 6px;

  transition: background var(--transition), color var(--transition);

}

.dropdown li a:hover { background: var(--green-light); color: var(--green); }



/* Header actions */

.header-actions {

  display: flex;

  align-items: center;

  gap: 6px;

  flex-shrink: 0;

}

.header-icon-btn {

  position: relative;

  width: 40px; height: 40px;

  border-radius: 10px;

  border: 1px solid var(--gray);

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

  color: var(--dark-2);

  transition: background var(--transition), border-color var(--transition), color var(--transition);

  text-decoration: none;

  flex-shrink: 0;

}

.header-icon-btn:hover { background: var(--green-light); border-color: var(--green); color: var(--green); }



/* Cart badge */

.cart-count {

  position: absolute;

  top: -5px; right: -5px;

  min-width: 18px; height: 18px;

  background: var(--green);

  color: #fff;

  font-size: 10px;

  font-weight: 700;

  border-radius: 999px;

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

  padding: 0 4px;

  line-height: 1;

  border: 2px solid var(--white);

}

.cart-count:empty,

.cart-count[data-count="0"] { display: none; }



/* ── Hamburger ────────────────────────────────────────────── */

.hamburger {

  display: none;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  gap: 5px;

  width: 40px; height: 40px;

  border-radius: 10px;

  border: 1px solid var(--gray);

  padding: 0;

  cursor: pointer;

  background: none;

  flex-shrink: 0;

}

.hamburger span {

  display: block;

  width: 20px;

  height: 2px;

  background: #000;

  border-radius: 2px;

  transition: transform .25s ease, opacity .25s ease;

}

/* Animated X state */

.hamburger.is-open span:nth-child(1) {

  transform: translateY(7px) rotate(45deg);

}

.hamburger.is-open span:nth-child(2) {

  opacity: 0;

  transform: scaleX(0);

}

.hamburger.is-open span:nth-child(3) {

  transform: translateY(-7px) rotate(-45deg);

}



/* ── Mobile Menu ──────────────────────────────────────────── */

/* Backdrop */

.mobile-backdrop {

  display: block;

  visibility: hidden;

  opacity: 0;

  position: fixed; inset: 0; z-index: 9001;

  background: rgba(0,0,0,0.45);

  backdrop-filter: blur(2px);

  -webkit-backdrop-filter: blur(2px);

  transition: opacity .3s ease, visibility .3s ease;

}

.mobile-backdrop.open { visibility: visible; opacity: 1; }



/* Drawer */

.mobile-menu {

  position: fixed;

  top: 0; right: 0; bottom: 0;

  z-index: 9002;

  width: min(320px, 85vw);

  background: var(--white);

  display: flex;

  flex-direction: column;

  padding: 0;

  overflow-y: auto;

  transform: translateX(100%);

  transition: transform .3s cubic-bezier(.4,0,.2,1);

  box-shadow: -8px 0 40px rgba(0,0,0,0.15);

}

.mobile-menu.open { transform: translateX(0); }



.mobile-menu-header {

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 16px 20px;

  border-bottom: 1px solid var(--gray);

  flex-shrink: 0;

}

.mobile-menu-header img { height: 44px; }

.mobile-menu-close {

  width: 36px; height: 36px;

  border-radius: 8px;

  border: 1px solid var(--gray);

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

  font-size: 20px;

  cursor: pointer;

  color: var(--dark);

  background: none;

  line-height: 1;

}

.mobile-menu-close:hover { background: #f5f5f5; }



.mobile-menu-body { flex: 1; padding: 12px 0; overflow-y: auto; }



.mobile-nav-link {

  display: flex;

  align-items: center;

  padding: 13px 20px;

  font-family: var(--font-head);

  font-size: 16px;

  font-weight: 600;

  color: var(--dark);

  border-bottom: 1px solid #f0f0f0;

  text-decoration: none;

}

.mobile-nav-link:hover { background: var(--green-light); color: var(--green); }



.mobile-toggle {

  display: flex;

  align-items: center;

  justify-content: space-between;

  width: 100%;

  padding: 13px 20px;

  font-family: var(--font-head);

  font-size: 16px;

  font-weight: 600;

  color: var(--dark);

  border-bottom: 1px solid #f0f0f0;

  background: none;

  cursor: pointer;

  text-align: left;

}

.mobile-toggle:hover { background: var(--green-light); color: var(--green); }

.mobile-toggle-icon {

  font-size: 12px;

  transition: transform .2s ease;

  opacity: .5;

}

.mobile-toggle.open .mobile-toggle-icon { transform: rotate(180deg); opacity: 1; }



.mobile-sub {

  display: none;

  background: #f9fdf5;

  border-bottom: 1px solid #f0f0f0;

}

.mobile-sub.open { display: block; }

.mobile-sub a {

  display: block;

  padding: 10px 20px 10px 32px;

  font-size: 14px;

  color: #444;

  border-bottom: 1px solid rgba(0,0,0,0.04);

  text-decoration: none;

}

.mobile-sub a:hover { color: var(--green); background: var(--green-light); }



.mobile-menu-footer {

  padding: 16px 20px;

  border-top: 1px solid var(--gray);

  display: flex;

  gap: 10px;

  flex-shrink: 0;

}

.mobile-menu-footer a {

  flex: 1;

  text-align: center;

  padding: 10px;

  border-radius: 8px;

  font-size: 13px;

  font-weight: 600;

}

.mobile-menu-footer .btn-account {

  border: 1px solid var(--gray);

  color: var(--dark);

}

.mobile-menu-footer .btn-shop {

  background: var(--green);

  color: var(--white);

}



/* =========================================================

   HERO

   ========================================================= */

.hero {

  max-width: var(--max-w);

  margin: 0 auto;

  padding: 60px var(--px);

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 40px;

  align-items: center;

}

.hero-image { order: -1; }

.hero-image img {

  width: 100%;

  border-radius: var(--radius);

}

.hero-content {}

.hero-stars {

  font-size: 14px;

  font-weight: 700;

  color: var(--green);

  margin-bottom: 12px;

  display: flex;

  align-items: center;

  gap: 6px;

}

.hero-stars::before {

  content: '★★★★★';

  color: var(--green);

}

.hero-title {

  font-family: var(--font-head);

  font-size: clamp(36px, 5vw, 80px);

  font-weight: 700;

  line-height: 1.05;

  color: var(--dark);

  margin-bottom: 20px;

}

.hero-desc {

  font-size: 17px;

  color: #444;

  max-width: 520px;

  margin-bottom: 32px;

  line-height: 1.7;

}

.btn {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 16px 36px;

  border-radius: 999px;

  font-size: 16px;

  font-weight: 700;

  transition: var(--transition);

}

.btn-primary {

  background: var(--dark);

  color: var(--white);

}

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

.btn-green {

  background: var(--green);

  color: var(--white);

}

.btn-green:hover { background: #568033; }

.btn-outline {

  border: 2px solid var(--dark);

  color: var(--dark);

}

.btn-outline:hover { background: var(--dark); color: var(--white); }



/* =========================================================

   CATEGORIES

   ========================================================= */

.categories-section {

  padding: 60px var(--px);

  background: #f9fdf5;

}

.section-inner {

  max-width: var(--max-w);

  margin: 0 auto;

}

.categories-grid {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;

}

.category-card {

  background: var(--white);

  border-radius: var(--radius);

  overflow: hidden;

  border: 1px solid var(--gray);

  transition: box-shadow var(--transition), transform var(--transition);

}

.category-card:hover {

  box-shadow: 0 10px 30px rgba(0,0,0,0.08);

  transform: translateY(-3px);

}

.category-card-body {

  padding: 24px 24px 16px;

}

.category-card h3 {

  font-family: var(--font-head);

  font-size: 22px;

  font-weight: 700;

  line-height: 1.2;

  margin-bottom: 16px;

  color: var(--dark);

}

.category-card img {

  width: 100%;

  object-fit: cover;

  height: 200px;

}

.btn-cat {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  font-size: 14px;

  font-weight: 700;

  color: var(--dark);

  background: var(--green-light);

  padding: 10px 20px;

  border-radius: 999px;

  transition: var(--transition);

}

.btn-cat:hover { background: var(--green); color: var(--white); }



/* =========================================================

   TRUST SECTION

   ========================================================= */

.trust-section {

  padding: 80px var(--px);

}

.trust-inner {

  max-width: var(--max-w);

  margin: 0 auto;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

  align-items: center;

}

.trust-image img {

  width: 100%;

  border-radius: var(--radius);

}

.trust-content h2 {

  font-family: var(--font-head);

  font-size: clamp(28px, 3.5vw, 52px);

  font-weight: 700;

  line-height: 1.2;

  margin-bottom: 20px;

  color: var(--dark);

}

.trust-content p {

  color: #444;

  line-height: 1.8;

  margin-bottom: 16px;

}

.trust-content .btn { margin-top: 24px; }



/* =========================================================

   BEST SELLERS

   ========================================================= */

.bestsellers-section {

  padding: 80px var(--px);

  background: #f9fdf5;

}

.section-title {

  font-family: var(--font-head);

  font-size: clamp(24px, 3vw, 40px);

  font-weight: 700;

  color: var(--dark);

  margin-bottom: 36px;

}

.products-grid {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;

}

.product-card {

  background: var(--white);

  border-radius: var(--radius);

  overflow: hidden;

  border: 1px solid var(--gray);

  position: relative;

  transition: box-shadow var(--transition), transform var(--transition);

}

.product-card:hover {

  box-shadow: 0 10px 30px rgba(0,0,0,0.08);

  transform: translateY(-3px);

}

.product-badge {

  position: absolute;

  top: 12px; left: 12px;

  background: var(--green);

  color: var(--white);

  font-size: 11px;

  font-weight: 700;

  padding: 3px 10px;

  border-radius: 999px;

  z-index: 1;

}

.product-img-wrap { overflow: hidden; }

.product-img-wrap img {

  width: 100%;

  height: 220px;

  object-fit: cover;

  transition: transform 0.4s ease;

}

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

.product-body {

  padding: 16px;

}

.product-cat {

  font-size: 11px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.5px;

  color: var(--green);

  margin-bottom: 6px;

}

.product-name {

  font-family: var(--font-head);

  font-size: 15px;

  font-weight: 600;

  color: var(--dark);

  line-height: 1.3;

  margin-bottom: 10px;

}

.product-price {

  font-weight: 700;

  font-size: 15px;

  color: var(--dark);

  margin-bottom: 12px;

}

.product-price del {

  color: #999;

  font-weight: 400;

  margin-right: 6px;

}

.product-price ins { text-decoration: none; color: var(--green); }

.btn-add-to-cart {

  display: block;

  width: 100%;

  text-align: center;

  padding: 12px;

  border-radius: 999px;

  font-size: 14px;

  font-weight: 700;

  background: var(--dark);

  color: var(--white);

  transition: var(--transition);

  font-family: var(--font-head);

  border: 0;

  cursor: pointer;

}

.btn-add-to-cart:hover { background: var(--green); }

.btn-add-to-cart:disabled { opacity: .6; cursor: default; }



/* =========================================================

   NEWSLETTER / CTA BANNER

   ========================================================= */

.newsletter-section {

  padding: 80px var(--px);

  background: linear-gradient(135deg, var(--dark) 0%, #2a3520 100%);

  color: var(--white);

}

.newsletter-inner {

  max-width: var(--max-w);

  margin: 0 auto;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

  align-items: center;

}

.newsletter-content h2 {

  font-family: var(--font-head);

  font-size: clamp(28px, 3.5vw, 48px);

  font-weight: 700;

  line-height: 1.2;

  margin-bottom: 12px;

}

.newsletter-content h2 span { color: var(--green-mid); }

.newsletter-content p { color: rgba(255,255,255,0.75); font-size: 17px; }

.newsletter-form {

  display: flex;

  flex-direction: column;

  gap: 12px;

}

.newsletter-form input {

  background: rgba(255,255,255,0.1);

  border: 1px solid rgba(255,255,255,0.2);

  border-radius: 999px;

  padding: 16px 24px;

  color: var(--white);

  font-size: 15px;

  font-family: var(--font-body);

  outline: none;

  transition: var(--transition);

}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }

.newsletter-form input:focus { border-color: var(--green-mid); background: rgba(255,255,255,0.15); }

.newsletter-form button {

  padding: 16px;

  border-radius: 999px;

  background: var(--green);

  color: var(--white);

  font-size: 16px;

  font-weight: 700;

  font-family: var(--font-head);

  transition: var(--transition);

}

.newsletter-form button:hover { background: #78D22D; }



/* =========================================================

   FOOTER

   ========================================================= */

.site-footer {

  background: var(--dark);

  color: var(--white);

  padding: 64px var(--px) 0;

}

.footer-grid {

  max-width: var(--max-w);

  margin: 0 auto;

  display: grid;

  grid-template-columns: 2fr 1fr 1fr 1.2fr;

  gap: 48px;

  padding-bottom: 48px;

  border-bottom: 1px solid rgba(255,255,255,0.1);

}

.footer-brand img { height: 44px; margin-bottom: 16px; }

.whatsapp-chat {
  position: fixed;
  left: max(22px, env(safe-area-inset-left));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 900;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #128c47;
  color: #fff;
  box-shadow: 0 4px 18px #103e2f35;
  text-decoration: none;
}
.whatsapp-chat svg { width: 31px; height: 31px; }
.whatsapp-chat:hover { background: #0c7138; color: #fff; }
.whatsapp-chat:focus-visible { outline: 3px solid #173e2b; outline-offset: 4px; }
@media (max-width: 600px) {
  .whatsapp-chat { width: 54px; height: 54px; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); }
}

.footer-brand p {

  color: rgba(255,255,255,0.6);

  font-size: 14px;

  line-height: 1.6;

  max-width: 260px;

  margin-bottom: 20px;

}

.footer-social a {

  display: inline-flex;

  width: 36px; height: 36px;

  border: 1px solid rgba(255,255,255,0.2);

  border-radius: 999px;

  align-items: center;

  justify-content: center;

  font-size: 16px;

  color: var(--white);

  transition: var(--transition);

}

.footer-social a:hover { background: var(--green); border-color: var(--green); }



.footer-col h4 {

  font-family: var(--font-head);

  font-size: 16px;

  font-weight: 700;

  margin-bottom: 16px;

  color: var(--white);

}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {

  font-size: 14px;

  color: rgba(255,255,255,0.65);

  transition: var(--transition);

}

.footer-col ul li a:hover { color: var(--green-mid); }

.footer-contact-item {

  display: flex;

  align-items: flex-start;

  gap: 10px;

  font-size: 14px;

  color: rgba(255,255,255,0.65);

  margin-bottom: 12px;

}

.footer-contact-item a { color: rgba(255,255,255,0.65); }

.footer-contact-item a:hover { color: var(--green-mid); }

.footer-payment { margin-top: 16px; }

.footer-payment img { height: 36px; opacity: 0.8; }



.footer-cta-row {

  max-width: var(--max-w);

  margin: 0 auto;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 20px;

  padding: 40px 0;

  border-bottom: 1px solid rgba(255,255,255,0.1);

}

.footer-cta-card {

  background: linear-gradient(135deg, rgba(108,160,66,0.15) 0%, rgba(86,110,67,0.1) 100%);

  border: 1px solid rgba(108,160,66,0.3);

  border-radius: var(--radius);

  padding: 24px 28px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 16px;

  transition: var(--transition);

  cursor: pointer;

}

.footer-cta-card:hover { background: rgba(108,160,66,0.25); }

.footer-cta-card-left { display: flex; align-items: center; gap: 16px; }

.footer-cta-card-left svg { flex-shrink: 0; }

.footer-cta-card h3 {

  font-family: var(--font-head);

  font-size: 18px;

  font-weight: 700;

  color: var(--white);

}

.footer-cta-card .arrow-icon {

  width: 32px; height: 32px;

  border-radius: 999px;

  border: 1px solid rgba(255,255,255,0.3);

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

  color: var(--white);

  font-size: 14px;

  flex-shrink: 0;

}



.footer-disclaimer {

  max-width: var(--max-w);

  margin: 0 auto;

  padding: 24px 0;

  font-size: 12px;

  color: rgba(255,255,255,0.4);

  line-height: 1.6;

  border-bottom: 1px solid rgba(255,255,255,0.1);

}

.footer-bottom {

  max-width: var(--max-w);

  margin: 0 auto;

  padding: 20px 0;

  display: flex;

  justify-content: space-between;

  align-items: center;

  font-size: 13px;

  color: rgba(255,255,255,0.4);

}



/* =========================================================

   RESPONSIVE

   ========================================================= */

@media (max-width: 1024px) {

  .categories-grid { grid-template-columns: repeat(2, 1fr); }

  .products-grid   { grid-template-columns: repeat(2, 1fr); }

  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 32px; }



  /* Switch to hamburger at tablet */

  .site-nav       { display: none; }

  .header-actions { margin-left: auto; }

  .hamburger      { display: flex; }

}



@media (max-width: 767px) {

  :root { --px: 16px; }



  .header-inner { height: 72px; gap: 10px; padding: 0 16px; }

  .site-logo img { height: 46px; }

  .site-nav { display: none; }

  .header-actions { margin-left: auto; }

  .hamburger { display: flex !important; width: 36px; height: 36px; padding: 8px; border-radius: 8px; }

  .header-icon-btn { width: 36px; height: 36px; border-radius: 8px; }



  .hero {

    grid-template-columns: 1fr;

    padding: 30px var(--px);

    gap: 24px;

  }

  .hero-image { order: 0; }



  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }



  .trust-inner {

    grid-template-columns: 1fr;

    gap: 32px;

  }



  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }



  .newsletter-inner { grid-template-columns: 1fr; gap: 32px; }



  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .footer-cta-row { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

}



@media (max-width: 480px) {

  .site-header { border-radius: 0; margin: 0; }

  .announcement-bar { font-size: 12px; padding: 8px 12px; }

}



@media (max-width: 480px) {

  .categories-grid { grid-template-columns: 1fr; }

  .products-grid   { grid-template-columns: 1fr; }

}



/* ── Page Hero ───────────────────────────────────────────── */

.page-hero {

  background: linear-gradient(135deg, var(--dark) 0%, #2a3d1a 100%);

  color: var(--white);

  padding: 60px 0 40px;

}

.page-hero h1 { color: var(--white); font-size: clamp(28px,5vw,48px); margin: 8px 0; }

.page-hero p  { color: rgba(255,255,255,.7); margin: 0; }

.breadcrumb   { font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 8px; }

.breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }

.breadcrumb a:hover { color: var(--white); }



/* ── Shop Page (sidebar + main) ──────────────────────────── */

.shop-page {

  display: grid;

  grid-template-columns: 220px 1fr;

  gap: 40px;

  max-width: var(--max-w);

  margin: 0 auto;

  padding: 40px var(--px);

}

.shop-sidebar h3 { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; color: var(--dark-2); }

.sidebar-cats { list-style: none; padding: 0; margin: 0; }

.sidebar-cats li { margin-bottom: 4px; }

.sidebar-cats a  { display: block; padding: 8px 12px; border-radius: 8px; color: var(--dark-2); text-decoration: none; font-size: 15px; transition: background .2s, color .2s; }

.sidebar-cats a:hover, .sidebar-cats a.active { background: var(--green-light); color: var(--green); font-weight: 600; }

.shop-toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }

.shop-title   { flex: 1; font-size: 24px; margin: 0; }

.shop-search  { display: flex; gap: 8px; }

.shop-search input { padding: 8px 14px; border: 1px solid var(--gray); border-radius: 8px; font-size: 14px; }

.shop-search button { padding: 8px 16px; background: var(--green); color: #fff; border: none; border-radius: 8px; cursor: pointer; font-size: 14px; }

.product-count { font-size: 14px; color: #888; white-space: nowrap; }

.no-results { grid-column: 1/-1; text-align: center; padding: 60px 20px; }

.no-results p { font-size: 18px; color: #888; }

.no-results a { color: var(--green); }



/* ── Pagination ───────────────────────────────────────────── */

.pagination {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  margin-top: 48px;

  flex-wrap: wrap;

}

.page-btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-width: 40px;

  height: 40px;

  padding: 0 8px;

  border-radius: 10px;

  border: 1px solid var(--gray);

  background: var(--white);

  color: var(--dark-2);

  font-family: var(--font-head);

  font-size: 14px;

  font-weight: 600;

  text-decoration: none;

  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);

}

.page-btn:hover { border-color: var(--green); color: var(--green); transform: translateY(-1px); }

.page-btn.active {

  background: var(--green);

  border-color: var(--green);

  color: var(--white);

  cursor: default;

}

.page-btn.active:hover { transform: none; }

.page-btn-nav { font-size: 16px; font-weight: 700; }

.page-btn-nav[aria-disabled="true"] {

  opacity: .35;

  pointer-events: none;

  cursor: default;

}

.page-ellipsis {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-width: 40px;

  height: 40px;

  color: #999;

  font-weight: 700;

}

@media (max-width: 480px) {

  .page-btn, .page-ellipsis { min-width: 34px; height: 34px; font-size: 13px; }

}



/* ── Product Detail ──────────────────────────────────────── */

.product-detail-page { padding: 40px 0 0; }

.product-detail-inner {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

  align-items: start;

  margin-top: 24px;

  margin-bottom: 48px;

}



/* Gallery */

.product-detail-gallery { position: relative; }

.pd-badge { position: absolute; top: 16px; left: 16px; z-index: 2; }

.product-main-img { border-radius: 20px; overflow: hidden; border: 1px solid var(--gray); background: #fff; }

.product-main-img img { width: 100%; display: block; object-fit: contain; max-height: 460px; padding: 24px; transition: transform .3s ease; }

.product-main-img img:hover { transform: scale(1.04); }

.product-thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

.product-thumb { width: 60px; height: 60px; border: 2px solid var(--gray); border-radius: 10px; overflow: hidden; background: #fff; padding: 4px; cursor: pointer; transition: border-color .2s; }

.product-thumb img { width: 100%; height: 100%; object-fit: contain; }

.product-thumb.active,

.product-thumb:hover { border-color: var(--green); }



/* Guarantee strip */

.pd-guarantee { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 12px; margin-top: 20px; background: #f9fdf5; border: 1px solid var(--green-light); border-radius: 12px; padding: 14px 16px; }

.pd-guarantee-item { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: #3a5c1a; flex: 1; }

.pd-guarantee-item svg { width: 18px !important; height: 18px !important; stroke: var(--green); fill: none !important; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }



/* Info */

.product-cat-tag { display: inline-flex; background: var(--green-light); color: var(--green); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 100px; margin-bottom: 10px; text-decoration: none; letter-spacing: .3px; text-transform: uppercase; }

.product-cat-tag:hover { background: #c7f0a0; }

.product-detail-info > h1 { font-size: clamp(22px,3vw,30px); margin: 0 0 12px; line-height: 1.25; }



/* Stars */

.pd-stars { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }

.pd-star-icons { color: #f59e0b; font-size: 16px; letter-spacing: 1px; }

.pd-star-label { font-size: 13px; color: #666; }



/* Price */

.product-detail-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }

.pd-price-sale { font-size: 32px; font-weight: 800; color: var(--dark); }

.pd-price-was  { font-size: 18px; color: #aaa; text-decoration: line-through; }

.pd-save-tag   { font-size: 13px; font-weight: 700; background: #fef3c7; color: #92400e; padding: 3px 10px; border-radius: 100px; }



/* Stock */

.pd-stock { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin-bottom: 20px; }

.pd-stock-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }

.pd-stock.in .pd-stock-dot { background: var(--green); box-shadow: 0 0 0 3px rgba(108,160,66,.2); }

.pd-stock.in { color: #276749; }

.pd-stock.out .pd-stock-dot { background: #e53e3e; }

.pd-stock.out { color: #9b2c2c; }



/* Short desc */

.pd-short-desc { font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 20px; }



/* Actions */

.product-actions { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }

.quantity-selector { display: flex; align-items: center; border: 1px solid var(--gray); border-radius: 10px; overflow: hidden; flex-shrink: 0; }

.quantity-selector button { background: #f5f5f5; border: none; padding: 11px 16px; font-size: 18px; cursor: pointer; transition: background .15s; }

.quantity-selector button:hover { background: var(--green-light); }

.quantity-selector input { width: 48px; text-align: center; border: none; border-left: 1px solid var(--gray); border-right: 1px solid var(--gray); font-size: 16px; font-weight: 700; padding: 11px 0; -moz-appearance: textfield; }

.quantity-selector input::-webkit-outer-spin-button,

.quantity-selector input::-webkit-inner-spin-button { -webkit-appearance: none; }

.btn-add-to-cart { flex: 1; font-size: 15px; padding: 12px 20px; display: flex; align-items: center; justify-content: center; gap: 8px; }

.pd-buy-now { width: 100%; text-align: center; justify-content: center; margin-bottom: 24px; font-size: 15px; padding: 12px; }



/* Trust badges */

.product-trust-badges { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-bottom: 24px; }

.ptb-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #3a5c1a; background: #f9fdf5; border: 1px solid var(--green-light); border-radius: 10px; padding: 10px 12px; }

.ptb-item svg { width: 18px !important; height: 18px !important; stroke: var(--green); fill: none !important; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }



/* Meta */

.product-meta { display: flex; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--gray); padding-top: 14px; font-size: 13px; color: #666; }

.product-meta a { color: var(--green); }



/* Tabs */

.pd-tabs { border-top: 1px solid var(--gray); margin-bottom: 60px; }

.pd-tab-nav { display: flex; gap: 0; border-bottom: 1px solid var(--gray); }

.pd-tab-btn { padding: 14px 24px; font-size: 15px; font-weight: 600; background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; color: #666; transition: color .2s, border-color .2s; }

.pd-tab-btn:hover { color: var(--green); }

.pd-tab-btn.active { color: var(--green); border-bottom-color: var(--green); }

.pd-tab-panel { display: none; padding: 32px 0; }

.pd-tab-panel.active { display: block; }

.pd-tab-panel p { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 12px; }

.pd-tab-panel ul { margin: 12px 0 16px 20px; }

.pd-tab-panel li { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 6px; }

.pd-tab-panel h3 { font-size: 18px; margin-bottom: 12px; }

.pd-details-table { border-collapse: collapse; width: 100%; max-width: 600px; }

.pd-details-table th, .pd-details-table td { padding: 10px 16px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--gray); }

.pd-details-table th { font-weight: 700; color: #444; background: #f9f9f9; width: 180px; }



.related-products { padding: 60px 0; background: #f9fdf5; }



/* ── Cart Page ───────────────────────────────────────────── */

.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; padding: 40px 0; }

.cart-empty  { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 80px 20px; color: #aaa; }

.cart-empty p { font-size: 18px; }

.cart-table  { width: 100%; border-collapse: collapse; }

.cart-table th, .cart-table td { padding: 14px 12px; border-bottom: 1px solid var(--gray); text-align: left; font-size: 15px; }

.cart-table th { font-weight: 700; font-size: 13px; text-transform: uppercase; color: #888; }

.cart-prod   { display: flex; align-items: center; gap: 14px; }

.cart-prod img { border-radius: 8px; width: 60px; height: 60px; object-fit: contain; background: #fff; border: 1px solid var(--gray); }

.cart-qty    { display: flex; align-items: center; gap: 8px; }

.cart-qty button { background: #f0f0f0; border: none; border-radius: 6px; width: 28px; height: 28px; cursor: pointer; font-size: 16px; }

.cart-remove { background: none; border: none; color: #cc3333; font-size: 20px; cursor: pointer; }

.cart-summary { background: var(--white); border: 1px solid var(--gray); border-radius: 16px; padding: 24px; height: fit-content; }

.cart-summary h3 { margin-top: 0; }

.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--gray); font-size: 15px; }

.summary-total { font-weight: 700; font-size: 18px; border-bottom: none; }

.coupon-field  { display: flex; gap: 8px; margin-top: 16px; }

.coupon-field input  { flex: 1; padding: 10px 14px; border: 1px solid var(--gray); border-radius: 8px; }

.coupon-field button { padding: 10px 16px; background: var(--dark); color: #fff; border: none; border-radius: 8px; cursor: pointer; }



/* ── Policy Pages ────────────────────────────────────────── */

.page-content   { padding: 60px var(--px); }

.policy-content h2 { color: var(--dark); margin-top: 36px; margin-bottom: 12px; font-size: 22px; border-bottom: 2px solid var(--green-light); padding-bottom: 8px; }

.policy-content p, .policy-content li { font-size: 16px; line-height: 1.8; color: #444; }

.policy-content ul, .policy-content ol { margin: 12px 0 16px 20px; }

.policy-content li { margin-bottom: 6px; }

.policy-content a { color: var(--green); }

.policy-table   { width: 100%; border-collapse: collapse; margin: 20px 0; }

.policy-table th, .policy-table td { border: 1px solid var(--gray); padding: 12px 16px; font-size: 15px; }

.policy-table th { background: var(--dark); color: var(--white); font-weight: 600; }

.policy-table tr:nth-child(even) td { background: #f9fdf5; }

.legal-warning { background: #fff3cd; border: 1px solid #ffc107; border-radius: 12px; padding: 24px; margin-bottom: 32px; }

.legal-warning h2 { border: none; margin-top: 0; }



/* ── Contact Page ────────────────────────────────────────── */

.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; }

.contact-info h2 { margin-top: 0; }

.contact-detail { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }

.contact-detail svg { flex-shrink: 0; color: var(--green); margin-top: 2px; }

.contact-detail strong { display: block; font-weight: 700; margin-bottom: 4px; }

.contact-form-wrap h2 { margin-top: 0; }

.contact-form .form-group { margin-bottom: 18px; }

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

.contact-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--dark-2); }

.contact-form input, .contact-form select, .contact-form textarea {

  width: 100%; padding: 11px 14px; border: 1px solid var(--gray); border-radius: 8px;

  font-family: var(--font-body); font-size: 15px; box-sizing: border-box;

  transition: border-color .2s;

}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {

  outline: none; border-color: var(--green);

}

.form-check { display: flex; justify-content: space-between; align-items: center; }

.form-check label { font-weight: 400; display: flex; gap: 8px; align-items: center; }



/* ── Affiliates Page ─────────────────────────────────────── */

.affiliate-intro { max-width: 700px; margin: 0 auto 48px; text-align: center; }

.affiliate-intro h2 { font-size: 32px; }

.affiliate-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }

.benefit-card { background: #fff; border: 1px solid var(--gray); border-radius: 16px; padding: 28px 24px; text-align: center; }

.benefit-icon { font-size: 36px; margin-bottom: 12px; }

.benefit-card h3 { font-size: 18px; margin: 0 0 8px; }

.benefit-card p  { font-size: 14px; color: #666; line-height: 1.6; margin: 0; }

.affiliate-apply h2 { font-size: 28px; margin-bottom: 24px; }



/* ── My Account ──────────────────────────────────────────── */

.account-login-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

.account-box { background: #fff; border: 1px solid var(--gray); border-radius: 16px; padding: 32px; min-width: 0; }

.account-box h2 { margin-top: 0; }



/* Logged-in dashboard */

.account-dashboard { max-width: 860px; }

.account-welcome {

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

  gap: 16px; margin-bottom: 32px; flex-wrap: wrap;

}

.account-welcome h2 { margin: 0; }

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

.account-section h3 { font-size: 18px; margin-bottom: 16px; border-bottom: 1px solid var(--gray); padding-bottom: 10px; }

.account-orders-table { overflow-x: auto; }

.account-orders-table table { width: 100%; border-collapse: collapse; font-size: 14px; }

.account-orders-table th { text-align: left; padding: 10px 14px; background: #f7f7f7; font-weight: 600; }

.account-orders-table td { padding: 12px 14px; border-bottom: 1px solid var(--gray); }

.account-empty { text-align: center; padding: 40px 20px; color: #888; }

.account-empty p { margin-bottom: 16px; }

.order-status-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; text-transform: capitalize; }

.status-pending    { background: #fef3c7; color: #92400e; }

.status-processing { background: #dbeafe; color: #1e40af; }

.status-shipped    { background: #e0e7ff; color: #3730a3; }

.status-delivered  { background: #D9FFB2; color: #3a5c1a; }

.status-cancelled  { background: #fee2e2; color: #991b1b; }

.status-refunded   { background: #f3f4f6; color: #6b7280; }

.form-error { background: #fee2e2; color: #991b1b; border-radius: 8px; padding: 10px 14px; font-size: 14px; margin-bottom: 12px; }



/* ── Section CTA ─────────────────────────────────────────── */

.section-cta { text-align: center; margin-top: 40px; }



/* ── Checkout Page ───────────────────────────────────────── */

.checkout-page { padding: 40px 0 80px; }

.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; margin-top: 24px; }



.co-section { margin-bottom: 28px; }

.co-section-title { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 700; margin: 0 0 18px; }

.co-step { width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

.co-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.co-field { display: flex; flex-direction: column; gap: 5px; }

.co-field.full { grid-column: 1 / -1; }

.co-field label { font-size: 13px; font-weight: 600; color: #444; }

.co-field input,

.co-field select,

.co-field textarea { padding: 10px 13px; border: 1px solid var(--gray); border-radius: 9px; font-size: 14px; font-family: inherit; color: var(--dark); background: var(--white); transition: border-color .15s, box-shadow .15s; width: 100%; }

.co-field input:focus,

.co-field select:focus,

.co-field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(108,160,66,.12); }

.co-field textarea { resize: vertical; min-height: 90px; line-height: 1.6; background: #fafffe; }

.co-field textarea::placeholder { color: #aaa; }

.co-field label small { font-weight: 400; color: #999; font-size: 11px; margin-left: 4px; }

.co-field label .req { color: #e74c3c; margin-left: 2px; }



/* Payment methods */

.payment-methods { display: flex; flex-direction: column; gap: 10px; }

.payment-option { cursor: pointer; position: relative; }

.payment-option input[type=radio] { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }

.payment-option-inner { border: 2px solid var(--gray); border-radius: 12px; overflow: hidden; transition: border-color .2s; }

.payment-option.selected .payment-option-inner { border-color: var(--green); background: #fbfff7; }

.payment-option input[type=radio]:focus-visible + .payment-option-inner { outline: 3px solid var(--green); outline-offset: 3px; }

.payment-option-header { display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; }

.payment-radio-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #ccc; flex-shrink: 0; transition: border-color .2s, background .2s; display: flex; align-items: center; justify-content: center; }

.payment-option.selected .payment-radio-dot { border-color: var(--green); background: var(--green); }

.payment-option.selected .payment-radio-dot::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; }

.payment-label { flex: 1; }

.payment-label strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; }

.payment-label span { font-size: 12px; color: #777; }

.payment-icons { display: flex; gap: 5px; flex-wrap: wrap; }

.pay-icon { display: inline-flex; align-items: center; justify-content: center; padding: 3px 7px; border: 1px solid #ddd; border-radius: 5px; font-size: 11px; font-weight: 800; background: #fff; color: #333; letter-spacing: .5px; }

.payment-fields { padding: 0 16px 14px; }



/* Coupon row */

.co-coupon-row { display: flex; gap: 10px; }

.co-coupon-row input { flex: 1; padding: 10px 13px; border: 1px solid var(--gray); border-radius: 9px; font-size: 14px; }

.co-coupon-row input:focus { outline: none; border-color: var(--green); }



/* Place order */

.co-place-order { position: relative; width: 100%; min-height: 54px; padding: 15px; font-size: 16px; justify-content: center; gap: 10px; margin-top: 4px; }

.co-order-label { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }

.co-order-progress { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; visibility: hidden; }

.co-place-order.is-loading { cursor: wait; opacity: 1; }

.co-place-order.is-loading .co-order-label { visibility: hidden; }

.co-place-order.is-loading .co-order-progress { visibility: visible; }

.co-order-spinner { width: 18px; height: 18px; flex: 0 0 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: currentColor; border-radius: 50%; animation: co-order-spin .8s linear infinite; }

.co-order-status { color: #365526; font-size: 13px; line-height: 1.5; text-align: center; margin: 12px 0 0; }

.co-order-status:empty { display: none; }

@keyframes co-order-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) { .co-order-spinner { animation: none; } }

.co-secure-note { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #999; margin-top: 10px; justify-content: center; }

.co-secure-note svg { flex-shrink: 0; }



/* Summary column */

.co-summary { background: var(--white); border: 1px solid var(--gray); border-radius: 16px; padding: 24px; position: sticky; top: 80px; }

.co-summary-title { font-size: 17px; font-weight: 700; margin: 0 0 18px; }

.co-items-list { margin-bottom: 16px; border-bottom: 1px solid var(--gray); padding-bottom: 16px; max-height: 320px; overflow-y: auto; }

.co-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; }

.co-item img { width: 48px; height: 48px; object-fit: contain; border: 1px solid var(--gray); border-radius: 8px; background: #fff; flex-shrink: 0; }

.co-item-info { flex: 1; min-width: 0; }

.co-item-name { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.co-item-qty { font-size: 12px; color: #999; }

.co-item-price { font-size: 13px; font-weight: 700; white-space: nowrap; }

.co-summary-lines { }

.co-summary-row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--gray); }

.co-summary-row:last-child { border-bottom: none; }

.co-summary-total { font-size: 18px; font-weight: 800; padding-top: 12px; }

.co-accept-terms { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--gray); }



/* Modal */

.co-modal { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; }

.co-modal-box { background: #fff; border-radius: 20px; padding: 48px 40px; text-align: center; max-width: 420px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.25); animation: pop-in .3s ease; }

.co-success-icon { width: 72px; height: 72px; background: var(--green); color: #fff; border-radius: 50%; font-size: 36px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }

.co-modal-box h2 { margin: 0 0 10px; font-size: 26px; }

.co-modal-box p { color: #666; font-size: 15px; margin-bottom: 6px; }

@keyframes pop-in { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }



/* price display helpers */

.price-sale    { font-size: 18px; font-weight: 800; color: var(--green); }

.price-regular { font-size: 15px; color: var(--dark); }

.price-crossed { text-decoration: line-through; color: #aaa; font-weight: 400; }



/* ── Responsive additions ────────────────────────────────── */

@media (max-width: 1024px) {

  .shop-page            { grid-template-columns: 1fr; }

  .shop-sidebar         { display: none; }

  .product-detail-inner { grid-template-columns: 1fr; gap: 32px; }

  .cart-layout          { grid-template-columns: 1fr; }

  .contact-grid         { grid-template-columns: 1fr; }

  .account-login-grid   { grid-template-columns: 1fr; }

  .affiliate-benefits   { grid-template-columns: repeat(2, 1fr); }

  .checkout-layout      { grid-template-columns: 1fr; }

  .checkout-summary-col { order: -1; }

  .co-summary           { position: static; }

}

@media (max-width: 640px) {

  .affiliate-benefits  { grid-template-columns: 1fr; }

  .contact-form .form-row { grid-template-columns: 1fr; }

  .co-grid-2           { grid-template-columns: 1fr; }

  .product-trust-badges { grid-template-columns: 1fr 1fr; }

  .pd-guarantee        { flex-direction: column; gap: 10px; }

  .pd-tab-btn          { padding: 12px 14px; font-size: 13px; }

}



/* ── Affiliate Page ──────────────────────────────────────── */

.affiliate-hero {

  background: linear-gradient(135deg, var(--dark) 0%, #1e3010 100%);

  padding: 80px 0;

  color: var(--white);

}

.affiliate-hero-inner {

  display: grid;

  grid-template-columns: 1fr 420px;

  gap: 60px;

  align-items: center;

}

.affiliate-badge {

  display: inline-block;

  background: rgba(108,160,66,.25);

  border: 1px solid rgba(108,160,66,.5);

  color: var(--green-mid);

  font-size: 13px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: .08em;

  padding: 6px 16px;

  border-radius: 100px;

  margin-bottom: 20px;

}

.affiliate-hero h1 {

  font-family: var(--font-head);

  font-size: clamp(32px, 5vw, 60px);

  font-weight: 700;

  line-height: 1.1;

  margin-bottom: 20px;

  color: var(--white);

}

.affiliate-hero p { color: rgba(255,255,255,.75); font-size: 18px; line-height: 1.7; max-width: 520px; }

.affiliate-hero-img img { width: 100%; border-radius: 20px; object-fit: cover; }



.affiliate-benefits-section { padding: 80px 0; background: #f9fdf5; }

.affiliate-benefits-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 24px;

  margin-top: 48px;

}

.affiliate-benefit-card {

  background: var(--white);

  border: 1px solid var(--gray);

  border-radius: 16px;

  padding: 32px 28px;

}

.benefit-icon-wrap {

  width: 56px; height: 56px;

  background: var(--green-light);

  border-radius: 14px;

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

  color: var(--green);

  margin-bottom: 20px;

}

.affiliate-benefit-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }

.affiliate-benefit-card p  { font-size: 15px; color: #555; line-height: 1.65; margin: 0; }



.affiliate-table-section { padding: 80px 0; }

.affiliate-table-wrap {

  max-width: 760px;

  margin: 48px auto 0;

  border: 1px solid var(--gray);

  border-radius: 16px;

  overflow: hidden;

}

.affiliate-table { width: 100%; border-collapse: collapse; }

.affiliate-table tr { border-bottom: 1px solid var(--gray); }

.affiliate-table tr:last-child { border-bottom: none; }

.affiliate-table tr:nth-child(even) { background: #f9fdf5; }

.table-label {

  padding: 18px 24px;

  font-weight: 700;

  font-size: 15px;

  color: var(--dark-2);

  width: 40%;

}

.table-value {

  padding: 18px 24px;

  font-size: 15px;

  color: #444;

}

.table-value strong { color: var(--green); font-size: 17px; }



.affiliate-steps-section { padding: 80px 0; background: #f9fdf5; }

.affiliate-steps {

  max-width: 640px;

  margin: 0 auto;

}

.affiliate-step {

  display: flex;

  gap: 24px;

  align-items: flex-start;

  background: var(--white);

  border: 1px solid var(--gray);

  border-radius: 16px;

  padding: 28px 32px;

}

.step-number {

  width: 48px; height: 48px;

  background: var(--green);

  color: var(--white);

  border-radius: 50%;

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

  font-family: var(--font-head);

  font-size: 20px;

  font-weight: 700;

  flex-shrink: 0;

}

.step-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }

.step-body p  { font-size: 15px; color: #555; line-height: 1.65; margin: 0; }

.affiliate-step-arrow {

  text-align: center;

  font-size: 24px;

  color: var(--green);

  padding: 8px 0;

  line-height: 1;

}



.affiliate-cta-section { padding: 80px 0; }

.affiliate-cta-box {

  background: linear-gradient(135deg, var(--dark) 0%, #1e3010 100%);

  border-radius: 24px;

  padding: 64px 40px;

  text-align: center;

  color: var(--white);

}

.affiliate-cta-box h2 {

  font-size: clamp(28px, 4vw, 48px);

  font-weight: 700;

  margin-bottom: 16px;

  color: var(--white);

}

.affiliate-cta-box p { color: rgba(255,255,255,.7); font-size: 17px; margin-bottom: 32px; }

.affiliate-cta-box .btn-primary { background: var(--green); }

.affiliate-cta-box .btn-primary:hover { background: #568033; }



@media (max-width: 1024px) {

  .affiliate-hero-inner    { grid-template-columns: 1fr; }

  .affiliate-hero-img      { display: none; }

  .affiliate-benefits-grid { grid-template-columns: repeat(2, 1fr); }

}

@media (max-width: 640px) {

  .affiliate-benefits-grid { grid-template-columns: 1fr; }

  .affiliate-step          { flex-direction: column; gap: 16px; }

  .affiliate-cta-box       { padding: 40px 24px; }

}



/* =========================================================

   ABOUT PAGE

   ========================================================= */

.about-story { max-width: 820px; margin: 0 auto 56px; }

.about-story h2 { font-family: var(--font-head); font-size: clamp(24px,3vw,34px); color: var(--dark); margin-bottom: 16px; }

.about-story p { color: #444; font-size: 16px; line-height: 1.8; margin-bottom: 14px; }



.about-stats {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;

  background: #f9fdf5;

  border-radius: var(--radius);

  padding: 40px 24px;

  margin-bottom: 64px;

  text-align: center;

}

.about-stat { display: flex; flex-direction: column; gap: 6px; }

.about-stat-num { font-family: var(--font-head); font-size: clamp(26px,3vw,38px); font-weight: 700; color: var(--green); }

.about-stat-label { font-size: 14px; color: #555; font-weight: 600; }



.about-values-title { text-align: center; font-family: var(--font-head); font-size: clamp(24px,3vw,34px); color: var(--dark); margin-bottom: 32px; }

.about-values-grid {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;

  margin-bottom: 64px;

}

.about-value-card {

  border: 1px solid var(--gray);

  border-radius: var(--radius);

  padding: 28px 24px;

  transition: box-shadow var(--transition), transform var(--transition);

}

.about-value-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); transform: translateY(-3px); }

.about-value-card svg { color: var(--green); margin-bottom: 14px; }

.about-value-card h3 { font-family: var(--font-head); font-size: 18px; color: var(--dark); margin-bottom: 8px; }

.about-value-card p { font-size: 14px; color: #555; line-height: 1.7; }

.about-value-card a { color: var(--green); font-weight: 600; }



.about-cta {

  background: linear-gradient(135deg, var(--dark) 0%, #1e3010 100%);

  border-radius: 24px;

  padding: 56px 40px;

  text-align: center;

  color: var(--white);

  margin-bottom: 64px;

}

.about-cta h2 { color: var(--white); font-family: var(--font-head); font-size: clamp(24px,3vw,34px); margin-bottom: 24px; }

.about-cta .btn-primary { background: var(--green); }

.about-cta .btn-primary:hover { background: #568033; }



/* =========================================================

   FAQ PAGE

   ========================================================= */

.faq-page { max-width: 860px; margin: 0 auto; }

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

.faq-group h2 { font-family: var(--font-head); font-size: 22px; color: var(--dark); margin-bottom: 14px; border-bottom: 2px solid var(--green-light); padding-bottom: 8px; }

.faq-item {

  border: 1px solid var(--gray);

  border-radius: var(--radius);

  padding: 4px 20px;

  margin-bottom: 10px;

  background: var(--white);

}

.faq-item summary {

  cursor: pointer;

  list-style: none;

  padding: 16px 0;

  font-weight: 700;

  font-family: var(--font-head);

  color: var(--dark);

  display: flex;

  align-items: center;

  justify-content: space-between;

}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {

  content: '+';

  font-size: 22px;

  color: var(--green);

  margin-left: 16px;

  transition: transform var(--transition);

  flex-shrink: 0;

}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p { color: #444; line-height: 1.8; padding: 0 0 18px; }

.faq-item p a { color: var(--green); font-weight: 600; }



@media (max-width: 768px) {

  .about-stats, .about-values-grid { grid-template-columns: 1fr 1fr; }

}

@media (max-width: 480px) {

  .about-stats, .about-values-grid { grid-template-columns: 1fr; }

  .about-cta { padding: 40px 24px; }

}
