@font-face {
  font-family: Vazirmatn;
  src: url(vazirmatn.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #15171a;
  --dark: #111418;
  --muted: #626368;
  --accent: #d0ab71;
  --surface: #f8f7f4;
  --line: #e4e1dc;
  --white: #fff;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Vazirmatn, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.8;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button,
input,
select {
  font: inherit;
}
button,
select,
a,
input[type="checkbox"],
input[type="file"] {
  cursor: pointer;
}
input:not([type="checkbox"], [type="file"]) {
  cursor: text;
}
h1,
h2,
h3,
p {
  margin: 0 0 0.7em;
}
h1,
h2,
h3 {
  line-height: 1.35;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #997141;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
}
.skip {
  position: absolute;
  z-index: 10;
  inset-inline-start: 1rem;
  top: -7rem;
  background: var(--white);
  padding: 0.6rem 1rem;
}
.skip:focus {
  top: 0.5rem;
}
.site-header {
  background: #101216;
  color: #f2f1ed;
  border-bottom: 1px solid #313338;
}
.header-inner {
  width: min(100% - 2rem, 1280px);
  min-height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  position: relative;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}
.brand small {
  display: block;
  color: #aeaaa3;
  font-size: 0.59rem;
  margin-top: 0.3rem;
  direction: ltr;
  text-align: right;
}
.brand-icon {
  color: var(--accent);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #8d785a;
  border-radius: 5px;
}
.header-actions {
  display: flex;
  gap: 0.1rem;
  align-items: center;
  margin-inline-start: auto;
}
.icon-button {
  width: 40px;
  height: 44px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  color: inherit;
  border-radius: 4px;
  padding: 0;
}
.icon-button:hover {
  color: var(--accent);
  background: #ffffff0e;
}
#nav {
  display: none;
}
#nav.is-open {
  display: flex;
  position: absolute;
  top: 100%;
  inset-inline: 0;
  background: #14171b;
  z-index: 3;
  padding: 1rem;
  flex-direction: column;
  align-items: stretch;
}
#nav a {
  padding: 0.65rem;
  font-size: 0.94rem;
  white-space: nowrap;
}
#nav .current,
#nav a:hover {
  color: var(--accent);
}
#nav .nav-fit {
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
#nav svg,
.button svg {
  width: 1rem;
  height: 1rem;
  flex: none;
}
.hero {
  color: #fff;
  background: #171a1e
    linear-gradient(270deg, #0c0e12f2 0%, #101116be 50%, #14161932 100%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url(hero.webp) 29% 46% / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(270deg, #0c0e12e8, #101116a0 49%, #14161925);
}
.hero-inner {
  display: flex;
  align-items: center;
  min-height: 475px;
  padding-block: 3rem;
}
.hero-copy {
  max-width: 40rem;
}
.eyebrow {
  font-size: 0.93rem;
  color: var(--accent);
  letter-spacing: 0.025em;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}
.eyebrow span {
  width: 2rem;
  height: 1px;
  background: currentColor;
}
.eyebrow.muted {
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.hero h1 {
  font-size: clamp(3.4rem, 8vw, 6.25rem);
  letter-spacing: -0.05em;
  line-height: 1.09;
  margin: 0 0 0.22em;
  font-weight: 900;
}
.hero em {
  font-style: normal;
  color: var(--accent);
}
.hero-description {
  color: #e2e1df;
  margin-bottom: 1.6rem;
  font-size: clamp(0.94rem, 1.6vw, 1.08rem);
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid transparent;
  border-radius: 5px;
  min-height: 45px;
  padding: 0.57rem 1.05rem;
  font-size: 0.94rem;
  font-weight: 750;
  text-align: center;
  transition:
    background 0.18s,
    color 0.18s;
}
.primary {
  background: var(--accent);
  color: #16130f;
}
.primary:hover {
  background: #e2c294;
}
.outline {
  border-color: #c1bfb974;
  color: #fff;
  background: #181a1d50;
}
.outline:hover {
  background: #ffffff1d;
}
.dark {
  background: var(--dark);
  color: var(--white);
}
.dark:hover {
  background: #35383e;
}
.outline-dark {
  border-color: #7b7b7b;
  background: none;
  color: var(--ink);
}
.outline-dark:hover {
  background: #efeeeb;
}
.collection-section {
  padding-block: 2.2rem;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.section-head h2 {
  font-size: clamp(1.45rem, 3.5vw, 2.12rem);
  font-weight: 850;
  margin: 0;
}
.text-link {
  font-size: 0.94rem;
  font-weight: 700;
  color: #614520;
  border-bottom: 1px solid #bda784;
  padding-bottom: 0.12rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 0.8rem;
}
.card {
  display: block;
  min-width: 0;
}
.card-photo {
  position: relative;
  overflow: hidden;
  background: #dfdedb;
  border-radius: 6px;
  aspect-ratio: 1/1.12;
  margin-bottom: 0.7rem;
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.card:hover img {
  transform: scale(1.045);
}
.discount {
  position: absolute;
  inset-inline-start: 0.55rem;
  top: 0.55rem;
  background: #f5ede2;
  color: #4b3622;
  padding: 0.15rem 0.48rem;
  font-size: 0.76rem;
  font-weight: 750;
  border-radius: 3px;
}
.card-category {
  color: var(--muted);
  font-size: 0.83rem;
}
.card h3 {
  font-size: 1.03rem;
  margin: 0.14rem 0 0.33rem;
}
.price {
  display: flex;
  gap: 0.25rem 0.65rem;
  align-items: baseline;
  flex-wrap: wrap;
  font-size: 0.93rem;
}
.price del {
  color: var(--muted);
  font-size: 0.82rem;
}
.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  padding-block: 1rem 2.2rem;
}
.category-tile {
  background-size: cover;
  background-position: center 26%;
  color: white;
  padding: 1rem;
  min-height: 13rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}
.category-tile.men {
  background-image:
    linear-gradient(0deg, #0b0d11d9, transparent 90%), url(ridge.webp);
}
.category-tile.women {
  background-image:
    linear-gradient(0deg, #0b0d11d9, transparent 90%), url(shadow.webp);
}
.category-tile h2 {
  font-size: clamp(1.05rem, 3vw, 1.8rem);
  margin: 0;
}
.category-tile span {
  font-size: 0.92rem;
  color: #f3e0c5;
}
.fit-banner {
  background: #171a1e;
  color: #f8f5ef;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.fit-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: var(--accent);
  border: 1px solid #77634b;
  border-radius: 5px;
}
.fit-banner h2,
.fit-banner p {
  margin: 0;
}
.fit-banner p {
  color: #dedad4;
}
.fit-banner .button {
  margin-inline-start: auto;
}
.site-footer {
  margin-top: 2.5rem;
  background: #101216;
  color: #f2f0ec;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.4rem;
  min-height: 7rem;
  padding-block: 1.4rem;
}
.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.inner-page {
  min-height: 63vh;
  padding-block: 2.4rem;
}
.inner-page h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 880;
  margin-bottom: 1.3rem;
}
.shop-layout,
.product-layout,
.try-layout {
  display: grid;
  gap: 1.5rem;
}
.panel {
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.panel h2 {
  font-size: 1.25rem;
}
.filters,
.login {
  display: grid;
  gap: 0.85rem;
  align-self: start;
}
.filters h2,
.login h2 {
  margin: 0;
}
label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.94rem;
  font-weight: 650;
}
input:not([type="checkbox"]),
select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 43px;
  border: 1px solid #c6c2bc;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  padding: 0.38rem 0.58rem;
}
select {
  appearance: none;
  padding-inline-end: 1.75rem;
  background:
    linear-gradient(45deg, transparent 50%, #555 50%) left 0.85rem center/5px
      5px no-repeat,
    linear-gradient(135deg, #555 50%, transparent 50%) left 0.54rem center/5px
      5px no-repeat,
    #fff;
}
input:disabled,
select:disabled {
  opacity: 0.55;
  cursor: default;
}
.check {
  display: flex;
  align-items: start;
  gap: 0.55rem;
}
.check input {
  margin-block-start: 0.38rem;
  accent-color: #6b4f2a;
}
.results-count,
.breadcrumbs {
  color: var(--muted);
  margin-bottom: 1.15rem;
}
.breadcrumbs a:hover,
.filters > a:hover {
  text-decoration: underline;
}
.detail-price {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.product-main-image {
  width: 100%;
  border-radius: 7px;
  background: #e4e2de;
}
.thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-block: 0.65rem;
}
.thumbs button {
  border: 1px solid var(--line);
  padding: 0.15rem;
  background: white;
  border-radius: 4px;
}
.product-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1.2rem;
}
#stock-status {
  margin: 0.5rem 0 0.9rem;
  min-height: 1.8em;
  color: var(--muted);
}
.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 1.4rem 0 0;
  gap: 0.75rem;
}
.specs > div {
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
}
dt {
  color: var(--muted);
  font-size: 0.88rem;
}
dd {
  margin: 0;
}
.sizing {
  margin-top: 2rem;
}
#size-form {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}
#size-result:empty,
#photo-status:empty,
#garment-status:empty {
  display: none;
}
#size-result,
#photo-status,
#garment-status {
  margin: 0.6rem 0 0;
}
.notice {
  padding: 1rem;
  margin-bottom: 1rem;
  background: #f4ead9;
  color: #48341d;
  border-inline-start: 3px solid #a77d47;
  border-radius: 4px;
}
.notice p {
  margin: 0.3rem 0 0;
}
.preview-box {
  display: grid;
  place-items: center;
  background: #efeeeb;
  border: 1px solid var(--line);
  border-radius: 5px;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--muted);
}
.preview-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  min-height: 0;
}
.preview-box p {
  margin: 0;
}
.try-layout label,
.try-layout .button,
.try-layout .text-link {
  margin-top: 0.75rem;
}
.login {
  max-width: 29rem;
}
.admin-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
  align-items: start;
}
.metrics {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.metrics strong {
  display: block;
  font-size: 1.65rem;
  color: #79592f;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
}
th,
td {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.stock-form {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.stock-form input {
  max-width: 7rem;
}
.empty {
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
}
@media (min-width: 640px) {
  .shell,
  .header-inner {
    width: min(100% - 4rem, 1280px);
  }
  .grid {
    gap: 1.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero-inner {
    min-height: 515px;
  }
  .try-layout,
  .product-layout {
    grid-template-columns: 1fr 1fr;
  }
  .panel {
    padding: 1.4rem;
  }
}
@media (min-width: 900px) {
  .header-inner {
    min-height: 77px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.6rem;
  }
  .menu-toggle {
    display: none;
  }
  #nav,
  #nav.is-open {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 0;
    background: none;
  }
  #nav a {
    padding: 0.4rem 0.25rem;
  }
  .header-actions {
    gap: 0.35rem;
  }
  .hero-inner {
    min-height: clamp(520px, 43vw, 650px);
  }
  .hero::before {
    background-position: center 9%;
  }
  .hero-copy {
    padding-inline-start: 0.4rem;
  }
  .hero::after {
    background: linear-gradient(
      270deg,
      #0d1014d9 0%,
      #1114189c 35%,
      #13151a11 70%
    );
  }
  .hero-actions .button {
    min-height: 51px;
    padding-inline: 1.35rem;
  }
  .collection-section {
    padding-block: 2.8rem;
  }
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
  .category-grid {
    gap: 1.5rem;
  }
  .category-tile {
    min-height: 18rem;
    padding: 1.6rem;
  }
  .shop-layout {
    grid-template-columns: 240px 1fr;
    gap: 2rem;
  }
  .shop-layout .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .product-layout {
    gap: clamp(2rem, 6vw, 5.5rem);
  }
  .try-layout {
    max-width: 1040px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
}
/* Stage 2: customer account and checkout */
.commerce-page {min-height:55vh}.commerce-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}.commerce-form{display:grid;gap:16px}.commerce-form label{display:grid;gap:8px}.commerce-form input,.commerce-form textarea{width:100%;min-height:44px;border:1px solid #c7c7c7;border-radius:8px;background:#fff;padding:10px;font:inherit;color:#151515}.commerce-form textarea{min-height:100px}.commerce-inline{display:flex;gap:8px;align-items:center}.commerce-inline input{max-width:65px;padding:8px}.commerce-page .panel{margin-bottom:20px}.cart-summary{margin-top:20px}.buy-form{margin:16px 0}.buy-form button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:720px){.commerce-columns{grid-template-columns:1fr}.commerce-inline{flex-wrap:wrap}}
