:root {
  --ink: #151713;
  --muted: #5f655c;
  --soft: #f7f5f0;
  --paper: #ffffff;
  --panel: #fbfaf7;
  --line: #e7e2d9;
  --sage: #63745a;
  --sage-dark: #40523d;
  --gold: #d99000;
  --cream: #dec6a8;
  --clay: #d7b0a2;
  --mist: #70818b;
  --shadow: 0 18px 44px rgba(35, 34, 27, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

body.modal-open {
  overflow: hidden;
}

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

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

.announcement {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 6vw, 92px);
  min-height: 34px;
  padding: 8px 18px;
  background: var(--sage);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 78px;
  padding: 16px clamp(20px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.shop-header {
  position: relative;
}

.brand img {
  width: 132px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 52px);
  font-size: 0.82rem;
  font-weight: 700;
}

.nav-links a {
  display: grid;
  gap: 2px;
  justify-items: center;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  border-bottom-color: var(--ink);
}

.nav-links span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.42rem;
}

.header-tools a {
  display: grid;
  place-items: center;
  min-width: 36px;
  min-height: 36px;
  border-radius: 50%;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease;
}

.header-tools a:hover {
  background: var(--soft);
  color: var(--sage-dark);
}

.header-tools svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.cart-link {
  position: relative;
}

.cart-link span {
  position: absolute;
  top: -2px;
  right: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(310px, 0.82fr) minmax(420px, 1.18fr);
  align-items: center;
  min-height: clamp(540px, 72svh, 760px);
  padding: clamp(28px, 6vw, 78px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 70% 45%, rgba(177, 162, 137, 0.16), transparent 34%),
    linear-gradient(100deg, #ffffff 0%, #fbfaf7 54%, #eee9df 100%);
}

.home-page .hero {
  position: relative;
  grid-template-columns: 1fr;
  min-height: clamp(620px, 78svh, 820px);
  padding: clamp(46px, 7vw, 92px) clamp(28px, 6vw, 92px);
  overflow: hidden;
  background: #f7f5f0;
}

.home-page .hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 31%, rgba(255, 255, 255, 0.34) 56%, rgba(255, 255, 255, 0.04) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12));
  content: "";
}

.hero-copy {
  max-width: 500px;
}

.home-page .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 440px;
}

.hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 4.6vw, 4.7rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.home-page .hero h1 {
  font-size: clamp(2.8rem, 4.2vw, 4.8rem);
}

.hero p {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.22rem);
}

.home-page .hero p {
  max-width: 430px;
  font-size: clamp(1.02rem, 1.18vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.84rem;
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--sage-dark);
  color: #fff;
}

.button.secondary {
  background: #fff;
  border-color: #aeb5a9;
  color: var(--ink);
}

.button.full-width {
  width: 100%;
}

.hero-media {
  justify-self: end;
  width: min(100%, 860px);
}

.hero-media img {
  width: 100%;
  max-height: 610px;
  object-fit: contain;
}

.home-page .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.home-page .hero-media img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: 67% center;
}

.trust-strip,
.why-grid,
.delivery-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-block: 1px solid var(--line);
  background: #fff;
}

.trust-strip article,
.why-grid article,
.delivery-strip article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  align-items: center;
  min-width: 0;
}

.trust-icon,
.why-grid span,
.delivery-strip span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid #bfc7b8;
  border-radius: 50%;
  color: var(--sage-dark);
  font-size: 1.12rem;
}

.trust-strip strong,
.why-grid strong,
.delivery-strip strong {
  font-size: 0.82rem;
}

.trust-strip small,
.why-grid small,
.delivery-strip small {
  color: var(--muted);
  font-size: 0.72rem;
}

.section {
  padding: clamp(42px, 6vw, 74px) clamp(20px, 5vw, 72px);
}

.home-page .section {
  padding: clamp(52px, 7vw, 88px) clamp(28px, 6vw, 92px);
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(1.55rem, 2.3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.text-button {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.compact-grid,
.product-grid {
  display: grid;
  gap: 18px;
}

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

.product-card {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.product-card-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--soft);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  padding: clamp(18px, 4vw, 42px);
  object-fit: contain;
  transition: opacity 160ms ease, transform 160ms ease;
}

.product-card:hover .primary-image {
  opacity: 0;
}

.alternate-image {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.product-card:hover .alternate-image {
  opacity: 1;
  transform: scale(1.03);
}

.wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  color: var(--sage-dark);
  font-size: 1.35rem;
  line-height: 1;
}

.product-card-body {
  display: grid;
  gap: 4px;
  padding: 14px;
}

.product-card-body h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.product-card-body strong {
  font-size: 0.82rem;
}

.stars {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
}

.stars span {
  color: var(--muted);
  font-weight: 600;
}

.card-action {
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: var(--sage-dark);
  font-size: 0.76rem;
  font-weight: 800;
  text-align: left;
}

.why-band {
  padding: 34px clamp(20px, 5vw, 72px);
  background: var(--soft);
  text-align: center;
}

.home-page .why-band {
  padding: clamp(52px, 7vw, 84px) clamp(28px, 6vw, 92px) clamp(42px, 6vw, 70px);
}

.why-grid {
  padding: 16px 0 0;
  border: 0;
  background: transparent;
}

.why-grid article {
  justify-items: center;
  grid-template-columns: 1fr;
  gap: 7px;
}

.why-grid span {
  grid-row: auto;
}

.shop-layout {
  display: grid;
  gap: 24px;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(30px, 5vw, 58px) 0;
}

.shop-heading h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
}

.shop-heading p {
  color: var(--muted);
}

.shop-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}

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

.swatch {
  display: block;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
}

button.swatch {
  padding: 0;
}

.swatch.selected {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.sage {
  background: #8a9a82;
}

.cream {
  background: var(--cream);
}

.clay {
  background: var(--clay);
}

.mist {
  background: var(--mist);
}

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

.product-detail {
  display: grid;
  grid-template-columns: 72px minmax(320px, 1fr) minmax(320px, 0.72fr);
  gap: 24px;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 72px;
  border-top: 1px solid var(--line);
}

.thumbnail-rail {
  display: grid;
  align-content: start;
  gap: 12px;
}

.thumbnail-rail button {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--soft);
}

.thumbnail-rail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-image {
  display: grid;
  place-items: center;
  min-height: 560px;
  background: var(--soft);
  border-radius: 4px;
}

.detail-image img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  padding: clamp(22px, 5vw, 72px);
  object-fit: contain;
}

.detail-copy {
  padding: 12px 0;
}

.detail-copy h2 {
  margin-bottom: 8px;
}

.detail-price {
  display: block;
  margin-bottom: 8px;
}

.detail-copy p {
  color: var(--muted);
}

.colour-picker,
.quantity-control {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  font-size: 0.82rem;
  font-weight: 700;
}

.stepper {
  display: grid;
  grid-template-columns: 42px 52px 42px;
  width: max-content;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.stepper button,
.stepper input {
  height: 40px;
  border: 0;
  background: #fff;
  text-align: center;
}

.stepper input {
  width: 52px;
  border-inline: 1px solid var(--line);
}

.detail-copy .button {
  margin-top: 24px;
}

.button.primary.is-confirmed {
  background: #58724f;
}

.basket-confirmation {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--sage-dark);
  font-size: 0.9rem;
  font-weight: 800;
  opacity: 0;
  transition: opacity 160ms ease;
}

.basket-confirmation.is-visible {
  opacity: 1;
}

.mini-benefits {
  display: flex;
  gap: 28px;
  margin: 14px 0 34px;
  color: var(--muted);
  font-size: 0.9rem;
}

.accordion-list {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.accordion-list details + details {
  border-top: 1px solid var(--line);
}

.accordion-list summary {
  padding: 18px;
  font-weight: 800;
}

.accordion-list p {
  margin: 0;
  padding: 0 18px 18px;
}

.basket-modal[hidden] {
  display: none;
}

.basket-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  justify-items: end;
  align-items: stretch;
  padding: 0;
}

.basket-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 19, 16, 0.42);
}

.basket-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: 100svh;
  overflow: auto;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: -18px 0 46px rgba(20, 20, 15, 0.18);
}

.modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1;
}

.modal-screen {
  display: none;
}

.modal-screen.is-active {
  display: grid;
}

.basket-panel {
  padding: 30px;
}

.basket-count {
  margin: -8px 0 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.basket-items {
  display: grid;
  gap: 0;
  margin-top: 0;
  border-bottom: 1px solid var(--line);
}

.basket-row {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 20px 0 26px;
  border-top: 1px solid var(--line);
}

.basket-row img {
  width: 132px;
  height: 104px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--soft);
}

.basket-row strong {
  display: block;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.basket-row > span {
  display: block;
  justify-self: end;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
}

.basket-row small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.basket-row > button {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
  align-self: center;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.remove-item svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.basket-stepper {
  display: grid;
  grid-template-columns: 42px 42px 42px;
  width: max-content;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.basket-stepper button,
.basket-stepper input {
  width: 100%;
  height: 40px;
  border: 0;
  background: #fff;
  color: var(--ink);
  font-size: 0.96rem;
  text-align: center;
}

.basket-stepper input {
  border-inline: 1px solid var(--line);
}

.shipping-options {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0 0 20px;
  border: 0;
}

.shipping-options[hidden] {
  display: none;
}

.shipping-options legend {
  padding: 0 0 12px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.shipping-option {
  display: grid;
  grid-template-columns: 32px 1fr auto 20px;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  font-size: 0.86rem;
}

.shipping-option:has(input:checked) {
  border-color: var(--sage-dark);
  box-shadow: inset 0 0 0 1px var(--sage-dark);
}

.shipping-icon {
  display: grid;
  place-items: center;
  color: #7a776f;
}

.shipping-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.shipping-option strong,
.shipping-option small {
  display: block;
}

.shipping-option small {
  color: var(--muted);
  font-size: 0.8rem;
}

.shipping-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--sage-dark);
}

.shipping-option:has(input:disabled) {
  color: #9aa093;
}

.totals {
  display: grid;
  gap: 10px;
  margin: 0 -30px;
  padding: 22px 30px 0;
  background: var(--soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
}

.totals div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.totals dt {
  color: var(--muted);
}

.totals dd {
  margin: 0;
  font-weight: 800;
}

.totals div:last-child {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.16rem;
}

.checkout-link {
  justify-content: space-between;
  min-height: 58px;
  margin-top: 0;
  border-radius: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.secure-checkout {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin: 0 -30px;
  padding: 20px 30px 24px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.payment-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  color: var(--ink);
  font-size: 0.74rem;
}

.payment-logos strong:first-child {
  color: #1d4ca3;
}

.payment-logos strong:nth-child(2) {
  color: #c8622d;
}

.basket-panel h2 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.delivery-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 62px;
  border: 0;
  background: var(--soft);
}

.coming-soon {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: calc(100svh - 78px);
  padding: 56px 20px;
  text-align: center;
}

.coming-soon .shield-mark {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--sage-dark);
  font-size: 2.4rem;
}

.coming-soon h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.12;
}

.coming-soon p {
  max-width: 420px;
  margin-bottom: 26px;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 30px clamp(20px, 4vw, 52px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer img {
  width: 104px;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
}

.checkout-page {
  background: var(--soft);
}

.checkout-shell {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.72fr);
  gap: 34px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 64px) 0;
}

.checkout-details,
.checkout-summary {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.checkout-details h1,
.checkout-summary h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.checkout-details fieldset {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  border: 0;
}

.checkout-details legend {
  margin-bottom: 2px;
  font-weight: 900;
}

.checkout-details label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.checkout-details input,
.checkout-details select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
}

.checkout-field-grid {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 12px;
}

.payment-section {
  padding-top: 10px;
}

#card-container {
  min-height: 90px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.checkout-submit:disabled {
  background: #95a090;
  cursor: not-allowed;
}

.checkout-status,
.checkout-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.checkout-status.is-error {
  color: #9a2f24;
}

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

.checkout-summary-row img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--soft);
}

.checkout-summary-row strong,
.checkout-summary-row span {
  display: block;
  font-size: 0.86rem;
}

.checkout-summary-row small {
  color: var(--muted);
}

.checkout-summary dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.checkout-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.checkout-summary dt {
  color: var(--muted);
}

.checkout-summary dd {
  margin: 0;
  font-weight: 900;
}

.checkout-summary dl div:last-child {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 1.2rem;
}

.modal-open {
  overflow: hidden;
}

.order-success-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(24, 28, 22, 0.46);
  backdrop-filter: blur(5px);
}

.order-success-modal[hidden] {
  display: none;
}

.order-success-dialog {
  position: relative;
  width: min(560px, 100%);
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: clamp(32px, 5vw, 48px);
  border: 1px solid rgba(62, 87, 58, 0.16);
  border-radius: 18px;
  background: #fffdf9;
  box-shadow: 0 26px 90px rgba(24, 28, 22, 0.28);
  overflow: hidden;
  text-align: center;
}

.order-success-confetti {
  position: absolute;
  inset: 24px 70px auto;
  height: 74px;
  pointer-events: none;
}

.order-success-confetti span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--clay);
  opacity: 0.85;
}

.order-success-confetti span:nth-child(1) {
  left: 8%;
  top: 20px;
  background: #eeb476;
}

.order-success-confetti span:nth-child(2) {
  left: 24%;
  top: 4px;
  width: 5px;
  height: 16px;
  border-radius: 2px;
  background: #b9b38d;
  transform: rotate(-38deg);
}

.order-success-confetti span:nth-child(3) {
  left: 34%;
  top: 34px;
  background: #f2a9aa;
}

.order-success-confetti span:nth-child(4) {
  right: 28%;
  top: 7px;
  width: 6px;
  height: 17px;
  border-radius: 2px;
  background: #8fa17d;
  transform: rotate(42deg);
}

.order-success-confetti span:nth-child(5) {
  right: 16%;
  top: 31px;
  background: #efa99b;
}

.order-success-confetti span:nth-child(6) {
  right: 5%;
  top: 20px;
  width: 4px;
  height: 4px;
  background: #eeb476;
}

.order-success-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: #8a9a7d;
  color: #fff;
  font-size: 2.7rem;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(64, 82, 61, 0.2);
}

.order-success-dialog h2 {
  margin: 0;
  color: var(--sage-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 5vw, 2.1rem);
  line-height: 1.15;
}

.order-success-dialog p {
  max-width: 380px;
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.45;
}

.order-success-details {
  width: 100%;
  display: grid;
  margin-top: 4px;
  padding: 4px 28px;
  border-radius: 14px;
  background: rgba(248, 245, 239, 0.9);
}

.order-success-row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.order-success-row:last-child {
  border-bottom: 0;
}

.order-success-row-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #eceae2;
  color: var(--muted);
}

.order-success-row-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.order-success-row span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.order-success-row strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.order-success-action {
  min-height: 52px;
  margin-top: 2px;
  border-radius: 9px;
  box-shadow: 0 12px 30px rgba(64, 82, 61, 0.18);
}

.order-success-action span {
  margin-left: 14px;
  font-size: 1.35rem;
  line-height: 1;
}

.product-loading,
.empty-basket {
  grid-column: 1 / -1;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 980px) {
  .announcement {
    display: none;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 22px;
  }

  .home-page .hero {
    grid-template-columns: 1fr;
    min-height: 680px;
    align-content: end;
    padding: 250px 22px 38px;
  }

  .home-page .hero::before {
    background:
      linear-gradient(0deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.91) 42%, rgba(255, 255, 255, 0.22) 76%, rgba(255, 255, 255, 0.04) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
  }

  .home-page .hero-media img {
    object-position: 62% center;
  }

  .hero-copy {
    order: 2;
  }

  .hero-media {
    justify-self: center;
  }

  .trust-strip,
  .why-grid,
  .compact-grid,
  .product-grid,
  .delivery-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

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

  .thumbnail-rail {
    display: flex;
    overflow-x: auto;
  }

  .thumbnail-rail button {
    width: 72px;
    flex: 0 0 72px;
  }

  .detail-image {
    min-height: 420px;
  }

}

@media (max-width: 560px) {
  .site-header {
    min-height: 64px;
    padding: 12px 16px;
  }

  .brand img {
    width: 104px;
  }

  .header-tools {
    gap: 8px;
    font-size: 1.32rem;
  }

  .header-tools a {
    min-width: 34px;
    min-height: 34px;
  }

  .hero {
    padding: 18px 16px 34px;
  }

  .hero h1 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

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

  .trust-strip,
  .why-grid,
  .compact-grid,
  .product-grid,
  .delivery-strip {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-inline: 16px;
  }

  .trust-strip article,
  .delivery-strip article {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .section {
    padding-inline: 16px;
  }

  .home-page .section,
  .home-page .why-band {
    padding-inline: 16px;
  }

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

  .product-card-body {
    padding: 10px;
  }

  .shop-layout,
  .product-detail,
  .delivery-strip {
    width: calc(100% - 28px);
  }

  .shop-controls {
    justify-content: space-between;
    font-size: 0.74rem;
  }

  .checkout-shell {
    width: calc(100% - 28px);
  }

  .checkout-details,
  .checkout-summary {
    padding: 20px;
  }

  .checkout-field-grid {
    grid-template-columns: 1fr;
  }

  .product-detail {
    gap: 16px;
    padding-bottom: 48px;
  }

  .detail-image {
    min-height: 320px;
  }

  .detail-image img {
    padding: 24px;
  }

  .basket-panel {
    padding: 24px;
  }

  .basket-dialog {
    width: 100%;
  }

  .modal-close {
    top: 20px;
    right: 20px;
  }

  .basket-row {
    grid-template-columns: 88px 1fr auto;
    gap: 12px;
    padding-bottom: 20px;
  }

  .basket-row img {
    width: 88px;
    height: 76px;
  }

  .basket-row strong {
    font-size: 0.95rem;
  }

  .basket-row > span {
    font-size: 0.84rem;
  }

  .basket-stepper {
    grid-template-columns: 34px 34px 34px;
  }

  .basket-stepper button,
  .basket-stepper input {
    height: 34px;
  }

  .shipping-option {
    grid-template-columns: 28px 1fr auto 18px;
    gap: 10px;
    padding: 10px;
  }

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

  .totals,
  .secure-checkout {
    margin-inline: -24px;
    padding-inline: 24px;
  }

  .checkout-link {
    min-height: 54px;
    font-size: 0.98rem;
  }

}
