@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #14233b;
  --muted: #697891;
  --line: #eadfd5;
  --paper: #fffaf6;
  --white: #fff;
  --orange: #e87522;
  --orange-dark: #c2540b;
  --orange-deep: #71320e;
  --orange-pale: #fff0e5;
  --danger: #a93636;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #f2a66a;
  outline-offset: 3px;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Manrope', sans-serif; }

.announcement-bar {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 9px 18px;
  background: var(--orange-deep);
  color: #fff0e5;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .5px;
}

.site-header {
  width: min(1280px, calc(100% - 64px));
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 33px; height: 33px; position: relative; display: inline-block; }
.brand-mark span { position: absolute; display: block; background: var(--orange); }
.brand-mark span:nth-child(1) { top: 1px; left: 14px; width: 5px; height: 31px; transform: rotate(45deg); }
.brand-mark span:nth-child(2) { top: 1px; left: 14px; width: 5px; height: 31px; transform: rotate(-45deg); }
.brand-mark span:nth-child(3) { top: 14px; left: 3px; width: 27px; height: 5px; }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font: 800 17px 'Manrope', sans-serif; letter-spacing: .2px; }
.brand-copy small { color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: 2px; }
.site-header nav { display: flex; align-items: center; gap: 38px; font-size: 13px; font-weight: 600; }
.nav-link { color: var(--muted); transition: color 160ms ease; }
.nav-link:hover { color: var(--orange); }
.cart-link { min-height: 42px; display: inline-flex; align-items: center; gap: 10px; padding: 0 0 0 18px; border-left: 1px solid var(--line); }
.cart-count { min-width: 23px; height: 23px; display: grid; place-items: center; padding: 0 6px; border-radius: 50%; background: var(--orange); color: white; font-size: 10px; }
.bag-arrow { color: var(--orange); font-size: 16px; }

#app { width: min(1280px, calc(100% - 64px)); min-height: 500px; margin: 0 auto; }
.home-hero { display: grid; grid-template-columns: minmax(390px, .83fr) minmax(0, 1.17fr); min-height: 510px; margin: 36px 0 94px; overflow: hidden; background: white; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 58px 54px 54px 64px; }
.hero-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 26px; color: var(--orange); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.hero-kicker span { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero-copy h1 { max-width: 520px; margin-bottom: 21px; font-size: 58px; line-height: 1.04; letter-spacing: 0; }
.hero-copy h1 em { color: var(--orange); font-style: normal; }
.hero-description { max-width: 390px; margin-bottom: 29px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.primary-button, .secondary-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 0 21px; border: 0; border-radius: 3px; font-size: 12px; font-weight: 700; cursor: pointer; transition: background 160ms ease, color 160ms ease, transform 160ms ease; }
.primary-button { background: var(--orange); color: white; }
.primary-button:hover { transform: translateY(-2px); background: var(--orange-dark); }
.secondary-button { border: 1px solid var(--line); background: white; color: var(--ink); }
.secondary-button:hover { background: var(--orange-pale); }
.hero-cta { min-height: 51px; }
.hero-cta span { font-size: 17px; }
.hero-assurance { display: flex; align-items: center; gap: 11px; margin-top: 34px; color: var(--muted); font-size: 10px; }
.hero-assurance > span:first-child { color: var(--orange); font-weight: 700; }
.hero-assurance i { width: 3px; height: 3px; border-radius: 50%; background: #9aa9c0; }
.hero-visual { position: relative; min-height: 510px; overflow: hidden; background: #f6e2d2; }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.hero-image-shade { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(10, 28, 61, .58)); pointer-events: none; }
.hero-product-label { position: absolute; z-index: 1; left: 30px; bottom: 28px; display: grid; gap: 5px; color: white; }
.hero-product-label span { font-size: 9px; font-weight: 600; letter-spacing: 1.3px; }
.hero-product-label strong { font: 600 23px 'Manrope', sans-serif; }
.hero-index { position: absolute; top: 22px; right: 22px; padding: 9px 12px; background: rgba(255,255,255,.9); color: var(--orange-deep); font-size: 9px; font-weight: 700; letter-spacing: 1px; }

.shop-intro { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 0 0 25px; scroll-margin-top: 22px; }
.eyebrow { margin: 0 0 9px; color: var(--orange); font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.shop-intro h2 { margin-bottom: 0; font-size: 31px; line-height: 1.2; letter-spacing: 0; }
.collection-count { margin: 0 0 4px; color: var(--muted); font-size: 11px; }
.collection-count span { margin-right: 7px; color: var(--orange); font-size: 15px; font-weight: 700; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-bottom: 58px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); background: white; transition: box-shadow 180ms ease, transform 180ms ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(113, 50, 14, .1); }
.product-image-link { position: relative; display: block; overflow: hidden; aspect-ratio: 1.18; background: var(--orange-pale); }
.product-card img, .detail-image { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 260ms ease; }
.product-image-link:hover img { transform: scale(1.035); }
.category-tag { position: absolute; top: 14px; left: 14px; padding: 7px 10px; background: rgba(255,255,255,.94); color: var(--orange-deep); font-size: 9px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.quick-view { position: absolute; right: 13px; bottom: 13px; display: flex; align-items: center; gap: 9px; padding: 9px 11px; background: white; color: var(--ink); font-size: 10px; font-weight: 700; opacity: 0; transform: translateY(5px); transition: opacity 160ms ease, transform 160ms ease; }
.product-image-link:hover .quick-view, .product-image-link:focus-visible .quick-view { opacity: 1; transform: translateY(0); }
.product-info { min-height: 110px; display: flex; align-items: start; justify-content: space-between; gap: 12px; padding: 17px 17px 10px; }
.product-info-copy { min-width: 0; }
.product-overline { margin: 0 0 5px; color: var(--orange); font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.product-info h2 { margin-bottom: 7px; font-size: 17px; line-height: 1.25; letter-spacing: 0; }
.product-description { display: -webkit-box; max-width: 310px; min-height: 2.8em; margin: 0; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-price { padding-top: 1px; color: var(--orange-deep); font-size: 13px; font-weight: 700; white-space: nowrap; }
.product-purchase { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 17px 17px; }
.product-quantity { display: flex; align-items: center; gap: 8px; }
.product-quantity-label { color: var(--muted); font-size: 10px; font-weight: 700; }
.product-purchase .quantity-control { flex: 0 0 auto; }
.add-button { min-width: 0; min-height: 43px; display: flex; flex: 1; align-items: center; justify-content: space-between; margin: 0; padding: 0 13px; border: 1px solid #f0c5a6; border-radius: 2px; background: white; color: var(--orange-deep); font-size: 11px; font-weight: 700; cursor: pointer; transition: background 160ms ease, border-color 160ms ease, color 160ms ease; }
.add-button:hover { border-color: var(--orange); background: var(--orange); color: white; }
.add-icon { font-size: 18px; font-weight: 400; }

.service-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 25px 0 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-strip > div { display: flex; align-items: center; gap: 14px; }
.service-number { color: var(--orange); font-size: 10px; font-weight: 700; }
.service-strip strong, .service-strip small { display: block; }
.service-strip strong { margin-bottom: 3px; font-size: 11px; }
.service-strip small { color: var(--muted); font-size: 10px; }

.page-heading { padding: 48px 0 26px; }
.page-heading h1 { margin-bottom: 7px; font-size: 36px; letter-spacing: 0; }
.page-heading > p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.text-button { padding: 8px 0; border: 0; background: transparent; color: var(--orange); font-size: 12px; font-weight: 700; cursor: pointer; }
.text-button:hover { color: var(--orange-dark); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 60px; padding: 18px 0 82px; }
.detail-image-wrap { overflow: hidden; aspect-ratio: 1.15; background: var(--orange-pale); }
.detail-copy { align-self: center; }
.detail-copy h1 { margin: 8px 0 12px; font-size: 44px; line-height: 1.08; letter-spacing: 0; }
.detail-copy .detail-price { margin-bottom: 21px; color: var(--orange); font-size: 21px; font-weight: 700; }
.detail-copy .description { max-width: 430px; margin-bottom: 27px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.detail-purchase { align-items: flex-start; flex-direction: column; padding: 0; }
.detail-actions { display: flex; align-items: center; gap: 20px; }

.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr); gap: 38px; padding-bottom: 80px; }
.cart-list { border-top: 1px solid var(--line); }
.cart-row { display: grid; grid-template-columns: 105px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-row img { width: 105px; height: 90px; object-fit: cover; background: var(--orange-pale); }
.cart-row h2 { margin-bottom: 5px; font-size: 15px; }
.cart-row p { margin-bottom: 10px; color: var(--muted); font-size: 11px; }
.quantity-control { display: inline-flex; align-items: center; gap: 0; height: 38px; border: 1px solid #edc7ab; background: white; }
.quantity-control button { width: 38px; height: 36px; display: inline-grid; place-items: center; padding: 0; border: 0; background: white; color: var(--orange-deep); font-size: 20px; font-weight: 600; line-height: 1; cursor: pointer; }
.quantity-control button:first-child { border-right: 1px solid var(--line); }
.quantity-control button:last-child { border-left: 1px solid var(--line); }
.quantity-control button:hover { background: var(--orange-pale); }
.quantity-control button:disabled { background: var(--orange-pale); color: var(--orange-deep); cursor: not-allowed; }
.quantity-control span { min-width: 30px; color: var(--ink); font-size: 12px; font-weight: 700; text-align: center; }
.cart-row-end { display: grid; justify-items: end; gap: 11px; color: var(--orange-deep); font-size: 12px; font-weight: 700; }
.remove-button { padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 10px; text-decoration: underline; cursor: pointer; }
.remove-button:hover { color: var(--danger); }
.summary-panel { align-self: start; padding: 23px; border: 1px solid var(--line); background: white; }
.summary-panel h2 { margin-bottom: 20px; font-size: 17px; }
.summary-line { display: flex; justify-content: space-between; gap: 14px; margin: 13px 0; color: var(--muted); font-size: 12px; }
.summary-total { padding-top: 15px; border-top: 1px solid var(--line); color: var(--orange-deep); font-size: 14px; font-weight: 700; }
.summary-panel .primary-button { width: 100%; margin-top: 8px; }
.empty-state { padding: 22px 0 78px; }
.empty-state h2 { margin-bottom: 8px; font-size: 22px; }
.empty-state p { margin-bottom: 20px; color: var(--muted); font-size: 13px; }

.checkout-layout { grid-template-columns: minmax(0, 1.05fr) minmax(300px, .75fr); }
.checkout-form { display: grid; gap: 17px; }
.form-field { display: grid; gap: 7px; }
.form-field label { font-size: 11px; font-weight: 700; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid #eadfd5; border-radius: 2px; padding: 13px; background: white; color: var(--ink); font-size: 13px; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--orange); outline: 2px solid rgba(232,117,34,.16); }
.form-field textarea { min-height: 90px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #99a7ba; }
.payment-choice { display: flex; align-items: center; gap: 12px; padding: 15px; border: 1px solid #f0c5a6; background: var(--orange-pale); }
.payment-choice input { accent-color: var(--orange); }
.payment-choice strong { display: block; font-size: 12px; }
.payment-choice small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.checkout-message { min-height: 18px; margin: 0; color: var(--danger); font-size: 11px; }
.checkout-message.success { color: var(--orange-dark); }
.order-lines { display: grid; gap: 14px; margin-bottom: 20px; }
.order-line { display: flex; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 11px; }
.confirmation { max-width: 650px; margin: 65px auto 90px; padding: 48px 35px; border: 1px solid var(--line); background: white; text-align: center; }
.confirmation-mark { width: 55px; height: 55px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; background: var(--orange-pale); color: var(--orange); font-size: 24px; font-weight: 700; }
.confirmation h1 { margin-bottom: 11px; font-size: 32px; letter-spacing: 0; }
.confirmation p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.confirmation .order-reference { margin: 20px 0 26px; color: var(--ink); font-size: 11px; }

.site-footer { margin-top: 36px; padding: 0 max(32px, calc((100% - 1280px) / 2)); background: var(--orange-deep); color: white; }
.footer-main { min-height: 174px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand .brand-mark span { background: #ffbf8c; }
.footer-brand .brand-copy small { color: #f4c7a7; }
.footer-main > p { margin: 0; color: #f2d8c5; font-size: 12px; line-height: 1.7; }
.footer-shop { display: inline-flex; align-items: center; gap: 16px; color: white; font-size: 11px; font-weight: 700; }
.footer-shop:hover { color: #ffbf8c; }
.footer-bottom { min-height: 49px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.18); color: #e2bea4; font-size: 9px; }

@media (max-width: 900px) {
  .site-header, #app { width: min(100% - 44px, 1280px); }
  .home-hero { grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr); min-height: 440px; margin: 25px 0 72px; }
  .hero-copy { padding: 40px 34px; }
  .hero-copy h1 { font-size: 47px; }
  .hero-visual { min-height: 440px; }
  .product-grid { gap: 17px; }
  .product-info { padding-inline: 13px; }
  .product-purchase { gap: 10px; padding-inline: 13px; }
  .detail-layout { gap: 35px; }
}

@media (max-width: 680px) {
  .announcement-bar { justify-content: space-between; gap: 12px; font-size: 9px; }
  .site-header { height: 72px; }
  .site-header nav { gap: 20px; }
  .cart-link { gap: 7px; padding-left: 13px; }
  #app { min-height: 450px; }
  .home-hero { grid-template-columns: 1fr; margin: 18px 0 60px; }
  .hero-copy { padding: 37px 32px; }
  .hero-copy h1 { max-width: 480px; font-size: 47px; }
  .hero-visual { min-height: 360px; }
  .shop-intro { align-items: start; flex-direction: column; gap: 12px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .product-image-link { aspect-ratio: .96; }
  .quick-view { display: none; }
  .product-info { min-height: 116px; display: block; padding: 13px 12px 8px; }
  .product-info h2 { font-size: 14px; }
  .product-price { display: block; margin-top: 9px; }
  .product-description { font-size: 10px; }
  .product-purchase { align-items: stretch; flex-direction: column; padding: 0 12px 12px; }
  .product-purchase .add-button { width: 100%; min-height: 40px; flex: 0 0 auto; font-size: 10px; }
  .service-strip { grid-template-columns: 1fr; gap: 18px; }
  .detail-layout { grid-template-columns: 1fr; gap: 25px; }
  .detail-image-wrap { aspect-ratio: 1.18; }
  .detail-copy h1 { font-size: 35px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; gap: 22px; }
  .summary-panel { order: 1; }
  .footer-main { min-height: 190px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 19px; }
}

@media (max-width: 430px) {
  .announcement-bar { padding-inline: 12px; font-size: 8px; }
  .site-header, #app { width: calc(100% - 28px); }
  .brand-copy strong { font-size: 15px; }
  .brand-mark { transform: scale(.9); }
  .site-header nav { gap: 14px; font-size: 11px; }
  .hero-copy { padding: 31px 23px; }
  .hero-copy h1 { font-size: 39px; }
  .hero-description { font-size: 13px; }
  .hero-assurance { flex-wrap: wrap; gap: 8px; font-size: 9px; }
  .hero-visual { min-height: 285px; }
  .hero-product-label { left: 18px; bottom: 18px; }
  .hero-product-label strong { font-size: 19px; }
  .hero-index { top: 14px; right: 14px; font-size: 8px; }
  .shop-intro h2 { font-size: 25px; }
  .product-grid { gap: 11px; }
  .product-info { min-height: 125px; padding-inline: 10px; }
  .product-info h2 { font-size: 13px; }
  .product-overline { font-size: 8px; }
  .product-price { font-size: 12px; }
  .product-purchase { padding-inline: 10px; }
  .page-heading { padding-top: 35px; }
  .page-heading h1 { font-size: 30px; }
  .cart-row { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 11px; }
  .cart-row img { width: 72px; height: 72px; }
  .cart-row-end { font-size: 11px; }
  .confirmation { margin: 38px auto 58px; padding: 34px 20px; }
  .confirmation h1 { font-size: 26px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; padding: 12px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}