/* =========================================================
   INHASHEE — Design tokens
   Palette: deep pine (primary dark), warm ivory (light),
   antique gold (accent), blush + sage (support)
   Type: Fraunces (display serif) / Work Sans (body) / Space Mono (utility)
   Signature motif: the "strand" — a flowing gold line that
   runs through hero, dividers, nav underline and footer.
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;1,9..144,400;1,9..144,500&family=Work+Sans:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap");

:root {
  --pine: #16241c;
  --pine-soft: #1e3327;
  --ivory: #f7f2e9;
  --ivory-dim: #efe7d8;
  --gold: #c89b4b;
  --gold-bright: #e0b96b;
  --blush: #e7c7b8;
  --sage: #93a88c;
  --ink: #1c2620;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", -apple-system, sans-serif;
  --font-mono: "Space Mono", monospace;

  --container: 1180px;
  --radius: 2px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
  color: var(--pine);
}
p {
  margin: 0 0 1em;
}
button {
  font-family: inherit;
  cursor: pointer;
}
input,
textarea,
select {
  font-family: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------- eyebrow / labels -------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow.on-light {
  color: #9c7a34;
}

/* -------------------- the strand (signature motif) -------------------- */
.strand {
  width: 100%;
  height: 34px;
  display: block;
}
.strand path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 2.6s var(--ease) forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.strand.dim path {
  stroke: var(--pine-soft);
  opacity: 0.35;
}

/* -------------------- header -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 242, 233, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(28, 38, 32, 0.08);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.02em;
  color: var(--pine);
  display: flex;
  align-items: baseline;
  gap: 2px;
  mix-blend-mode: difference;
}
.logo em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav a {
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--gold);
  transition: right 0.28s var(--ease);
}
.main-nav a:hover::after,
.main-nav a.active::after {
  right: 0;
}
.main-nav a.active {
  color: #9c7a34;
}

.header-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--pine);
  padding: 10px 20px;
  color: var(--pine);
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease);
}
.header-cta:hover {
  background: var(--pine);
  color: var(--ivory);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--pine);
  display: block;
}

/* -------------------- hero -------------------- */
.hero {
  background: var(--pine);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 0.98fr;
  min-height: 540px;
  align-items: stretch;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 60px 60px 0;
  position: relative;
  z-index: 2;
}
.hero-copy .eyebrow {
  margin-bottom: 18px;
}
.hero-copy h1 {
  color: var(--ivory);
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.04;
  font-weight: 400;
  max-width: 11ch;
}
.hero-copy h1 em {
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 400;
}
.hero-copy p.lede {
  margin-top: 22px;
  max-width: 44ch;
  color: rgba(247, 242, 233, 0.78);
  font-size: 16px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 26px;
  border: 1px solid transparent;
  transition:
    transform 0.22s var(--ease),
    background 0.22s var(--ease),
    color 0.22s var(--ease),
    border-color 0.22s var(--ease);
}
.btn-solid {
  background: var(--gold);
  color: var(--pine);
}
.btn-solid:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
}
.btn-outline {
  border-color: rgba(247, 242, 233, 0.5);
  color: var(--ivory);
}
.btn-outline:hover {
  border-color: var(--ivory);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--pine);
  color: var(--ivory);
}
.btn-dark:hover {
  background: var(--pine-soft);
  transform: translateY(-2px);
}

.hero-visual {
  padding: 0 30px 0px 0;
  position: relative;
  /* background:
    radial-gradient(circle at 30% 20%, rgba(200,155,75,.35), transparent 55%),
    linear-gradient(155deg, var(--pine-soft) 0%, var(--pine) 70%); */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-visual-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 40%;
}
.strand-hero {
  width: 70%;
}
.strand-hero path {
  stroke: var(--gold-bright);
}

/* -------------------- category split -------------------- */
.category-split {
  background: linear-gradient(160deg, #2b4a38, #16241c);
  align-content: center !important;
  display: block;
  justify-items: center;
  /* width: 100%; */
}
.category-card {
  width: 100%;
  position: relative;
  min-height: 273px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 0px 0px 63px 66px; */
  overflow: hidden;
}
/* .category-card.treat{ background:linear-gradient(160deg,#2B4A38,#16241C); } */
.category-card.home {
  background: linear-gradient(160deg, #e2cbaf, #d8b98f);
}
.category-card.home .cat-inner h3,
.category-card.home .cat-inner .eyebrow {
  color: var(--pine);
}
.category-card.home .cat-inner p {
  color: rgba(28, 38, 32, 0.7);
}
.cat-inner {
  position: relative;
  z-index: 2; /* display: block; */ /* max-width:340px; */
  text-align: center;
}
.cat-inner h3 {
  color: var(--ivory);
  font-size: 32px;
  margin: 10px 0 12px;
}
.cat-inner p {
  /* width: 50%; */
  color: rgba(247, 242, 233, 0.75);
  font-size: 14px;
  margin-bottom: 18px; /* display: block; */ /* align-self: center; */ /* justify-content: center !important; */ /* align-items: center; */ /* align-content: center; */
}

/* -------------------- section shell -------------------- */
.section {
  padding: 96px 0;
}
.section.tight {
  padding: 64px 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
}
.section-head .eyebrow {
  margin-bottom: 12px;
  display: block;
}
.view-all {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  color: #9c7a34;
  white-space: nowrap;
}

/* -------------------- product grid -------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.product-card {
  background: #fff;
  border: 1px solid rgba(28, 38, 32, 0.08);
}
.product-media {
  /* aspect-ratio:1/1.1; */
  background: linear-gradient(150deg, #efe7d8, #e2d6bc);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-media .ph-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: rgba(28, 38, 32, 0.4);
  text-align: center;
  padding: 0 16px;
}
.product-media svg {
  width: 38%;
  opacity: 0.35;
}
.product-body {
  padding: 18px 18px 22px;
}
.product-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
}
.product-name {
  font-family: var(--font-display);
  font-size: 19px;
  margin: 8px 0 8px;
}
.product-price {
  font-size: 14px;
  color: var(--ink);
  margin: 0 0 10px 0px;
}
.product-price .strike {
  text-decoration: line-through;
  color: rgba(28, 38, 32, 0.4);
  margin-right: 8px;
  font-size: 13px;
}
.product-cta {
  margin-top: 14px;
  width: 100%;
  padding: 11px;
  background: var(--pine);
  color: var(--ivory);
  border: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s var(--ease);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}
.product-card:hover .product-cta {
    opacity: 1;
    visibility: visible;
}
.product-cta:hover {
  background: var(--pine-soft);
}

/* filter bar (products page) */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 44px;
   max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.3s var(--ease),
    opacity 0.25s var(--ease),
    margin 0.3s var(--ease);
}
.filter-bar.open {
  max-height: 84px;
  opacity: 1;
}
.filter-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 9px 18px;
  border: 1px solid rgba(28, 38, 32, 0.2);
  background: transparent;
  color: var(--ink);
  transition: all 0.2s var(--ease);
}
.filter-chip.active,
.filter-chip:hover {
  background: var(--pine);
  color: var(--ivory);
  border-color: var(--pine);
}

/* -------------------- about teaser / split content -------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse {
  direction: rtl;
}
.split.reverse > * {
  direction: ltr;
}
.split-media {
  border-radius: 10px;
  /* aspect-ratio:4/5; */
  background: linear-gradient(160deg, #2b4a38, #0f1b14);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-media .ph-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(247, 242, 233, 0.45);
}
.split h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 20px;
}
.split p {
  color: rgba(28, 38, 32, 0.75);
  font-size: 15px;
}

/* -------------------- stats / values row -------------------- */
.value-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(28, 38, 32, 0.1);
}
.value-item {
  background: var(--ivory);
  padding: 40px 34px;
}
.value-item .num {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.value-item h4 {
  font-size: 20px;
  margin: 14px 0 10px;
}
.value-item p {
  font-size: 14px;
  color: rgba(28, 38, 32, 0.7);
  margin: 0;
}

/* -------------------- trust strip -------------------- */
.trust-strip {
  background: var(--pine);
  color: var(--ivory);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 52px 0;
}
.trust-item {
  text-align: left;
}
.trust-item h5 {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ivory);
  margin: 14px 0 8px;
  font-weight: 400;
}
.trust-item p {
  font-size: 13px;
  color: rgba(247, 242, 233, 0.6);
  margin: 0;
}
.trust-icon {
  width: 30px;
  height: 30px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.4;
}

/* -------------------- newsletter -------------------- */
.newsletter {
  background: var(--ivory-dim);
  padding: 70px 0;
  text-align: center;
}
.newsletter h3 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 14px;
}
.newsletter p {
  color: rgba(28, 38, 32, 0.65);
  max-width: 44ch;
  margin: 0 auto 28px;
}
.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 420px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 15px 18px;
  border: 1px solid rgba(28, 38, 32, 0.25);
  border-right: none;
  background: #fff;
  font-size: 14px;
}
.newsletter-form button {
  padding: 15px 26px;
  background: var(--pine);
  color: var(--ivory);
  border: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.form-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--sage);
  min-height: 16px;
}

/* -------------------- footer -------------------- */
.site-footer {
  background: var(--pine);
  color: rgba(247, 242, 233, 0.7);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(247, 242, 233, 0.12);
}
.footer-brand .logo {
  color: var(--ivory);
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 13px;
  max-width: 32ch;
  color: rgba(247, 242, 233, 0.55);
}
.footer-col h6 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col a {
  font-size: 13px;
  color: rgba(247, 242, 233, 0.65);
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--ivory);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 12px;
  color: rgba(247, 242, 233, 0.4);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-social {
  display: flex;
  gap: 16px;
}

/* -------------------- inner page hero (about/contact/products) -------------------- */
.page-hero {
  background: var(--pine);
  color: var(--ivory);
  padding: 70px 0 54px;
}
.page-hero h1 {
  color: var(--ivory);
  font-size: clamp(34px, 4.4vw, 54px);
  margin-top: 14px;
}
.page-hero p {
  color: rgba(247, 242, 233, 0.7);
  max-width: 52ch;
  margin-top: 14px;
}
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(247, 242, 233, 0.5);
}
.breadcrumb a {
  color: var(--gold-bright);
}

/* -------------------- about page specifics -------------------- */
.founder-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 20px;
}
.founder-card {
  background: #fff;
  border: 1px solid rgba(28, 38, 32, 0.08);
  padding: 30px;
}
.founder-card .ph-face {
  width: 80px;
  height: 80px;
  border-radius: 73%;
  /* background: linear-gradient(160deg,var(--sage),var(--pine)); */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  margin-bottom: 16px;
}
.founder-card h4 {
  font-size: 19px;
  margin-bottom: 4px;
}
.founder-card .role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.founder-card p {
  font-size: 14px;
  color: rgba(28, 38, 32, 0.7);
  margin: 0;
}

.timeline {
  margin-top: 20px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid rgba(28, 38, 32, 0.1);
}
.timeline-item:last-child {
  border-bottom: 1px solid rgba(28, 38, 32, 0.1);
}
.timeline-item .year {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.05em;
}
.timeline-item h4 {
  font-size: 18px;
  margin-bottom: 6px;
}
.timeline-item p {
  font-size: 14px;
  color: rgba(28, 38, 32, 0.7);
  margin: 0;
  max-width: 60ch;
}

/* -------------------- contact page -------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}
.contact-info-card {
  background: #fff;
  border: 1px solid rgba(28, 38, 32, 0.08);
  padding: 34px;
  margin-bottom: 20px;
}
.contact-info-card h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.contact-info-card p,
.contact-info-card a {
  font-size: 15px;
}
.contact-info-card a:hover {
  color: #9c7a34;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--pine);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(28, 38, 32, 0.25);
  background: #fff;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
}
.field.error input,
.field.error textarea {
  border-color: #b5443a;
}
.field .err-msg {
  font-size: 12px;
  color: #b5443a;
  margin-top: 6px;
  display: none;
}
.field.error .err-msg {
  display: block;
}
.contact-form {
  margin-top: 6px;
}
.contact-form .btn {
  margin-top: 8px;
  border: none;
}
.form-status {
  margin-top: 16px;
  font-size: 14px;
  padding: 14px 16px;
  display: none;
}
.form-status.show {
  display: block;
}
.form-status.success {
  background: #e4eee1;
  color: #2b4a38;
  display: block;
}

.map-block {
  margin-top: 60px;
  aspect-ratio: 16/6;
  background: linear-gradient(150deg, #efe7d8, #e2d6bc);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-block .ph-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(28, 38, 32, 0.45);
}

/* -------------------- utility -------------------- */
.center {
  text-align: center;
}
.mt-lg {
  margin-top: 60px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-copy {
    padding: 70px 28px 50px;
  }
  .hero-visual {
    min-height: 320px;
  }
  .category-split {
    background: linear-gradient(160deg, #2b4a38, #16241c);
    align-content: center !important;
    display: block;
    justify-items: center;
    /* width: 100%; */
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .split.reverse {
    direction: ltr;
  }
  .value-row {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .founder-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    inset: 78px 0 0 0;
    background: var(--ivory);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    height: 100vh;
  }
  .main-nav.open {
    transform: translateX(0);
  }
  .main-nav:not(.open) {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .header-cta {
    display: none;
  }
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

.loader-wrapper {
  position: relative;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background: rgba(255, 255, 255, 0.8); */
  z-index: 9999;
}

.loader {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e5e5;
  border-top: 4px solid #1d352b;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* -------------------- product detail page -------------------- */
.pdp-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}
.pdp-main-image {
  aspect-ratio: 1/1.5;
  background: linear-gradient(150deg, #efe7d8, #e2d6bc);
  overflow: hidden;
}
.pdp-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pdp-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.pdp-thumb {
  width: 76px;
  height: 76px;
  padding: 0;
  border: 1px solid rgba(28, 38, 32, 0.15);
  background: #fff;
  overflow: hidden;
  opacity: 0.7;
  transition:
    opacity 0.2s,
    border-color 0.2s;
}
.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pdp-thumb.active,
.pdp-thumb:hover {
  opacity: 1;
  border-color: var(--gold);
}
.pdp-title {
  font-size: clamp(28px, 3.2vw, 40px);
  margin: 10px 0 14px;
}
.pdp-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 15px;
}
.rating-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--sage);
}
.pdp-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.pdp-price .strike {
  text-decoration: line-through;
  color: rgba(28, 38, 32, 0.4);
  font-size: 16px;
}
.pdp-price .price-now {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--pine);
}
.save-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  background: var(--sage);
  color: #fff;
  padding: 4px 10px;
}
.pdp-desc {
  font-size: 15px;
  color: rgba(28, 38, 32, 0.75);
  margin-bottom: 28px;
  max-width: 52ch;
}
.pdp-options {
  margin-bottom: 26px;
}
.pdp-options label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pine);
  margin-bottom: 10px;
}
.size-chips {
  display: flex;
  gap: 10px;
}
.size-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 10px 18px;
  border: 1px solid rgba(28, 38, 32, 0.25);
  background: #fff;
  color: var(--ink);
  transition: all 0.2s var(--ease);
}
.size-chip.active,
.size-chip:hover {
  background: var(--pine);
  color: var(--ivory);
  border-color: var(--pine);
}
.pdp-qty-row {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid rgba(28, 38, 32, 0.25);
}
.qty-btn {
  width: 42px;
  height: 48px;
  background: none;
  border: none;
  font-size: 16px;
  color: var(--pine);
}
.qty-btn:hover {
  background: var(--ivory-dim);
}
.qty-input {
  width: 42px;
  height: 48px;
  border: none;
  border-left: 1px solid rgba(28, 38, 32, 0.15);
  border-right: 1px solid rgba(28, 38, 32, 0.15);
  text-align: center;
  font-size: 14px;
  background: #fff;
}
.pdp-add-btn {
  flex: 1;
  border: none;
}
.pdp-buy-btn {
  width: 100%;
  border: none;
  margin-bottom: 26px;
}
.pdp-highlights {
  padding: 0;
  margin: 0;
}
.pdp-highlights li {
  font-size: 13px;
  color: rgba(28, 38, 32, 0.65);
  padding: 10px 0 10px 22px;
  border-top: 1px solid rgba(28, 38, 32, 0.08);
  position: relative;
}
.pdp-highlights li:last-child {
  border-bottom: 1px solid rgba(28, 38, 32, 0.08);
}
.pdp-highlights li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}
/* pdp tabs */
.pdp-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(28, 38, 32, 0.12);
  margin-bottom: 32px;
}
.pdp-tab {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: none;
  border: none;
  padding: 14px 20px;
  color: rgba(28, 38, 32, 0.5);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s;
}
.pdp-tab.active {
  color: var(--pine);
  border-bottom-color: var(--gold);
}
.pdp-tab-panel {
  display: none;
  max-width: 70ch;
}
.pdp-tab-panel.active {
  display: block;
}
.pdp-tab-panel p {
  font-size: 15px;
  color: rgba(28, 38, 32, 0.75);
}
@media (max-width: 980px) {
  .pdp-grid {
    grid-template-columns: 1fr;
  }
}


/* stock / status badges */
.stock-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  color: #fff;
}
.badge-sold {
  background: #5b5b5b;
}
.badge-limited {
  background: #9c7a34;
}
.badge-bestseller {
  background: var(--pine);
}
.product-card.is-sold-out .product-media {
  opacity: 0.55;
}
.product-card.is-sold-out .product-name {
  color: rgba(28, 38, 32, 0.5);
}
.product-cta:disabled {
  background: rgba(28, 38, 32, 0.25);
  cursor: not-allowed;
}
.product-cta:disabled:hover {
  background: rgba(28, 38, 32, 0.25);
}
/* view modes: 2-up / 4-up (default) / list */
.product-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.product-grid.cols-list {
  grid-template-columns: 1fr;
  gap: 16px;
}
.product-grid.cols-list .product-card {
  display: grid;
  grid-template-columns: 180px 1fr;
}
.product-grid.cols-list .product-media {
  aspect-ratio: auto;
  height: 100%;
}
.product-grid.cols-list .product-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-grid.cols-list .product-cta {
  width: fit-content;
  padding: 11px 24px;
}
@media (max-width: 720px) {
  .product-grid.cols-list .product-card {
    grid-template-columns: 110px 1fr;
  }
}


/* -------------------- shop toolbar -------------------- */
.shop-toolbar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(28, 38, 32, 0.12);
  background: #fff;
  flex-wrap: wrap;
}
.view-switcher {
  display: flex;
  gap: 4px;
}
.view-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid transparent;
  padding: 7px;
  opacity: 0.4;
  transition:
    opacity 0.2s,
    border-color 0.2s;
}
.view-btn svg {
  width: 100%;
  height: 100%;
  fill: var(--pine);
  stroke: none;
}
.view-btn[data-cols="list"] svg {
  fill: none;
  stroke: var(--pine);
  stroke-width: 1.4;
}
.view-btn.active,
.view-btn:hover {
  opacity: 1;
  border-color: rgba(28, 38, 32, 0.15);
}
.toolbar-count {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(28, 38, 32, 0.55);
}
.toolbar-count span {
  color: var(--pine);
  font-weight: 600;
}
.toolbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.sort-select {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 14px;
  border: 1px solid rgba(28, 38, 32, 0.2);
  background: #fff;
  color: var(--ink);
}
.filter-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--pine);
  background: none;
  color: var(--pine);
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}
.filter-toggle-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.filter-toggle-btn.active,
.filter-toggle-btn:hover {
  background: var(--pine);
  color: var(--ivory);
}
@media (max-width: 720px) {
  .shop-toolbar {
    gap: 14px;
  }
  .toolbar-count {
    order: 3;
    width: 100%;
  }
  .toolbar-right {
    margin-left: 0;
  }
}

/* -------------------- product detail page -------------------- */
.pdp-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}
.pdp-main-image {
  aspect-ratio: 1/1.05;
  background: linear-gradient(150deg, #efe7d8, #e2d6bc);
  overflow: hidden;
}
.pdp-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pdp-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.pdp-thumb {
  width: 76px;
  height: 76px;
  padding: 0;
  border: 1px solid rgba(28, 38, 32, 0.15);
  background: #fff;
  overflow: hidden;
  opacity: 0.7;
  transition:
    opacity 0.2s,
    border-color 0.2s;
}
.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pdp-thumb.active,
.pdp-thumb:hover {
  opacity: 1;
  border-color: var(--gold);
}
.pdp-title {
  font-size: clamp(28px, 3.2vw, 40px);
  margin: 10px 0 14px;
}
.pdp-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 15px;
}
.rating-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--sage);
}
.pdp-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.pdp-price .strike {
  text-decoration: line-through;
  color: rgba(28, 38, 32, 0.4);
  font-size: 16px;
}
.pdp-price .price-now {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--pine);
}
.save-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  background: var(--sage);
  color: #fff;
  padding: 4px 10px;
}
.pdp-desc {
  font-size: 15px;
  color: rgba(28, 38, 32, 0.75);
  margin-bottom: 28px;
  max-width: 52ch;
}
.pdp-options {
  margin-bottom: 26px;
}
.pdp-options label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pine);
  margin-bottom: 10px;
}
.size-chips {
  display: flex;
  gap: 10px;
}
.size-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 10px 18px;
  border: 1px solid rgba(28, 38, 32, 0.25);
  background: #fff;
  color: var(--ink);
  transition: all 0.2s var(--ease);
}
.size-chip.active,
.size-chip:hover {
  background: var(--pine);
  color: var(--ivory);
  border-color: var(--pine);
}
.pdp-qty-row {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid rgba(28, 38, 32, 0.25);
}
.qty-btn {
  width: 42px;
  height: 48px;
  background: none;
  border: none;
  font-size: 16px;
  color: var(--pine);
}
.qty-btn:hover {
  background: var(--ivory-dim);
}
.qty-input {
  width: 42px;
  height: 48px;
  border: none;
  border-left: 1px solid rgba(28, 38, 32, 0.15);
  border-right: 1px solid rgba(28, 38, 32, 0.15);
  text-align: center;
  font-size: 14px;
  background: #fff;
}
.pdp-add-btn {
  flex: 1;
  border: none;
}
.pdp-buy-btn {
  width: 100%;
  border: none;
  margin-bottom: 26px;
}
.pdp-highlights {
  padding: 0;
  margin: 0;
}
.pdp-highlights li {
  font-size: 13px;
  color: rgba(28, 38, 32, 0.65);
  padding: 10px 0 10px 22px;
  border-top: 1px solid rgba(28, 38, 32, 0.08);
  position: relative;
}
.pdp-highlights li:last-child {
  border-bottom: 1px solid rgba(28, 38, 32, 0.08);
}
.pdp-highlights li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}
/* pdp tabs */
.pdp-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(28, 38, 32, 0.12);
  margin-bottom: 32px;
}
.pdp-tab {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: none;
  border: none;
  padding: 14px 20px;
  color: rgba(28, 38, 32, 0.5);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s;
}
.pdp-tab.active {
  color: var(--pine);
  border-bottom-color: var(--gold);
}
.pdp-tab-panel {
  display: none;
  max-width: 70ch;
}
.pdp-tab-panel.active {
  display: block;
}
.pdp-tab-panel p {
  font-size: 15px;
  color: rgba(28, 38, 32, 0.75);
}
@media (max-width: 980px) {
  .pdp-grid {
    grid-template-columns: 1fr;
  }
}

