:root {
  --ink: #101010;
  --muted: #6c6c66;
  --soft: #f6f6f3;
  --line: #deded8;
  --panel: #ffffff;
  --danger: #9f1d1d;
  --success: #276738;
  --radius: 8px;
  color: var(--ink);
  background: #fff;
  font-family: Inter, Manrope, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

/* Premium shopping bag */
.bag-promo form > div {
  display: grid;
  grid-template-columns: 1fr auto;
  border: 1px solid #d8d7d2;
  border-radius: 9px;
  overflow: hidden;
}

.bag-promo form input {
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  background: #faf9f6;
  font-size: 12px;
}

.bag-promo form button {
  padding: 0 15px;
  border: 0;
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.bag-applied-coupon {
  padding: 11px 12px;
  align-items: center;
  background: #f3f7f4;
  border-color: #b8d6c4 !important;
}

.bag-applied-coupon span b,
.bag-applied-coupon span small {
  display: block;
}

.bag-applied-coupon span b {
  font-size: 12px;
}

.bag-applied-coupon span small {
  margin-top: 2px;
  color: #66806f;
  font-size: 9px;
}

.bag-applied-coupon form button {
  min-height: 34px;
  background: transparent;
  color: #555;
}

.bag-discount-row dt,
.bag-discount-row dd {
  color: #18734b !important;
}

.bag-page {
  padding: clamp(44px, 6vw, 92px) clamp(16px, 4vw, 64px) 110px;
  background: linear-gradient(180deg, #fff 0%, #faf9f6 100%);
  color: #111;
}

.bag-shell {
  width: min(1480px, 100%);
  margin: auto;
}

.bag-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}

.bag-header > div > span,
.bag-summary-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.bag-header h1 {
  margin: 10px 0 4px;
  font-family: inherit;
  font-size: clamp(46px, 6vw, 78px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.055em;
}

.bag-header p {
  color: #777;
  font-size: 15px;
}

.bag-header > a {
  padding-bottom: 7px;
  border-bottom: 1px solid #111;
  font-size: 13px;
  font-weight: 700;
}

.bag-header > a span {
  margin-left: 8px;
}

.bag-shipping-meter {
  margin-bottom: 24px;
  padding: 17px 20px;
  border: 1px solid #deddd8;
  border-radius: 14px;
  background: #fff;
}

.bag-shipping-meter > div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #666;
  font-size: 13px;
}

.bag-shipping-meter strong {
  color: #111;
}

.bag-inline-icon {
  width: 19px;
  height: 19px;
}

.bag-shipping-meter > i {
  height: 4px;
  margin-top: 13px;
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background: #e9e8e3;
}

.bag-shipping-meter > i > b {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #111;
  transition: width 0.35s;
}

.bag-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: clamp(26px, 4vw, 54px);
  align-items: start;
}

.bag-items {
  border-top: 1px solid #d9d8d3;
}

.bag-items-head {
  padding: 14px 2px;
  display: flex;
  justify-content: space-between;
  color: #888;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.bag-item {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  border-top: 1px solid #e4e3df;
}

.bag-item-image {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 13px;
  background: #f1f0ec;
}

.bag-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.bag-item-image:hover img {
  transform: scale(1.025);
}

.bag-item-copy {
  padding: 5px 2px;
  display: flex;
  flex-direction: column;
}

.bag-item-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.bag-item-title small {
  display: block;
  margin-bottom: 7px;
  color: #999;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.bag-item-title a {
  font-size: 18px;
  font-weight: 750;
  line-height: 1.3;
}

.bag-item-title > strong {
  font-size: 16px;
  white-space: nowrap;
}

.bag-item-copy > p {
  margin-top: 9px;
  color: #777;
  font-size: 13px;
}

.bag-unit-price {
  margin-top: 7px;
  color: #999;
  font-size: 11px;
}

.bag-item-actions {
  margin-top: auto;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.bag-quantity {
  height: 43px;
  display: grid;
  grid-template-columns: 38px 48px 38px auto;
  align-items: center;
  border: 1px solid #d5d4cf;
  border-radius: 9px;
  overflow: hidden;
}

.bag-quantity button,
.bag-quantity input {
  height: 100%;
  border: 0;
  background: #fff;
  text-align: center;
}

.bag-quantity button {
  font-size: 17px;
}

.bag-quantity input {
  width: 48px;
  padding: 0;
  appearance: textfield;
  font-size: 13px;
}

.bag-quantity input::-webkit-inner-spin-button {
  display: none;
}

.bag-quantity .bag-update {
  padding: 0 14px;
  border-left: 1px solid #ddd;
  background: #f5f4f0;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bag-secondary-actions {
  display: flex;
  gap: 16px;
}

.bag-secondary-actions button {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 0;
  color: #777;
  background: none;
  font-size: 11px;
}

.bag-secondary-actions button:hover {
  color: #111;
}

.bag-action-icon {
  width: 14px;
  height: 14px;
}

.bag-assurance {
  padding: 24px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-block: 1px solid #deddd8;
}

.bag-assurance > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bag-assurance-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

.bag-assurance span b,
.bag-assurance span small {
  display: block;
}

.bag-assurance span b {
  font-size: 11px;
}

.bag-assurance span small {
  margin-top: 3px;
  color: #888;
  font-size: 9px;
  line-height: 1.35;
}

.bag-summary {
  position: sticky;
  top: 105px;
}

.bag-summary-card {
  padding: 30px;
  border: 1px solid #d9d8d3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.055);
}

.bag-summary-card h2 {
  margin: 7px 0 24px;
  font-family: inherit;
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.bag-promo {
  padding-bottom: 22px;
  border-bottom: 1px solid #e2e1dc;
}

.bag-promo label {
  display: block;
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 750;
}

.bag-promo > div {
  display: grid;
  grid-template-columns: 1fr auto;
  border: 1px solid #d8d7d2;
  border-radius: 9px;
  overflow: hidden;
}

.bag-promo input {
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  background: #faf9f6;
  font-size: 12px;
}

.bag-promo button {
  padding: 0 15px;
  border: 0;
  color: #999;
  background: #efeee9;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.bag-promo small {
  margin-top: 7px;
  display: block;
  color: #999;
  font-size: 9px;
}

.bag-summary dl {
  padding: 23px 0;
  margin: 0;
  display: grid;
  gap: 15px;
  border-bottom: 1px solid #e2e1dc;
}

.bag-summary dl > div {
  display: flex;
  justify-content: space-between;
  color: #777;
  font-size: 13px;
}

.bag-summary dd {
  margin: 0;
  color: #111;
  font-weight: 650;
}

.bag-summary dd.is-free {
  color: #18734b;
}

.bag-total {
  padding: 23px 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.bag-total span {
  font-size: 16px;
  font-weight: 750;
}

.bag-total span small {
  color: #999;
  font-size: 9px;
}

.bag-total strong {
  font-size: 26px;
  letter-spacing: -0.03em;
}

.bag-checkout {
  min-height: 58px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  color: #fff;
  background: #111;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: 0.2s;
}

.bag-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.17);
}

.bag-checkout-icon {
  width: 18px;
  height: 18px;
}

.bag-checkout-note {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #888;
  font-size: 9px;
}

.bag-note-icon {
  width: 13px;
  height: 13px;
}

.bag-payment-marks {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.bag-payment-marks span {
  padding: 5px 7px;
  border: 1px solid #ddd;
  border-radius: 5px;
  color: #777;
  font-size: 8px;
  font-weight: 800;
}

.bag-clear {
  text-align: center;
}

.bag-clear button {
  margin-top: 15px;
  border: 0;
  border-bottom: 1px solid #aaa;
  color: #777;
  background: none;
  font-size: 10px;
}

.bag-empty {
  min-height: 460px;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid #deddd8;
  border-radius: 20px;
  background: #fff;
  text-align: center;
}

.bag-empty > span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #111;
}

.bag-empty-icon {
  width: 25px;
  height: 25px;
}

.bag-empty > small {
  margin-top: 24px;
  font-size: 10px;
  letter-spacing: 0.25em;
}

.bag-empty h2 {
  margin: 10px 0;
  font-family: inherit;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 650;
  letter-spacing: -0.04em;
}

.bag-empty p {
  max-width: 440px;
  color: #777;
}

.bag-empty > a {
  margin-top: 25px;
  padding: 15px 24px;
  border-radius: 999px;
  color: #fff;
  background: #111;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.bag-empty > a span {
  margin-left: 10px;
}

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

  .bag-summary {
    position: static;
  }

  .bag-summary-card {
    box-shadow: none;
  }

  .bag-assurance {
    margin-bottom: 4px;
  }
}

@media (max-width: 650px) {
  .bag-page {
    padding: 32px 14px 80px;
  }

  .bag-header {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 25px;
  }

  .bag-header h1 {
    font-size: 52px;
  }

  .bag-header > a {
    font-size: 11px;
  }

  .bag-shipping-meter {
    padding: 14px;
  }

  .bag-item {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 14px;
    padding: 17px 0;
  }

  .bag-item-copy {
    padding: 0;
  }

  .bag-item-title {
    gap: 7px;
  }

  .bag-item-title a {
    font-size: 14px;
  }

  .bag-item-title > strong {
    font-size: 13px;
  }

  .bag-item-copy > p {
    margin-top: 6px;
    font-size: 11px;
  }

  .bag-unit-price {
    font-size: 9px;
  }

  .bag-item-actions {
    margin-top: 12px;
    align-items: flex-start;
    flex-direction: column;
  }

  .bag-quantity {
    height: 39px;
    grid-template-columns: 34px 40px 34px auto;
  }

  .bag-quantity input {
    width: 40px;
  }

  .bag-secondary-actions {
    gap: 12px;
  }

  .bag-assurance {
    grid-template-columns: 1fr;
  }

  .bag-summary-card {
    padding: 22px 18px;
  }

  .bag-items-head {
    display: none;
  }
}

/* Premium product experience */
.pdp {
  --ink: #111;
  --cream: #f4f2ed;
  color: var(--ink);
  padding: 32px clamp(18px, 4vw, 64px) 90px;
}

.pdp-layout {
  max-width: 1540px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(430px, 0.88fr);
  gap: clamp(42px, 0vw, 100px);
  align-items: start;
}

.pdp-gallery {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 16px;
  position: sticky;
  top: 100px;
}

.pdp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: calc(100vh - 140px);
  overflow: auto;
  scrollbar-width: none;
}

.pdp-thumb {
  border: 1px solid transparent;
  background: #f2f2f0;
  padding: 0;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.58;
  transition: 0.25s;
}

.pdp-thumb.is-active {
  border-color: #111;
  opacity: 1;
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-stage {
  position: relative;
  aspect-ratio: 4/5;
  background: #f3f3f1;
  overflow: hidden;
  cursor: zoom-in;
}

.pdp-stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.25s,
    transform 0.18s;
  transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%);
}

.pdp-stage.is-zoomed > img {
  transform: scale(1.85);
}

.pdp-stage.is-loading > img {
  opacity: 0;
}

.pdp-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, #eee 35%, #fafafa 50%, #eee 65%);
  background-size: 200% 100%;
  animation: pdpShimmer 1.2s infinite;
  display: none;
}

.pdp-stage.is-loading .pdp-skeleton {
  display: block;
}

@keyframes pdpShimmer {
  to {
    background-position: -200% 0;
  }
}

.pdp-expand {
  position: absolute;
  right: 16px;
  top: 16px;
  border: 0;
  background: #fff;
  padding: 10px 13px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  opacity: 0;
  transition: 0.2s;
}

.pdp-stage:hover .gallery-arrow {
  opacity: 1;
}

.gallery-arrow.prev {
  left: 14px;
}

.gallery-arrow.next {
  right: 14px;
}

.pdp-dots {
  display: none;
}

.pdp-copy {
  padding-top: 24px;
}

.pdp-kicker,
.variant-heading span {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #777;
}

.pdp-kicker span {
  margin-left: 8px;
}

.pdp-copy h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(42px, 4vw, 68px);
  line-height: 1.01;
  letter-spacing: -0.035em;
  margin: 18px 0;
}

.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.pdp-price-row strong {
  font-size: 22px;
  font-weight: 500;
}

.pdp-price-row del,
.pdp-price-row span {
  color: #888;
  font-size: 12px;
}

.pdp-rating {
  margin-top: 18px;
  font-size: 12px;
}

.pdp-rating b {
  letter-spacing: 0.1em;
}

.pdp-rating span {
  color: #707070;
  margin-left: 9px;
}

.pdp-intro {
  color: #666;
  line-height: 1.75;
  margin: 24px 0 28px;
  max-width: 610px;
}

.selected-variant {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--cream);
  padding: 13px;
  border-radius: 3px;
}

.selected-swatch {
  width: 58px;
  height: 68px;
  background: #fff;
  overflow: hidden;
}

.selected-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.selected-variant div:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.selected-variant small,
.selected-variant span {
  color: #777;
  font-size: 11px;
}

.selected-variant small {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.variant-heading {
  display: flex;
  justify-content: space-between;
  margin: 28px 0 12px;
}

.luxury-variants {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.luxury-variant {
  min-height: 84px;
  border: 1px solid #ddd;
  padding: 9px;
  display: grid;
  grid-template-columns: 56px 1fr 18px;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  transition: 0.22s;
}

.luxury-variant:hover {
  border-color: #888;
  transform: translateY(-1px);
}

.luxury-variant:has(input:checked) {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.luxury-variant input {
  position: absolute;
  opacity: 0;
}

.luxury-variant img {
  width: 56px;
  height: 64px;
  object-fit: cover;
  background: #eee;
}

.luxury-variant span {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.luxury-variant strong {
  font-size: 13px;
}

.luxury-variant small {
  font-size: 11px;
  color: #777;
}

.luxury-variant:has(input:checked) small {
  color: #bbb;
}

.luxury-variant i {
  width: 15px;
  height: 15px;
  border: 1px solid #aaa;
  border-radius: 50%;
}

.luxury-variant:has(input:checked) i {
  border: 4px solid #fff;
}

.luxury-variant.is-sold-out {
  opacity: 0.45;
  cursor: not-allowed;
}

.pdp-color-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pdp-color-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 14px;
  padding: 0px 10px 0px 0px !important;
  border: 1px solid #ddd;
  color: #111;
  background: #fff;
  text-align: left;
  transition:
    border-color 0.2s,
    background 0.2s,
    color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}

.pdp-color-card:hover {
  border-color: #ff641e;
  transform: translateY(-2px);
}

.pdp-color-card img {
  width: 68px;
  height: 69px;
  /* border-radius: 8px; */
  object-fit: cover;
  object-position: top;
  background: #f1f0ec;
}

.pdp-color-card span,
.pdp-color-card strong,
.pdp-color-card small {
  display: block;
}

.pdp-color-card strong {
  font-size: 14px;
}

.pdp-color-card small {
  margin-top: 7px;
  color: #777;
  font-size: 11px;
}

.pdp-color-card > i {
  width: 17px;
  height: 17px;
  border: 1px solid #aaa;
  border-radius: 50%;
}

.pdp-color-card.is-selected {
  color: #fff;
  background: #111;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.pdp-color-card.is-selected small {
  color: #c9c9c9;
}

.pdp-color-card.is-selected > i {
  border: 5px solid #fff;
}

.pdp-size-heading {
  align-items: center;
  margin-top: 26px;
}

.pdp-size-heading a {
  color: #f15a18;
  font-size: 12px;
  font-weight: 650;
}

.pdp-size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pdp-size-options button {
  min-width: 58px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #d7d7d7;
  color: #111;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: 0.18s;
}

.pdp-size-options button:hover:not(:disabled) {
  border-color: #ff641e;
  transform: translateY(-1px);
}

.pdp-size-options button.is-selected {
  border-color: #ff641e;
  color: #fff;
  background: #111;
}

.pdp-size-options button:disabled {
  cursor: not-allowed;
  color: #aaa;
  background: #f2f2f2;
  text-decoration: line-through;
  opacity: 0.65;
}

[data-sale-badge]:not(:empty) {
  padding: 4px 7px;
  border-radius: 999px;
  color: #a23b0c;
  background: #fff0e7;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.pdp-stage.is-loading [data-gallery-main],
.pdp-price-row strong {
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.purchase-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 24px 0 12px;
}

@media (max-width: 650px) {
  .pdp-color-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }

  .pdp-color-card {
    min-width: 260px;
    scroll-snap-align: start;
    padding: 0px 10px 0px 0px;
  }

  .pdp-size-options button {
    min-width: 52px;
    height: 44px;
    padding-inline: 13px;
  }
}

.qty-stepper {
  display: grid;
  grid-template-columns: 42px 42px 42px;
  border: 1px solid #ccc;
  height: 55px;
}

.qty-stepper button,
.qty-stepper input {
  border: 0;
  background: #fff;
  text-align: center;
  font-size: 16px;
  width: 100%;
}

.sep-inpt {
  border: none !important;
}

.qty-stepper input {
  -moz-appearance: textfield;
}

.stock-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}

.stock-status > i {
  width: 7px;
  height: 7px;
  background: #317a4c;
  border-radius: 50%;
}

.stock-status[data-state="low"] > i {
  background: #e58a18;
}

.stock-status[data-state="out"] > i {
  background: #c83232;
}

.qty-stepper button:disabled {
  cursor: not-allowed;
  color: #aaa;
  background: #f5f5f5;
}

.stock-status span,
.stock-status small {
  display: block;
}

.stock-status small {
  color: #888;
  margin-top: 2px;
}

.pdp-add,
.pdp-buy-now,
.pdp-wishlist button {
  width: 100%;
  height: 58px;
  border: 1px solid #111;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
}

.pdp-add {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  background: #111;
  color: #fff;
}

.pdp-buy-now {
  margin-top: 10px;
  background: #fff;
}

.pdp-add:disabled,
.pdp-buy-now:disabled {
  opacity: 0.4;
}

.pdp-wishlist button {
  height: 44px;
  background: transparent;
  border: 0;
  color: #555;
}

.pdp-promises {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid #ddd;
}

.pdp-promises div {
  display: flex;
  flex-direction: column;
  font-size: 12px;
}

.pdp-promises span {
  color: #888;
  margin-top: 4px;
}

.pdp-accordions details {
  border-top: 1px solid #ddd;
}

.pdp-accordions details:last-child {
  border-bottom: 1px solid #ddd;
}

.pdp-accordions summary {
  padding: 19px 0;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  list-style: none;
}

.pdp-accordions p,
.pdp-rich-text {
  color: #666;
  font-size: 13px;
  line-height: 1.7;
  padding: 0 24px 20px 0;
}

.pdp-rich-text p {
  padding: 0;
  margin: 0 0 12px;
}

.pdp-rich-text ul,
.pdp-rich-text ol {
  margin: 8px 0 14px 20px;
  padding: 0;
}

.pdp-rich-text ul {
  list-style: disc;
}

.pdp-rich-text ol {
  list-style: decimal;
}

.pdp-rich-text li {
  margin: 4px 0;
}

.pdp-rich-text strong,
.pdp-rich-text b {
  color: #111;
  font-weight: 700;
}

.pdp-size-chart {
  padding: 0 0 24px;
}

.pdp-size-chart a {
  display: block;
  width: min(100%, 560px);
  border: 1px solid #e2e2df;
  background: #f7f7f5;
}

.pdp-size-chart img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
}

.pdp-size-chart small {
  display: block;
  margin-top: 9px;
  color: #777;
  font-size: 11px;
}

.pdp-accordions details[open] summary span {
  transform: rotate(45deg);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(250, 250, 248, 0.98);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox img {
  max-width: 84vw;
  max-height: 90vh;
  object-fit: contain;
}

.gallery-lightbox button {
  position: absolute;
  border: 0;
  background: transparent;
  font-size: 34px;
}

.gallery-lightbox [data-gallery-close] {
  right: 28px;
  top: 18px;
}

.gallery-lightbox .prev {
  left: 28px;
}

.gallery-lightbox .next {
  right: 28px;
}

.gallery-lightbox span {
  position: absolute;
  bottom: 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.pdp-related {
  background: #f5f4f1;
  padding: 80px clamp(18px, 4vw, 64px);
}

.pdp-related-head {
  max-width: 1540px;
  margin: 0 auto 32px;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.pdp-related-head small {
  letter-spacing: 0.25em;
}

.pdp-related-head h2 {
  font-size: 42px;
  font-weight: 400;
  margin: 10px 0 0;
}

.pdp-related-grid {
  max-width: 1540px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .pdp {
    padding: 0 0 60px;
  }

  .pdp-layout {
    display: block;
  }

  .pdp-gallery {
    display: block;
    position: relative;
    top: auto;
  }

  .pdp-thumbs {
    order: 2;
    flex-direction: row;
    padding: 10px 18px;
    max-height: none;
  }

  .pdp-thumb {
    min-width: 62px;
    width: 62px;
  }

  .pdp-stage {
    aspect-ratio: 4/5;
    touch-action: pan-y;
  }

  .pdp-stage .gallery-arrow {
    display: none;
  }

  .pdp-dots {
    display: flex;
    position: absolute;
    bottom: 92px;
    left: 0;
    right: 0;
    justify-content: center;
    gap: 6px;
  }

  .pdp-dots button {
    width: 5px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #aaa;
  }

  .pdp-dots button.is-active {
    background: #111;
    width: 16px;
    border-radius: 5px;
  }

  .pdp-copy {
    padding: 30px 18px;
  }

  .pdp-copy h1 {
    font-size: 42px;
  }

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

  .pdp-related {
    padding: 60px 18px;
  }

  .pdp-related-head h2 {
    font-size: 34px;
  }
}

@media (max-width: 520px) {
  .luxury-variants {
    grid-template-columns: 1fr;
  }

  .pdp-promises {
    grid-template-columns: 1fr;
  }

  .pdp-related-grid {
    display: flex;
    overflow: auto;
  }

  .pdp-related-grid > * {
    min-width: 76vw;
  }

  .pdp-kicker span {
    display: none;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #fff;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 80px;
  padding: 12px clamp(18px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand-logo {
  display: inline-flex;
  width: 180px;
  max-width: 44vw;
  height: 56px;
}

.brand-logo img,
.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #030303;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.primary-nav a,
.text-button {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 8px 0;
}

.primary-nav a::after,
.text-button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.text-button:hover::after {
  transform: scaleX(1);
}

.primary-nav .nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
}

.primary-nav .nav-cta::after {
  display: none;
}

.inline-form {
  display: inline-flex;
  margin: 0;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  place-items: center;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 1px;
  background: var(--ink);
}

.flash {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.flash-success {
  border-color: rgba(39, 103, 56, 0.4);
  color: var(--success);
}

.flash-error {
  border-color: rgba(159, 29, 29, 0.35);
  color: var(--danger);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  font-weight: 500;
}

h1 {
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.94;
}

h2 {
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1;
}

h3 {
  font-size: 28px;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.btn-primary,
.btn-secondary,
.ghost-button,
.product-actions button,
.qty-form button {
  min-height: 46px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.btn-primary,
.product-actions button {
  color: #fff;
  background: var(--ink);
}

.btn-primary:hover,
.product-actions button:hover {
  background: #2d2d2d;
}

.btn-secondary,
.ghost-button,
.qty-form button {
  color: var(--ink);
  background: #fff;
}

.btn-secondary:hover,
.ghost-button:hover,
.qty-form button:hover {
  background: var(--soft);
}

.wide-button {
  width: 100%;
}

.button-row {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-split {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--soft);
}

.hero-copy {
  padding: clamp(56px, 8vw, 112px) clamp(22px, 6vw, 92px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 24px;
  font-size: 17px;
}

.hero-image {
  position: relative;
  min-height: 58vh;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-chip {
  position: absolute;
  right: clamp(18px, 4vw, 44px);
  bottom: clamp(18px, 4vw, 44px);
  padding: 16px 18px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.2);
}

.hero-meta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.hero-meta span {
  display: grid;
  gap: 4px;
}

.hero-meta strong {
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.section-wrap {
  width: min(1400px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 112px) 0;
}

.tone-soft {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100vw - 1400px) / 2));
  padding-right: max(16px, calc((100vw - 1400px) / 2));
  background: var(--soft);
}

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

.section-heading a {
  color: var(--muted);
  font-size: 14px;
  border-bottom: 1px solid currentColor;
}

.category-grid,
.product-grid,
.gallery-grid,
.testimonials,
.admin-grid {
  display: grid;
  gap: 18px;
}

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

.category-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: #fff;
  background: #ddd;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.68), transparent 62%);
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

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

.category-tile span,
.category-tile strong {
  position: relative;
  z-index: 1;
}

.category-tile span {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.82;
}

.category-tile strong {
  margin-top: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
}

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

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

.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  display: block;
  overflow: hidden;
  background: var(--soft);
}

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

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

.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 9px;
  background: #fff;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.badge-dark {
  left: auto;
  right: 12px;
  color: #fff;
  background: var(--ink);
}

.product-body {
  padding: 14px 0 10px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.product-name {
  display: inline-block;
  font-weight: 600;
}

.product-body p {
  margin: 4px 0 0;
  font-size: 12px;
}

.price-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  white-space: nowrap;
  font-weight: 600;
}

.price-line del {
  color: var(--muted);
  font-weight: 400;
}

.price-line.large {
  justify-content: flex-start;
  margin: 24px 0;
  font-size: 24px;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.product-actions form,
.product-actions button {
  width: 100%;
}

.limited-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.limited-layout p {
  max-width: 500px;
}

.countdown {
  margin: 28px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.countdown span {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.countdown strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 500;
  letter-spacing: 0;
}

.story-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(64px, 8vw, 112px) max(16px, calc((100vw - 1400px) / 2));
  color: #fff;
  background: #050505;
}

.story-band p,
.story-band .eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.story-band img {
  width: 100%;
  height: min(620px, 72vw);
  object-fit: cover;
}

.story-band dl {
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.story-band dt {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
}

.story-band dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

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

.testimonials article {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.testimonials span {
  letter-spacing: 0.2em;
  font-size: 12px;
}

.testimonials p {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.4;
}

.gallery-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

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

.newsletter-band {
  padding: clamp(64px, 8vw, 112px) 16px;
  text-align: center;
  color: #fff;
  background: #050505;
}

.newsletter-band p,
.newsletter-band .eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.newsletter-band h2 {
  font-size: clamp(40px, 7vw, 72px);
}

.newsletter-form {
  width: min(520px, 100%);
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  color: #fff;
  background: transparent;
  border: 0;
}

.newsletter-form button {
  color: #fff;
  background: transparent;
  border: 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-head {
  width: min(1400px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) 0 28px;
}

.page-head h1 {
  font-size: clamp(44px, 7vw, 72px);
}

.shop-layout,
.cart-layout,
.checkout-layout,
.account-layout,
.admin-panels,
.product-detail {
  width: min(1400px, calc(100% - 32px));
  margin: 0 auto clamp(64px, 8vw, 112px);
  display: grid;
  gap: clamp(26px, 4vw, 54px);
}

.shop-layout {
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
}

.filter-panel,
.summary-box,
.auth-card,
.account-card,
.form-section,
.table-wrap,
.empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.filter-panel {
  position: sticky;
  top: 104px;
  padding: 22px;
}

.filter-panel form,
.stacked-form,
.checkout-form,
.form-grid {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfcfc8;
  border-radius: var(--radius);
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

input:focus,
select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(16, 16, 16, 0.08);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.check-row input {
  width: 16px;
  min-height: 16px;
}

.pagination {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination a {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pagination a.active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.product-detail {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  align-items: start;
  padding-top: clamp(34px, 5vw, 64px);
}

.detail-media {
  background: var(--soft);
}

.detail-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.detail-copy {
  position: sticky;
  top: 112px;
}

.detail-copy h1 {
  font-size: clamp(42px, 6vw, 72px);
}

.buy-box {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.mt-small {
  margin-top: 12px;
}

.auth-layout {
  width: min(1180px, calc(100% - 32px));
  margin: clamp(44px, 8vw, 92px) auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 440px);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.auth-copy {
  padding-top: 20px;
}

.auth-copy h1 {
  max-width: 760px;
}

.auth-copy p:not(.eyebrow) {
  max-width: 580px;
  font-size: 18px;
}

.auth-card {
  padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.08);
}

.auth-card h2,
.summary-box h2,
.form-section h2,
.table-wrap h2 {
  margin-bottom: 20px;
  font-family: Inter, Manrope, Arial, sans-serif;
  font-size: 28px;
  font-weight: 750;
}

.google-box,
.setup-note {
  margin: 22px 0;
}

.setup-note {
  padding: 14px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.divider {
  margin: 22px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth-links {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.auth-links a {
  color: var(--muted);
  border-bottom: 1px solid currentColor;
}

.cart-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
}

.cart-items {
  display: grid;
  gap: 16px;
}

.cart-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 130px auto;
  gap: 18px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.cart-row img {
  width: 110px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--soft);
}

.cart-row a {
  font-weight: 700;
}

.cart-row p {
  margin: 4px 0;
  font-size: 13px;
}

.qty-form {
  display: flex;
  gap: 8px;
}

.qty-form input {
  min-width: 70px;
}

.summary-box {
  position: sticky;
  top: 104px;
  padding: 24px;
  display: grid;
  gap: 14px;
}

.summary-box div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.summary-box .total {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 20px;
}

.empty-state {
  width: min(720px, calc(100% - 32px));
  margin: 36px auto 80px;
  padding: 38px;
  text-align: center;
}

.checkout-layout {
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
}

.form-section {
  padding: 26px;
}

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

.wide {
  grid-column: 1 / -1;
}

.radio-card {
  margin: 10px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: row;
  align-items: center;
}

.radio-card input {
  width: 16px;
  min-height: 16px;
}

.account-layout {
  grid-template-columns: 330px minmax(0, 1fr);
  padding-top: clamp(36px, 6vw, 72px);
}

.account-card {
  position: sticky;
  top: 104px;
  padding: 26px;
}

.account-card h1 {
  font-size: clamp(34px, 5vw, 48px);
  overflow-wrap: anywhere;
}

.orders-panel {
  min-width: 0;
}

.table-wrap {
  overflow: auto;
  padding: 24px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.admin-grid {
  width: min(1400px, calc(100% - 32px));
  margin: 0 auto 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.admin-grid span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.admin-grid strong {
  display: block;
  margin-top: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  font-weight: 500;
}

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

.error-page {
  width: min(720px, calc(100% - 32px));
  margin: clamp(70px, 12vw, 150px) auto;
  text-align: center;
}

.site-footer {
  margin-top: auto;
  padding: 38px clamp(18px, 4vw, 56px);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.footer-logo {
  width: 180px;
  height: 56px;
  display: inline-flex;
}

.site-footer p {
  margin: 12px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .shop-layout,
  .cart-layout,
  .checkout-layout,
  .account-layout,
  .product-detail,
  .limited-layout,
  .story-band {
    grid-template-columns: 1fr;
  }

  .filter-panel,
  .summary-box,
  .account-card,
  .detail-copy {
    position: static;
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: center;
  }

  .menu-toggle {
    display: grid;
  }

  .primary-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .hero-split,
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 2;
  }

  .hero-image {
    order: 1;
    min-height: 48vh;
  }

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

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

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

  .cart-row {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .cart-row img {
    width: 86px;
  }

  .cart-row .qty-form,
  .cart-row strong {
    grid-column: 2;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .section-heading,
  .hero-meta,
  .newsletter-form {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-grid,
  .category-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    border: 0;
    gap: 10px;
  }

  .newsletter-form input {
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .newsletter-form button {
    min-height: 44px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
  }
}
