@font-face {
  font-family: "SairaLocal";
  src: url("https://cdn.shopify.com/s/files/1/0598/1837/7276/files/Saira-SemiBold.ttf?v=1773741170");
  font-weight: 600;
  font-display: swap;
}

.hidden { display: none !important; }

@font-face {
  font-family: "InterLocal";
  src: url("https://cdn.shopify.com/s/files/1/0598/1837/7276/files/Inter-Regular.ttf?v=1707889366");
  font-weight: 400;
  font-display: swap;
}

:root {
  --text: #111111;
  --muted: #666666;
  --soft: #f5f5f3;
  --line: #e4e4df;
  --dark: #191919;
  --dark-2: #222222;
  --white: #ffffff;
  --accent: #ec7700;
  --green: #108474;
  --shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "InterLocal", Inter, Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.drawer-open,
body.modal-open,
body.is-loading {
  overflow: hidden;
}

body.is-loading > *:not(.site-loader) {
  visibility: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  background: var(--white);
  color: var(--text);
  transition: opacity 240ms ease, visibility 240ms ease;
}

.site-loader.hide {
  opacity: 0;
  visibility: hidden;
}

.site-loader img {
  width: 116px;
  max-height: 78px;
  object-fit: contain;
}

.site-loader span {
  position: relative;
  padding-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-loader span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--text), transparent);
  transform: translateX(-50%);
  animation: loaderPulse 900ms ease-in-out infinite;
}

@keyframes loaderPulse {
  0%,
  100% {
    opacity: 0.25;
    transform: translateX(-50%) scaleX(0.7);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1.2);
  }
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(236, 119, 0, 0.16);
}

a,
input,
textarea {
  -webkit-tap-highlight-color: rgba(236, 119, 0, 0.16);
}

h1,
h2,
h3,
.brand-name {
  font-family: "SairaLocal", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
}

.top-strip {
  min-height: 34px;
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 8px 14px;
  background: var(--dark);
  color: var(--white);
  font-size: 12px;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 74px;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  padding: 0 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 140px;
  justify-self: start;
}

.brand img {
  width: 58px;
  height: 48px;
  object-fit: contain;
}

.brand-name {
  color: var(--text);
  font-size: 22px;
  letter-spacing: 0.04em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
  color: #1d1d1d;
}

.desktop-nav > a,
.nav-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 74px;
}

.desktop-nav a:hover {
  color: var(--accent);
}

.nav-item {
  position: relative;
}

.mega-menu {
  position: absolute;
  left: 50%;
  top: 100%;
  width: min(940px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translate(-50%, 14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.mega-menu.compact {
  width: min(760px, calc(100vw - 48px));
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-menu h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.mega-menu p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(90px, 1fr));
  gap: 16px;
}

.mega-grid a {
  display: grid;
  gap: 9px;
  justify-items: center;
  padding: 10px;
  border: 1px solid transparent;
  text-align: center;
  font-size: 13px;
}

.mega-grid a:hover {
  border-color: var(--line);
  color: var(--text);
}

.mega-grid img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--text);
}

.icon-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.menu-trigger {
  display: none;
}

.menu-trigger span {
  width: 22px;
  height: 1.5px;
  margin: 3px 0;
  background: var(--text);
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 1px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #da3f3f;
  color: var(--white);
  font-size: 11px;
}

.hero {
  position: relative;
  background: var(--dark);
}

.hero-track {
  position: relative;
  min-height: clamp(420px, 46.8vw, 900px);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 600ms ease, transform 850ms ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-slide picture,
.hero-slide img {
  width: 100%;
  height: 100%;
}

.hero-slide img {
  object-fit: cover;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 12%;
  width: min(620px, calc(100vw - 40px));
  color: var(--white);
  text-align: center;
  transform: translateX(-50%);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
  display: none;
}

.hero-copy.left {
  left: 8%;
  text-align: left;
  transform: none;
}

.hero-copy p {
  margin: 0 0 12px;
  font-size: 15px;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(36px, 5vw, 68px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid currentColor;
  font-size: 13px;
  text-transform: uppercase;
}

.btn.light {
  color: var(--white);
}

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

.hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 22px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--white);
  border-radius: 50%;
  background: transparent;
}

.hero-dots button.active {
  background: var(--white);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  color: var(--white);
  transform: translateY(-50%);
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.48);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.section {
  padding: 64px max(22px, calc((100vw - var(--container)) / 2));
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head.center {
  justify-content: center;
  text-align: center;
}

.section-head p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 44px);
}

.light-text,
.light-text p,
.light-text h2 {
  color: var(--white);
}

.collection-pills {
  padding-top: 50px;
  padding-bottom: 32px;
}

.collection-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.round-card {
  display: block;
  text-align: center;
  font-family: "SairaLocal", Arial, sans-serif;
  font-size: 18px;
}

.round-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.round-card span {
  display: block;
  margin-top: 12px;
}

.round-card:hover img {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.13);
}

.visual-mosaic {
  background: #efefee;
  overflow: hidden;
}

.mosaic-head {
  min-height: 128px;
  display: grid;
  align-content: center;
  justify-content: center;
  padding: 34px 22px 28px;
  text-transform: uppercase;
}

.mosaic-head p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.mosaic-head h2 {
  margin: 0;
  font-size: 30px;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 260px;
}

.mosaic-grid a {
  min-width: 0;
  overflow: hidden;
  background: #ececea;
}

.mosaic-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease, filter 300ms ease;
}

.mosaic-grid a:hover img {
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.04);
}

.activity-section {
  background: var(--white);
  padding-top: 76px;
}

.activity-section .section-head {
  margin-bottom: 34px;
}

.activity-section .section-head h2 {
  font-size: 46px;
  text-transform: uppercase;
}

.activity-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 34px;
  margin: 0 auto 46px;
}

.activity-tabs a {
  padding-bottom: 6px;
  border-bottom: 2px solid #d7d7d2;
  color: #9a9a9a;
  font-size: 16px;
}

.activity-tabs a.active,
.activity-tabs a:hover {
  border-color: var(--accent);
  color: var(--text);
}

.activity-showcase {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.activity-card {
  position: absolute;
  width: 250px;
  aspect-ratio: 0.72;
  overflow: hidden;
  border: 3px solid var(--white);
  border-radius: 16px;
  background: #f2f2f0;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.activity-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-card:hover {
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.2);
}

.card-one {
  z-index: 1;
  transform: translateX(-360px) scale(0.78);
}

.card-two {
  z-index: 2;
  transform: translateX(-210px) scale(0.92);
}

.card-main {
  z-index: 5;
  width: 340px;
}

.card-four {
  z-index: 3;
  transform: translateX(230px) scale(0.92);
}

.card-five {
  z-index: 1;
  transform: translateX(382px) scale(0.78);
}

.activity-cta {
  width: min(460px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 10px auto 56px;
  color: #222222;
  font-size: 16px;
}

.activity-cta span {
  min-width: 44px;
  text-align: center;
}

.activity-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.activity-benefits article {
  min-height: 154px;
  display: grid;
  justify-items: center;
  align-content: center;
  padding: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #fafafa);
  text-align: center;
}

.activity-benefits img {
  width: 56px;
  height: 56px;
  padding: 12px;
  border-radius: 8px;
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(236, 119, 0, 0.25);
  object-fit: contain;
}

.activity-benefits h3 {
  margin: 18px 0 4px;
  font-size: 22px;
}

.activity-benefits p {
  margin: 0;
  color: var(--muted);
}

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

.dark-panel .section-head p {
  color: #c9c9c9;
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.arrow-btn {
  width: 46px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: inherit;
}

.category-section .arrow-btn,
.lookbook .arrow-btn {
  border-color: var(--line);
}

.product-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 60px) / 4);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.product-rail::-webkit-scrollbar {
  display: none;
}

.product-card {
  min-width: 0;
  scroll-snap-align: start;
  color: var(--text);
  background: var(--white);
}

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #f1f1ee;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.035);
}

.product-card.is-out-of-stock .product-media img {
  filter: grayscale(0.25);
  opacity: 0.68;
}

.product-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 9px;
  background: var(--text);
  color: var(--white);
  font-size: 11px;
  text-transform: uppercase;
}

.wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.14);
}

.quick-add {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 42px;
  border: 1px solid var(--text);
  background: var(--white);
  color: var(--text);
  text-transform: uppercase;
  transform: translateY(56px);
  transition: transform 220ms ease;
}

.product-card:hover .quick-add {
  transform: translateY(0);
}

.quick-add:disabled,
.select-btn:disabled,
.detail-add:disabled {
  cursor: not-allowed;
  border-color: var(--line);
  background: #d8d8d2;
  color: #686862;
}

.product-card.is-out-of-stock .quick-add {
  transform: translateY(0);
}

.product-info {
  padding: 14px 4px 6px;
  background: var(--white);
}

.product-title {
  display: block;
  min-height: 44px;
  margin: 0 0 6px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}

.price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 700;
}

.price s,
.detail-price s {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.rating {
  margin: 7px 0 8px;
  color: #fbcd0a;
  font-size: 13px;
}

.description {
  min-height: 40px;
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.select-btn {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--text);
  background: var(--white);
  text-transform: uppercase;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.category-card {
  display: grid;
  gap: 10px;
  text-align: center;
  font-family: "SairaLocal", Arial, sans-serif;
  font-size: 17px;
}

.category-card picture {
  display: block;
  overflow: hidden;
  background: var(--soft);
}

.category-card img {
  width: 100%;
  aspect-ratio: 0.8;
  object-fit: cover;
  transition: transform 240ms ease;
}

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

.summer-grid {
  background: #f7f7f4;
}

.motion-marquee {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.motion-marquee span {
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 12px;
  text-transform: uppercase;
}

.summer-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.service-strip > div {
  min-height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 26px;
  background: var(--white);
  text-align: center;
}

.service-strip img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 14px;
}

.service-strip h3 {
  margin: 0 0 4px;
  font-size: 22px;
}

.service-strip p {
  margin: 0;
  color: var(--muted);
}

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

.lookbook-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) 1fr;
  gap: 32px;
  align-items: start;
}

.lookbook-image {
  position: relative;
  overflow: hidden;
}

.lookbook-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.pin {
  position: absolute;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--white);
  border-radius: 50%;
  background: var(--text);
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.18);
}

.pin.active {
  background: var(--accent);
}

.pin-one {
  top: 27%;
  left: 52%;
}

.pin-two {
  top: 55%;
  left: 52%;
}

.pin-three {
  top: 86%;
  left: 56%;
}

.look-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.look-products .product-card {
  background: var(--white);
}

.video-band {
  background: #f4f4ef;
}

.video-band .section-head p {
  text-transform: none;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.video-grid article {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: var(--dark);
}

.video-grid article::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 1;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.video-grid article::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  border-left: 15px solid var(--white);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  transform: translate(-34%, -50%);
}

.video-grid img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  opacity: 0.82;
}

.video-grid span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  color: var(--white);
  font-family: "SairaLocal", Arial, sans-serif;
  font-size: 22px;
}

.fabric-section {
  background: var(--dark);
}

.fabric-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 96px) / 4);
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.fabric-grid::-webkit-scrollbar {
  display: none;
}

.fabric-card {
  scroll-snap-align: start;
  color: var(--white);
}

.fabric-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: brightness(0.9);
  transition: transform 240ms ease, filter 240ms ease;
}

.fabric-card:hover img {
  filter: brightness(1);
  transform: scale(1.02);
}

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

.fabric-card p {
  margin: 0 0 12px;
  color: #cdcdcd;
  font-size: 14px;
}

.fabric-card button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  text-decoration: underline;
}

.store-banner {
  position: relative;
  min-height: clamp(420px, 38rem, 620px);
  overflow: hidden;
  background: var(--dark);
}

.store-banner picture,
.store-banner img {
  width: 100%;
  height: 100%;
}

.store-banner img {
  min-height: clamp(420px, 38rem, 620px);
  object-fit: cover;
  object-position: center;
}

.store-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.12) 48%, rgba(0, 0, 0, 0));
}

.store-copy {
  position: absolute;
  z-index: 1;
  left: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 58px;
  max-width: 560px;
}

.store-copy p {
  margin: 0 0 18px;
  color: var(--white);
  font-family: "SairaLocal", Arial, sans-serif;
  font-size: 46px;
  line-height: 1.1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.page-hero {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--dark);
}

.page-hero.compact-hero {
  min-height: 360px;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  opacity: 0.92;
}

.page-hero.brand-hero img {
  object-position: center top;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.08));
}

.page-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 0 max(22px, calc((100vw - var(--container)) / 2)) 54px;
  color: var(--white);
  display: none;
}

.page-hero-copy p,
.locator-panel > p {
  margin: 0 0 10px;
  font-size: 13px;
  text-transform: uppercase;
}

.page-hero-copy h1,
.locator-panel h1 {
  margin: 0 0 22px;
  font-size: clamp(38px, 5vw, 72px);
}

.listing-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 34px;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 4px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
}

.filter-panel h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.filter-panel a {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.filter-panel a:hover {
  color: var(--accent);
}

.listing-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.listing-toolbar p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.listing-toolbar h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
}

.listing-toolbar span {
  color: var(--muted);
}

.offer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.offer-row span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  background: #f7f7f4;
  font-size: 12px;
  text-transform: uppercase;
}

.offer-row.strong span {
  border-color: #282828;
  background: #282828;
  color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
}

.product-detail-wrap {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) 1fr;
  gap: 44px;
  align-items: start;
}

.product-gallery {
  display: grid;
  gap: 12px;
}

.product-gallery > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--soft);
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 12px;
}

.thumb-row img,
.gallery-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--soft);
}

.gallery-thumb {
  padding: 0;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
}

.gallery-thumb.active {
  border-color: var(--ink);
}

.gallery-thumb:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.product-buybox {
  position: sticky;
  top: 98px;
}

.breadcrumb {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.product-badge.inline {
  position: static;
  display: inline-flex;
  margin-bottom: 14px;
}

.product-buybox h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 3.5vw, 54px);
}

.detail-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
}

.tax-note,
.detail-desc {
  color: var(--muted);
}

.size-picker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.size-picker span {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.size-picker button {
  width: 46px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
}

.size-picker button.active {
  border-color: var(--text);
  background: var(--text);
  color: var(--white);
}

.detail-add {
  width: 100%;
  min-height: 52px;
  border: 0;
  background: var(--accent);
  color: var(--white);
  text-transform: uppercase;
}

.offer-box {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #f7f7f4;
}

.offer-box p {
  margin: 0;
  color: var(--muted);
}

.fabric-page-hero {
  min-height: 390px;
  display: grid;
  place-items: center;
  padding: 70px 22px;
  background: radial-gradient(circle at 20% 20%, #293331, var(--dark) 48%);
  color: var(--white);
  text-align: center;
}

.fabric-page-hero div {
  max-width: 820px;
}

.fabric-page-hero p {
  margin: 0 0 12px;
  color: #d9d9d9;
  text-transform: uppercase;
}

.fabric-page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 76px);
}

.fabric-page-hero span {
  color: #d4d4d4;
}

.fabric-section.standalone {
  padding-top: 58px;
}

.fabric-story {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  background: #f4f4ef;
}

.fabric-story article {
  padding: 28px;
  background: var(--white);
}

.fabric-story h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.fabric-story p {
  margin: 0;
  color: var(--muted);
}

.page-store {
  min-height: 420px;
}

.locator-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: stretch;
}

.locator-panel {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.locator-form {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.locator-form input {
  min-width: 0;
  flex: 1;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
}

.locator-form button {
  border: 0;
  background: var(--text);
  color: var(--white);
  padding: 0 18px;
  text-transform: uppercase;
}

.store-list {
  display: grid;
  gap: 12px;
}

.store-list article {
  padding: 16px;
  border: 1px solid var(--line);
  background: #f7f7f4;
}

.store-list .featured-store {
  display: grid;
  gap: 8px;
  border-color: #2c2c2c;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.store-list h2 {
  margin: 0 0 6px;
  font-size: 21px;
}

.store-list p,
.store-list span {
  margin: 0;
  color: var(--muted);
}

.store-list strong {
  color: var(--text);
}

.store-list .store-rating {
  color: #2f6fb2;
  font-weight: 700;
}

.map-card {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    #e8ece8;
  background-size: 46px 46px;
}

.map-card span {
  position: absolute;
  display: inline-grid;
  place-items: center;
  min-width: 92px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 13px;
}

.map-card span:nth-child(1) {
  left: 22%;
  top: 42%;
}

.map-card span:nth-child(2) {
  left: 54%;
  top: 62%;
}

.map-card span:nth-child(3) {
  left: 62%;
  top: 36%;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 30px;
  padding: 58px max(22px, calc((100vw - var(--container)) / 2)) 28px;
  background: #f4f4f1;
}

.site-footer h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.site-footer p,
.site-footer a,
.newsletter label {
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  display: block;
  margin-bottom: 9px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo img {
  width: 76px;
  max-height: 54px;
  object-fit: contain;
}

.footer-logo span {
  color: var(--text);
  font-family: "SairaLocal", Arial, sans-serif;
  font-size: 24px;
  letter-spacing: 0.04em;
}

.newsletter div {
  display: flex;
  margin-top: 10px;
}

.newsletter input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--white);
}

.newsletter button {
  min-width: 72px;
  border: 1px solid var(--text);
  background: var(--text);
  color: var(--white);
}

.copyright {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.drawer-panel {
  width: min(440px, 92vw);
  min-height: 100%;
  padding: 26px;
  background: var(--white);
  transform: translateX(100%);
  transition: transform 260ms ease;
}

.drawer.open .drawer-panel {
  transform: translateX(0);
}

.drawer-close,
.modal-close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  text-transform: uppercase;
}

.drawer-logo {
  width: 118px;
  max-height: 76px;
  object-fit: contain;
  margin-bottom: 30px;
}

.menu-panel a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-family: "SairaLocal", Arial, sans-serif;
  font-size: 24px;
}

.search-panel h2,
.cart-panel h2 {
  margin: 16px 0 20px;
  font-size: 30px;
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-form input {
  min-width: 0;
  flex: 1;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
}

.search-form button,
.checkout-btn {
  border: 0;
  background: var(--accent);
  color: var(--white);
  padding: 0 18px;
  text-transform: uppercase;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.search-tags a {
  padding: 8px 12px;
  border: 1px solid var(--line);
}

.cart-lines {
  min-height: 180px;
  color: var(--muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 68px;
  height: 82px;
  object-fit: cover;
  background: var(--soft);
}

.cart-item strong,
.cart-item p {
  margin: 0;
}

.cart-item p {
  color: var(--muted);
  font-size: 13px;
}

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

.cart-qty-controls button,
.cart-qty-controls span {
  min-width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.cart-qty-controls span {
  display: grid;
  place-items: center;
}

.cart-qty-controls button:last-child {
  width: auto;
  padding: 0 10px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.cart-offers {
  margin-top: 14px;
  padding: 12px;
  background: #f7f7f4;
  color: var(--muted);
  font-size: 13px;
}

.cart-offers p {
  margin: 0 0 6px;
}

.checkout-btn {
  width: 100%;
  min-height: 46px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-card {
  width: min(620px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 18px;
  background: var(--white);
}

.modal-card img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.modal-card h2 {
  margin: 18px 0 10px;
  font-size: 30px;
}

.modal-card p {
  margin: 0 0 8px;
  color: var(--muted);
}

.checkout-card {
  width: min(720px, 100%);
}

.checkout-note,
.checkout-status,
.checkout-error {
  font-size: 14px;
}

.checkout-error,
.checkout-status {
  font-weight: 700;
  color: var(--text);
}

/* ============================================================
   Customer Login / Sign-up
   ============================================================ */

.account-login-page {
  min-height: calc(100vh - 240px);
  padding: 48px 16px 64px;
  background: var(--soft);
}

.account-login-shell {
  max-width: 460px;
  margin: 0 auto;
}

.account-login-shell:has(.account-login-wide) {
  max-width: 560px;
}

.account-login-wide {
  padding: 36px 32px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.auth-tabs button {
  min-height: 40px;
  border: 1px solid var(--line);
  background: var(--soft);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
}

.auth-tabs button.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.auth-panel {
  display: none;
  gap: 0;
}

.auth-panel.active {
  display: grid;
}

.auth-otp-row {
  margin-top: 4px;
}

.auth-otp-row.hidden {
  display: none;
}

.account-login-card {
  background: var(--white);
  padding: 32px 28px;
  border: 1px solid var(--line);
}

.account-login-card > img {
  display: block;
  width: auto;
  height: 38px;
  margin: 0 auto 18px;
}

.account-login-card h1 {
  margin: 0 0 6px;
  font-family: "SairaLocal", Inter, Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.5px;
}

#authSubtitle,
.account-login-card > p {
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.account-login-card label {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.account-login-card input,
.account-login-card textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
}

.account-login-card input:focus,
.account-login-card textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
  border-color: var(--accent);
}

.account-login-card button[type="submit"] {
  width: 100%;
  padding: 13px;
  margin-top: 4px;
  font-family: "SairaLocal", Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--dark);
  border: none;
  cursor: pointer;
  transition: background 160ms ease;
}

.account-login-card button[type="submit"]:hover {
  background: var(--accent);
}

.account-login-card button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.otp-sent-text {
  margin: 0 0 16px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--green);
  background: rgba(16, 132, 116, 0.08);
  border-left: 3px solid var(--green);
}

.auth-step-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 13px;
  color: var(--accent);
  cursor: pointer;
}

.link-btn:hover {
  text-decoration: underline;
}

.auth-status,
.profile-status,
.address-status {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  min-height: 18px;
}

.auth-divider {
  position: relative;
  margin: 28px 0 22px;
  text-align: center;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}

.auth-divider span {
  position: relative;
  padding: 0 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  background: var(--white);
}

/* Order list for guest tracking page */
.order-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.order-list .order-card {
  border: 1px solid var(--line);
  padding: 16px;
  background: var(--white);
  border-radius: 8px;
}

.order-list .order-card + .order-card {
  margin-top: 0;
}

.guest-order-lookup h3 {
  margin: 0 0 4px;
  font-family: "SairaLocal", Inter, Arial, sans-serif;
  font-size: 16px;
}

.guest-order-lookup > p {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
}

/* ============================================================
   Customer Account Dashboard
   ============================================================ */

.account-page {
  min-height: calc(100vh - 240px);
  padding: 32px 16px 64px;
  background: var(--soft);
}

.account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  align-items: start;
}

.account-sidebar {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px 18px;
  position: sticky;
  top: 24px;
}

.account-user-card {
  padding-bottom: 18px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.account-avatar {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  font-family: "SairaLocal", Inter, Arial, sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  background: var(--dark);
  border-radius: 50%;
}

.account-user-card h2 {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 600;
}

.account-user-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.account-nav-btn {
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

.account-nav-btn:hover {
  background: var(--soft);
}

.account-nav-btn.active {
  background: var(--dark);
  color: var(--white);
}

.account-logout-btn {
  margin-top: 10px;
  color: var(--accent);
}

.account-logout-btn:hover {
  background: rgba(236, 119, 0, 0.08);
}

.account-content {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
  min-height: 400px;
}

.account-tab {
  display: none;
}

.account-tab.active {
  display: block;
}

.account-tab h1 {
  margin: 0 0 22px;
  font-family: "SairaLocal", Inter, Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.overview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.stat-card {
  padding: 18px 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  text-align: center;
}

.stat-card strong {
  display: block;
  font-family: "SairaLocal", Inter, Arial, sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--dark);
}

.stat-card span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
}

.overview-section h2 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 600;
}

.orders-list,
.addresses-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-card {
  border: 1px solid var(--line);
  padding: 16px;
  background: var(--white);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.order-header strong {
  font-size: 15px;
}

.order-date {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.order-status {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.order-status.status-delivered { color: var(--green); background: rgba(16,132,116,0.1); }
.order-status.status-cancelled { color: #c0392b; background: rgba(192,57,43,0.08); }
.order-status.status-pending,
.order-status.status-cod-placed,
.order-status.status-confirmed { color: var(--accent); background: rgba(236,119,0,0.1); }
.order-status.status-packed,
.order-status.status-shipped { color: #2c3e50; background: rgba(44,62,80,0.08); }

.order-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.order-line-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: center;
}

.order-line-item img {
  width: 52px;
  height: 52px;
  object-fit: cover;
}

.order-line-item strong {
  font-size: 13px;
  font-weight: 600;
}

.order-line-item p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.order-footer strong {
  font-size: 15px;
}

.cancel-order-btn {
  padding: 7px 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #c0392b;
  background: transparent;
  border: 1px solid #c0392b;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

.cancel-order-btn:hover {
  background: #c0392b;
  color: var(--white);
}

.cancel-status {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  min-height: 14px;
}

/* Profile + address forms reuse the login card styles */
.profile-form,
.address-form {
  max-width: 480px;
}

.profile-form input,
.address-form input,
.address-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 13px;
  font: inherit;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
}

.profile-form input:focus,
.address-form input:focus,
.address-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
  border-color: var(--accent);
}

.profile-form input[readonly] {
  background: var(--soft);
  color: var(--muted);
}

.profile-form label,
.address-form label {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
}

.profile-form button[type="submit"],
.address-form button[type="submit"],
.add-address-btn {
  padding: 12px 22px;
  font-family: "SairaLocal", Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--dark);
  border: none;
  cursor: pointer;
  transition: background 160ms ease;
}

.profile-form button[type="submit"]:hover,
.address-form button[type="submit"]:hover,
.add-address-btn:hover {
  background: var(--accent);
}

.add-address-btn {
  display: inline-block;
  margin-top: 16px;
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--dark);
}

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

.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 500 !important;
}

.checkbox-label input {
  width: auto !important;
  margin: 0 !important;
}

.form-actions {
  display: flex;
  gap: 12px;
}

.cancel-btn {
  padding: 12px 22px;
  font-family: "SairaLocal", Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}

.cancel-btn:hover {
  border-color: var(--muted);
}

.address-form-title,
.address-form h3 {
  margin: 0 0 16px;
  font-family: "SairaLocal", Inter, Arial, sans-serif;
  font-size: 17px;
}

/* ============================================================
   Order Confirmation Modal
   ============================================================ */

.order-confirm-card {
  width: min(480px, 100%);
  padding: 36px 28px 28px;
  text-align: center;
}

.order-confirm-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
}

.order-confirm-card h2 {
  margin: 0 0 6px;
  font-family: "SairaLocal", Inter, Arial, sans-serif;
  font-size: 24px;
}

.order-confirm-id {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.order-confirm-total {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--muted);
}

.order-confirm-lines {
  text-align: left;
  max-height: 220px;
  overflow-y: auto;
  margin: 0 0 22px;
  border-top: 1px solid var(--line);
}

.confirm-line {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.confirm-line img {
  width: 44px;
  height: 44px;
  object-fit: cover;
}

.confirm-line strong {
  font-size: 13px;
  font-weight: 600;
}

.confirm-line p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.confirm-line > span {
  font-size: 13px;
  font-weight: 600;
}

.order-confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-confirm-actions .btn-primary,
.order-confirm-actions .btn-secondary {
  display: block;
  width: 100%;
  padding: 13px;
  text-align: center;
  font-family: "SairaLocal", Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-primary {
  color: var(--white);
  background: var(--dark);
  border: 1px solid var(--dark);
}

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

.btn-secondary {
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--text);
}

/* ============================================================
   Responsive — account & login
   ============================================================ */

@media (max-width: 900px) {
  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    position: static;
  }

  .account-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .account-nav-btn {
    width: auto;
  }

  .account-logout-btn {
    margin-top: 0;
    margin-left: auto;
  }
}

@media (max-width: 600px) {
  .account-login-card,
  .account-content {
    padding: 22px 18px;
  }

  .overview-stats {
    grid-template-columns: 1fr;
  }

  .account-nav {
    flex-direction: column;
  }

  .account-logout-btn {
    margin-left: 0;
    margin-top: 10px;
  }

  .order-header {
    flex-direction: column;
  }

  .form-actions {
    flex-direction: column;
  }
}

.checkout-lines,
.checkout-totals {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.checkout-lines div,
.checkout-totals p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.checkout-totals p:last-child {
  border-bottom: 0;
  font-size: 20px;
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.checkout-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  padding: 10px 12px;
  font: inherit;
}

.checkout-form textarea {
  resize: vertical;
}

.checkout-coupon {
  display: grid;
  gap: 6px;
}

.checkout-coupon input {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.checkout-form button {
  min-height: 48px;
  border: 0;
  background: var(--accent);
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
}

.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 35;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

.whatsapp img {
  width: 31px;
  height: 31px;
  display: block;
}

.chatbot {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 36;
}

.chatbot-toggle {
  min-width: 58px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: var(--white);
  font-weight: 700;
  box-shadow: var(--shadow);
}

.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 54px;
  width: min(360px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.chatbot.open .chatbot-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.chatbot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--text);
  color: var(--white);
}

.chatbot-head span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.chatbot-head strong {
  display: block;
  font-size: 18px;
}

.chatbot-head button {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
}

.chatbot-messages {
  max-height: 230px;
  padding: 14px;
  overflow-y: auto;
  background: #f8f8f5;
}

.chatbot-messages p {
  width: fit-content;
  max-width: 88%;
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.bot-message {
  background: var(--white);
  color: var(--text);
}

.user-message {
  margin-left: auto !important;
  background: var(--text);
  color: var(--white);
}

.chatbot-quick {
  display: flex;
  gap: 8px;
  padding: 10px 12px 0;
  background: var(--white);
}

.chatbot-quick button {
  flex: 1;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 13px;
}

.chatbot-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: var(--white);
}

.chatbot-form input {
  min-width: 0;
  flex: 1;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
}

.chatbot-form button {
  min-width: 70px;
  border: 0;
  background: var(--text);
  color: var(--white);
  font-weight: 700;
}

.admin-login-page {
  min-height: 76vh;
  display: grid;
  align-items: center;
  padding: 70px max(22px, calc((100vw - 1120px) / 2));
  background: #f4f4f1;
}

.admin-login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  gap: 30px;
  align-items: stretch;
}

.admin-login-copy,
.admin-login-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 42px);
}

.admin-login-copy p,
.admin-login-card p {
  margin: 0 0 10px;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
}

.admin-login-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
}

.admin-login-copy ul {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.admin-login-copy li {
  padding-left: 18px;
  border-left: 4px solid var(--accent);
  color: var(--muted);
}

.admin-login-card {
  display: grid;
  gap: 16px;
  align-content: start;
}

.admin-login-card img {
  width: 180px;
  height: auto;
}

.admin-login-card label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.admin-login-card input {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  font: inherit;
}

.admin-login-card button {
  min-height: 50px;
  border: 0;
  background: var(--text);
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
}

.admin-login-status {
  min-height: 22px;
  color: var(--text);
}

.admin-page {
  background: #f4f4f1;
  min-height: 100vh;
}

.admin-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 64px max(22px, calc((100vw - var(--container)) / 2));
  background: var(--dark);
  color: var(--white);
}

.admin-hero > div:first-child {
  max-width: 780px;
}

.admin-hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-hero p,
.admin-card-head p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.admin-hero p {
  color: #cfcfcf;
}

.admin-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(38px, 5vw, 70px);
}

.compact-admin-hero {
  padding-top: 44px;
  padding-bottom: 44px;
}

.compact-admin-hero h1 {
  font-size: clamp(36px, 4vw, 56px);
}

.admin-hero span {
  color: #d7d7d7;
}

.admin-hero-actions .btn,
.admin-hero-actions button,
.admin-import {
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #ffffff;
  background: #ffffff;
  color: var(--text);
  padding: 0 16px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-hero-actions button,
.admin-import {
  font-family: inherit;
}

.admin-import {
  position: relative;
  overflow: hidden;
}

.admin-import input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  padding: 0 max(22px, calc((100vw - var(--container)) / 2));
  background: var(--line);
}

.admin-stats article {
  min-height: 120px;
  display: grid;
  align-content: center;
  padding: 24px;
  background: var(--white);
}

.admin-stats span {
  font-family: "SairaLocal", Arial, sans-serif;
  font-size: 34px;
}

.admin-stats p {
  margin: 4px 0 0;
  color: var(--muted);
}

.admin-notice {
  max-width: var(--container);
  min-height: 24px;
  margin: 16px auto 0;
  padding: 0 22px;
  color: #14724f;
  font-weight: 800;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.admin-notice.show {
  opacity: 1;
}

.admin-tabs {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  gap: 1px;
  max-width: var(--container);
  margin: 16px auto 0;
  padding: 0 22px;
  overflow-x: auto;
}

.admin-tabs a {
  flex: 0 0 auto;
  padding: 13px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-tabs a.active {
  border-color: var(--text);
  background: var(--text);
  color: var(--white);
}

.admin-layer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: var(--container);
  margin: 34px auto 50px;
  padding: 0 22px;
}

.admin-layer-card {
  min-height: 260px;
  display: grid;
  align-content: end;
  gap: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 24px;
  color: var(--text);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.admin-layer-card:hover {
  border-color: var(--text);
  transform: translateY(-3px);
}

.admin-layer-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-layer-card h2 {
  margin: 0;
  font-size: 26px;
}

.admin-layer-card span {
  color: var(--muted);
  line-height: 1.55;
}

.admin-layer-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.admin-layer-actions a {
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-analytics,
.admin-orders,
.admin-help,
.bulk-discount-card {
  max-width: var(--container);
  margin: 0 auto 24px;
}

.admin-orders {
  margin-bottom: 44px;
}

.admin-help-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-help-grid article {
  border: 1px solid var(--line);
  padding: 14px;
}

.admin-help-grid strong,
.admin-help-grid span {
  display: block;
}

.admin-help-grid span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-top: 8px;
}

.admin-muted {
  color: var(--muted);
  line-height: 1.55;
  margin: 12px 0 0;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
}

.analytics-grid article {
  min-height: 112px;
  display: grid;
  align-content: center;
  padding: 18px;
  background: #fafafa;
}

.analytics-grid span {
  font-family: "SairaLocal", Arial, sans-serif;
  font-size: 28px;
  line-height: 1.1;
}

.analytics-grid p {
  margin: 6px 0 0;
  color: var(--muted);
}

.analytics-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.analytics-split > div {
  padding: 16px;
  border: 1px solid var(--line);
  background: #fafafa;
}

.analytics-split h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.analytics-split p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.analytics-split p:first-of-type {
  border-top: 0;
}

.analytics-split strong {
  color: var(--text);
  overflow-wrap: anywhere;
}

.admin-order-list {
  display: grid;
  gap: 10px;
}

.admin-order-list article {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fafafa;
}

.admin-order-note {
  color: var(--muted);
  margin: 0 0 14px;
}

.admin-order-list strong,
.admin-order-list span,
.admin-order-list small {
  overflow-wrap: anywhere;
}

.admin-order-list small {
  color: var(--muted);
}

.admin-order-items {
  list-style: none;
  margin: 12px 0;
  padding: 0;
}

.admin-order-items li {
  border-top: 1px solid var(--line);
  padding: 10px 0;
}

.admin-order-items li:last-child {
  border-bottom: 1px solid var(--line);
}

.admin-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding: 34px max(22px, calc((100vw - var(--container)) / 2));
}

.admin-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 24px;
}

.admin-product-workbench {
  align-items: start;
}

.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-card-head h2 {
  margin: 0;
  font-size: 28px;
}

.admin-card-head button,
.admin-actions button,
.product-admin-table button {
  min-height: 40px;
  border: 1px solid var(--text);
  background: var(--text);
  color: var(--white);
  padding: 0 14px;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-form,
.discount-form,
.site-config-form {
  display: grid;
  gap: 14px;
}

.admin-form label,
.discount-form label,
.site-config-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.admin-form input,
.admin-form textarea,
.admin-form select,
.discount-form input,
.site-config-form input,
.site-config-form textarea,
.site-config-form select,
.admin-table-tools input,
.admin-table-tools select {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  text-transform: none;
}

.admin-form textarea {
  min-height: 86px;
  padding-top: 10px;
  resize: vertical;
}

.admin-product-editor {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  align-items: start;
}

.admin-product-fields {
  display: grid;
  gap: 14px;
}

.admin-image-field {
  display: grid;
  gap: 10px;
}

.admin-image-field > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--soft);
  border: 1px solid var(--line);
}

.admin-gallery-manager {
  display: grid;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.admin-gallery-head {
  display: grid;
  gap: 4px;
}

.admin-gallery-head strong {
  font-size: 14px;
}

.admin-gallery-head span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.admin-gallery-list {
  display: grid;
  gap: 10px;
}

.admin-gallery-empty {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-gallery-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  background: #fafaf8;
}

.admin-gallery-item > img {
  width: 72px;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--soft);
}

.admin-gallery-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-gallery-item-actions button {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.hero-admin-grid .admin-image-field > img,
.store-admin-grid .admin-image-field > img {
  aspect-ratio: 16 / 7;
}

.upload-drop {
  position: relative;
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px dashed #777;
  background: #f8f8f6;
  color: var(--text) !important;
  font-size: 12px !important;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  cursor: pointer;
}

.upload-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.admin-form-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-actions button:first-child {
  background: var(--accent);
  border-color: var(--accent);
}

.admin-guide {
  position: sticky;
  top: 80px;
}

.admin-guide ul {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.admin-mini-preview {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 12px;
  background: #fafafa;
}

.admin-mini-preview img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--soft);
}

.admin-mini-preview strong,
.admin-mini-preview span,
.admin-mini-preview small {
  display: block;
}

.admin-mini-preview span {
  font-weight: 900;
}

.admin-mini-preview small {
  color: var(--muted);
}

.admin-preview-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.admin-preview-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #fff;
}

.admin-preview-gallery span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
}

.offer-preview-list {
  display: grid;
  gap: 12px;
}

.offer-preview-list article {
  border: 1px solid var(--line);
  padding: 16px;
  background: #fbfbfa;
}

.offer-preview-list span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.offer-preview-list strong {
  display: block;
  font-size: 20px;
}

.offer-preview-list p {
  margin: 6px 0 0;
  color: var(--muted);
}

.site-config-card {
  max-width: var(--container);
  margin: 0 auto 34px;
}

.site-config-form fieldset {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
}

.site-config-form legend {
  padding: 0 8px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero-admin-grid article,
.store-admin-grid {
  align-content: start;
}

.store-admin-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
}

.product-admin-table {
  margin: 0 max(22px, calc((100vw - var(--container)) / 2)) 44px;
}

.admin-table-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 200px;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.product-admin-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.product-admin-table th,
.product-admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  font-size: 13px;
}

.product-admin-table th {
  color: var(--muted);
  text-transform: uppercase;
}

.product-admin-table img {
  width: 54px;
  height: 68px;
  object-fit: cover;
  background: var(--soft);
}

.product-admin-table strong,
.product-admin-table small {
  display: block;
}

.product-admin-table small {
  color: var(--muted);
  margin-top: 4px;
}

.admin-row-actions {
  min-width: 230px;
}

.admin-row-actions button {
  margin: 0 5px 5px 0;
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
}

.admin-row-actions button:nth-child(2) {
  background: var(--white);
  color: var(--text);
}

.admin-row-actions button:nth-child(3) {
  border-color: #b42318;
  background: #b42318;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 60px 1fr auto;
    padding: 0 16px;
  }

  .menu-trigger {
    display: inline-grid;
    justify-self: start;
  }

  .desktop-nav {
    display: none;
  }

  .brand {
    justify-self: center;
  }

  .collection-row,
  .category-grid,
  .summer-products,
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .activity-card {
    width: 220px;
  }

  .card-one {
    transform: translateX(-290px) scale(0.78);
  }

  .card-two {
    transform: translateX(-165px) scale(0.92);
  }

  .card-main {
    width: 300px;
  }

  .card-four {
    transform: translateX(180px) scale(0.92);
  }

  .card-five {
    transform: translateX(305px) scale(0.78);
  }

  .listing-shell,
  .product-detail-wrap,
  .locator-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel,
  .product-buybox {
    position: static;
  }

  .product-rail {
    grid-auto-columns: calc((100% - 20px) / 2);
  }

  .fabric-grid {
    grid-auto-columns: calc((100% - 32px) / 2);
  }

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

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

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

  .admin-product-editor,
  .store-admin-grid,
  .hero-admin-grid {
    grid-template-columns: 1fr;
  }

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

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

  .admin-guide {
    position: static;
  }

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

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

  .analytics-split {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .top-strip {
    gap: 12px;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }

  .site-header {
    height: 64px;
  }

  .brand img {
    width: 50px;
  }

  .hero-track {
    min-height: 480px;
  }

  .hero-arrow {
    width: 38px;
    height: 38px;
  }

  .hero-prev {
    left: 12px;
  }

  .hero-next {
    right: 12px;
  }

  .hero-copy,
  .hero-copy.left {
    left: 20px;
    right: 20px;
    bottom: 58px;
    width: auto;
    text-align: left;
    transform: none;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .section {
    padding: 42px 16px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .collection-row {
    grid-template-columns: repeat(6, 42vw);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }

  .round-card {
    scroll-snap-align: start;
    font-size: 15px;
  }

  .mosaic-head {
    min-height: 104px;
    align-content: end;
    justify-content: start;
    padding: 28px 16px 20px;
  }

  .mosaic-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 230px;
  }

  .activity-section .section-head {
    align-items: center;
    text-align: center;
  }

  .activity-section .section-head h2 {
    font-size: 34px;
  }

  .activity-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 22px;
    overflow-x: auto;
    margin-bottom: 24px;
    padding-bottom: 8px;
  }

  .activity-tabs a {
    flex: 0 0 auto;
  }

  .activity-showcase {
    min-height: auto;
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 0 20px;
  }

  .activity-card,
  .card-one,
  .card-two,
  .card-main,
  .card-four,
  .card-five {
    position: relative;
    flex: 0 0 62vw;
    width: auto;
    transform: none;
  }

  .card-main {
    flex-basis: 72vw;
  }

  .activity-cta {
    margin-bottom: 32px;
  }

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

  .page-hero,
  .page-hero.compact-hero {
    min-height: 320px;
  }

  .page-hero-copy {
    padding: 0 16px 34px;
  }

  .listing-toolbar {
    align-items: start;
    flex-direction: column;
  }

  .filter-panel {
    display: flex;
    overflow-x: auto;
    padding: 12px;
  }

  .filter-panel h2 {
    display: none;
  }

  .filter-panel a {
    flex: 0 0 auto;
    padding: 9px 12px;
    border: 1px solid var(--line);
  }

  .category-grid,
  .summer-products,
  .look-products,
  .video-grid,
  .service-strip,
  .product-grid,
  .fabric-story {
    grid-template-columns: 1fr 1fr;
  }

  .locator-form {
    flex-direction: column;
  }

  .map-card {
    min-height: 360px;
  }

  .admin-hero {
    align-items: start;
    flex-direction: column;
    padding: 42px 16px;
  }

  .admin-login-page {
    padding: 34px 16px;
  }

  .checkout-lines div,
  .checkout-totals p {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .admin-stats,
  .admin-layout {
    padding-left: 16px;
    padding-right: 16px;
  }

  .admin-tabs {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-config-card,
  .product-admin-table,
  .admin-analytics,
  .admin-layer-grid,
  .admin-orders,
  .admin-help,
  .bulk-discount-card {
    margin-left: 16px;
    margin-right: 16px;
  }

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

  .analytics-grid article {
    min-height: 102px;
    padding: 14px;
  }

  .analytics-grid span {
    font-size: 24px;
  }

  .admin-layer-grid {
    padding-left: 0;
    padding-right: 0;
  }

  .admin-table-tools {
    grid-template-columns: 1fr;
  }

  .product-rail,
  .fabric-grid {
    grid-auto-columns: 78%;
  }

  .look-products {
    gap: 12px;
  }

  .video-grid article,
  .video-grid img {
    min-height: 300px;
  }

  .service-strip > div {
    min-height: 150px;
  }

  .service-strip > div:last-child {
    grid-column: 1 / -1;
  }

  .store-copy {
    left: 18px;
    right: 18px;
    bottom: 24px;
  }

  .store-copy p {
    font-size: 34px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .chatbot {
    right: 12px;
    bottom: 82px;
  }
}

@media (max-width: 460px) {
  .look-products,
  .video-grid,
  .fabric-story {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .summer-products,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-rail,
  .fabric-grid {
    grid-auto-columns: 88%;
  }

  .header-actions {
    gap: 4px;
  }

  .admin-form-grid,
  .admin-form-grid.three,
  .admin-stats,
  .analytics-grid,
  .admin-layer-grid,
  .admin-help-grid {
    grid-template-columns: 1fr;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
  }
}

@media (hover: none) {
  .product-card:hover .product-media img,
  .category-card:hover img,
  .round-card:hover img,
  .fabric-card:hover img,
  .mosaic-grid a:hover img {
    transform: none;
  }

  .quick-add {
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .top-strip {
    scrollbar-width: none;
  }

  .top-strip::-webkit-scrollbar,
  .collection-row::-webkit-scrollbar,
  .activity-tabs::-webkit-scrollbar,
  .activity-showcase::-webkit-scrollbar,
  .filter-panel::-webkit-scrollbar,
  .product-rail::-webkit-scrollbar,
  .fabric-grid::-webkit-scrollbar {
    display: none;
  }

  .site-header {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    height: 60px;
    padding: 0 12px;
  }

  .brand {
    min-width: 0;
    gap: 6px;
  }

  .brand img {
    width: 42px;
    height: 38px;
  }

  .brand-name {
    max-width: 132px;
    overflow: hidden;
    font-size: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-actions {
    gap: 2px;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
  }

  .icon-btn svg {
    width: 22px;
    height: 22px;
  }

  .cart-count {
    top: 1px;
    right: 0;
  }

  .hero-track {
    min-height: min(520px, calc(100svh - 94px));
  }

  .hero-slide img {
    object-position: 62% center;
  }

  .hero-arrow {
    display: none;
  }

  .hero-dots {
    bottom: 14px;
  }

  .section {
    padding: 36px 14px;
  }

  .section-head {
    gap: 10px;
    margin-bottom: 20px;
  }

  .section-head h2 {
    font-size: clamp(27px, 9vw, 36px);
  }

  .collection-pills {
    padding-top: 28px;
    padding-bottom: 22px;
  }

  .collection-row {
    grid-auto-columns: minmax(118px, 38vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 14px;
    scroll-padding-left: 14px;
    scrollbar-width: none;
  }

  .round-card {
    min-width: 0;
    scroll-snap-align: start;
    font-size: 14px;
  }

  .round-card span {
    margin-top: 9px;
  }

  .mosaic-grid {
    grid-auto-rows: minmax(150px, 48vw);
  }

  .mosaic-head h2 {
    font-size: 26px;
  }

  .activity-section {
    padding-top: 48px;
  }

  .activity-tabs {
    scroll-padding-left: 14px;
    scrollbar-width: none;
  }

  .activity-showcase {
    scroll-padding-left: 14px;
    scrollbar-width: none;
  }

  .activity-card,
  .card-one,
  .card-two,
  .card-main,
  .card-four,
  .card-five {
    flex-basis: 56vw;
    border-radius: 12px;
  }

  .card-main {
    flex-basis: 66vw;
  }

  .activity-cta {
    margin: 0 auto 28px;
    font-size: 14px;
  }

  .activity-benefits {
    gap: 10px;
  }

  .activity-benefits article {
    min-height: 122px;
    padding: 18px;
  }

  .activity-benefits img {
    width: 48px;
    height: 48px;
  }

  .activity-benefits h3 {
    margin-top: 12px;
    font-size: 20px;
  }

  .product-rail {
    grid-auto-columns: minmax(160px, 72vw);
    gap: 12px;
    scroll-padding-left: 14px;
  }

  .product-card {
    min-width: 0;
  }

  .product-info {
    padding: 10px 0 4px;
  }

  .product-title {
    min-height: 38px;
    font-size: 13px;
    line-height: 1.28;
  }

  .price {
    flex-wrap: wrap;
    gap: 4px 7px;
    font-size: 14px;
  }

  .price s,
  .detail-price s {
    font-size: 12px;
  }

  .rating {
    margin: 5px 0 8px;
    font-size: 12px;
  }

  .description {
    display: none;
  }

  .quick-add,
  .select-btn {
    min-height: 38px;
    font-size: 12px;
  }

  .quick-add {
    left: 8px;
    right: 8px;
    bottom: 8px;
    height: 38px;
  }

  .wishlist {
    width: 32px;
    height: 32px;
  }

  .product-badge {
    left: 8px;
    top: 8px;
    padding: 4px 7px;
    font-size: 10px;
  }

  .category-grid,
  .summer-products,
  .product-grid {
    gap: 20px 12px;
  }

  .category-card {
    gap: 8px;
    font-size: 14px;
  }

  .category-card img {
    aspect-ratio: 0.86;
  }

  .motion-marquee {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .motion-marquee::-webkit-scrollbar {
    display: none;
  }

  .motion-marquee span {
    flex: 0 0 auto;
    padding: 7px 11px;
    font-size: 11px;
  }

  .service-strip {
    grid-template-columns: 1fr;
  }

  .service-strip > div,
  .service-strip > div:last-child {
    grid-column: auto;
    min-height: 128px;
    padding: 20px 14px;
  }

  .service-strip img {
    width: 54px;
    height: 54px;
    margin-bottom: 10px;
  }

  .service-strip h3 {
    font-size: 20px;
  }

  .store-banner,
  .store-banner img {
    min-height: 360px;
  }

  .store-banner img {
    object-position: center;
  }

  .store-banner::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.62));
  }

  .store-copy {
    left: 14px;
    right: 14px;
    bottom: 22px;
  }

  .store-copy p {
    max-width: 310px;
    font-size: 30px;
  }

  .page-hero,
  .page-hero.compact-hero {
    min-height: 280px;
  }

  .page-hero img {
    object-position: 64% center;
  }

  .listing-shell {
    gap: 20px;
  }

  .filter-panel {
    gap: 8px;
    margin: 0 -14px;
    padding: 12px 14px;
    border-inline: 0;
    scrollbar-width: none;
  }

  .filter-panel a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #fafafa;
    white-space: nowrap;
  }

  .listing-toolbar {
    gap: 8px;
    margin-bottom: 14px;
  }

  .offer-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .offer-row::-webkit-scrollbar {
    display: none;
  }

  .offer-row span {
    flex: 0 0 auto;
    padding: 8px 11px;
    font-size: 11px;
  }

  .product-detail-wrap {
    gap: 24px;
  }

  .product-gallery {
    gap: 8px;
  }

  .product-gallery > img {
    aspect-ratio: 1;
  }

  .thumb-row {
    gap: 8px;
  }

  .product-buybox h1 {
    margin-bottom: 12px;
    font-size: clamp(28px, 9vw, 36px);
  }

  .detail-price {
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 22px;
  }

  .size-picker {
    gap: 8px;
    margin: 20px 0;
  }

  .size-picker button {
    width: 44px;
    min-height: 44px;
  }

  .detail-add {
    min-height: 50px;
  }

  .drawer {
    align-items: stretch;
  }

  .drawer-panel {
    width: min(420px, 94vw);
    max-height: 100svh;
    min-height: 100svh;
    padding: 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .drawer-logo {
    width: 92px;
    margin-bottom: 20px;
  }

  .menu-panel a {
    padding: 13px 0;
    font-size: 22px;
  }

  .search-panel h2,
  .cart-panel h2 {
    margin: 12px 0 16px;
    font-size: 28px;
  }

  .search-form {
    gap: 8px;
  }

  .search-form button {
    padding: 0 14px;
    font-size: 12px;
  }

  .cart-lines {
    min-height: 130px;
  }

  .cart-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  .cart-item img {
    width: 58px;
    height: 72px;
  }

  .cart-item > span {
    grid-column: 2;
    justify-self: start;
    font-weight: 800;
  }

  .cart-qty-controls {
    flex-wrap: wrap;
    gap: 6px;
  }

  .cart-qty-controls button,
  .cart-qty-controls span {
    min-width: 28px;
    height: 28px;
  }

  .modal {
    align-items: end;
    padding: 10px;
  }

  .modal-card {
    width: 100%;
    max-height: calc(100svh - 20px);
    padding: 16px;
    border-radius: 14px 14px 0 0;
  }

  .modal-card img {
    max-height: 360px;
  }

  .checkout-card {
    width: 100%;
  }

  .checkout-note,
  .checkout-status,
  .checkout-error {
    font-size: 13px;
  }

  .checkout-form {
    gap: 12px;
  }

  .checkout-form input,
  .checkout-form textarea {
    font-size: 16px;
  }

  .whatsapp {
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
  }

  .chatbot {
    right: 12px;
    bottom: 72px;
  }

  .chatbot-toggle {
    min-width: 52px;
    height: 38px;
  }

  .chatbot-panel {
    right: 0;
    width: calc(100vw - 24px);
    max-height: calc(100svh - 112px);
    border-radius: 10px;
  }

  .chatbot-messages {
    max-height: min(230px, 34svh);
  }

  .site-footer {
    gap: 24px;
    padding-bottom: 30px;
  }

  .newsletter div {
    flex-direction: column;
  }

  .newsletter button {
    width: 100%;
    min-height: 42px;
  }
}

@media (max-width: 460px) {
  .top-strip {
    min-height: 30px;
    gap: 8px;
    padding: 7px 8px;
    font-size: 9px;
  }

  .site-header {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    padding: 0 9px;
  }

  .brand-name {
    max-width: 112px;
    font-size: 18px;
  }

  .brand img {
    width: 38px;
    height: 34px;
  }

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

  .icon-btn svg {
    width: 20px;
    height: 20px;
  }

  .menu-trigger span {
    width: 20px;
  }

  .hero-track {
    min-height: min(500px, calc(100svh - 90px));
  }

  .collection-row {
    grid-auto-columns: minmax(112px, 36vw);
  }

  .activity-card,
  .card-one,
  .card-two,
  .card-main,
  .card-four,
  .card-five {
    flex-basis: 64vw;
  }

  .card-main {
    flex-basis: 76vw;
  }

  .category-grid,
  .summer-products,
  .product-grid {
    gap: 18px 10px;
  }

  .product-title {
    min-height: 44px;
    font-size: 12px;
  }

  .price {
    font-size: 13px;
  }

  .rating {
    font-size: 11px;
  }

  .select-btn,
  .quick-add {
    font-size: 11px;
  }

  .product-rail {
    grid-auto-columns: 82%;
  }

  .fabric-grid {
    grid-auto-columns: 82%;
  }

  .video-grid article,
  .video-grid img {
    min-height: 260px;
  }

  .drawer-panel {
    width: 96vw;
    padding: 16px;
  }
}

@media (max-width: 360px) {
  .brand-name {
    display: none;
  }

  .site-header {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }

  .brand {
    justify-content: center;
  }

  .header-actions {
    gap: 0;
  }

  .category-grid,
  .summer-products,
  .product-grid {
    gap: 16px 8px;
  }

  .product-title {
    font-size: 11px;
  }

  .price {
    font-size: 12px;
  }

  .product-badge {
    max-width: calc(100% - 48px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* ── Color swatches ─────────────────────────────── */
.color-swatches {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 6px 0;
}
.color-swatch {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line);
  cursor: pointer;
  transition: border-color 0.15s;
  padding: 0;
  flex-shrink: 0;
}
.color-swatch.active,
.color-swatch:hover {
  border-color: var(--dark);
}

.color-picker {
  margin: 12px 0;
}
.color-picker .color-swatches {
  margin-top: 8px;
}
.color-picker .color-swatch {
  width: 28px;
  height: 28px;
}

/* ── Admin variant manager ─────────────────────── */
.admin-variant-manager {
  margin-top: 16px;
  padding: 16px;
  background: var(--soft);
  border-radius: 8px;
  border: 1px solid var(--line);
}
.admin-variant-manager .admin-card-head {
  margin-bottom: 12px;
}
.admin-variant-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-variant-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.admin-variant-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}
.admin-variant-fields label {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  color: var(--muted);
  gap: 2px;
  min-width: 60px;
}
.admin-variant-fields input {
  font-size: 12px;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  width: 100%;
}
.admin-variant-row .btn.ghost {
  font-size: 18px;
  padding: 4px 8px;
  color: var(--muted);
  flex-shrink: 0;
  margin-top: 18px;
}
.admin-variant-row .btn.ghost:hover {
  color: #c00;
}
[data-admin-variant-add] {
  margin-top: 8px;
  font-size: 13px;
}
.admin-variant-image-wrap {
  display: flex;
  gap: 4px;
  align-items: center;
}
.admin-variant-image-wrap input {
  flex: 1;
  min-width: 0;
  width: 100%;
}
.admin-image-field [name="image"] {
  width: 100%;
}
.upload-btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface, #f5f5f5);
  color: var(--accent, #333);
  flex-shrink: 0;
  user-select: none;
}
.upload-btn-small:hover {
  background: var(--accent, #111);
  color: #fff;
}
