:root {
  --ink: #141414;
  --muted: #676767;
  --line: #e7e5df;
  --paper: #ffffff;
  --soft: #f6f4ef;
  --sand: #d7b46a;
  --gold: #b9903f;
  --green: #0c5a4a;
  --red: #b72c2c;
  --shadow: 0 18px 45px rgba(20, 20, 20, 0.08);
}

* {
  box-sizing: border-box;
}

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

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

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

.trust-strip {
  width: 100%;
  overflow: hidden;
  color: #fff;
  background: #050505;
  font-size: 15px;
  font-weight: 750;
  white-space: nowrap;
}

.trust-strip-track {
  display: flex;
  width: max-content;
  gap: 46px;
  align-items: center;
  min-height: 34px;
  padding: 0 18px;
}

.trust-strip span {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #f5f5f5;
}

.trust-strip svg,
.header-actions svg,
.search svg,
.contact-pill svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.header-main {
  display: grid;
  grid-template-columns: 310px minmax(280px, 1fr) 230px;
  gap: clamp(18px, 3vw, 42px);
  align-items: center;
  padding: 20px clamp(22px, 4vw, 74px) 12px;
}

.brand-wordmark {
  display: inline-grid;
  justify-self: start;
  color: #090909;
  line-height: 0.92;
}

.brand-wordmark span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3.2vw, 50px);
  font-weight: 900;
}

.brand-wordmark small {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
}

.brand-wordmark.has-logo {
  width: min(230px, 100%);
  min-height: 62px;
  align-items: center;
}

.brand-wordmark.has-logo img {
  width: 100%;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}

.brand img {
  width: 190px;
  height: auto;
}

.search {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  background: #e8e8e8;
  color: #2f2f2f;
}

.search input,
.search button,
input,
textarea,
select {
  font: inherit;
}

.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 13px 0;
  background: transparent;
  outline: none;
}

.search button {
  border: 0;
  padding: 0 20px;
  color: #fff;
  background: var(--green);
  font-weight: 800;
}

.header-actions,
.category-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-actions a,
.header-actions button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.header-actions {
  justify-content: flex-end;
}

.icon-action {
  position: relative;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 34px;
}

.icon-action svg {
  width: 27px;
  height: 27px;
}

.icon-action > span {
  display: inline-block;
}

.text-action {
  color: var(--muted);
}

.cart-link span {
  position: absolute;
  top: -8px;
  right: -10px;
  display: inline-grid;
  min-width: 18px;
  min-height: 18px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #7c7c7c;
  font-size: 11px;
}

.cart-link > span {
  display: inline-grid;
}

.header-nav-row {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 8px clamp(22px, 4vw, 74px) 14px;
  border-top: 0;
}

.category-nav {
  flex: 1;
  gap: clamp(14px, 1.5vw, 28px);
  padding: 0;
  overflow-x: auto;
  background: #fff;
}

.category-nav a {
  position: relative;
  flex: 0 0 auto;
  padding: 6px 0;
  color: #202020;
  font-size: 14px;
  font-weight: 760;
}

.category-nav a:hover {
  color: #000;
}

.category-nav a.has-chevron {
  padding-right: 16px;
}

.category-nav a.has-chevron::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 7px;
  height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
}

.contact-pill {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
  min-height: 30px;
  padding: 6px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(12, 90, 74, 0.2);
}

.contact-pill svg {
  width: 16px;
  height: 16px;
}

main {
  min-height: 60vh;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
  min-height: clamp(520px, 39vw, 720px);
  padding: clamp(48px, 7vw, 96px) clamp(28px, 5vw, 92px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 72% 55%, rgba(186, 218, 232, 0.65), transparent 30%),
    linear-gradient(90deg, #030605 0%, #030605 36%, #e9f0ef 62%, #c8d7df 100%);
}

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

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 18px;
  max-width: 760px;
  font-size: clamp(52px, 5.8vw, 106px);
  font-weight: 850;
  line-height: 1.02;
}

.hero p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 1.4vw, 24px);
}

.hero-brand {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(82px, 10vw, 180px);
  font-weight: 950;
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: lowercase;
}

.hero-actions,
.product-card form,
.detail-cart {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-stage {
  position: relative;
  z-index: 1;
  min-height: 460px;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: auto 2% 2% 3%;
  height: 32%;
  border-radius: 50%;
  background: rgba(16, 24, 27, 0.22);
  filter: blur(24px);
}

.hero-product {
  position: absolute;
  bottom: 4%;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 26px 35px rgba(0, 0, 0, 0.24));
}

.hero-product-main {
  right: 31%;
  width: min(27vw, 360px);
  height: min(35vw, 500px);
}

.hero-product-side {
  right: 4%;
  width: min(20vw, 260px);
  height: min(34vw, 480px);
}

.hero-product-small {
  right: 60%;
  width: min(17vw, 220px);
  height: min(28vw, 380px);
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  text-align: center;
}

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

.button-primary {
  background: var(--green);
}

.button-light,
.button-ghost {
  border-color: var(--line);
  background: #fff;
}

.category-band,
.service-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.category-band a,
.service-band div {
  min-height: 260px;
  padding: 24px;
  background: #fff;
}

.category-band a {
  display: grid;
  gap: 10px;
  align-content: start;
}

.category-band img {
  width: 100%;
  height: 178px;
  border-radius: 7px;
  object-fit: contain;
  background: var(--soft);
}

.category-band span,
.service-band strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 900;
}

.category-band small,
.service-band span {
  color: var(--muted);
}

.product-section,
.page-heading,
.product-detail,
.cart-page,
.checkout-page,
.auth-page,
.account-page,
.empty-state {
  padding: clamp(34px, 5vw, 68px) clamp(18px, 4vw, 58px);
}

.cart-page .page-heading,
.checkout-page .page-heading {
  padding: 0 0 24px;
}

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

.section-heading h2,
.page-heading h1 {
  margin: 0;
  font-size: clamp(28px, 3.3vw, 42px);
}

.section-heading a {
  font-weight: 850;
  color: var(--green);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.product-media {
  position: relative;
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 18px;
  background: var(--soft);
}

.product-media img {
  width: 100%;
  height: 224px;
  max-height: none;
  object-fit: contain;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.product-info h3 {
  min-height: 54px;
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.2;
}

.variants {
  min-height: 24px;
  color: var(--muted);
  font-size: 13px;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin: 8px 0 14px;
}

.price-row strong {
  font-size: 18px;
}

.price-row del {
  color: var(--muted);
}

.price-row.large strong {
  font-size: 32px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 72px);
}

.detail-gallery {
  position: relative;
  min-width: 0;
}

.detail-media {
  display: grid;
  min-height: 480px;
  place-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.detail-media img {
  width: 100%;
  height: 430px;
  object-fit: contain;
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.detail-thumbs button {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px;
  background: #fff;
  cursor: pointer;
}

.detail-thumbs button.is-active,
.detail-thumbs button:hover {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(12, 90, 74, 0.1);
}

.detail-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-info h1 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
}

.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0;
}

.option-list span {
  flex-basis: 100%;
  font-weight: 900;
}

.option-list button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  background: #fff;
  cursor: pointer;
}

.option-list button.is-active,
.option-list button:hover {
  border-color: var(--green);
}

.spec-list {
  padding-left: 20px;
  color: #333;
}

.detail-cart input {
  width: 84px;
  margin-left: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.detail-cart select {
  min-width: 180px;
  margin-left: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font: inherit;
}

.line-meta,
.order-summary small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
  gap: 28px;
  padding: 42px clamp(18px, 4vw, 58px);
  color: #fff;
  background: #161616;
}

.site-footer img {
  width: 190px;
  margin-bottom: 14px;
  filter: invert(1);
}

.site-footer .payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
}

.site-footer .payment-logos img {
  width: auto;
  height: 24px;
  margin: 0;
  filter: none;
}

.site-footer p {
  color: #d6d6d6;
}

.footer-links {
  display: grid;
  gap: 11px;
}

.footer-links a {
  color: #ececec;
}

.footer-links a:hover {
  color: #fff;
}

.content-page {
  padding: clamp(34px, 5vw, 68px) clamp(18px, 4vw, 58px);
}

.content-body {
  max-width: 880px;
  color: #232323;
  font-size: 16px;
}

.content-body h2,
.content-body h3,
.content-body h4 {
  margin: 28px 0 10px;
}

.content-body p,
.content-body li {
  color: #333;
}

.content-body a {
  color: var(--green);
  font-weight: 850;
}

.empty-state {
  text-align: center;
}

.cart-table,
.checkout-form,
.order-summary,
.success-box,
.auth-card,
.account-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.cart-line img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--soft);
}

.cart-line h3 {
  margin-bottom: 4px;
  font-size: 17px;
}

.cart-line input,
.checkout-form input,
.checkout-form textarea,
.auth-card input,
.auth-card textarea,
.account-form input,
.account-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px;
}

.cart-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  padding: 18px;
}

.cart-summary strong {
  font-size: 24px;
}

.remove-line-button {
  min-height: 38px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 22px;
}

.checkout-form,
.order-summary,
.success-box {
  padding: 22px;
}

.checkout-form {
  display: grid;
  gap: 16px;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  font-weight: 850;
}

.order-summary div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.order-summary .total {
  border-bottom: 0;
  font-size: 20px;
}

.alert {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid #f0c6c6;
  border-radius: 6px;
  color: #7f1d1d;
  background: #fff3f3;
}

.success-box {
  max-width: 760px;
}

.auth-page {
  display: grid;
  place-items: start center;
}

.auth-card {
  width: min(100%, 480px);
  padding: 24px;
}

.auth-card form,
.account-form {
  display: grid;
  gap: 15px;
}

.auth-card label,
.account-form label {
  display: grid;
  gap: 7px;
  font-weight: 850;
}

.auth-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 22px;
}

.account-panel {
  padding: 22px;
}

.order-history-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

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

.bank-box {
  margin: 22px 0;
  padding: 18px;
  border-radius: 8px;
  background: var(--soft);
}

@media (max-width: 1040px) {
  .header-main,
  .hero,
  .product-detail,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .header-main {
    padding-bottom: 10px;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .header-nav-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .contact-pill {
    margin-left: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-stage {
    min-height: 360px;
  }

  .hero-product-main {
    right: 30%;
    width: min(42vw, 330px);
    height: 330px;
  }

  .hero-product-side {
    right: 7%;
    width: min(32vw, 240px);
    height: 320px;
  }

  .hero-product-small {
    right: 62%;
    width: min(28vw, 210px);
    height: 280px;
  }

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

@media (max-width: 640px) {
  .trust-strip {
    justify-content: flex-start;
  }

  .header-main {
    gap: 14px;
    padding: 16px 18px 10px;
  }

  .brand-wordmark span {
    font-size: 34px;
  }

  .search {
    min-height: 44px;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .header-nav-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 8px 18px 14px;
    overflow: hidden;
  }

  .category-nav {
    width: auto;
    margin: 0 -18px;
    padding: 0 18px 2px;
    gap: 8px;
    scrollbar-width: none;
  }

  .category-nav::-webkit-scrollbar {
    display: none;
  }

  .category-nav a {
    min-height: 34px;
    padding: 7px 13px;
    border: 1px solid #ececec;
    border-radius: 999px;
    background: #f7f7f7;
    font-size: 13px;
    line-height: 1;
  }

  .category-nav a.has-chevron {
    padding-right: 28px;
  }

  .category-nav a.has-chevron::after {
    right: 13px;
  }

  .contact-pill {
    width: 100%;
    justify-content: center;
    min-height: 40px;
    margin-left: 0;
  }

  .hero {
    min-height: auto;
    align-content: start;
    gap: 20px;
    padding: 30px 18px 22px;
    background:
      radial-gradient(circle at 82% 78%, rgba(186, 218, 232, 0.68), transparent 30%),
      linear-gradient(180deg, #030605 0%, #030605 68%, #dce8eb 100%);
  }

  .hero h1 {
    max-width: 12ch;
    margin-bottom: 12px;
    font-size: 38px;
    line-height: 1.04;
  }

  .hero p {
    max-width: 30ch;
    font-size: 17px;
    line-height: 1.45;
  }

  .hero-stage {
    display: block;
    min-height: 0;
    margin: 0;
    overflow: visible;
  }

  .hero-stage::before {
    display: none;
  }

  .hero-product {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
    filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.22));
  }

  .hero-product-main {
    width: min(72vw, 270px);
    margin: 0 auto;
  }

  .hero-product-side,
  .hero-product-small {
    display: none;
  }

  .product-grid,
  .category-band,
  .service-band,
  .site-footer,
  .account-grid {
    grid-template-columns: 1fr;
  }

  .detail-media {
    min-height: 300px;
  }

  .detail-media img {
    height: 260px;
  }

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

  .cart-line strong,
  .cart-line input,
  .cart-line .remove-line-button {
    grid-column: 2;
  }
}
