/* ═══════════════════════════════════════════════════════════
   MILTINA HUMANA — Main Stylesheet
   Tokens defined in style.css :root
   ═══════════════════════════════════════════════════════════ */

/* ─── UTILITIES ─────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.text-green  { color: var(--green); }
.text-yellow { color: var(--yellow); }
.text-navy   { color: var(--navy); }
.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;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover  { opacity: .88; }
.btn:active { transform: scale(.97); }

.btn--navy    { background: var(--navy);   color: #fff;          border-color: var(--navy); }
.btn--yellow  { background: var(--yellow); color: var(--navy);   border-color: var(--yellow); }
.btn--outline { background: transparent;   color: var(--navy);   border-color: var(--navy); }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--sm  { padding: 8px 18px;  font-size: 12.5px; }
.btn--lg  { padding: 15px 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--pill  { border-radius: var(--radius-pill); }

/* ─── TAGS / PILLS ──────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: .4px;
  text-transform: uppercase;
  background: var(--blue-pale);
  color: var(--navy);
}
.tag--yellow { background: var(--yellow-lt); color: var(--navy-dark); }
.tag--green  { background: var(--green-lt);  color: var(--green); }

/* ─── TOP BAR ────────────────────────────────────────────── */
.top-bar {
  background: var(--navy-deep);
  padding: 7px 0;
}
.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar__info {
  font-size: 11.5px;
  color: var(--blue-soft);
  font-family: var(--font-body);
}
.top-bar__menu {
  display: flex;
  gap: 20px;
  list-style: none;
}
.top-bar__menu a {
  font-size: 11.5px;
  color: rgba(255,255,255,.65);
  font-family: var(--font-body);
  transition: color .15s;
}
.top-bar__menu a:hover { color: #fff; }

/* ─── SITE HEADER ────────────────────────────────────────── */
.site-header {
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 14px;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-icon {
  width: 46px;
  height: 46px;
  background: var(--navy);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-text { line-height: 1; }
.logo-text__name {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  font-family: var(--font-head);
  line-height: 1.05;
}
.logo-text__tagline {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  font-family: var(--font-head);
}

/* Search */
.site-header__search { flex: 1; max-width: 520px; }
.search-form { position: relative; }
.search-form .search-field {
  width: 100%;
  padding: 10px 50px 10px 18px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--text-light);
  outline: none;
  transition: border-color .2s;
}
.search-form .search-field:focus { border-color: var(--navy); }
.search-form .search-submit {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: var(--navy);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 13px;
}

/* Header actions */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.header-points {
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}
.header-points__label {
  display: block;
  font-size: 10px;
  color: var(--text-light);
  font-family: var(--font-body);
}
.header-points__value {
  display: block;
  font-size: 14px;
  font-weight: 900;
  color: var(--yellow);
  font-family: var(--font-head);
}

.header-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--off-white);
  border: 1.5px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: border-color .15s;
  text-decoration: none;
}
.header-icon-btn:hover { border-color: var(--navy); color: var(--navy); }

.header-cart {
  position: relative;
  width: 42px;
  height: 42px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: opacity .15s;
}
.header-cart:hover { opacity: .88; }
.header-cart__count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  border: 2px solid #fff;
}
.header-cart__count.is-empty { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .2s;
}

/* ─── CATEGORY NAV ───────────────────────────────────────── */
.category-nav {
  border-top: 1px solid var(--gray-light);
}
.category-nav .container {
  display: flex;
  align-items: stretch;
}
.category-nav__list {
  display: flex;
  align-items: stretch;
  list-style: none;
}
.category-nav__list .menu-item > a {
  display: block;
  padding: 10px 18px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-light);
  font-family: var(--font-head);
  border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
  text-decoration: none;
}
.category-nav__list .menu-item.current-menu-item > a,
.category-nav__list .menu-item:first-child > a {
  color: var(--navy);
  font-weight: 800;
  border-bottom-color: var(--yellow);
}
.category-nav__list .menu-item > a:hover { color: var(--navy); }

/* ─── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb {
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-light);
  padding: 12px 0;
}
.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a {
  font-size: 12px;
  color: var(--text-light);
  font-family: var(--font-body);
  transition: color .15s;
}
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb__sep    { color: var(--gray-light); font-size: 12px; }
.breadcrumb__current { font-size: 12px; font-weight: 700; color: var(--navy); font-family: var(--font-body); }

/* ─── SECTION HEADERS ────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}
.section-header__eyebrow {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-family: var(--font-body);
  margin-bottom: 6px;
}
.section-header__title {
  font-size: 32px;
  font-weight: 900;
  color: var(--navy);
  font-family: var(--font-head);
  line-height: 1.15;
}
.section-header__link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
  font-family: var(--font-head);
  white-space: nowrap;
  text-decoration: none;
}
.section-header__link:hover { text-decoration: underline; }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #233BB0 55%, var(--blue) 100%);
  position: relative;
  overflow: hidden;
  padding: 64px 0;
}
.hero__bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .18;
}
.hero__inner {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.hero__content { flex: 1; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,200,0,.18);
  border-radius: 20px;
  padding: 6px 14px;
  margin-bottom: 22px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-head);
}
.hero__title {
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 900;
  color: #fff;
  font-family: var(--font-head);
  line-height: 1.08;
  margin-bottom: 18px;
}
.hero__title span { color: var(--yellow); }
.hero__subtitle {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  font-family: var(--font-body);
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 440px;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__trust-list {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  list-style: none;
  flex-wrap: wrap;
}
.hero__trust-list li {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  font-family: var(--font-body);
  font-weight: 600;
}

.hero__visual {
  width: 400px;
  flex-shrink: 0;
  position: relative;
}
.hero__img {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  max-height: 360px;
}
.hero__img-placeholder {
  width: 100%;
  height: 320px;
  background: rgba(255,255,255,.07);
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.hero__img-label { color: rgba(255,255,255,.3); font-size: 11px; font-family: monospace; }

.hero__stat-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 11px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__stat-card strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font-head);
}
.hero__stat-card span {
  display: block;
  font-size: 10px;
  color: var(--text-light);
  font-family: var(--font-body);
}
.hero__stat-card--families { bottom: -18px; left: -24px; }
.hero__stat-icon {
  width: 36px;
  height: 36px;
  background: var(--yellow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.hero__stat-card--delivery { top: -18px; right: -20px; }
.hero__stat-card--delivery .text-green { color: var(--green); }

/* ─── CATEGORY TILES ─────────────────────────────────────── */
.categories-strip {
  background: #fff;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-light);
}
.categories-strip .container {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  background: var(--off-white);
  border: 2px solid var(--gray-light);
  text-decoration: none;
  min-width: 120px;
  transition: border-color .2s, background .2s;
}
.cat-tile:hover {
  border-color: var(--navy);
  background: var(--blue-pale);
}
.cat-tile--active {
  background: var(--navy);
  border-color: var(--navy);
}
.cat-tile__icon { font-size: 28px; }
.cat-tile__label {
  font-size: 12px;
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font-head);
  text-align: center;
}
.cat-tile--active .cat-tile__label { color: #fff; }
.cat-tile__sub {
  font-size: 10px;
  color: var(--text-light);
  font-family: var(--font-body);
  text-align: center;
}
.cat-tile--active .cat-tile__sub { color: rgba(255,255,255,.65); }

/* ─── PRODUCT GRID ───────────────────────────────────────── */
.product-grid {
  display: grid;
  gap: 18px;
  list-style: none;
}
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
.product-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ─── PRODUCT CARD ───────────────────────────────────────── */
.product-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.product-card__image-wrap {
  background: var(--blue-pale);
  height: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-card__thumb {
  max-height: 160px;
  width: auto;
  object-fit: contain;
}
.product-card__thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .6;
}
.product-card__thumb-link {
  display: block;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
}
.product-card__wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  box-shadow: var(--shadow-sm);
  transition: color .15s;
}
.product-card__wishlist:hover { color: var(--red); }

.product-card__body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.product-card__name {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font-head);
  line-height: 1.3;
}
.product-card__name a { text-decoration: none; color: inherit; }
.product-card__desc {
  font-size: 11.5px;
  color: var(--text-light);
  font-family: var(--font-body);
  line-height: 1.5;
}
.product-card__rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
.product-card__rating-count { font-size: 10px; color: var(--text-light); }
.product-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}
.product-card__price {
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  font-family: var(--font-head);
}
.product-card__price ins { text-decoration: none; }
.product-card__price del {
  font-size: 13px;
  color: var(--gray);
  font-weight: 400;
}
.product-card__points {
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  font-family: var(--font-head);
  margin-left: auto;
}
.product-card__footer {
  padding: 0 16px 16px;
}
.product-card__footer .btn { border-radius: var(--radius-md); font-size: 13px; }

/* WC ratings override */
.star-rating { color: var(--yellow); font-size: 12px; }

/* ─── FEATURED PRODUCTS SECTION ──────────────────────────── */
.featured-products {
  background: var(--off-white);
  padding: 52px 0;
}

/* ─── TRUST STRIP ────────────────────────────────────────── */
.trust-strip {
  background: var(--navy);
  padding: 48px 0;
}
.trust-strip__inner {
  display: flex;
  gap: 0;
}
.trust-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.trust-item:last-child { border-right: none; }
.trust-item__icon { font-size: 34px; margin-bottom: 12px; }
.trust-item__title {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-head);
  margin-bottom: 5px;
}
.trust-item__desc {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  font-family: var(--font-body);
}

/* ─── LOYALTY STRIP ──────────────────────────────────────── */
.loyalty-strip {
  background: linear-gradient(135deg, var(--yellow) 0%, #FFE566 100%);
  padding: 40px 0;
}
.loyalty-strip__inner {
  display: flex;
  align-items: center;
  gap: 50px;
}
.loyalty-strip__icon { font-size: 60px; line-height: 1; flex-shrink: 0; }
.loyalty-strip__body { flex: 1; }
.loyalty-strip__title {
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  font-family: var(--font-head);
  margin-bottom: 8px;
}
.loyalty-strip__desc {
  font-size: 14.5px;
  color: var(--navy-dark);
  font-family: var(--font-body);
  opacity: .8;
  max-width: 500px;
}

/* ─── BLOG PREVIEW ───────────────────────────────────────── */
.blog-preview {
  background: #fff;
  padding: 52px 0;
}
.blog-grid { display: grid; gap: 20px; }
.blog-grid--3 { grid-template-columns: repeat(3, 1fr); }

.blog-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s;
}
.blog-card:hover { box-shadow: var(--shadow-md); }
.blog-card__thumb-link { display: block; }
.blog-card__thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.blog-card__thumb-placeholder {
  width: 100%;
  height: 180px;
  background: var(--blue-pale);
}
.blog-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.blog-card__title {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font-head);
  line-height: 1.35;
}
.blog-card__title a { text-decoration: none; color: inherit; }
.blog-card__title a:hover { color: var(--blue); }
.blog-card__date { font-size: 11px; color: var(--text-light); font-family: var(--font-body); }
.blog-card__excerpt { font-size: 13px; color: var(--text-light); font-family: var(--font-body); line-height: 1.6; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  padding: 52px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand__name {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  font-family: var(--font-head);
  margin-bottom: 6px;
  text-decoration: none;
}
.footer-brand__desc {
  font-size: 12.5px;
  color: var(--blue-soft);
  font-family: var(--font-body);
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 280px;
  opacity: .85;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social__link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--blue-soft);
  font-family: var(--font-head);
  text-decoration: none;
  transition: background .15s;
}
.footer-social__link:hover { background: rgba(255,255,255,.2); }

.footer-col__title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-head);
  margin-bottom: 14px;
}
.footer-col__list { list-style: none; }
.footer-col__list li { margin-bottom: 8px; }
.footer-col__list a {
  font-size: 12px;
  color: var(--blue-soft);
  font-family: var(--font-body);
  opacity: .8;
  text-decoration: none;
  transition: opacity .15s;
}
.footer-col__list a:hover { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom__copy {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  font-family: var(--font-body);
}
.footer-bottom__payments { display: flex; gap: 8px; }
.payment-badge {
  background: rgba(255,255,255,.12);
  border-radius: 5px;
  padding: 3px 9px;
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  font-family: var(--font-head);
}

/* ─── CATALOG PAGE ───────────────────────────────────────── */
.catalog-layout {
  display: flex;
  gap: 0;
  background: #fff;
  min-height: 600px;
}
.catalog-sidebar {
  width: 255px;
  flex-shrink: 0;
  padding: 24px 22px;
  border-right: 1px solid var(--gray-light);
}
.sidebar-section {
  margin-bottom: 28px;
}
.sidebar-section__title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font-head);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--yellow);
}
.sidebar-filter-list { list-style: none; }
.sidebar-filter-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 4px;
  font-size: 12.5px;
  font-family: var(--font-body);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s;
}
.sidebar-filter-list__item:hover { background: var(--off-white); }
.sidebar-filter-list__item.is-active { color: var(--navy); font-weight: 700; }
.sidebar-filter-list__item .count { font-size: 11px; opacity: .6; }
.price-filter-wrap { font-size: 13px; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 12.5px;
  color: var(--text-light);
  font-family: var(--font-body);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] { accent-color: var(--navy); }

.catalog-main { flex: 1; padding: 24px 32px; }
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}
.catalog-toolbar__title {
  font-size: 26px;
  font-weight: 900;
  color: var(--navy);
  font-family: var(--font-head);
}
.catalog-toolbar__count { font-size: 12px; color: var(--text-light); margin-top: 2px; font-family: var(--font-body); }
.catalog-toolbar__sort { display: flex; align-items: center; gap: 8px; }
.catalog-toolbar__sort label { font-size: 12px; color: var(--text-light); font-family: var(--font-body); }
.catalog-toolbar__sort select,
.woocommerce-ordering select {
  padding: 6px 10px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-family: var(--font-body);
  color: var(--navy);
  background: #fff;
}

/* WC pagination */
.woocommerce-pagination { margin-top: 32px; }
.woocommerce-pagination ul {
  display: flex;
  gap: 8px;
  list-style: none;
  justify-content: center;
}
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-light);
  font-size: 13px;
  font-family: var(--font-head);
  color: var(--navy);
  text-decoration: none;
  transition: background .15s;
}
.woocommerce-pagination ul li a:hover { background: var(--off-white); }
.woocommerce-pagination ul li span.current {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* ─── SINGLE PRODUCT ─────────────────────────────────────── */
.single-product-page { padding: 40px 0; }
.single-product-layout {
  display: grid;
  grid-template-columns: 480px 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 60px 60px;
}
.single-product-gallery { grid-column: 1; grid-row: 1; }
.single-product-summary { grid-column: 2; grid-row: 1; }
.single-product-tabs    { grid-column: 1 / -1; grid-row: 2; }
.single-product-related { grid-column: 1 / -1; grid-row: 3; }

/* WC summary default hooks styling */
.summary .product_title {
  font-size: 36px;
  font-weight: 900;
  color: var(--navy);
  font-family: var(--font-head);
  line-height: 1.1;
  margin-bottom: 6px;
}
.summary .price {
  font-size: 46px;
  font-weight: 900;
  color: var(--navy);
  font-family: var(--font-head);
}
.summary .price ins { text-decoration: none; }
.summary .price del {
  font-size: 22px;
  color: var(--gray);
  font-weight: 400;
  margin-left: 10px;
}
.summary .woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.summary .woocommerce-review-link {
  font-size: 13px;
  color: var(--text-light);
  font-family: var(--font-body);
  text-decoration: none;
}
.summary .woocommerce-product-details__short-description {
  font-size: 15px;
  color: var(--text-light);
  font-family: var(--font-body);
  line-height: 1.7;
  margin-bottom: 18px;
}

/* Points notice */
.miltina-points-notice {
  background: var(--yellow-lt);
  border-radius: var(--radius-md);
  padding: 11px 16px;
  margin-bottom: 22px;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Quantity + add to cart */
.single-product-layout .quantity { margin-right: 12px; }
.single-product-layout .qty {
  width: 60px;
  padding: 10px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  font-family: var(--font-head);
  color: var(--navy);
}
.single-product-layout .single_add_to_cart_button {
  flex: 1;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-head);
  padding: 14px 24px;
  cursor: pointer;
  transition: opacity .15s;
}
.single-product-layout .single_add_to_cart_button:hover { opacity: .88; }
.single-product-layout .cart { display: flex; gap: 12px; align-items: center; }

/* WC product tabs */
.woocommerce-tabs { margin-top: 30px; }
.woocommerce-tabs ul.tabs {
  display: flex;
  border-bottom: 1px solid var(--gray-light);
  list-style: none;
}
.woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 13px 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  font-family: var(--font-head);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: color .15s;
}
.woocommerce-tabs ul.tabs li.active a {
  color: var(--navy);
  border-bottom-color: var(--navy);
}
.woocommerce-tabs .panel {
  padding: 28px 0;
  font-size: 14.5px;
  font-family: var(--font-body);
  color: var(--text-light);
  line-height: 1.85;
  max-width: 740px;
}

.single-product-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }

.related-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--navy);
  font-family: var(--font-head);
  margin-bottom: 24px;
}

/* ─── CHECKOUT / CART STEPS ──────────────────────────────── */
.checkout-steps {
  background: #fff;
  border-bottom: 1px solid var(--gray-light);
  padding: 16px 0;
}
.checkout-steps .container {
  display: flex;
  align-items: center;
  max-width: 680px;
}
.checkout-step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.checkout-step + .checkout-step::before {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--gray-light);
  margin: 0 8px;
}
.checkout-step--active + .checkout-step--active::before { background: var(--navy); }
.checkout-step__num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-light);
  font-family: var(--font-head);
  flex-shrink: 0;
}
.checkout-step--active .checkout-step__num { background: var(--navy); color: #fff; }
.checkout-step__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  font-family: var(--font-head);
}
.checkout-step--active .checkout-step__label { color: var(--navy); font-weight: 700; }

/* Cart layout */
.cart-layout {
  display: flex;
  gap: 28px;
  padding-block: 32px;
  align-items: flex-start;
}
.cart-items { flex: 1; }
.cart-items__list { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid var(--gray-light);
}
.cart-item__thumb img { width: 72px; height: 72px; object-fit: contain; border-radius: var(--radius-sm); }
.cart-item__info { flex: 1; }
.cart-item__name { font-size: 14px; font-weight: 700; color: var(--navy); font-family: var(--font-head); text-decoration: none; display: block; }
.cart-item__pts  { font-size: 11px; color: var(--green); font-weight: 600; }
.cart-item__qty .qty { width: 56px; padding: 8px; border: 1.5px solid var(--gray-light); border-radius: var(--radius-sm); text-align: center; font-family: var(--font-head); font-size: 14px; color: var(--navy); }
.cart-item__price { font-size: 18px; font-weight: 900; color: var(--navy); font-family: var(--font-head); white-space: nowrap; }
.cart-item__remove-btn { color: var(--gray); font-size: 20px; text-decoration: none; line-height: 1; }
.cart-item__remove-btn:hover { color: var(--red); }
.cart-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.cart-summary { width: 360px; flex-shrink: 0; }
.cart-summary__card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  border: 1px solid var(--gray-light);
}
.cart-summary__title { font-size: 16px; font-weight: 900; color: var(--navy); font-family: var(--font-head); margin-bottom: 20px; }

/* Checkout layout */
.checkout-layout {
  display: flex;
  gap: 28px;
  padding-block: 32px;
  align-items: flex-start;
}
.checkout-fields { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.checkout-summary { width: 380px; flex-shrink: 0; position: sticky; top: 90px; }
.checkout-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  border: 1px solid var(--gray-light);
}
.checkout-card__title {
  font-size: 16px;
  font-weight: 900;
  color: var(--navy);
  font-family: var(--font-head);
  margin-bottom: 20px;
}

/* WC form fields */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.woocommerce-billing-fields .form-row-wide,
.woocommerce-shipping-fields .form-row-wide { grid-column: 1 / -1; }
.form-row label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-head);
  margin-bottom: 6px;
}
.form-row .input-text,
.form-row select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color .2s;
}
.form-row .input-text:focus { border-color: var(--navy); }
.form-row.woocommerce-invalid .input-text { border-color: var(--red); }
.form-row.woocommerce-validated .input-text { border-color: var(--green); }

/* Checkout items summary */
.checkout-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.checkout-item { display: flex; align-items: center; gap: 12px; }
.checkout-item__thumb { width: 56px; height: 56px; object-fit: contain; border-radius: var(--radius-sm); background: var(--blue-pale); }
.checkout-item__info { flex: 1; }
.checkout-item__name { display: block; font-size: 13px; font-weight: 700; color: var(--navy); font-family: var(--font-head); }
.checkout-item__qty  { font-size: 11px; color: var(--text-light); }
.checkout-item__pts  { display: block; font-size: 11px; color: var(--green); font-weight: 600; }
.checkout-item__price { font-size: 15px; font-weight: 900; color: var(--navy); font-family: var(--font-head); white-space: nowrap; }

/* Checkout totals */
.checkout-totals { border-top: 1px solid var(--gray-light); padding-top: 16px; margin-top: 16px; }
.checkout-totals__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 13.5px;
  font-family: var(--font-body);
  color: var(--text-light);
}
.checkout-totals__row--total {
  border-top: 1px solid var(--gray-light);
  padding-top: 12px;
  margin-top: 8px;
  font-size: 17px;
  color: var(--navy);
  font-family: var(--font-head);
}
.checkout-totals__total-value { font-size: 22px; font-weight: 900; }

/* Payment methods */
#payment .payment_methods { list-style: none; }
#payment .payment_methods li { margin-bottom: 10px; }
#payment .payment_methods li label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 2px solid var(--gray-light);
  cursor: pointer;
  transition: border-color .2s;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
#payment .payment_methods li.active label,
#payment .payment_methods li input:checked + label { border-color: var(--navy); background: var(--blue-pale); }
#payment .payment_box { padding: 14px 16px; background: var(--off-white); border-radius: var(--radius-sm); font-size: 13px; font-family: var(--font-body); }
#payment #place_order {
  width: 100%;
  padding: 15px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 900;
  font-family: var(--font-head);
  cursor: pointer;
  margin-top: 20px;
  transition: opacity .15s;
}
#payment #place_order:hover { opacity: .88; }

/* ─── MY ACCOUNT ─────────────────────────────────────────── */
.myaccount-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding-block: 32px;
}
.myaccount-sidebar {
  width: 240px;
  flex-shrink: 0;
}
.myaccount-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  color: #fff;
}
.myaccount-profile__img { border-radius: 50%; }
.myaccount-profile__info strong { display: block; font-size: 14px; font-weight: 800; font-family: var(--font-head); }
.myaccount-profile__level { font-size: 11px; color: var(--yellow); font-weight: 700; }
.woocommerce-MyAccount-navigation ul { list-style: none; }
.woocommerce-MyAccount-navigation ul li { margin-bottom: 4px; }
.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--text-light);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.woocommerce-MyAccount-navigation ul li a:hover { background: var(--off-white); color: var(--navy); }
.woocommerce-MyAccount-navigation ul li.is-active a { background: var(--off-white); color: var(--navy); font-weight: 800; }

.myaccount-main { flex: 1; display: flex; flex-direction: column; gap: 20px; }

/* Points card */
.points-card {
  background: linear-gradient(135deg, var(--navy) 0%, #233BB0 100%);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  color: #fff;
}
.points-card__header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.points-card__label { font-size: 12px; opacity: .65; font-family: var(--font-body); margin-bottom: 4px; }
.points-card__value { font-size: 36px; font-weight: 900; font-family: var(--font-head); }
.points-card__progress-wrap { min-width: 160px; }
.points-card__progress-label { font-size: 11px; opacity: .7; font-family: var(--font-body); margin-bottom: 8px; }
.points-card__progress-bar {
  height: 8px;
  background: rgba(255,255,255,.2);
  border-radius: 4px;
  overflow: hidden;
}
.points-card__progress-fill {
  height: 100%;
  background: var(--yellow);
  border-radius: 4px;
  transition: width .5s ease;
}
.points-levels {
  display: flex;
  gap: 8px;
}
.level-badge {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255,255,255,.15);
  opacity: .5;
}
.level-badge--achieved { opacity: .8; border-color: rgba(255,255,255,.3); }
.level-badge--current  { opacity: 1; border-color: var(--yellow); background: rgba(245,200,0,.12); }
.level-badge__name { display: block; font-size: 12px; font-weight: 800; font-family: var(--font-head); }
.level-badge__threshold { display: block; font-size: 10px; opacity: .65; font-family: var(--font-body); margin-top: 2px; }

.myaccount-section {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  border: 1px solid var(--gray-light);
}
.myaccount-section__title {
  font-size: 16px;
  font-weight: 900;
  color: var(--navy);
  font-family: var(--font-head);
  margin-bottom: 18px;
}
.myaccount-section__more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  font-family: var(--font-head);
  text-decoration: none;
}

/* Orders list */
.order-list { display: flex; flex-direction: column; gap: 12px; }
.order-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-light);
}
.order-item:last-child { border-bottom: none; }
.order-item__info { flex: 1; }
.order-item__number { display: block; font-size: 14px; font-weight: 800; color: var(--navy); font-family: var(--font-head); }
.order-item__date { font-size: 11px; color: var(--text-light); }
.order-item__total { font-size: 15px; font-weight: 900; color: var(--navy); font-family: var(--font-head); }

.status-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .3px;
}
.status-badge--processing { background: var(--blue-pale); color: var(--navy); }
.status-badge--completed  { background: var(--green-lt);  color: var(--green); }
.status-badge--on-hold    { background: var(--yellow-lt); color: var(--navy-dark); }
.status-badge--cancelled  { background: #FEE2E2; color: var(--red); }

/* ─── PAGE CONTENT ───────────────────────────────────────── */
.page-layout {
  padding-block: 40px;
  max-width: 860px;
}
.page-title {
  font-size: 36px;
  font-weight: 900;
  color: var(--navy);
  font-family: var(--font-head);
  margin-bottom: 24px;
}
.page-body { font-size: 15px; line-height: 1.8; color: var(--text-light); }
.page-body h2, .page-body h3 { color: var(--navy); font-family: var(--font-head); margin: 24px 0 10px; }
.page-hero-img { width: 100%; border-radius: var(--radius-xl); margin-bottom: 32px; max-height: 380px; object-fit: cover; }

/* ─── BLOG SINGLE ────────────────────────────────────────── */
.blog-single-layout { padding-block: 40px; max-width: 800px; }
.blog-single__title {
  font-size: 38px;
  font-weight: 900;
  color: var(--navy);
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 12px 0 10px;
}
.blog-single__meta { font-size: 12px; color: var(--text-light); margin-bottom: 20px; display: flex; gap: 8px; }
.blog-single__hero { width: 100%; border-radius: var(--radius-xl); margin-bottom: 28px; max-height: 420px; object-fit: cover; }
.blog-single__body { font-size: 15.5px; line-height: 1.85; color: var(--text-light); }
.blog-single__body h2, .blog-single__body h3 { color: var(--navy); font-family: var(--font-head); margin: 28px 0 10px; }
.blog-single__body p { margin-bottom: 16px; }
.blog-single__body a { color: var(--blue); text-decoration: underline; }

/* ─── ARCHIVE HEADER ─────────────────────────────────────── */
.archive-header { padding-block: 28px 0; margin-bottom: 32px; border-bottom: 1px solid var(--gray-light); }
.archive-header__title { font-size: 32px; font-weight: 900; color: var(--navy); font-family: var(--font-head); }
.archive-header__desc { font-size: 14px; color: var(--text-light); margin-top: 6px; }

/* ─── 404 PAGE ────────────────────────────────────────────── */
.error-404-page {
  text-align: center;
  padding-block: 80px;
}
.error-404__icon { font-size: 80px; margin-bottom: 24px; }
.error-404__title {
  font-size: 36px;
  font-weight: 900;
  color: var(--navy);
  font-family: var(--font-head);
  margin-bottom: 16px;
}
.error-404__desc { font-size: 16px; color: var(--text-light); margin-bottom: 32px; max-width: 500px; margin-inline: auto; }
.error-404__actions { display: flex; gap: 12px; justify-content: center; margin-bottom: 32px; }

/* ─── PAGINATION ─────────────────────────────────────────── */
.pagination { margin-top: 40px; }
.nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.nav-links a, .nav-links span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-light);
  font-size: 13px;
  font-family: var(--font-head);
  color: var(--navy);
  text-decoration: none;
  transition: background .15s;
}
.nav-links a:hover { background: var(--off-white); }
.nav-links span.current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ─── WOOCOMMERCE NOTICES ────────────────────────────────── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-size: 14px;
}
.woocommerce-message { background: var(--green-lt); border-left: 4px solid var(--green); color: var(--green); }
.woocommerce-info    { background: var(--blue-pale); border-left: 4px solid var(--blue); color: var(--navy); }
.woocommerce-error   { background: #FEE2E2; border-left: 4px solid var(--red); color: var(--red); }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .product-grid--4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }

  .hero__inner { flex-direction: column; }
  .hero__visual { width: 100%; max-width: 400px; }

  .single-product-layout {
    grid-template-columns: 1fr;
  }
  .single-product-gallery { grid-column: 1; grid-row: 1; }
  .single-product-summary { grid-column: 1; grid-row: 2; }
  .single-product-tabs    { grid-column: 1; grid-row: 3; }
  .single-product-related { grid-column: 1; grid-row: 4; }

  .catalog-layout { flex-direction: column; }
  .catalog-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--gray-light); }

  .checkout-layout { flex-direction: column; }
  .checkout-summary { width: 100%; position: static; }

  .myaccount-layout { flex-direction: column; }
  .myaccount-sidebar { width: 100%; }

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

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

  .trust-strip__inner { flex-direction: column; gap: 24px; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 20px; }
  .trust-item:last-child { border-bottom: none; }
}

@media (max-width: 640px) {
  .top-bar { display: none; }
  .site-header__search { display: none; }
  .header-points { display: none; }
  .nav-toggle { display: flex; }
  .category-nav { display: none; }
  .category-nav.is-open { display: block; }
  .category-nav__list { flex-direction: column; }
  .category-nav__list .menu-item > a { border-bottom: none; border-left: 3px solid transparent; padding-left: 20px; }
  .category-nav__list .menu-item.current-menu-item > a { border-left-color: var(--yellow); border-bottom: none; }

  .hero { padding: 40px 0; }
  .hero__title { font-size: 32px; }
  .hero__visual { display: none; }

  .footer-grid { grid-template-columns: 1fr; }
  .loyalty-strip__inner { flex-direction: column; text-align: center; }

  .product-grid--3,
  .product-grid--4 { grid-template-columns: 1fr; }
  .blog-grid--3 { grid-template-columns: 1fr; }

  .woocommerce-billing-fields__field-wrapper,
  .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
  .woocommerce-billing-fields .form-row-wide,
  .woocommerce-shipping-fields .form-row-wide { grid-column: 1; }

  .points-card__header { flex-direction: column; gap: 16px; }
  .points-levels { flex-wrap: wrap; }
}
