/* ==========================================================================
   Khatwa — YouCan theme for shoe stores (RTL first)
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  --c-photo: #F5EDE0; /* backdrop of the processed product photos */
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 .5em;
}

.skip-link {
  position: absolute;
  inset-inline-start: -999px;
  top: 8px;
  background: var(--c-dark);
  color: #fff;
  padding: 8px 16px;
  z-index: 999;
}
.skip-link:focus { inset-inline-start: 8px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 990px) { .container { padding-inline: 40px; } }

.section { padding-block: 56px; }
@media (min-width: 990px) { .section { padding-block: 80px; } }
.section--tight { padding-block: 32px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-head--center { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.section-title {
  font-size: clamp(26px, 4vw, 44px);
  letter-spacing: -.01em;
  margin: 0;
}
.section-sub { margin: 6px 0 0; opacity: .75; max-width: 560px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 30px;
  border-radius: var(--radius-btn);
  border: 1.5px solid var(--c-btn);
  background: var(--c-btn);
  color: var(--c-btn-text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.btn--outline { background: transparent; color: var(--c-btn); }
.btn--outline:hover { background: var(--c-btn); color: var(--c-btn-text); }
.btn--light { background: #fff; color: var(--c-dark); border-color: #fff; }
.btn--glass {
  background: rgba(20, 26, 15, .55);
  border-color: transparent;
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn .icon { width: 18px; height: 18px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow .icon { width: 16px; height: 16px; }

.icon { width: 22px; height: 22px; display: inline-block; flex-shrink: 0; }
[dir="rtl"] .icon--flip { transform: scaleX(-1); }

/* ---------- Announcement bar ---------- */
.announcement {
  background: var(--c-dark);
  color: var(--c-accent);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  overflow: hidden;
}
.announcement__track { position: relative; height: 40px; }
.announcement__item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 16px;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity .5s ease, transform .5s ease;
}
.announcement__item.is-active { opacity: 1; transform: none; }
.announcement__item a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.section-header {
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header {
  background: var(--c-bg);
  transition: box-shadow .3s ease, background .3s ease, color .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.06); }
/* Transparent header over the hero (home page only) */
.template-index.has-transparent-header main { margin-top: -72px; }
.template-index .site-header--transparent:not(.is-scrolled) { background: transparent; color: #fff; }
.template-index .site-header--transparent:not(.is-scrolled) .cart-count { background: var(--c-accent); color: var(--c-dark); }
.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  gap: 16px;
}
.header__start, .header__end { display: flex; align-items: center; gap: 6px; }
.header__end { justify-content: flex-end; }
.header__logo { display: flex; justify-content: center; }
.header__logo img { width: var(--logo-w, 130px); height: auto; }
.header__logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: .02em;
}
.header__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: none;
  border: 0;
  transition: background .2s;
}
.header__icon:hover { background: rgba(0,0,0,.06); }
.cart-count {
  position: absolute;
  top: 4px;
  inset-inline-end: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--c-btn);
  color: var(--c-btn-text);
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.header__nav { display: none; margin: 0; padding: 0; }
@media (min-width: 990px) {
  .header__nav { display: flex; gap: 28px; }
  .header__menu-btn { display: none; }
}
.header__nav > li { position: relative; list-style: none; }
.header__nav ul { margin: 0; padding: 0; }
.header__nav a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  line-height: 24px;
  padding-block: 24px;
  display: inline-block;
}
.header__nav a:hover, .header__nav a[aria-current] { opacity: .7; }
.header__dropdown {
  position: absolute;
  top: 100%;
  inset-inline-start: -20px;
  min-width: 220px;
  padding: 12px 0;
  background: var(--c-surface);
  color: var(--c-text);
  border-radius: var(--radius-img);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
}
.header__nav > li:hover .header__dropdown { opacity: 1; visibility: visible; transform: none; }
.header__dropdown a { display: block; padding: 8px 20px; font-weight: 600; }

/* Drawers */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
}
.drawer.is-open { visibility: visible; }
.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 8, .45);
  opacity: 0;
  transition: opacity .3s;
}
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-start: 0;
  width: min(380px, 88vw);
  background: var(--c-bg);
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
[dir="ltr"] .drawer__panel { transform: translateX(-100%); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close { position: absolute; top: 16px; inset-inline-end: 16px; }
.drawer__nav { list-style: none; padding: 0; margin: 48px 0 0; }
.drawer__nav li { border-bottom: 1px solid rgba(0,0,0,.08); }
.drawer__nav a, .drawer__nav summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
}
.drawer__nav summary::-webkit-details-marker { display: none; }
.drawer__nav ul { list-style: none; padding: 0 16px 12px; margin: 0; }
.drawer__nav ul a { font-size: 15px; padding: 8px 0; font-weight: 600; }

.search-modal {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: var(--c-bg);
  padding: 28px 0;
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
  transform: translateY(-110%);
  transition: transform .35s ease;
}
.search-modal.is-open { transform: none; }
.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--c-surface);
  border-radius: var(--radius-btn);
  padding: 6px;
  padding-inline-start: 20px;
  border: 1.5px solid rgba(0,0,0,.08);
}
.search-form input {
  flex: 1;
  border: 0;
  background: none;
  outline: none;
  min-height: 44px;
  font-size: 16px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: var(--hero-h, 88vh);
  display: flex;
  align-items: var(--hero-align, center);
  overflow: hidden;
  color: #fff;
  background: var(--c-text);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 200px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(10,14,8,.5), rgba(10,14,8,0));
}
.hero__title { color: var(--hero-title, var(--c-accent)); }
.hero__text, .hero .eyebrow { color: var(--hero-text, #fff); }
.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; position: relative; width: 100%; min-height: inherit; }
.hero__media, .hero__media img, .hero__media svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(10,14,8,var(--hero-overlay, .35)) 0%, rgba(10,14,8,0) 70%);
}
[dir="ltr"] .hero__media::after { background: linear-gradient(to right, rgba(10,14,8,var(--hero-overlay, .35)) 0%, rgba(10,14,8,0) 70%); }
.hero__slide.is-active .hero__media img { animation: heroZoom 9s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__content { position: relative; z-index: 2; max-width: 680px; padding-block: 120px 80px; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
@media (max-width: 749px) {
  .hero__media::after, [dir="ltr"] .hero__media::after { background: linear-gradient(to top, rgba(10,14,8,calc(var(--hero-overlay, .35) + .25)) 0%, rgba(10,14,8,0) 75%); }
  .hero__slide, .hero__slide.is-active { align-items: flex-end; }
  .hero__content { padding-block: 120px 120px; }
}
.hero__title {
  font-size: clamp(38px, 7vw, 86px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 16px;
}
.hero__text { font-size: clamp(15px, 1.6vw, 19px); margin: 0 0 28px; opacity: .95; }
.hero__slide.is-active .hero__content > * { animation: fadeUp .8s ease both; }
.hero__slide.is-active .hero__content > *:nth-child(2) { animation-delay: .12s; }
.hero__slide.is-active .hero__content > *:nth-child(3) { animation-delay: .24s; }
.hero__slide.is-active .hero__content > *:nth-child(4) { animation-delay: .36s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero__thumbs {
  position: absolute;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero__thumb {
  width: 64px;
  height: 84px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: rgba(255,255,255,.2);
  opacity: .7;
  transition: all .3s;
}
.hero__thumb img, .hero__thumb svg { width: 100%; height: 100%; object-fit: cover; }
.hero__thumb.is-active { border-color: #fff; opacity: 1; width: 88px; }
@media (max-width: 749px) { .hero__thumbs { inset-inline: 20px; } .hero__thumb { width: 48px; height: 64px; } .hero__thumb.is-active { width: 64px; } }

/* ---------- Collection list (numbered) ---------- */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols-m, 2), 1fr);
  gap: 16px;
}
@media (min-width: 990px) { .collection-grid { grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 20px; } }
.collection-tile {
  position: relative;
  display: block;
  border-radius: var(--radius-img);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--c-photo);
  color: #fff;
}
.collection-tile__media img, .collection-tile__media svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.collection-tile:hover .collection-tile__media img { transform: scale(1.06); }
.collection-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,14,8,.65), rgba(10,14,8,0) 55%);
}
.collection-tile__info {
  position: absolute;
  inset-inline: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
}
.collection-tile__kicker { display: block; font-size: 13px; opacity: .85; }
.collection-tile__title { font-family: var(--font-heading); font-weight: 800; font-size: clamp(17px, 2vw, 24px); }
.collection-tile__count {
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
}

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  border: 1.5px solid rgba(0,0,0,.12);
  background: transparent;
  border-radius: var(--radius-btn);
  padding: 10px 22px;
  font-family: var(--font-heading);
  font-weight: 700;
  white-space: nowrap;
  transition: all .2s;
}
.tab.is-active, .tab:hover { background: var(--c-btn); color: var(--c-btn-text); border-color: var(--c-btn); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .5s ease both; }

/* ---------- Product grid & card ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols-m, 2), minmax(0, 1fr));
  gap: 14px;
}
@media (min-width: 750px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 990px) { .product-grid { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 20px; } }

.product-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 14px) / 1.6);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.product-slider::-webkit-scrollbar { display: none; }
.product-slider > * { scroll-snap-align: start; }
@media (min-width: 750px) { .product-slider { grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; } }
@media (min-width: 990px) { .product-slider { grid-auto-columns: calc((100% - 60px) / var(--cols, 4)); gap: 20px; } }

.slider-nav { display: flex; gap: 8px; }
.slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,.14);
  background: transparent;
  display: grid;
  place-items: center;
  transition: all .2s;
}
.slider-btn:hover { background: var(--c-btn); color: var(--c-btn-text); border-color: var(--c-btn); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border-radius: var(--radius-img);
  overflow: hidden;
  height: 100%;
  transition: box-shadow .3s ease, transform .3s ease;
}
.card:hover { box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--c-photo);
  overflow: hidden;
}
.card__media img, .card__media svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .5s ease, transform .8s cubic-bezier(.2,.8,.2,1);
}
.card__media .card__img-2 { opacity: 0; }
.card:hover .card__media .card__img-2 { opacity: 1; }
.card:hover .card__media img:first-child { transform: scale(1.05); }
.card__badges {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-heading);
  background: var(--c-text);
  color: #fff;
}
.badge--sale { background: var(--c-sale); }
.badge--soldout { background: #8a8f84; }
.badge--accent { background: var(--c-accent); color: var(--c-dark); }
.card__quick {
  position: absolute;
  inset-inline: 12px;
  bottom: 12px;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: all .3s ease;
}
.card:hover .card__quick { opacity: 1; transform: none; }
@media (hover: none) { .card__quick { display: none; } }
.card__quick .btn { width: 100%; min-height: 44px; font-size: 14px; }
.card__info { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card__tag { font-size: 12px; opacity: .6; font-weight: 600; }
.card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__bar {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 6px;
}
.rating { display: inline-flex; align-items: center; gap: 2px; color: #E0A526; font-size: 13px; }
.rating .icon { width: 14px; height: 14px; }
.rating span { color: var(--c-text); opacity: .6; margin-inline-start: 4px; }

.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-family: var(--font-heading); }
.price__current { font-weight: 800; font-size: 17px; }
.price__compare { text-decoration: line-through; opacity: .5; font-size: 14px; }
.price--sale .price__current { color: var(--c-sale); }
.price--large .price__current { font-size: 30px; }
.price--large .price__compare { font-size: 18px; }

/* ---------- Placeholder ---------- */
.placeholder-svg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #F5EDE0, #E8DCC8);
  color: rgba(20, 33, 61, .3);
}

/* ---------- Features slider (step-by-step) ---------- */
.features {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 990px) { .features { grid-template-columns: 1.1fr 1fr; gap: 60px; } }
.features__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--radius-img) * 1.6);
  overflow: hidden;
  background: var(--c-photo);
}
.features__media > * { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.features__media > .is-active { opacity: 1; }
.features__media img, .features__media svg { width: 100%; height: 100%; object-fit: cover; }
.features__list { list-style: none; padding: 0; margin: 24px 0 0; }
.features__item { border-bottom: 1px solid rgba(0,0,0,.1); }
.features__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: 0;
  text-align: start;
}
.features__num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  opacity: .5;
  min-width: 28px;
}
.features__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(19px, 2.2vw, 28px);
  opacity: .45;
  transition: opacity .3s;
}
.features__item.is-active .features__title, .features__item.is-active .features__num { opacity: 1; }
.features__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s ease;
}
.features__item.is-active .features__body { grid-template-rows: 1fr; }
.features__body > div { overflow: hidden; }
.features__body p { margin: 0 0 20px; padding-inline-start: 44px; opacity: .8; }
.features__progress { height: 2px; background: rgba(0,0,0,.08); margin-top: -1px; overflow: hidden; }
.features__progress span { display: block; height: 100%; width: 0; background: var(--c-text); }
.features__item.is-active .features__progress span { animation: progress var(--feat-dur, 6s) linear forwards; }
@keyframes progress { to { width: 100%; } }

/* ---------- Featured product / Main product ---------- */
.product {
  display: grid;
  gap: 28px;
}
@media (min-width: 990px) { .product { grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; } }
.product__gallery { display: grid; gap: 12px; }
@media (min-width: 990px) { .product__gallery { position: sticky; top: 96px; } }
.product__main-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--c-photo);
  border-radius: var(--radius-img);
  overflow: hidden;
}
.product__main-img img, .product__main-img svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.product__thumb {
  aspect-ratio: 1 / 1;
  border-radius: calc(var(--radius-img) * .7);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: var(--c-photo);
}
.product__thumb.is-active { border-color: var(--c-text); }
.product__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product__info { display: flex; flex-direction: column; gap: 18px; }
.product__title { font-size: clamp(26px, 3.4vw, 40px); margin: 0; }
.product__stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: #3c7a3a;
}
.product__stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(60,122,58,.15); }
.option-group { border: 0; padding: 0; margin: 0; }
.option-group legend { font-family: var(--font-heading); font-weight: 700; margin-bottom: 10px; display: flex; gap: 8px; width: 100%; justify-content: space-between; }
.option-group legend span { font-weight: 500; opacity: .7; }
.option-values { display: flex; flex-wrap: wrap; gap: 8px; }
.option-btn {
  min-width: 54px;
  height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(0,0,0,.14);
  background: var(--c-surface);
  font-weight: 700;
  transition: all .2s;
}
.option-btn:hover { border-color: var(--c-text); }
.option-btn.is-active { background: var(--c-btn); color: var(--c-btn-text); border-color: var(--c-btn); }
.option-btn.is-unavailable { opacity: .4; text-decoration: line-through; }
.size-guide-link { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; }
.qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(0,0,0,.14);
  border-radius: var(--radius-btn);
  height: 50px;
  background: var(--c-surface);
}
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 20px; }
.qty input { width: 44px; text-align: center; border: 0; background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.product__buy { display: flex; gap: 10px; flex-wrap: wrap; }
.product__buy .btn { flex: 1; }
.product__perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px;
  background: var(--c-surface);
  border-radius: var(--radius-img);
  font-size: 13px;
  text-align: center;
}
.product__perks div { display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 600; }
.accordion { border-top: 1px solid rgba(0,0,0,.1); }
.accordion details { border-bottom: 1px solid rgba(0,0,0,.1); }
.accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { transition: transform .3s; width: 18px; }
.accordion details[open] summary .icon { transform: rotate(45deg); }
.accordion .rte { padding-bottom: 18px; }

.cod-form {
  background: var(--c-surface);
  border: 2px dashed var(--c-text);
  border-radius: var(--radius-img);
  padding: 18px;
  display: grid;
  gap: 10px;
}
.cod-form h3 { font-size: 18px; margin: 0 0 4px; text-align: center; }

.field {
  width: 100%;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1.5px solid rgba(0,0,0,.14);
  background: var(--c-surface);
  outline: none;
  transition: border-color .2s;
}
.field:focus { border-color: var(--c-text); }
textarea.field { min-height: 100px; }
.form-errors { color: var(--c-sale); font-size: 14px; }

.rte { line-height: 1.85; }
.rte img { border-radius: var(--radius-img); margin-block: 12px; }
.rte a { text-decoration: underline; }

/* ---------- Lifestyle cards ---------- */
.lifestyle {
  display: grid;
  gap: 16px;
}
@media (min-width: 750px) { .lifestyle { grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 20px; } }
.lifestyle__card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: calc(var(--radius-img) * 1.4);
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  background: var(--c-photo);
}
.lifestyle__card > .lifestyle__media img, .lifestyle__card > .lifestyle__media svg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.8,.2,1);
}
.lifestyle__card:hover .lifestyle__media img { transform: scale(1.06); }
.lifestyle__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,14,8,.8), rgba(10,14,8,0) 60%); }
.lifestyle__content { position: relative; z-index: 2; padding: 26px; }
.lifestyle__label {
  display: inline-block;
  background: var(--c-accent);
  color: var(--c-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.lifestyle__content p { margin: 0 0 16px; opacity: .9; font-size: 15px; }

/* ---------- Compare table ---------- */
.compare {
  background: var(--c-surface);
  border-radius: calc(var(--radius-img) * 1.4);
  overflow-x: auto;
}
.compare table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 16px 20px; text-align: center; border-bottom: 1px solid rgba(0,0,0,.07); }
.compare th:first-child, .compare td:first-child { text-align: start; font-family: var(--font-heading); font-weight: 700; width: 22%; }
.compare thead th { vertical-align: top; padding-top: 24px; }
.compare__prod img, .compare__prod svg { width: 130px; height: 130px; object-fit: cover; margin: 0 auto 10px; border-radius: 12px; background: var(--c-photo); }
.compare__prod h3 { font-size: 16px; margin-bottom: 4px; }
.compare__prod .price { justify-content: center; margin-bottom: 10px; }
.compare__prod .btn { min-height: 40px; padding: 8px 18px; font-size: 13px; }
.compare tbody tr:nth-child(odd) { background: rgba(0,0,0,.02); }

/* ---------- Flash deals ---------- */
.deals { display: grid; gap: 18px; }
@media (min-width: 990px) { .deals { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.deal {
  position: relative;
  min-height: 380px;
  border-radius: calc(var(--radius-img) * 1.4);
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  background: var(--c-text);
}
.deal__media img, .deal__media svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.deal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,14,8,.75), rgba(10,14,8,.05)); }
.deal__content { position: relative; z-index: 2; padding: 32px; }
.deal__kicker { color: var(--c-accent); font-family: var(--font-heading); font-weight: 800; letter-spacing: .05em; }
.deal__title { font-size: clamp(26px, 3.4vw, 42px); margin: 6px 0; }
.deal__content p { margin: 0 0 18px; opacity: .85; }
.countdown { display: flex; gap: 8px; direction: ltr; }
.countdown__unit {
  min-width: 64px;
  padding: 10px 8px;
  background: var(--c-dark);
  color: var(--c-accent);
  border-radius: 12px;
  text-align: center;
  font-family: var(--font-heading);
}
.countdown__unit b { display: block; font-size: 26px; line-height: 1; font-weight: 800; }
.countdown__unit small { font-size: 11px; opacity: .8; }

/* ---------- Size finder ---------- */
.size-finder {
  display: grid;
  gap: 28px;
  background: var(--c-dark);
  color: #fff;
  border-radius: calc(var(--radius-img) * 1.6);
  padding: 32px 24px;
}
@media (min-width: 990px) { .size-finder { grid-template-columns: 1fr 1.2fr; padding: 56px; gap: 56px; align-items: center; } }
.size-finder .section-title { color: var(--c-accent); }
.size-finder__panel { background: rgba(255,255,255,.06); border-radius: var(--radius-img); padding: 24px; }
.size-finder__row { display: grid; gap: 8px; margin-bottom: 18px; }
.size-finder__row label { font-weight: 700; font-family: var(--font-heading); }
.size-finder input[type=range] { width: 100%; accent-color: var(--c-accent); }
.size-finder__seg { display: flex; gap: 8px; flex-wrap: wrap; }
.size-finder__seg button {
  border: 1.5px solid rgba(255,255,255,.25);
  background: transparent;
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-btn);
  font-weight: 700;
}
.size-finder__seg button.is-active { background: var(--c-accent); color: var(--c-dark); border-color: var(--c-accent); }
.size-finder__result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; margin-top: 8px; }
.size-finder__result div { background: rgba(255,255,255,.08); border-radius: 12px; padding: 14px 6px; }
.size-finder__result b { display: block; font-family: var(--font-heading); font-size: 28px; color: var(--c-accent); line-height: 1.1; }
.size-finder__result small { opacity: .7; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--marquee-bg, var(--c-accent));
  color: var(--marquee-fg, var(--c-dark));
  padding-block: 18px;
  direction: ltr;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee var(--marquee-speed, 30s) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 40px; padding-inline-end: 40px; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(16px, 2vw, 22px);
  white-space: nowrap;
  direction: rtl;
}
.marquee__item .icon { width: 20px; height: 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Shop the look ---------- */
.look { display: grid; gap: 24px; align-items: center; }
@media (min-width: 990px) { .look { grid-template-columns: 1.4fr 1fr; gap: 48px; } }
.look__media {
  position: relative;
  border-radius: calc(var(--radius-img) * 1.6);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--c-photo);
}
.look__media > img, .look__media > svg { width: 100%; height: 100%; object-fit: cover; }
.hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
[dir="rtl"] .hotspot { transform: translate(50%, -50%); }
.hotspot::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #fff;
  animation: pulse 2s infinite;
}
.hotspot span { width: 10px; height: 10px; border-radius: 50%; background: var(--c-text); }
.hotspot.is-active span { background: var(--c-sale); }
@keyframes pulse { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.look__items { display: grid; gap: 12px; }
.look__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--c-surface);
  border-radius: var(--radius-img);
  border: 2px solid transparent;
  transition: border-color .2s;
}
.look__item.is-active { border-color: var(--c-text); }
.look__item > img, .look__item > .placeholder-svg { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; background: var(--c-photo); flex-shrink: 0; }
.look__item h3 { font-size: 16px; margin: 0 0 4px; }
.look__item > .icon { margin-inline-start: auto; width: 20px; height: 20px; opacity: .6; }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 88%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.testimonials::-webkit-scrollbar { display: none; }
@media (min-width: 750px) { .testimonials { grid-auto-columns: calc((100% - 32px) / 2); } }
@media (min-width: 990px) { .testimonials { grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; } }
.testimonial {
  scroll-snap-align: start;
  background: var(--c-surface);
  border-radius: calc(var(--radius-img) * 1.4);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial__quote { font-size: 17px; line-height: 1.8; margin: 0; flex: 1; }
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--c-accent);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--c-dark);
  overflow: hidden;
}
.testimonial__author b { display: block; font-family: var(--font-heading); }
.testimonial__author small { opacity: .65; }
.testimonial__product { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.08); font-size: 14px; font-weight: 600; }
.testimonial__product img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 750px) { .gallery { grid-template-columns: repeat(var(--cols, 5), 1fr); gap: 14px; } }
.gallery__item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-img);
  overflow: hidden;
  background: var(--c-photo);
}
.gallery__item img, .gallery__item svg { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery__item::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  background: rgba(20,26,15,.55);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  opacity: 0;
  transition: opacity .3s;
}
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover img { transform: scale(1.06); }

/* ---------- Image with text ---------- */
.iwt { display: grid; gap: 28px; align-items: center; }
@media (min-width: 990px) { .iwt { grid-template-columns: 1fr 1fr; gap: 64px; } .iwt--reverse .iwt__media { order: 2; } }
.iwt__media { border-radius: calc(var(--radius-img) * 1.6); overflow: hidden; aspect-ratio: 5 / 4; background: var(--c-photo); }
.iwt__media img, .iwt__media svg { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-dark); color: rgba(255,255,255,.75); padding-top: 64px; }
.footer__newsletter {
  display: grid;
  gap: 20px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (min-width: 990px) { .footer__newsletter { grid-template-columns: 1fr 1fr; align-items: center; } }
.footer__newsletter h2 { color: var(--c-accent); font-size: clamp(26px, 3.6vw, 44px); margin: 0 0 8px; }
.footer__newsletter p { margin: 0; }
.newsletter-form {
  display: flex;
  gap: 6px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-btn);
  padding: 6px;
  padding-inline-start: 20px;
}
.newsletter-form input { flex: 1; background: none; border: 0; outline: none; color: #fff; min-width: 0; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form .btn { background: var(--c-accent); color: var(--c-dark); border-color: var(--c-accent); }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding-block: 48px;
}
@media (min-width: 990px) { .footer__cols { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 990px) { .footer__brand { grid-column: auto; } }
.footer__brand .header__logo-text { color: #fff; }
.footer__brand p { max-width: 360px; }
.footer__col h3 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__col a:hover { color: var(--c-accent); }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  display: grid;
  place-items: center;
  transition: all .2s;
}
.socials a:hover { background: var(--c-accent); color: var(--c-dark); border-color: var(--c-accent); }
.socials .icon { width: 18px; height: 18px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 14px;
}
.payment-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.payment-icons span {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  font-size: 12px;
  font-weight: 700;
}
.footer__big {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(64px, 17vw, 260px);
  line-height: .8;
  text-align: center;
  color: rgba(255,255,255,.05);
  margin: 0;
  padding-top: 10px;
  overflow: hidden;
  user-select: none;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  inset-inline-start: 20px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(37,211,102,.4);
}
.whatsapp-float .icon { width: 30px; height: 30px; }

/* ---------- Collection / Search pages ---------- */
.page-hero {
  padding-block: 48px 32px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(30px, 5vw, 56px); margin: 0; }
.page-hero p { opacity: .75; margin: 8px auto 0; max-width: 640px; }
.breadcrumbs { font-size: 13px; opacity: .65; margin-bottom: 10px; display: flex; gap: 8px; justify-content: center; }
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.toolbar select { min-height: 44px; border-radius: var(--radius-btn); border: 1.5px solid rgba(0,0,0,.14); padding: 0 18px; background: var(--c-surface); }
.subcats { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span {
  min-width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 700;
}
.pagination a:hover { background: rgba(0,0,0,.06); }
.pagination .is-current { background: var(--c-btn); color: var(--c-btn-text); }
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .icon { width: 64px; height: 64px; opacity: .35; margin: 0 auto 12px; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 990px) { .cart-layout { grid-template-columns: 1.6fr 1fr; gap: 40px; } }
.cart-items { display: grid; gap: 12px; }
.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--c-surface);
  padding: 14px;
  border-radius: var(--radius-img);
}
.cart-item img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; background: var(--c-photo); }
.cart-item h3 { font-size: 16px; margin: 0 0 4px; }
.cart-item__variant { font-size: 13px; opacity: .65; }
.cart-item__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-item__remove { font-size: 13px; text-decoration: underline; background: none; border: 0; opacity: .7; }
.cart-summary {
  background: var(--c-surface);
  border-radius: calc(var(--radius-img) * 1.4);
  padding: 24px;
  display: grid;
  gap: 14px;
}
@media (min-width: 990px) { .cart-summary { position: sticky; top: 96px; } }
.cart-summary__row { display: flex; justify-content: space-between; font-weight: 600; }
.cart-summary__total { font-size: 22px; font-family: var(--font-heading); font-weight: 800; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.08); }
.coupon-form { display: flex; gap: 8px; }
.coupon-form .field { min-height: 46px; }

/* ---------- Auth ---------- */
.auth { max-width: 460px; margin: 0 auto; background: var(--c-surface); padding: 32px; border-radius: calc(var(--radius-img) * 1.4); display: grid; gap: 12px; }
.auth h1 { text-align: center; font-size: 30px; }
.auth__links { display: flex; justify-content: space-between; font-size: 14px; flex-wrap: wrap; gap: 8px; }
.auth__links a { text-decoration: underline; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   CH SHOES — brand layer
   ========================================================================== */
.header__logo img { width: var(--logo-w, 220px); max-height: 60px; object-fit: contain; }
.header__logo-light { display: none !important; }
.template-index.has-transparent-header .site-header--transparent:not(.is-scrolled) .header__logo-dark { display: none !important; }
.template-index.has-transparent-header .site-header--transparent:not(.is-scrolled) .header__logo-light { display: block !important; }
@media (max-width: 749px) { .header__logo img { width: min(var(--logo-w, 220px), 160px); } }

.hero__title { letter-spacing: -.01em; }
.eyebrow { color: #A9832F; opacity: 1; }
.hero .eyebrow, .size-finder .eyebrow, .site-footer .eyebrow { color: var(--c-accent); }
.section-title { color: var(--c-text); }

/* Product page */
.product__price-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.product__info .rating { font-size: 14px; }
.product-form { display: grid; gap: 18px; }
.product-form__options { display: grid; gap: 18px; }
.option-group legend b { font-weight: 800; }
.option-group legend { justify-content: flex-start; gap: 6px; }
.option-group legend span { font-weight: 600; opacity: .75; }

.swatch {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 3px;
  background: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,.14);
  transition: box-shadow .2s, transform .2s;
}
.swatch > span { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.swatch--image { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; }
.swatch--image img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.swatch--text { width: auto; height: 44px; border-radius: 12px; padding: 0 16px; font-weight: 700; background: var(--c-surface); }
.swatch:hover { transform: translateY(-1px); }
.swatch.is-active { box-shadow: 0 0 0 2px var(--c-text); }
.swatch.is-unavailable { opacity: .35; }
.option-btn { min-width: 56px; }

.cod-form {
  border: 0;
  background: var(--c-surface);
  border-radius: calc(var(--radius-img) * 1.3);
  padding: 22px;
  gap: 12px;
  box-shadow: 0 0 0 2px var(--c-accent), 0 18px 40px rgba(20, 33, 61, .08);
}
.cod-form__head { text-align: center; margin-bottom: 4px; }
.cod-form__head h3 { font-size: 20px; margin: 0; }
.cod-form__head p { margin: 4px 0 0; font-size: 14px; opacity: .7; }
.cod-field { position: relative; display: block; }
.cod-field > .icon {
  position: absolute;
  top: 50%;
  inset-inline-start: 16px;
  transform: translateY(-50%);
  width: 19px;
  height: 19px;
  opacity: .5;
  pointer-events: none;
}
.cod-field .field { padding-inline-start: 46px; min-height: 54px; font-size: 16px; background: var(--c-bg); border-color: transparent; }
.cod-field .field:focus { background: #fff; border-color: var(--c-text); }
.cod-field input[type="tel"] { unicode-bidi: plaintext; }
.cod-field .field:user-invalid { border-color: var(--c-sale); }
.cod-form__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cod-form__total { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.cod-form__total span { font-size: 13px; opacity: .65; }
.cod-form__total b { font-family: var(--font-heading); font-size: 22px; }
.qty--sm { height: 46px; }
.qty--sm button { width: 40px; }
.btn--order {
  min-height: 58px;
  font-size: 17px;
  background: var(--c-btn);
  animation: orderPulse 2.4s ease-in-out infinite;
}
@keyframes orderPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(226, 184, 92, .55); } 50% { box-shadow: 0 0 0 8px rgba(226, 184, 92, 0); } }
.btn.is-loading { opacity: .7; pointer-events: none; }
.btn.is-loading span::after { content: " ..."; }
.cod-form__trust {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 12.5px;
  font-weight: 600;
  opacity: .8;
}
.cod-form__trust li { display: inline-flex; align-items: center; gap: 6px; }
.cod-form__trust .icon { width: 16px; height: 16px; color: #A9832F; }

.sticky-buy {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--c-surface);
  box-shadow: 0 -10px 30px rgba(0,0,0,.1);
  transform: translateY(110%);
  transition: transform .3s ease;
}
.sticky-buy.is-visible { transform: none; }
.sticky-buy__info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.sticky-buy__info b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__info span { font-family: var(--font-heading); font-weight: 800; }
.sticky-buy .btn { min-height: 46px; padding-inline: 26px; }
@media (min-width: 990px) { .sticky-buy { display: none; } }
.template-product .whatsapp-float { bottom: 84px; }
@media (min-width: 990px) { .template-product .whatsapp-float { bottom: 20px; } }

/* Product card: "order now" pill always visible on touch */
.card__info .card__order {
  display: none;
}
@media (hover: none) {
  .card__info .card__order {
    display: inline-flex;
    margin-top: 8px;
    min-height: 38px;
    font-size: 13px;
    padding: 8px 14px;
    position: relative;
    z-index: 2;
  }
}
@media (max-width: 989px) {
  .template-product .whatsapp-float { display: none; }
  .template-product .breadcrumbs { display: none; }
  .template-product .section--tight { padding-top: 16px; }
  .product__thumbs { gap: 8px; }
  .option-btn { min-width: 48px; height: 46px; padding: 0 10px; }
}

/* Product photos on the ivory backdrop: show the whole shoe */
.collection-tile { background: var(--c-photo); }
.collection-tile__media img.is-contain { object-fit: contain; object-position: center 38%; padding: 8% 6% 22%; }
