:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #111111;
  --muted: #6c6963;
  --line: #dfdad0;
  --charcoal: #171717;
  --steel: #eef0ef;
  --amber: #c9832d;
  --amber-strong: #9b5f1f;
  --green: #526653;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body.drawer-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.icons {
  display: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.top-strip {
  background: var(--charcoal);
  color: #f7f2e8;
  font-size: 0.82rem;
}

.strip-inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 244, 239, 0.94);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(16px);
}

.header-main {
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  background: var(--ink);
  color: var(--amber);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong {
  display: block;
  font-size: 1.12rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 3px;
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.search svg,
.icon-button svg,
.cart-button svg,
.service-stack svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button,
.cart-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.icon-button:hover,
.cart-button:hover {
  border-color: var(--ink);
}

.cart-button {
  position: relative;
}

.cart-button span {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  padding: 0 6px;
  background: var(--amber);
  color: #fff;
  border: 2px solid var(--bg);
  font-size: 0.72rem;
  font-weight: 700;
}

.mobile-menu-button {
  display: none;
}

.nav-bar {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.nav-links {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 38px);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links a {
  color: #3a3730;
}

.nav-links a:hover {
  color: var(--amber-strong);
}

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 45;
  pointer-events: none;
}

.mobile-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(17, 17, 17, 0.45);
  opacity: 0;
  transition: opacity 180ms ease;
}

.mobile-panel-inner {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: min(320px, 86vw);
  height: 100%;
  flex-direction: column;
  gap: 4px;
  padding: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateX(-102%);
  transition: transform 180ms ease;
}

.mobile-panel.open {
  pointer-events: auto;
}

.mobile-panel.open::before {
  opacity: 1;
}

.mobile-panel.open .mobile-panel-inner {
  transform: translateX(0);
}

.mobile-panel a {
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.panel-close {
  align-self: flex-end;
  margin-bottom: 8px;
}

.hero {
  position: relative;
  min-height: clamp(520px, 64vw, 680px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.26) 56%, rgba(0, 0, 0, 0.04)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 88px 0 78px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.3rem, 6vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.83);
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0 20px;
  font-weight: 800;
  text-align: center;
}

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

.button.primary:hover {
  background: var(--amber-strong);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

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

.button.full {
  width: 100%;
}

.category-band {
  position: relative;
  z-index: 2;
  margin-top: -34px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.category-tile {
  display: flex;
  min-height: 96px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 18px;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
}

.category-tile span {
  color: var(--muted);
  font-size: 0.86rem;
}

.category-tile strong {
  font-size: 1rem;
}

.category-tile.active,
.category-tile:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.category-tile.active span,
.category-tile:hover span {
  color: rgba(255, 255, 255, 0.68);
}

.section {
  padding: 82px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.text-link {
  border-bottom: 2px solid var(--amber);
  color: var(--ink);
  font-weight: 800;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.7fr);
  gap: 22px;
}

.feature-card {
  display: grid;
  min-height: 430px;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-media {
  min-height: 360px;
  background: var(--charcoal);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% center;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 44px);
}

.badge {
  align-self: flex-start;
  border: 1px solid rgba(201, 131, 45, 0.34);
  background: rgba(201, 131, 45, 0.12);
  color: var(--amber-strong);
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-copy h3 {
  margin: 18px 0 12px;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.08;
}

.feature-copy p {
  margin: 0;
  color: var(--muted);
}

.price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
}

.price {
  font-size: 1.35rem;
  font-weight: 800;
}

.compare {
  color: var(--muted);
  text-decoration: line-through;
}

.service-stack {
  display: grid;
  gap: 14px;
}

.service-stack div {
  min-height: 128px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 22px;
}

.service-stack svg {
  color: var(--amber);
}

.service-stack strong,
.service-stack span {
  display: block;
}

.service-stack strong {
  margin-top: 14px;
}

.service-stack span {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 4px;
}

.products-section {
  background: #fffdf8;
}

.products-head {
  align-items: center;
}

.sort-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.sort-pill {
  min-height: 40px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0 14px;
  color: var(--ink);
  font-weight: 700;
}

.sort-pill.active,
.sort-pill:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.product-grid,
.product-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.product-card:hover {
  border-color: rgba(17, 17, 17, 0.34);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.11);
  transform: translateY(-3px);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ebe7df;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--x, 50%) var(--y, 50%);
  transform: scale(1.36);
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-info {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.product-title {
  min-height: 48px;
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.28;
}

.rating {
  color: var(--amber);
  font-size: 0.86rem;
  letter-spacing: 0;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-meta .price {
  font-size: 1.06rem;
}

.product-meta span:last-child {
  color: var(--muted);
  font-size: 0.78rem;
}

.add-button {
  min-height: 42px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.add-button:hover {
  background: var(--amber);
  border-color: var(--amber);
}

.empty-state {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 32px;
  text-align: center;
}

.favorites-section {
  background: var(--bg);
}

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

.tracking-section {
  background: var(--charcoal);
  color: #fff;
}

.tracking-grid,
.account-grid,
.newsletter-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
}

.tracking-section .muted,
.tracking-section label {
  color: rgba(255, 255, 255, 0.68);
}

.muted {
  max-width: 620px;
  color: var(--muted);
}

.tracking-card,
.account-card,
.newsletter-form {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  padding: 22px;
}

.tracking-card input,
.account-card input,
.newsletter-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 12px;
  outline: 0;
}

.tracking-result {
  display: grid;
  gap: 4px;
  border-left: 3px solid var(--amber);
  background: rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
}

.tracking-result span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.account-section {
  background: #fffdf8;
}

.account-card {
  border-color: var(--line);
  background: var(--surface);
}

.account-card label {
  color: var(--muted);
  font-weight: 700;
}

.newsletter {
  background: var(--green);
  color: #fff;
  padding: 58px 0;
}

.newsletter h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.7rem);
  line-height: 1.12;
}

.newsletter .eyebrow {
  color: #f7d39d;
}

.newsletter-form {
  grid-template-columns: minmax(0, 1fr) auto;
  border: 0;
  background: transparent;
  padding: 0;
}

.site-footer {
  background: #10100f;
  color: #f6f4ef;
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.footer-brand .brand-mark {
  background: #f6f4ef;
  color: var(--ink);
}

.site-footer p,
.site-footer a,
.site-footer small {
  color: rgba(246, 244, 239, 0.68);
}

.site-footer h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.site-footer a {
  display: block;
  margin: 8px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(246, 244, 239, 0.55);
  font-size: 0.82rem;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  display: flex;
  width: min(420px, 92vw);
  height: 100%;
  flex-direction: column;
  gap: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 22px;
  transform: translateX(105%);
  transition: transform 180ms ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-head,
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.drawer-head strong {
  font-size: 1.25rem;
}

.cart-items {
  display: grid;
  gap: 12px;
  overflow-y: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 10px;
}

.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.cart-item strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
}

.cart-item span {
  color: var(--muted);
  font-size: 0.82rem;
}

.cart-item button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.cart-empty {
  border: 1px dashed var(--line);
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.cart-total {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(17, 17, 17, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.scrim.open {
  opacity: 1;
  pointer-events: auto;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  max-width: min(360px, calc(100vw - 44px));
  background: var(--ink);
  color: #fff;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .strip-inner {
    gap: 14px;
    font-size: 0.72rem;
  }

  .header-main {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    min-height: 72px;
  }

  .mobile-menu-button {
    display: inline-grid;
  }

  .search {
    grid-column: 1 / -1;
    order: 3;
    margin-bottom: 12px;
  }

  .nav-bar {
    display: none;
  }

  .header-actions .icon-button {
    display: none;
  }

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

  .feature-row,
  .feature-card,
  .tracking-grid,
  .account-grid,
  .newsletter-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .strip-inner {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    padding: 76px 0 56px;
  }

  .hero-actions,
  .section-head,
  .products-head {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .sort-group,
  .newsletter-form {
    width: 100%;
  }

  .sort-group {
    justify-content: flex-start;
  }

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

  .section {
    padding: 60px 0;
  }

  .product-title {
    min-height: auto;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

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