/*
Theme Name: Kenzen Custom
Theme URI: https://kenzenkoi.com
Description: Custom theme — no page builder, no WooCommerce
Version: 1.0
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand Colors */
  --navy:        #0D1F3C;
  --crimson:     #8B1A1A;
  --gold:        #B8922A;
  --white:       #FFFFFF;
  --off-white:   #F5F4EF;
  --light-gray:  #EBEBEB;
  --mid-gray:    #3A3A3A;
  --text:        #1A1A1A;

 /* Typography */
  --font-primary: 'Barlow', sans-serif;
  --font-heading: 'Albert Sans', sans-serif;
  --font-size-base: 1rem;       /* 16px */
  --line-height-base: 1.65;

  /* Spacing Scale */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   7rem;

  /* Layout */
  --max-width:  1400px;
  --nav-height: 80px;

  /* Transitions */
  --transition: 0.2s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text);
  background: var(--white);
}

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

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

ul, ol {
  list-style: none;
}

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 1.2em;
}

p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

#main-content .container::before { content: none !important }
.section {
  padding: var(--space-lg) 0;
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section--off-white {
  background: var(--off-white);
}

.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    line-height: 1;
}

.btn--primary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn--primary:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--navy);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

.btn--navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    border-radius: 10px;
}

.btn--navy:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--navy);
}

/* ============================================================
   SITE HEADER & NAVIGATION
   ============================================================ */

/* ============================================================
   ANNOUNCEMENT BANNER
   ============================================================ */
.site-banner {
    background: var(--navy);
    color: var(--white);
    width: 100%;
    position: relative;
    z-index: 200;
}

.site-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 3rem;
    position: relative;
    max-width: var(--container-max);
    margin: 0 auto;
}

.site-banner__text {
    font-size: 0.8rem;
    font-family: var(--font-heading);
    letter-spacing: 0.04em;
    margin: 0;
    text-align: center;
}

.site-banner__close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--white);
    font-size: 0.875rem;
    cursor: pointer;
    opacity: 0.7;
    padding: 0.25rem;
    line-height: 1;
    transition: opacity var(--transition);
}

.site-banner__close:hover {
    opacity: 1;
}

.site-banner.is-hidden {
    display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  gap: var(--space-md);
}

/* Logo */
.nav-logo img {
  height: 60px;
  width: auto;
}

/* Primary Nav */
.nav-primary {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}

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

.nav-primary > li > a {
  display: block;
  padding: 0 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  height: var(--nav-height);
  line-height: var(--nav-height);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-primary > li > a:hover,
.nav-primary > li.has-dropdown:hover > a {
  color: var(--gold);
}

/* Dropdown indicator */
.nav-primary > li.has-dropdown > a::after {
  content: '▾';
  font-size: 0.65rem;
  margin-left: 0.3rem;
  opacity: 0.6;
}

/* Dropdown menu */
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(var(--nav-height) - 1px);
  left: 0;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-top: 2px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 100;
}

.nav-primary > li.has-dropdown:hover .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--light-gray);
  transition: background var(--transition), color var(--transition);
}

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

.nav-dropdown a:hover {
  background: var(--off-white);
  color: var(--gold);
}

/* Nav Actions (account, cart) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-account {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color var(--transition);
}

.nav-account:hover {
  color: var(--gold);
}

.nav-cart {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  color: var(--navy);
  transition: color var(--transition);
}

.nav-cart:hover {
  color: var(--gold);
}

.nav-cart svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--crimson);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

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

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s ease;
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: var(--white);
}

/* Footer CTA band */
.footer-cta {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-lg) 0;
  text-align: center;
}

.footer-cta p {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
}

.footer-cta h3 {
  color: var(--white);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

/* Footer main */
.footer-main {
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-lg);
}

.footer-brand-logo {
  height: 32px;
  width: auto;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-contact {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  line-height: 2;
}

.footer-contact a {
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
  letter-spacing: 0.02em;
}

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

/* Social links */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184,146,42,0.08);
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-md) 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.03em;
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: rgba(255,255,255,0.7);
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

/* ============================================================
   MOBILE NAV
   ============================================================ */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-primary,
  .nav-account {
    display: none;
  }

  .nav-primary.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 2px solid var(--gold);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 1rem 0;
  }

  .nav-primary > li > a {
    height: auto;
    line-height: 1;
    padding: 0.85rem var(--space-md);
  }

  .nav-dropdown {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    border-top: none;
    background: var(--off-white);
    padding-left: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  :root {
    --space-lg: 3rem;
    --space-xl: 4rem;
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: var(--white);
    color: var(--navy);
    padding: var(--space-xl) 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--crimson);
    margin-bottom: 1rem;
}

.hero__headline {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 1rem;
}

.hero__subhead {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 1.25rem;
}

.hero__body {
    font-size: 1rem;
    color: var(--mid-gray);
    max-width: 480px;
    margin-bottom: 1.75rem;
}

.hero__pull-quote {
    border-left: 3px solid var(--crimson);
    padding-left: 1.25rem;
    margin-bottom: 2rem;
}

.hero__pull-quote p {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--mid-gray);
    line-height: 1.6;
}

.hero__subtext {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--mid-gray);
    letter-spacing: 0.04em;
}
.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    width: 100%;
}

.hero__media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__icon {
    width: 280px;
    height: 280px;
    object-fit: contain;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: var(--space-lg) 0;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__body {
        max-width: 100%;
    }

    .hero__pull-quote {
        border-left: none;
        border-top: 3px solid var(--gold);
        padding-left: 0;
        padding-top: 1rem;
    }

    .hero__media {
        display: flex;
        justify-content: center;
        margin-top: var(--space-md);
    }

    .hero__icon {
        width: 180px;
        height: 180px;
    }
}
/* ============================================================
   EDITORIAL BLOCK
   ============================================================ */
.editorial {
    background: var(--off-white);
}

.editorial__inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-lg);
    align-items: center;
}

.editorial__eyebrow {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.editorial__text h2 {
    margin-bottom: 1.5rem;
}

.editorial__text p {
    color: var(--mid-gray);
    margin-bottom: 1.1rem;
}

.editorial__text a:not(.btn) {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition);
}

.editorial__text a:not(.btn):hover {
    color: var(--gold);
}

.editorial__text .btn {
    margin-top: 1rem;
}

.editorial__media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.editorial__media img {
    width: 100%;
    max-width: 360px;
    height: auto;
    object-fit: contain;
}

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

    .editorial__media {
        order: -1;
        margin-bottom: var(--space-md);
    }

    .editorial__media img {
        max-width: 200px;
        margin: 0 auto;
    }
}
/* ============================================================
   PRODUCT CAROUSEL
   ============================================================ */
.product-carousel {
    background: var(--white);
    padding: var(--space-lg) 0;
}

.product-carousel__header {
    margin-bottom: var(--space-lg);
}

.product-carousel__header h2 {
    margin-top: 0.5rem;
    color: var(--navy);
}

.product-carousel__footer {
    margin-top: var(--space-lg);
    text-align: center;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel-track-outer {
    overflow: hidden;
    width: 100%;
    padding: 2rem 0 3rem;
}

/* Track is relative — slides are absolute inside it */
.carousel-track {
    position: relative;
    width: 100%;
    min-height: 580px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* All slides absolutely positioned, JS drives their translateX */
.carousel-slide {
    position: absolute;
    width: 320px;
    cursor: pointer;
    /* transform, opacity, filter all set by JS */
}

.carousel-slide.is-active {
    cursor: default;
    z-index: 2;
}

/* Card */
.carousel-card {
    background: linear-gradient(to bottom, #1e579f, #050f20);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 2rem;
    box-shadow: none;
}

.carousel-card__image {
    width: 80%;
    margin: 2rem auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-card__image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.45s ease;
}

.carousel-slide.is-active:hover .carousel-card__image img {
    transform: scale(1.04) translateY(-4px);
}

.carousel-card__body {
    padding: 0 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    width: 100%;
}

.carousel-card__name {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    margin: 0;
    line-height: 1;
}

.carousel-card__desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    margin: 0;
}

.btn--carousel {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.12);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
    margin-top: 0.25rem;
}

.btn--carousel:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.6);
}

.carousel-arrow {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    color: var(--navy);
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
    z-index: 10;
    line-height: 1;
}

.carousel-arrow:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

@media (max-width: 768px) {
    .carousel-slide {
        width: 260px;
    }
}
/* ============================================================
   BENEFITS GRID
   ============================================================ */
.benefits {
    padding: var(--space-lg) 0;
}

.benefits__header {
    margin-bottom: var(--space-lg);
}

.benefits__header h2 {
    margin-top: 0.5rem;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border: 1px solid var(--light-gray);
    border-top: 3px solid var(--navy);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    transition: box-shadow var(--transition), transform var(--transition);
}

.benefit-card:hover {
    box-shadow: 0 8px 32px rgba(13, 31, 60, 0.08);
    transform: translateY(-3px);
}

.benefit-card__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.benefit-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.benefit-card__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
    letter-spacing: 0.02em;
}

.benefit-card__desc {
    font-size: 0.875rem;
    color: var(--mid-gray);
    line-height: 1.65;
    margin: 0;
}

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

@media (max-width: 560px) {
    .benefits__grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================================
   APPAREL FEATURE — DARK & DRAMATIC
   ============================================================ */
.apparel-feature {
    background: #050f20;
    position: relative;
    overflow: hidden;
    padding: var(--space-xl) 0;
}

/* SVG diagonal lines sit behind everything */
.apparel-feature__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Red left border accent */
.apparel-feature__accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--crimson);
    z-index: 1;
}

/* Inner — two column layout */
.apparel-feature__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

/* Content side */
.apparel-feature__content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.apparel-feature__content h2 {
    color: var(--white);
    margin: 0;
    line-height: 1.1;
}

.apparel-feature__content p {
    color: rgba(255,255,255,0.85);
    font-size: 0.9375rem;
    line-height: 1.75;
    margin: 0;
}

.apparel-feature__content strong {
    color: var(--white);
    font-weight: 600;
}

.apparel-feature__actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.apparel-feature__link {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    transition: color var(--transition);
}

.apparel-feature__link:hover {
    color: var(--white);
}

/* Image side */
.apparel-feature__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Radial glow behind the shirt */
.apparel-feature__glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30,87,159,0.35) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.apparel-feature__media img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.apparel-feature__media:hover img {
    transform: scale(1.03) translateY(-6px);
}

@media (max-width: 900px) {
    .apparel-feature__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .apparel-feature__actions {
        justify-content: center;
    }

    .apparel-feature__media {
        order: -1;
    }

    .apparel-feature__media img {
        max-width: 320px;
        margin: 0 auto;
    }

    .apparel-feature__glow {
        width: 300px;
        height: 300px;
    }
}
/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
    padding: var(--space-lg) 0;
}

.testimonials__header {
    margin-bottom: var(--space-lg);
}

.testimonials__header h2 {
    margin-top: 0.5rem;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: var(--space-md);
}

/* Card */
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-top: 3px solid var(--crimson);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: box-shadow var(--transition), transform var(--transition);
}

.testimonial-card:hover {
    box-shadow: 0 8px 32px rgba(13,31,60,0.08);
    transform: translateY(-3px);
}

/* Header row — avatar + name + stars */
.testimonial-card__header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

/* Avatar initials circle */
.testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.05em;
}

.testimonial-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.testimonial-card__name {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.testimonial-card__credential {
    font-size: 0.775rem;
    color: #3A3A3A;
    margin: 0;
    line-height: 1.4;
}

/* Stars */
.testimonial-card__stars {
    margin-top: 0.15rem;
}

.stars {
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

/* Quote */
.testimonial-card__quote {
    font-size: 0.9375rem;
    color: #3A3A3A;
    line-height: 1.75;
    font-style: italic;
    border-left: none;
    padding: 0;
    margin: 0;
    flex: 1;
    position: relative;
}

.testimonial-card__quote::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--crimson);
    opacity: 0.15;
    position: absolute;
    top: -1.5rem;
    left: -0.5rem;
    line-height: 1;
    pointer-events: none;
}

/* Product tag */
.testimonial-card__product {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy);
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
    font-family: var(--font-heading);
}

/* Aggregate rating note */
.testimonials__aggregate {
    margin-top: var(--space-md);
}

.testimonials__aggregate-text {
    font-size: 0.875rem;
    color: #3A3A3A;
    margin: 0;
}

.testimonials__aggregate-text strong {
    color: var(--navy);
}

@media (max-width: 900px) {
    .testimonials__grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }
}
/* ============================================================
   BLOG PREVIEW
   ============================================================ */
.blog-preview {
    background: var(--white);
    padding: var(--space-lg) 0;
}

.blog-preview__header {
    margin-bottom: var(--space-lg);
}

.blog-preview__header h2 {
    margin-top: 0.5rem;
}

.blog-preview__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-preview__footer {
    margin-top: var(--space-lg);
}

/* Card */
.blog-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--light-gray);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}

.blog-card:hover {
    box-shadow: 0 8px 32px rgba(13,31,60,0.08);
    transform: translateY(-3px);
}

/* Image */
.blog-card__image-link {
    display: block;
    overflow: hidden;
}

.blog-card__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--light-gray);
}

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

.blog-card:hover .blog-card__image img {
    transform: scale(1.04);
}

/* Body */
.blog-card__body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.blog-card__category {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--crimson);
    margin: 0;
}

.blog-card__title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.blog-card__title a {
    color: var(--navy);
    transition: color var(--transition);
}

.blog-card__title a:hover {
    color: var(--crimson);
}

.blog-card__excerpt {
    font-size: 0.875rem;
    color: #3A3A3A;
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

/* Footer row */
.blog-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
    margin-top: auto;
}

.blog-card__date {
    font-size: 0.75rem;
    color: #3A3A3A;
    letter-spacing: 0.03em;
}

.blog-card__read-more {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy);
    transition: color var(--transition);
}

.blog-card__read-more:hover {
    color: var(--crimson);
}

@media (max-width: 900px) {
    .blog-preview__grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }
}
/* ============================================================
   SHOP PAGE
   ============================================================ */

/* Hero */
.shop-hero {
    background: var(--navy);
    padding: var(--space-lg) 0 var(--space-md);
    color: var(--white);
}

.shop-hero h1 {
    color: var(--white);
    margin: 0.5rem 0 1rem;
}

.shop-hero__sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    max-width: 540px;
    margin: 0;
    line-height: 1.7;
}

/* Filter Tabs */
.shop-filters {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--space-lg);
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 0;
    flex-wrap: wrap;
}

.shop-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #3A3A3A;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition);
}

.shop-filter:hover {
    color: var(--navy);
}

.shop-filter.is-active {
    color: var(--navy);
    border-bottom-color: var(--navy);
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--light-gray);
    color: #3A3A3A;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
    transition: background var(--transition), color var(--transition);
}

.shop-filter.is-active .filter-count {
    background: var(--navy);
    color: var(--white);
}

/* Product Grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Individual Card */
.shop-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--light-gray);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition), opacity 0.3s ease;
}

.shop-card:hover {
    box-shadow: 0 8px 32px rgba(13,31,60,0.08);
    transform: translateY(-3px);
}

.shop-card.is-hidden {
    display: none;
}

/* Image */
.shop-card__image-link {
    display: block;
    overflow: hidden;
}

.shop-card__image {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--white);
    position: relative;
}

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

.shop-card:hover .shop-card__image img {
    transform: scale(1.04);
}

/* Badge */
.shop-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shop-card__badge--out {
    background: var(--light-gray);
    color: #3A3A3A;
}

/* Body */
.shop-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.shop-card__category {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--crimson);
    margin: 0;
}

.shop-card__name {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.shop-card__name a {
    color: var(--navy);
    transition: color var(--transition);
}

.shop-card__name a:hover {
    color: var(--crimson);
}

.shop-card__subtitle {
    font-size: 0.8rem;
    color: #3A3A3A;
    margin: 0;
}

.shop-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
    gap: 1rem;
    flex-wrap: wrap;
}

.shop-card__price {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

/* Empty state */
.shop-empty {
    text-align: center;
    padding: var(--space-lg) 0;
    color: #3A3A3A;
}

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

@media (max-width: 560px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================================
   APPAREL PRODUCT — ADDITIONAL STYLES
   ============================================================ */

/* Edition badge */
.product-info__edition-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--navy);
    padding: 0.2rem 0.75rem;
    margin: 0;
}

/* Label row — size label + size guide toggle */
.product-info__label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.size-chart-toggle {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 3px;
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition);
}

.size-chart-toggle:hover {
    color: var(--crimson);
}

/* Inline size chart */
.size-chart {
    margin-top: 0.75rem;
    border: 1px solid var(--light-gray);
    overflow: hidden;
}

.size-chart__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.size-chart__table th {
    background: var(--navy);
    color: var(--white);
    padding: 0.6rem 1rem;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.size-chart__table td {
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--light-gray);
    color: #3A3A3A;
}

.size-chart__table tr:last-child td {
    border-bottom: none;
}

/* Video thumbnail button */
.product-gallery__thumb--video {
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: var(--navy);
}

.video-play-icon {
    color: var(--white);
    font-size: 1.25rem;
}

/* Video in gallery main */
.product-gallery__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Printful notice */
.printful-notice {
    background: var(--off-white);
    border-left: 3px solid var(--navy);
    padding: 0.875rem 1rem;
}

.printful-notice__text {
    font-size: 0.8125rem;
    color: #3A3A3A;
    margin: 0;
    line-height: 1.6;
}

.printful-notice__text strong {
    color: var(--navy);
}

/* Shipping note (food template) */
.product-info__shipping {
    font-size: 0.8125rem;
    color: #3A3A3A;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.shipping-icon {
    color: var(--navy);
    font-weight: 700;
}

/* FAQ section */
.product-faq {
    background: var(--white);
}

.product-faq__inner {
    max-width: 800px;
}

.product-faq__heading {
    margin-bottom: var(--space-md);
}

/* Analysis table thead */
.analysis-table th {
    text-align: left;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
    padding: 0.75rem 0;
    border-bottom: 2px solid var(--navy);
}
/* ============================================================
   PRODUCT PAGE OVERRIDES — fix WordPress default interference
   ============================================================ */

/* Remove WordPress default content width constraint */
.site-main {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* Fix product hero section */
.product-hero {
    background: var(--white);
    padding: var(--space-lg) 0;
    width: 100%;
}

/* Force 2-column layout */
.product-hero__inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: var(--space-lg);
    align-items: start;
    width: 100%;
}

/* Gallery — left column */
.product-gallery {
    display: flex !important;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
}

/* Main image */
.product-gallery__main {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--off-white);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery__main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    display: block;
}

/* Thumbnails */
.product-gallery__thumbs {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-gallery__thumb {
    width: 72px !important;
    height: 72px !important;
    border: 2px solid var(--light-gray);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: var(--off-white);
    transition: border-color var(--transition);
    flex-shrink: 0;
    display: block;
}

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

.product-gallery__thumb.is-active,
.product-gallery__thumb:hover {
    border-color: var(--navy);
}

/* Product info — right column */
.product-info {
    display: flex !important;
    flex-direction: column;
    gap: 1.25rem;
}

.product-info__subtitle {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--crimson);
    margin: 0;
}

.product-info__name {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--navy);
    margin: 0;
    line-height: 1.1;
}

.product-info__description {
    font-size: 0.9375rem;
    color: #3A3A3A;
    line-height: 1.75;
    margin: 0;
}

.product-info__price {
    display: flex;
    align-items: center;
}

.product-info__price-amount {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--navy);
}

/* Qty + Add to cart row */
.product-info__add-to-cart {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.qty-control {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    border: 2px solid var(--light-gray);
    overflow: hidden;
    height: 48px;
}

.qty-btn {
    width: 44px;
    height: 100%;
    background: var(--off-white);
    border: none;
    font-size: 1.2rem;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.qty-btn:hover {
    background: var(--light-gray);
}

.qty-input {
    width: 52px;
    height: 100%;
    border: none;
    border-left: 1px solid var(--light-gray);
    border-right: 1px solid var(--light-gray);
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    -moz-appearance: textfield;
    appearance: textfield;
}

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

.btn--add-cart {
    flex: 1;
    min-width: 160px;
    height: 48px;
    font-size: 0.875rem;
}

/* Shipping note */
.product-info__shipping {
    font-size: 0.8125rem;
    color: #3A3A3A;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.shipping-icon {
    color: var(--navy);
    font-weight: 700;
}

/* Benefits list */
.product-benefits {
    list-style: none !important;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    border-top: 1px solid var(--light-gray);
    padding-top: 1.25rem;
    margin: 0;
    padding-left: 0;
}

.product-benefits__item {
    display: flex !important;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #3A3A3A;
    line-height: 1.5;
}

.product-benefits__icon {
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* SKU */
.product-info__sku {
    font-size: 0.75rem;
    color: #3A3A3A;
    margin: 0;
}

/* ============================================================
   ACCORDION FIX
   ============================================================ */
.product-tabs {
    background: var(--off-white);
    padding: var(--space-lg) 0;
}

.accordion {
    border-top: 1px solid var(--light-gray);
    width: 100%;
}

.accordion__item {
    border-bottom: 1px solid var(--light-gray);
    width: 100%;
}

.accordion__trigger {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.accordion__trigger:hover {
    color: var(--crimson);
}

.accordion__icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
}

.accordion__icon::before,
.accordion__icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.accordion__icon::before {
    width: 12px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.accordion__icon::after {
    width: 2px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.accordion__trigger.is-open .accordion__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.accordion__panel {
    overflow: hidden;
}

.accordion__content {
    padding: 0 0 1.5rem;
    font-size: 0.9375rem;
    color: #3A3A3A;
    line-height: 1.75;
}

.accordion__content ul {
    list-style: disc !important;
    padding-left: 1.5rem;
    margin-top: 0.75rem;
}

.accordion__content ul li {
    margin-bottom: 0.4rem;
    display: list-item !important;
}
/* ============================================================
   FEEDING WARNING CALLOUT
   ============================================================ */
.feeding-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #fff0f0;
    border-left: 3px solid var(--crimson);
    padding: 0.875rem 1rem;
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: var(--crimson);
    font-weight: 600;
    line-height: 1.6;
}

.feeding-warning__icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Analysis table */
.analysis-table {
    width: 100%;
    border-collapse: collapse;
}

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

.analysis-table td {
    padding: 0.75rem 0;
    font-size: 0.875rem;
    color: #3A3A3A;
}

.analysis-table td:last-child {
    text-align: right;
    font-weight: 700;
    color: var(--navy);
}
/* ============================================================
   PRODUCT LONG DESCRIPTION
   ============================================================ */
.product-body {
    background: var(--white);
    padding: var(--space-lg) 0;
}

.product-body__inner {
    max-width: 780px;
}

.product-body__inner h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    color: var(--navy);
    margin: 0 0 1.25rem;
    line-height: 1.2;
}
.product-body__inner h3 {
    font-size: 1.125rem;
    color: var(--navy);
    margin: 2rem 0 0.75rem;
}
.product-body__inner p {
    font-size: 0.9375rem;
    color: #3A3A3A;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.product-body__inner h3 {
    font-size: 1.125rem;
    color: var(--navy);
    margin: 2rem 0 0.75rem;
}

.product-body__inner ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.product-body__inner ul li {
    font-size: 0.9375rem;
    color: #3A3A3A;
    line-height: 1.7;
    margin-bottom: 0.4rem;
}
/* ============================================================
   WHEN TO USE
   ============================================================ */
.when-to-use {
    padding: var(--space-lg) 0;
}

.when-to-use__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.when-to-use__content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.when-to-use__intro {
    font-size: 0.9375rem;
    color: #3A3A3A;
    margin: 0;
    font-weight: 600;
}

.when-to-use__heading {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    color: var(--navy);
    margin: 0;
    line-height: 1.2;
}

.when-to-use__list {
    list-style: none !important;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}

.when-to-use__item {
    display: flex !important;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: #3A3A3A;
    line-height: 1.6;
}

.when-to-use__icon {
    color: var(--navy);
    font-weight: 700;
    font-size: 0.8rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.when-to-use__outro {
    font-size: 0.9rem;
    color: #3A3A3A;
    line-height: 1.75;
    margin: 0;
    padding-top: 0.5rem;
    border-top: 1px solid var(--light-gray);
}

.when-to-use__image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.when-to-use__image img {
    width: 100%;
    max-width: 380px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 900px) {
    .when-to-use__inner {
        grid-template-columns: 1fr !important;
    }

    .when-to-use__image {
        order: -1;
    }

    .when-to-use__image img {
        max-width: 240px;
    }
}
/* ============================================================
   FAQ SECTION
   ============================================================ */
.product-faq {
    background: var(--white);
    padding: var(--space-lg) 0;
}

.product-faq__inner {
    max-width: 800px;
}

.product-faq__heading {
    margin-bottom: var(--space-md);
    color: var(--navy);
}

/* ============================================================
   CROSS-SELL
   ============================================================ */
.cross-sell {
    background: var(--off-white);
    padding: var(--space-lg) 0;
}

.cross-sell__inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.cross-sell__content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cross-sell__content h2 {
    margin: 0;
    color: var(--navy);
}

.cross-sell__content p {
    color: #3A3A3A;
    line-height: 1.75;
    margin: 0;
    font-size: 0.9375rem;
}

.cross-sell__image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cross-sell__image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .product-hero__inner {
        grid-template-columns: 1fr !important;
    }

    .product-gallery {
        position: static !important;
    }

    .cross-sell__inner {
        grid-template-columns: 1fr !important;
    }

    .cross-sell__image {
        order: -1;
    }
}
/* ============================================================
   KLAVIYO REVIEWS
   ============================================================ */
.product-info__rating {
    margin: 0;
    min-height: 28px; /* prevents layout shift while widget loads */
}

.product-reviews {
    background: var(--white);
    padding: var(--space-lg) 0;
}

/* Override Klaviyo accent color to match navy */
#klaviyo-product-reviews-wrapper {
    --kl-reviews-reviews-accent-color: #0D1F3C !important;
}

/* ============================================================
   APPAREL PRODUCT TEMPLATE — Add these rules to style.css
   These complement the existing food product styles.
   ============================================================ */


/* ── Apparel product wrapper ──────────────────────────────────────────────── */
.kk-apparel-product {
    max-width: var(--container-max, 1280px);
    margin: 0 auto;
    padding: 0 24px 80px;
}


/* ── Product Hero: 2-col layout ───────────────────────────────────────────── */
.kk-product-hero {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 48px;
    align-items: start;
    padding: 40px 0 64px;
}

@media (max-width: 900px) {
    .kk-product-hero {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}


/* ── Gallery ──────────────────────────────────────────────────────────────── */
.kk-product-gallery-col {
    position: sticky;
    top: 100px;   /* below sticky header */
}

.kk-gallery-main-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 4px;
}

.kk-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s ease;
}

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

.kk-thumb-btn {
    width: 72px;
    height: 72px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 4px;
    background: #f5f5f5;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.15s ease;
    flex-shrink: 0;
}

.kk-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.kk-thumb-btn:hover {
    border-color: var(--color-navy, #0D1F3C);
}

.kk-thumb-btn.active {
    border-color: var(--color-navy, #0D1F3C);
}

@media (max-width: 900px) {
    .kk-product-gallery-col {
        position: static;
    }
    .kk-thumb-btn {
        width: 60px;
        height: 60px;
    }
}


/* ── Product info column ─────────────────────────────────────────────────── */
.kk-product-title {
    font-family: var(--font-heading, 'Albert Sans', sans-serif);
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--color-navy, #0D1F3C);
    margin: 0 0 12px;
    line-height: 1.25;
}

/* Klaviyo star rating sits just below title */
.kk-product-info-col .klaviyo-star-rating-widget {
    margin-bottom: 16px;
}

.kk-product-short-desc {
    font-family: var(--font-body, 'Barlow', sans-serif);
    font-size: 1rem;
    color: var(--color-text, #3A3A3A);
    line-height: 1.65;
    margin-bottom: 20px;
}

.kk-product-short-desc p { margin: 0; }


/* ── Price ───────────────────────────────────────────────────────────────── */
.kk-product-price {
    margin-bottom: 24px;
}

.kk-price {
    font-family: var(--font-heading, 'Albert Sans', sans-serif);
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--color-navy, #0D1F3C);
}


/* ── Selector groups (color + size) ──────────────────────────────────────── */
.kk-selector-group {
    margin-bottom: 20px;
}

.kk-selector-label {
    font-family: var(--font-body, 'Barlow', sans-serif);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-navy, #0D1F3C);
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}

.kk-selector-chosen {
    font-weight: 400;
    color: var(--color-text, #3A3A3A);
}

.kk-selector-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Shared selector button style */
.kk-selector-btn {
    font-family: var(--font-body, 'Barlow', sans-serif);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 8px 14px;
    min-width: 44px;
    border: 1.5px solid var(--color-navy, #0D1F3C);
    border-radius: 4px;
    background: #fff;
    color: var(--color-navy, #0D1F3C);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    letter-spacing: 0.02em;
    line-height: 1;
}

.kk-selector-btn:hover {
    background: var(--color-navy, #0D1F3C);
    color: #fff;
}

.kk-selector-btn.active,
.kk-selector-btn[aria-checked="true"] {
    background: var(--color-navy, #0D1F3C);
    color: #fff;
    border-color: var(--color-navy, #0D1F3C);
}


/* ── Size chart toggle ───────────────────────────────────────────────────── */
.kk-size-chart-toggle {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.8125rem;
    color: var(--color-crimson, #8B1A1A);
    text-decoration: underline;
    cursor: pointer;
}

.kk-size-chart {
    margin-top: 12px;
    padding: 16px;
    background: #f7f7f7;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    overflow-x: auto;
}

.kk-size-table {
    border-collapse: collapse;
    font-size: 0.8125rem;
    font-family: var(--font-body, 'Barlow', sans-serif);
    width: 100%;
}

.kk-size-table th,
.kk-size-table td {
    padding: 6px 12px;
    border: 1px solid #d0d0d0;
    text-align: left;
}

.kk-size-table thead th {
    background: var(--color-navy, #0D1F3C);
    color: #fff;
    font-weight: 600;
}


/* ── Validation message ──────────────────────────────────────────────────── */
.kk-selector-validation {
    font-size: 0.875rem;
    color: var(--color-crimson, #8B1A1A);
    margin-bottom: 12px;
    font-family: var(--font-body, 'Barlow', sans-serif);
}


/* ── Qty + ATC row ───────────────────────────────────────────────────────── */
.kk-atc-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.kk-qty-control {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--color-navy, #0D1F3C);
    border-radius: 4px;
    overflow: hidden;
    height: 48px;
}

.kk-qty-btn {
    width: 40px;
    height: 100%;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--color-navy, #0D1F3C);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
    padding: 0;
    line-height: 1;
}

.kk-qty-btn:hover {
    background: #f0f0f0;
}

.kk-qty-input {
    width: 48px;
    height: 100%;
    border: none;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    text-align: center;
    font-size: 1rem;
    font-family: var(--font-body, 'Barlow', sans-serif);
    color: var(--color-navy, #0D1F3C);
    -moz-appearance: textfield;
    appearance: textfield;
}

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

.kk-atc-btn {
    flex: 1;
    min-width: 160px;
    height: 48px;
    font-family: var(--font-heading, 'Albert Sans', sans-serif);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0 28px;
    background: var(--color-navy, #0D1F3C);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.kk-atc-btn:hover:not(:disabled) {
    background: #162d52;
}

.kk-atc-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}


/* ── ATC feedback ────────────────────────────────────────────────────────── */
.kk-atc-feedback {
    font-size: 0.875rem;
    font-family: var(--font-body, 'Barlow', sans-serif);
    min-height: 1.2em;
}

.kk-atc-feedback.kk-atc-success { color: #1a6b2a; }
.kk-atc-feedback.kk-atc-error   { color: var(--color-crimson, #8B1A1A); }


/* ── Printful note ───────────────────────────────────────────────────────── */
.kk-printful-note {
    font-size: 0.8125rem;
    color: #666;
    font-family: var(--font-body, 'Barlow', sans-serif);
    margin: 4px 0 0;
}


/* ── Long description + video section ────────────────────────────────────── */
.kk-product-desc-section {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 48px;
    align-items: start;
    padding: 60px 0;
    border-top: 1px solid #e8e8e8;
}

@media (max-width: 900px) {
    .kk-product-desc-section {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.kk-desc-body h2 {
    font-family: var(--font-heading, 'Albert Sans', sans-serif);
    font-size: clamp(1.25rem, 2.2vw, 1.625rem);
    font-weight: 700;
    color: var(--color-navy, #0D1F3C);
    margin: 0 0 20px;
}

.kk-desc-body h3,
.kk-desc-body h4 {
    font-family: var(--font-heading, 'Albert Sans', sans-serif);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-navy, #0D1F3C);
    margin: 0 0 12px;
}

.kk-desc-body p {
    font-family: var(--font-body, 'Barlow', sans-serif);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text, #3A3A3A);
    margin: 0 0 16px;
}

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

.kk-desc-body em {
    font-style: italic;
    color: var(--color-navy, #0D1F3C);
}

.kk-product-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}


/* ── Tabs ────────────────────────────────────────────────────────────────── */
.kk-tabs-section {
    border-top: 1px solid #e8e8e8;
    padding: 48px 0;
}

.kk-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e8e8e8;
    margin-bottom: 24px;
}

.kk-tab-btn {
    font-family: var(--font-heading, 'Albert Sans', sans-serif);
    font-size: 0.9375rem;
    font-weight: 600;
    color: #777;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 24px;
    cursor: pointer;
    margin-bottom: -2px;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.kk-tab-btn:hover {
    color: var(--color-navy, #0D1F3C);
}

.kk-tab-btn.active {
    color: var(--color-navy, #0D1F3C);
    border-bottom-color: var(--color-crimson, #8B1A1A);
}

.kk-tab-panel {
    font-family: var(--font-body, 'Barlow', sans-serif);
    font-size: 1rem;
    color: var(--color-text, #3A3A3A);
    line-height: 1.7;
}

.kk-tab-panel p { margin: 0; }


/* ── Reviews section ─────────────────────────────────────────────────────── */
.kk-reviews-section {
    border-top: 1px solid #e8e8e8;
    padding: 48px 0;
}


/* ── Related products ────────────────────────────────────────────────────── */
.kk-related-section {
    border-top: 1px solid #e8e8e8;
    padding: 48px 0 0;
}

.kk-section-heading {
    font-family: var(--font-heading, 'Albert Sans', sans-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-navy, #0D1F3C);
    margin: 0 0 28px;
}

.kk-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .kk-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .kk-related-grid {
        grid-template-columns: 1fr;
    }
}

.kk-related-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.kk-related-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.kk-related-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
    overflow: hidden;
}

.kk-related-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.kk-related-card:hover .kk-related-img-wrap img {
    transform: scale(1.03);
}

.kk-related-info {
    padding: 14px 16px;
}

.kk-related-title {
    font-family: var(--font-heading, 'Albert Sans', sans-serif);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-navy, #0D1F3C);
    margin: 0 0 6px;
    line-height: 1.3;
}

.kk-related-price {
    font-family: var(--font-body, 'Barlow', sans-serif);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text, #3A3A3A);
}

/* === Breadcrumb Wrapper === */
.kk-breadcrumb {
    width: 100%;
    max-width: 1200px; /* match your product container */
    margin: 24px auto 20px auto;
    padding: 12px 20px;
    
    background: #f8f9fb;
    border-radius: 8px;
    
    font-size: 14px;
    line-height: 1.4;
}

/* === Breadcrumb List === */
.kk-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    
    list-style: none;
    margin: 0;
    padding: 0;
}

/* === Breadcrumb Items === */
.kk-breadcrumb li {
    display: flex;
    align-items: center;
    color: #6b7280; /* subtle gray */
}

/* === Links === */
.kk-breadcrumb a {
    color: #1f3a5f; /* match your brand navy */
    text-decoration: none;
    transition: color 0.2s ease;
}

.kk-breadcrumb a:hover {
    color: #0f2744;
    text-decoration: underline;
}

/* === Current Page === */
.kk-breadcrumb span[aria-current="page"] {
    color: #111827;
    font-weight: 500;
}

/* === Separator === */
.kk-breadcrumb__sep {
    margin: 0 8px;
    color: #9ca3af;
}

/* === Positioning Above Product Content === */
/* Adjust selector based on your theme (Divi/WooCommerce typical structure) */
.product .kk-breadcrumb,
.woocommerce div.product .kk-breadcrumb {
    margin-bottom: 24px;
}

/* Optional: tighter spacing on mobile */
@media (max-width: 768px) {
    .kk-breadcrumb {
        padding: 10px 14px;
        font-size: 13px;
    }

    .kk-breadcrumb__sep {
        margin: 0 6px;
    }
}
/* ============================================================
   SIDE CART — matches kenzen_render_side_cart() output
   ============================================================ */

.kk-side-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.kk-side-cart-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.kk-side-cart {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 420px;
    background: var(--white);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}

.kk-side-cart.is-open {
    transform: translateX(0);
}

/* Header */
.kk-side-cart__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    flex-shrink: 0;
}

.kk-side-cart__title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
    margin: 0;
}

.kk-side-cart__title svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.kk-side-cart__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--crimson);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
}

.kk-side-cart__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: background var(--transition);
}

.kk-side-cart__close:hover {
    background: var(--off-white);
}

/* Body */
.kk-side-cart__body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Empty state */
.kk-side-cart__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 3rem 1.5rem;
    text-align: center;
    flex: 1;
}

.kk-side-cart__empty svg {
    width: 48px;
    height: 48px;
    color: var(--light-gray);
}

.kk-side-cart__empty p {
    font-size: 0.9375rem;
    color: #3A3A3A;
    margin: 0;
}

.kk-side-cart__shop-btn {
    border-radius: 10px;
}

/* Items list */
.kk-side-cart__items {
    padding: 0 1.5rem;
    flex: 1;
}

.kk-side-cart__item {
    display: grid;
    grid-template-columns: 72px 1fr 20px;
    gap: 0.875rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
    align-items: start;
}

.kk-side-cart__item:last-child {
    border-bottom: none;
}

.kk-side-cart__img-link {
    display: block;
    width: 72px;
    height: 72px;
    background: var(--off-white);
    overflow: hidden;
    flex-shrink: 0;
}

.kk-side-cart__img-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.kk-side-cart__img-placeholder {
    width: 72px;
    height: 72px;
    background: var(--off-white);
}

.kk-side-cart__item-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.kk-side-cart__item-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
    margin: 0;
}

.kk-side-cart__item-name a {
    color: inherit;
    transition: color var(--transition);
}

.kk-side-cart__item-name a:hover {
    color: var(--crimson);
}

.kk-side-cart__item-meta {
    font-size: 0.75rem;
    color: #3A3A3A;
    margin: 0;
}

.kk-side-cart__item-price {
    font-size: 0.8125rem;
    color: #3A3A3A;
    margin: 0.25rem 0 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.kk-sc-line {
    color: var(--navy);
    font-weight: 700;
}

.kk-sc-x,
.kk-sc-line-sep {
    color: #3A3A3A;
    opacity: 0.5;
}

.kk-side-cart__remove {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3A3A3A;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color var(--transition);
    flex-shrink: 0;
}

.kk-side-cart__remove:hover {
    color: var(--crimson);
}

.kk-side-cart__remove svg {
    width: 14px;
    height: 14px;
}

/* Footer */
.kk-side-cart__footer {
    padding: 1.25rem 1.5rem;
    border-top: 2px solid var(--light-gray);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.kk-side-cart__subtotal {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.875rem;
    color: #3A3A3A;
}

.kk-side-cart__subtotal strong {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy);
}

.kk-sc-view-cart {
    display: block;
    text-align: center;
    padding: 0.7rem 1rem;
    border: 2px solid var(--navy);
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--navy);
    background: transparent;
    transition: background var(--transition), color var(--transition);
}

.kk-sc-view-cart:hover {
    background: var(--navy);
    color: var(--white);
}

.kk-sc-checkout {
    display: block;
    text-align: center;
    padding: 0.85rem 1rem;
    border: 2px solid var(--navy);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--navy);
    color: var(--white);
    transition: background var(--transition), border-color var(--transition);
}

.kk-sc-checkout:hover {
    background: #081528;
    border-color: #081528;
}

/* ============================================================
   CART PAGE
   ============================================================ */

.kk-cart-page {
    padding-bottom: var(--space-xl);
}

/* Breadcrumb already styled globally via .kk-breadcrumb */

/* ── Empty state ─────────────────────────────────────────────── */
.kk-cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 5rem 0;
    text-align: center;
}

.kk-cart-empty__icon-wrap {
    width: 64px;
    height: 64px;
    color: var(--light-gray);
}

.kk-cart-empty__icon-wrap svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.25;
}

.kk-cart-empty__heading {
    font-size: 1.6rem;
    color: var(--navy);
    margin: 0;
}

.kk-cart-empty__sub {
    font-size: 0.9375rem;
    color: #3A3A3A;
    margin: 0;
}

/* ── Page layout: main + sidebar ────────────────────────────── */
.kk-cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-lg);
    align-items: start;
    padding-top: var(--space-md);
}

.kk-cart-title {
    font-size: 1.5rem;
    color: var(--navy);
    margin: 0 0 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.kk-cart-count-label {
    font-size: 0.875rem;
    font-weight: 400;
    color: #3A3A3A;
}

/* ── Cart Table ──────────────────────────────────────────────── */
.kk-cart-table {
    display: flex;
    flex-direction: column;
    border-top: 2px solid var(--navy);
}

.kk-cart-table__header {
    display: grid;
    grid-template-columns: 24px 80px 1fr 90px 120px 90px;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--light-gray);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3A3A3A;
    align-items: center;
}

/* Cart item row */
.kk-cart-item {
    display: grid;
    grid-template-columns: 24px 80px 1fr 90px 120px 90px;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--light-gray);
    align-items: center;
}

.kk-cart-item__remove {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3A3A3A;
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition);
    flex-shrink: 0;
    padding: 0;
}

.kk-cart-item__remove:hover {
    color: var(--crimson);
}

.kk-cart-item__remove svg {
    width: 16px;
    height: 16px;
}

.kk-cart-item__img-link {
    display: block;
    width: 80px;
    height: 80px;
    background: var(--off-white);
    overflow: hidden;
    flex-shrink: 0;
}

.kk-cart-item__img-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.kk-cart-item__img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--off-white);
}

.kk-cart-item__info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.kk-cart-item__name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
    transition: color var(--transition);
}

.kk-cart-item__name:hover {
    color: var(--crimson);
}

.kk-cart-item__variant {
    font-size: 0.75rem;
    color: #3A3A3A;
    display: block;
}

.kk-cart-item__price {
    font-size: 0.875rem;
    color: #3A3A3A;
}

.kk-cart-item__total {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--navy);
}

/* Qty stepper inside table */
.kk-qty-ctrl {
    display: flex;
    align-items: center;
    border: 1px solid var(--light-gray);
    width: fit-content;
}

.kk-qty-ctrl__btn {
    width: 32px;
    height: 36px;
    background: var(--off-white);
    border: none;
    font-size: 1.1rem;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
    flex-shrink: 0;
}

.kk-qty-ctrl__btn:hover {
    background: var(--light-gray);
}

.kk-qty-ctrl__input {
    width: 40px;
    height: 36px;
    border: none;
    border-left: 1px solid var(--light-gray);
    border-right: 1px solid var(--light-gray);
    text-align: center;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy);
    -moz-appearance: textfield;
    appearance: textfield;
    background: var(--white);
}

.kk-qty-ctrl__input::-webkit-outer-spin-button,
.kk-qty-ctrl__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* ── Cart Actions Row ────────────────────────────────────────── */
.kk-cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.kk-coupon-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.kk-coupon-input {
    height: 42px;
    padding: 0 1rem;
    border: 1px solid var(--light-gray);
    background: var(--white);
    font-family: var(--font-primary);
    font-size: 0.875rem;
    color: var(--navy);
    width: 180px;
    transition: border-color var(--transition);
}

.kk-coupon-input:focus {
    outline: none;
    border-color: var(--navy);
}

.kk-coupon-btn {
    height: 42px;
    border-radius: 10px;
    white-space: nowrap;
}

.kk-keep-shopping {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #3A3A3A;
    letter-spacing: 0.03em;
    transition: color var(--transition);
}

.kk-keep-shopping svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.kk-keep-shopping:hover {
    color: var(--navy);
}

/* ── Upsell Banner ───────────────────────────────────────────── */
.kk-upsell-banner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    border-left: 4px solid var(--navy);
    padding: 1.1rem 1.25rem;
    margin-top: 1.5rem;
}

.kk-upsell-banner--met {
    border-left-color: #1a6b3a;
    background: #f0faf4;
}

.kk-upsell-banner__icon {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.kk-upsell-banner__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kk-upsell-banner__headline {
    font-size: 0.875rem;
    color: var(--navy);
    margin: 0;
    line-height: 1.4;
}

.kk-upsell-banner__sub {
    font-size: 0.75rem;
    color: #3A3A3A;
    margin: 0;
}

.kk-upsell-progress {
    height: 6px;
    background: var(--light-gray);
    border-radius: 3px;
    overflow: hidden;
}

.kk-upsell-progress__bar {
    height: 100%;
    background: var(--navy);
    border-radius: 3px;
    transition: width 0.4s ease;
}

/* ── Order Summary Sidebar ────────────────────────────────────── */
.kk-cart-summary {
    background: var(--off-white);
    padding: 1.75rem;
    position: sticky;
    top: calc(var(--nav-height) + 1.5rem);
}

.kk-cart-summary__title {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
    margin: 0 0 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--navy);
}

.kk-cart-summary__lines {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 1rem;
}

.kk-cart-summary__line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #3A3A3A;
}

.kk-cart-summary__line strong {
    color: var(--navy);
    font-weight: 700;
}

.kk-summary-note {
    font-size: 0.75rem;
    color: #3A3A3A;
    font-style: italic;
}

.kk-cart-summary__total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.25rem;
}

.kk-cart-summary__total-label {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--navy);
}

.kk-cart-summary__total-amount {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy);
}

/* Coupon feedback */
.kk-coupon-feedback {
    font-size: 0.8125rem;
    font-weight: 600;
    min-height: 1.4rem;
    margin-bottom: 0.5rem;
    color: #1a6b3a;
}

.kk-coupon-feedback.is-error {
    color: var(--crimson);
}

/* Checkout button */
.kk-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: var(--navy);
    color: var(--white);
    border: 2px solid var(--navy);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background var(--transition), border-color var(--transition);
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.kk-checkout-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.kk-checkout-btn:hover {
    background: #081528;
    border-color: #081528;
}

/* Trust badges */
.kk-cart-summary__trust {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

.kk-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #3A3A3A;
}

.kk-trust-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--navy);
}

/* ── Suggestions Grid ─────────────────────────────────────────── */
.kk-cart-suggestions {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--light-gray);
}

.kk-cart-suggestions__header {
    margin-bottom: 1.75rem;
}

.kk-cart-suggestions__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--crimson);
    margin: 0 0 0.4rem;
}

.kk-cart-suggestions__heading {
    font-size: 1.4rem;
    color: var(--navy);
    margin: 0;
}

.kk-suggestions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ── Screen-reader only utility ──────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ============================================================
   CART PAGE — RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .kk-cart-layout {
        grid-template-columns: 1fr 300px;
        gap: var(--space-md);
    }
}

@media (max-width: 860px) {
    .kk-cart-layout {
        grid-template-columns: 1fr;
    }

    .kk-cart-summary {
        position: static;
    }

    .kk-cart-table__header {
        display: none; /* hide column labels — data-label attributes used instead */
    }

    .kk-cart-item {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto auto;
        gap: 0.75rem;
        position: relative;
        padding: 1.25rem 0;
    }

    .kk-cart-item__remove {
        position: absolute;
        top: 1.25rem;
        right: 0;
    }

    .kk-cart-item__img-link {
        grid-row: 1 / 3;
    }

    .kk-cart-item__info {
        grid-column: 2;
        grid-row: 1;
    }

    .kk-cart-item__price {
        display: none; /* line total replaces this on mobile */
    }

    .kk-cart-item__qty {
        grid-column: 2;
        grid-row: 2;
    }

    .kk-cart-item__total {
        grid-column: 2;
        grid-row: 2;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-top: -36px; /* align with qty */
    }

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

@media (max-width: 540px) {
    .kk-coupon-form {
        width: 100%;
    }

    .kk-coupon-input {
        flex: 1;
        width: auto;
        min-width: 0;
    }

    .kk-cart-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .kk-suggestions-grid {
        grid-template-columns: 1fr;
    }

    .cart-drawer {
        max-width: 100%;
    }
}
/* ============================================================
   CHECKOUT PAGE
   ============================================================ */

.kk-checkout-page { padding-bottom: var(--space-xl); }

.kk-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-lg);
    align-items: start;
    padding-top: var(--space-md);
}

.kk-checkout-title { font-size: 1.5rem; color: var(--navy); margin: 0 0 1.5rem; }

.kk-checkout-login-notice {
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    padding: 0.875rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #3A3A3A;
}
.kk-checkout-login-notice a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.kk-checkout-section { border: none; border-top: 2px solid var(--navy); padding: 0; margin: 0 0 2rem; }
.kk-checkout-section--flat { margin-bottom: 1.5rem; }

.kk-checkout-section__title {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 0.9375rem; font-weight: 700; color: var(--navy);
    padding: 1rem 0 1.25rem; letter-spacing: 0.02em; width: 100%;
}

.kk-checkout-section__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; background: var(--navy); color: var(--white);
    font-size: 0.75rem; font-weight: 700; border-radius: 50%; flex-shrink: 0;
}

.kk-field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.kk-field:last-child { margin-bottom: 0; }

.kk-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.kk-field-row--thirds { grid-template-columns: 1fr 100px 120px; }

.kk-field label { font-size: 0.8125rem; font-weight: 600; color: var(--navy); letter-spacing: 0.02em; }
.kk-required { color: var(--crimson); margin-left: 0.1rem; }
.kk-optional { font-weight: 400; color: #3A3A3A; font-size: 0.75rem; }

.kk-checkout-form input[type="text"],
.kk-checkout-form input[type="email"],
.kk-checkout-form input[type="tel"],
.kk-checkout-form select,
.kk-checkout-form textarea {
    height: 44px; padding: 0 0.875rem;
    border: 1px solid var(--light-gray); background: var(--white);
    font-family: var(--font-primary); font-size: 0.9375rem; color: var(--navy);
    width: 100%; transition: border-color var(--transition);
    border-radius: 0; -webkit-appearance: none; appearance: none;
}
.kk-checkout-form textarea { height: auto; padding: 0.75rem 0.875rem; resize: vertical; }
.kk-checkout-form select {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%230D1F3C'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 0.75rem center;
    background-size: 10px; padding-right: 2rem; cursor: pointer;
}
.kk-checkout-form input:focus,
.kk-checkout-form select:focus,
.kk-checkout-form textarea:focus { outline: none; border-color: var(--navy); }

.kk-field-invalid { border-color: var(--crimson) !important; }
.kk-field-error { font-size: 0.75rem; color: var(--crimson); min-height: 1rem; font-weight: 500; }

.kk-field--checkbox { flex-direction: row; align-items: center; gap: 0; }
.kk-checkbox-label { display: flex; align-items: center; gap: 0.6rem; font-size: 0.875rem; color: #3A3A3A; cursor: pointer; font-weight: 400; }
.kk-checkbox-label input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--navy); cursor: pointer; flex-shrink: 0; }

.kk-saved-addresses { margin-bottom: 1rem; }
.kk-saved-addresses__label { font-size: 0.8125rem; font-weight: 600; color: var(--navy); display: block; margin-bottom: 0.35rem; }
.kk-saved-addresses__select {
    width: 100%; height: 44px; padding: 0 2rem 0 0.875rem;
    border: 1px solid var(--navy); background: var(--white);
    font-family: var(--font-primary); font-size: 0.875rem; color: var(--navy);
    font-weight: 500; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%230D1F3C'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 0.75rem center;
    background-size: 10px; -webkit-appearance: none; appearance: none;
}

.kk-ssl-badge {
    display: inline-flex; align-items: center; gap: 0.3rem;
    font-size: 0.7rem; font-weight: 600; color: #1a6b3a;
    letter-spacing: 0.06em; text-transform: uppercase; margin-left: auto;
}
.kk-ssl-badge svg { width: 14px; height: 14px; }

.kk-card-icons { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; }
.kk-card-icon {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.25rem 0.5rem; border: 1px solid var(--light-gray);
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.04em;
    color: #3A3A3A; background: var(--off-white); border-radius: 3px;
}

.kk-card-field-wrap { position: relative; }
.kk-card-field-wrap input { width: 100%; }
.kk-card-type-icon {
    position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
    font-size: 0.7rem; font-weight: 700; color: #3A3A3A; pointer-events: none;
}

.kk-cvv-help {
    display: inline-flex; align-items: center; justify-content: center;
    width: 16px; height: 16px; border-radius: 50%; border: 1px solid #3A3A3A;
    background: none; font-size: 0.65rem; font-weight: 700; color: #3A3A3A;
    cursor: pointer; margin-left: 0.3rem; vertical-align: middle;
}
.kk-cvv-tooltip {
    margin-top: 0.4rem; padding: 0.6rem 0.875rem;
    background: var(--navy); color: var(--white);
    font-size: 0.75rem; line-height: 1.5; border-radius: 4px;
}

.kk-notes-label { font-size: 0.8125rem; font-weight: 600; color: var(--navy); display: block; margin-bottom: 0.35rem; }

.kk-checkout-error-summary {
    background: #fff0f0; border: 1px solid var(--crimson);
    border-left: 4px solid var(--crimson); padding: 1rem 1.25rem; margin-bottom: 1.25rem;
}
.kk-checkout-error-summary__heading { font-size: 0.875rem; font-weight: 700; color: var(--crimson); margin: 0 0 0.5rem; }
.kk-checkout-error-summary ul { list-style: disc; padding-left: 1.25rem; margin: 0; }
.kk-checkout-error-summary li { font-size: 0.8125rem; color: var(--crimson); margin-bottom: 0.2rem; }

.kk-place-order-btn {
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    width: 100%; background: var(--navy); color: var(--white);
    border: 2px solid var(--navy); border-radius: 10px; padding: 1.1rem 2rem;
    font-family: var(--font-primary); font-size: 1rem; font-weight: 700;
    letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer;
    transition: background var(--transition), border-color var(--transition); margin-bottom: 1rem;
}
.kk-place-order-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.kk-place-order-btn:hover:not(:disabled) { background: #081528; border-color: #081528; }
.kk-place-order-btn:disabled { opacity: 0.7; cursor: not-allowed; }

.kk-btn-spinner { display: inline-flex; align-items: center; }
.kk-spinner-ring {
    display: block; width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.4); border-top-color: var(--white);
    border-radius: 50%; animation: kk-spin 0.7s linear infinite;
}

.kk-checkout-terms { font-size: 0.75rem; color: #3A3A3A; text-align: center; margin: 0; }
.kk-checkout-terms a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }

.kk-checkout-summary {
    background: var(--off-white); padding: 1.75rem;
    position: sticky; top: calc(var(--nav-height) + 1.5rem);
}
.kk-checkout-summary__title {
    font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--navy); margin: 0 0 1.25rem; padding-bottom: 1rem; border-bottom: 2px solid var(--navy);
}
.kk-checkout-summary__items {
    display: flex; flex-direction: column; gap: 0.75rem;
    padding-bottom: 1.25rem; border-bottom: 1px solid var(--light-gray); margin-bottom: 1.25rem;
}
.kk-checkout-summary__item { display: grid; grid-template-columns: 56px 1fr auto; gap: 0.75rem; align-items: start; }
.kk-checkout-summary__img-wrap { position: relative; width: 56px; height: 56px; background: var(--white); flex-shrink: 0; }
.kk-checkout-summary__img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.kk-checkout-summary__img-placeholder { width: 100%; height: 100%; background: var(--light-gray); }
.kk-checkout-summary__qty-badge {
    position: absolute; top: -6px; right: -6px; width: 18px; height: 18px;
    background: var(--navy); color: var(--white); font-size: 0.65rem; font-weight: 700;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.kk-checkout-summary__item-info { display: flex; flex-direction: column; gap: 0.15rem; }
.kk-checkout-summary__item-name { font-size: 0.8125rem; font-weight: 600; color: var(--navy); line-height: 1.3; margin: 0; }
.kk-checkout-summary__item-meta { font-size: 0.75rem; color: #3A3A3A; margin: 0; }
.kk-checkout-summary__item-price { font-size: 0.875rem; font-weight: 700; color: var(--navy); white-space: nowrap; margin: 0; }

.kk-checkout-coupon { margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--light-gray); }
.kk-checkout-coupon__row { display: flex; gap: 0.5rem; }
.kk-checkout-coupon__input {
    flex: 1; height: 40px; padding: 0 0.875rem; border: 1px solid var(--light-gray);
    background: var(--white); font-family: var(--font-primary); font-size: 0.875rem;
    color: var(--navy); transition: border-color var(--transition); min-width: 0;
}
.kk-checkout-coupon__input:focus { outline: none; border-color: var(--navy); }
.kk-checkout-coupon__btn {
    height: 40px; padding: 0 1rem; background: var(--navy); color: var(--white); border: none;
    font-family: var(--font-primary); font-size: 0.8125rem; font-weight: 600;
    letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer;
    border-radius: 6px; white-space: nowrap; transition: background var(--transition); flex-shrink: 0;
}
.kk-checkout-coupon__btn:hover { background: #081528; }
.kk-checkout-coupon__feedback { font-size: 0.75rem; font-weight: 600; margin-top: 0.4rem; min-height: 1rem; }
.kk-checkout-coupon__feedback.is-success { color: #1a6b3a; }
.kk-checkout-coupon__feedback.is-error { color: var(--crimson); }

.kk-checkout-summary__totals { display: flex; flex-direction: column; gap: 0.6rem; }
.kk-checkout-summary__line { display: flex; justify-content: space-between; align-items: center; font-size: 0.875rem; color: #3A3A3A; }
.kk-checkout-summary__total-row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding-top: 0.75rem; border-top: 1px solid var(--light-gray); margin-top: 0.25rem;
    font-size: 0.875rem; font-weight: 700; color: var(--navy);
}
.kk-checkout-summary__total-row strong { font-size: 1.25rem; font-weight: 800; }

.kk-checkout-trust { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--light-gray); }

@media (max-width: 1024px) {
    .kk-checkout-layout { grid-template-columns: 1fr 320px; gap: var(--space-md); }
}
@media (max-width: 860px) {
    .kk-checkout-layout { grid-template-columns: 1fr; }
    .kk-checkout-summary { position: static; order: -1; }
    .kk-field-row { grid-template-columns: 1fr; }
    .kk-field-row--thirds { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .kk-field-row--thirds { grid-template-columns: 1fr; }
}

/* ============================================================
   MY ACCOUNT PAGE
   ============================================================ */

.kk-account-page { padding-bottom: var(--space-xl); }

/* ── AUTH WRAP (logged out) ──────────────────────────────────── */
.kk-auth-wrap { max-width: 480px; margin: var(--space-md) auto 0; }

.kk-auth-notice { padding: 0.875rem 1.25rem; margin-bottom: 1.25rem; font-size: 0.875rem; font-weight: 500; border-radius: 4px; }
.kk-auth-notice--success { background: #f0faf4; border: 1px solid #1a6b3a; color: #1a6b3a; }
.kk-auth-notice--error { background: #fff0f0; border: 1px solid var(--crimson); color: var(--crimson); }

.kk-auth-tabs { display: flex; border-bottom: 2px solid var(--navy); margin-bottom: 2rem; }

.kk-auth-tab {
    flex: 1; padding: 0.875rem 1rem;
    font-family: var(--font-primary); font-size: 0.875rem; font-weight: 700;
    letter-spacing: 0.05em; text-transform: uppercase; color: #3A3A3A;
    background: var(--off-white); border: none; border-bottom: 2px solid transparent;
    margin-bottom: -2px; cursor: pointer;
    transition: color var(--transition), background var(--transition);
}
.kk-auth-tab.is-active {
    background: var(--white); color: var(--navy); border-bottom-color: var(--white);
    border-top: 2px solid var(--navy); border-left: 1px solid var(--light-gray); border-right: 1px solid var(--light-gray);
}
.kk-auth-tab:not(.is-active):hover { color: var(--navy); background: var(--light-gray); }

.kk-auth-panel[hidden] { display: none; }
.kk-auth-panel.is-active { display: block; }

.kk-auth-form { display: flex; flex-direction: column; gap: 0; }
.kk-auth-form .kk-field { margin-bottom: 1.1rem; }
.kk-auth-form .kk-field label { display: flex; align-items: center; justify-content: space-between; font-size: 0.8125rem; font-weight: 600; color: var(--navy); margin-bottom: 0.35rem; }

.kk-forgot-link { font-size: 0.75rem; font-weight: 500; color: #3A3A3A; text-decoration: underline; text-underline-offset: 2px; transition: color var(--transition); }
.kk-forgot-link:hover { color: var(--navy); }

.kk-auth-form input[type="text"],
.kk-auth-form input[type="email"],
.kk-auth-form input[type="password"] {
    display: block; width: 100%; height: 44px; padding: 0 0.875rem;
    border: 1px solid var(--light-gray); background: var(--white);
    font-family: var(--font-primary); font-size: 0.9375rem; color: var(--navy);
    transition: border-color var(--transition); -webkit-appearance: none; appearance: none;
}
.kk-auth-form input:focus { outline: none; border-color: var(--navy); }

.kk-field-hint { font-size: 0.75rem; color: #3A3A3A; margin-top: 0.25rem; }

.kk-auth-feedback { font-size: 0.875rem; font-weight: 500; min-height: 1.25rem; margin-bottom: 0.75rem; }
.kk-auth-feedback--error { color: var(--crimson); }
.kk-auth-feedback--success { color: #1a6b3a; }

.kk-auth-submit {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    width: 100%; height: 48px; background: var(--navy); color: var(--white);
    border: 2px solid var(--navy); border-radius: 10px;
    font-family: var(--font-primary); font-size: 0.9375rem; font-weight: 700;
    letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer;
    transition: background var(--transition), border-color var(--transition); margin-bottom: 1.25rem;
}
.kk-auth-submit:hover:not(:disabled) { background: #081528; border-color: #081528; }
.kk-auth-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.kk-auth-switch { font-size: 0.8125rem; color: #3A3A3A; text-align: center; margin: 0; }

.kk-tab-switch-btn {
    background: none; border: none; font-family: var(--font-primary); font-size: inherit;
    font-weight: 600; color: var(--navy); cursor: pointer; text-decoration: underline;
    text-underline-offset: 2px; padding: 0; transition: color var(--transition);
}
.kk-tab-switch-btn:hover { color: var(--crimson); }

/* ── ACCOUNT LAYOUT ──────────────────────────────────────────── */
.kk-account-wrap { display: grid; grid-template-columns: 240px 1fr; gap: var(--space-lg); align-items: start; padding-top: var(--space-md); }

/* ── SIDEBAR NAV ─────────────────────────────────────────────── */
.kk-account-nav { position: sticky; top: calc(var(--nav-height) + 1.5rem); background: var(--off-white); padding: 1.5rem; display: flex; flex-direction: column; gap: 0; }

.kk-account-nav__user { display: flex; align-items: center; gap: 0.875rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--light-gray); margin-bottom: 1rem; }

.kk-account-nav__avatar { width: 40px; height: 40px; background: var(--navy); color: var(--white); font-size: 1rem; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.kk-account-nav__meta { min-width: 0; }
.kk-account-nav__name { font-size: 0.875rem; font-weight: 700; color: var(--navy); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kk-account-nav__email { font-size: 0.75rem; color: #3A3A3A; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.kk-account-nav__list { display: flex; flex-direction: column; gap: 0.2rem; list-style: none; padding: 0; margin: 0; }

.kk-account-nav__item {
    display: flex; align-items: center; gap: 0.6rem; width: 100%;
    padding: 0.7rem 0.75rem; font-family: var(--font-primary); font-size: 0.875rem;
    font-weight: 500; color: #3A3A3A; background: none; border: none; border-radius: 6px;
    cursor: pointer; text-align: left; transition: background var(--transition), color var(--transition);
}
.kk-account-nav__item svg { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.6; transition: opacity var(--transition); }
.kk-account-nav__item:hover { background: var(--light-gray); color: var(--navy); }
.kk-account-nav__item:hover svg { opacity: 1; }
.kk-account-nav__item.is-active { background: var(--navy); color: var(--white); font-weight: 700; }
.kk-account-nav__item.is-active svg { opacity: 1; }

.kk-account-nav__badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 0.35rem; background: var(--crimson); color: var(--white); font-size: 0.65rem; font-weight: 700; border-radius: 10px; margin-left: auto; }
.kk-account-nav__item.is-active .kk-account-nav__badge { background: var(--white); color: var(--navy); }

.kk-account-logout { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0.75rem; margin-top: 1rem; border-top: 1px solid var(--light-gray); padding-top: 1.2rem; font-size: 0.8125rem; font-weight: 500; color: #3A3A3A; transition: color var(--transition); }
.kk-account-logout svg { width: 16px; height: 16px; flex-shrink: 0; }
.kk-account-logout:hover { color: var(--crimson); }

/* ── PANELS ──────────────────────────────────────────────────── */
.kk-account-panels { min-width: 0; }
.kk-account-panel[hidden] { display: none; }
.kk-account-panel.is-active { display: block; }

.kk-account-panel__title { font-size: 1.375rem; color: var(--navy); margin: 0 0 1.75rem; padding-bottom: 1rem; border-bottom: 2px solid var(--navy); }

.kk-panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.75rem; padding-bottom: 1rem; border-bottom: 2px solid var(--navy); }
.kk-panel-header .kk-account-panel__title { margin: 0; padding: 0; border: none; }

/* ── DASHBOARD ───────────────────────────────────────────────── */
.kk-dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2rem; }

.kk-dashboard-card { background: var(--off-white); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.kk-dashboard-card__icon { width: 40px; height: 40px; color: var(--navy); margin-bottom: 0.25rem; }
.kk-dashboard-card__icon svg { width: 100%; height: 100%; }
.kk-dashboard-card h3 { font-size: 0.9375rem; color: var(--navy); margin: 0; }
.kk-dashboard-card p { font-size: 0.8125rem; color: #3A3A3A; margin: 0; line-height: 1.5; flex: 1; }

.kk-dashboard-link { display: inline-block; font-family: var(--font-primary); font-size: 0.8125rem; font-weight: 700; color: var(--navy); background: none; border: none; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 0; transition: color var(--transition); text-align: left; margin-top: 0.25rem; }
.kk-dashboard-link:hover { color: var(--crimson); }

.kk-dashboard-default-addr { background: var(--off-white); border-left: 4px solid var(--navy); padding: 1.1rem 1.25rem; display: flex; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; }
.kk-dashboard-default-addr__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); margin: 0 0 0.4rem; flex: 1 1 100%; }
.kk-dashboard-default-addr__value { font-size: 0.875rem; color: #3A3A3A; line-height: 1.7; font-style: normal; flex: 1; }
.kk-dashboard-link--inline { flex-shrink: 0; align-self: flex-start; margin-top: 0.2rem; }
/* ── ORDERS PLACEHOLDER ──────────────────────────────────────── */
.kk-orders-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 4rem 2rem; text-align: center; background: var(--off-white); }
.kk-orders-placeholder svg { width: 56px; height: 56px; color: var(--light-gray); }
.kk-orders-placeholder__heading { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin: 0; }
.kk-orders-placeholder__sub { font-size: 0.875rem; color: #3A3A3A; margin: 0; max-width: 380px; }

/* ── ADDRESS CARDS ───────────────────────────────────────────── */
.kk-btn-add-address { display: flex; align-items: center; gap: 0.4rem; padding: 0.6rem 1.1rem; background: var(--navy); color: var(--white); border: none; border-radius: 8px; font-family: var(--font-primary); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; transition: background var(--transition); white-space: nowrap; }
.kk-btn-add-address svg { width: 16px; height: 16px; flex-shrink: 0; }
.kk-btn-add-address:hover { background: #081528; }

.kk-address-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; margin-bottom: 1.5rem; }

.kk-address-empty { grid-column: 1 / -1; padding: 3rem 2rem; text-align: center; background: var(--off-white); color: #3A3A3A; font-size: 0.9375rem; }
.kk-address-empty p { margin: 0 0 0.4rem; }
.kk-address-empty p:last-child { margin: 0; }

.kk-address-card { background: var(--off-white); border: 1px solid var(--light-gray); border-top: 3px solid var(--light-gray); padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; transition: border-top-color var(--transition); }
.kk-address-card.is-default { border-top-color: var(--navy); }

.kk-address-card__header { display: flex; align-items: center; gap: 0.6rem; }
.kk-address-card__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); }
.kk-address-card__default-badge { display: inline-flex; align-items: center; padding: 0.15rem 0.5rem; background: var(--navy); color: var(--white); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 20px; }
.kk-address-card__body { font-size: 0.875rem; color: #3A3A3A; line-height: 1.7; font-style: normal; flex: 1; }
.kk-address-card__actions { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; padding-top: 0.75rem; border-top: 1px solid var(--light-gray); }

.kk-addr-btn { font-family: var(--font-primary); font-size: 0.75rem; font-weight: 600; background: none; border: none; cursor: pointer; padding: 0; letter-spacing: 0.02em; transition: color var(--transition); text-decoration: underline; text-underline-offset: 2px; }
.kk-addr-edit { color: var(--navy); }
.kk-addr-edit:hover { color: var(--crimson); }
.kk-addr-set-default { color: #3A3A3A; }
.kk-addr-set-default:hover { color: var(--navy); }
.kk-addr-delete { color: #3A3A3A; margin-left: auto; }
.kk-addr-delete:hover { color: var(--crimson); }

/* ── ADDRESS FORM ────────────────────────────────────────────── */
.kk-address-form-wrap { background: var(--off-white); border: 1px solid var(--light-gray); border-top: 3px solid var(--navy); padding: 1.75rem; margin-top: 1rem; }
.kk-address-form-wrap[hidden] { display: none; }
.kk-address-form-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 0 0 1.5rem; }

.kk-address-form .kk-field { margin-bottom: 1rem; }
.kk-address-form .kk-field label { font-size: 0.8125rem; font-weight: 600; color: var(--navy); display: block; margin-bottom: 0.35rem; }

.kk-address-form input[type="text"],
.kk-address-form select {
    display: block; width: 100%; height: 44px; padding: 0 0.875rem;
    border: 1px solid var(--light-gray); background: var(--white);
    font-family: var(--font-primary); font-size: 0.9375rem; color: var(--navy);
    transition: border-color var(--transition); -webkit-appearance: none; appearance: none;
}
.kk-address-form select { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%230D1F3C'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 10px; padding-right: 2rem; cursor: pointer; }
.kk-address-form input:focus,
.kk-address-form select:focus { outline: none; border-color: var(--navy); }

.kk-label-row { display: flex; gap: 0.75rem; }
.kk-label-select { width: 180px; flex-shrink: 0; }

.kk-address-form__feedback { font-size: 0.875rem; font-weight: 500; min-height: 1.25rem; margin-bottom: 0.75rem; }
.kk-address-form__feedback.is-success { color: #1a6b3a; }
.kk-address-form__feedback.is-error { color: var(--crimson); }

.kk-address-form__actions { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }

.kk-address-form__save { display: flex; align-items: center; justify-content: center; gap: 0.5rem; height: 44px; padding: 0 2rem; background: var(--navy); color: var(--white); border: 2px solid var(--navy); border-radius: 8px; font-family: var(--font-primary); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; transition: background var(--transition), border-color var(--transition); }
.kk-address-form__save:hover:not(:disabled) { background: #081528; border-color: #081528; }
.kk-address-form__save:disabled { opacity: 0.7; cursor: not-allowed; }

.kk-address-form__cancel { font-family: var(--font-primary); font-size: 0.875rem; font-weight: 600; color: #3A3A3A; background: none; border: none; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; padding: 0; transition: color var(--transition); }
.kk-address-form__cancel:hover { color: var(--crimson); }

/* ── ACCOUNT DETAILS FORM ────────────────────────────────────── */
.kk-account-form .kk-checkout-section { margin-bottom: 1.75rem; }
.kk-account-form__feedback { font-size: 0.875rem; font-weight: 600; min-height: 1.25rem; margin-bottom: 1rem; }
.kk-account-form__feedback.is-success { color: #1a6b3a; }
.kk-account-form__feedback.is-error { color: var(--crimson); }

.kk-account-form input[type="text"],
.kk-account-form input[type="email"],
.kk-account-form input[type="password"] {
    display: block; width: 100%; height: 44px; padding: 0 0.875rem;
    border: 1px solid var(--light-gray); background: var(--white);
    font-family: var(--font-primary); font-size: 0.9375rem; color: var(--navy);
    transition: border-color var(--transition); -webkit-appearance: none; appearance: none;
}
.kk-account-form input:focus { outline: none; border-color: var(--navy); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
    .kk-account-wrap { grid-template-columns: 1fr; }
    .kk-account-nav { position: static; }
    .kk-account-nav__list { flex-direction: row; flex-wrap: wrap; gap: 0.4rem; }
    .kk-account-nav__item { flex: 0 0 auto; padding: 0.5rem 0.875rem; font-size: 0.8125rem; }
    .kk-account-nav__user { margin-bottom: 1rem; }
    .kk-account-logout { margin-top: 0.5rem; padding-top: 0.75rem; }
    .kk-dashboard-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .kk-auth-wrap { margin-top: var(--space-sm); }
    .kk-dashboard-grid { grid-template-columns: 1fr; }
    .kk-address-list { grid-template-columns: 1fr; }
    .kk-label-row { flex-direction: column; }
    .kk-label-select { width: 100%; }
    .kk-address-form-wrap { padding: 1.25rem; }
    .kk-field-row { grid-template-columns: 1fr; }
}
