:root {
  --ink: #222222;
  --muted: #8A817C;
  --line: #ded7d2;
  --surface: #fffdfb;
  --page: #F5F1EE;
  --brand: #222222;
  --brand-dark: #000000;
  --accent: #A67852;
  --soft: #ede6e1;
  --heading-font: "Montserrat", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --body-font: "Montserrat", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --button-radius: 6px;
  --green: #1f7a5a;
  --blue: #5f534d;
  --danger: #c7382f;
  --shadow: 0 18px 46px rgba(34, 34, 34, 0.1);
}

[hidden] {
  display: none !important;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--ink);
  background: var(--page);
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
.logo {
  font-family: var(--heading-font);
}

body:has(.cart-drawer.open),
body:has(.product-modal.open) {
  overflow: hidden;
}

img {
  max-width: 100%;
}

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

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.site-header {
  background: rgba(245, 241, 238, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a,
.site-footer a {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--brand-dark);
}

.wishlist-nav-link {
  align-items: center;
  color: #8f2f2a;
  display: inline-flex;
  gap: 6px;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
}

.heart-icon {
  align-items: center;
  aspect-ratio: 1;
  color: #8f2f2a;
  display: inline-flex;
  flex: 0 0 auto;
  font-family: Arial, "Segoe UI Symbol", sans-serif;
  font-size: 24px;
  font-weight: 400;
  height: 32px;
  justify-content: center;
  line-height: 1;
  text-align: center;
  transform: none;
  width: 32px;
}

.wishlist-nav-link:hover .heart-icon {
  color: #6f201d;
}

.wishlist-nav-link #wishlist-count {
  align-items: center;
  background: #8f2f2a;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 11px;
  justify-content: center;
  min-height: 20px;
  min-width: 20px;
  padding: 2px 6px;
}

.header-search {
  align-items: center;
  background: rgba(255, 253, 251, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  min-width: min(280px, 28vw);
  overflow: hidden;
}

.header-search label {
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.header-search input {
  border: 0;
  min-width: 0;
  padding: 10px 12px;
  width: 100%;
}

.header-search button {
  background: var(--ink);
  border: 0;
  color: #ffffff;
  cursor: pointer;
  font-weight: 800;
  padding: 10px 14px;
}

.cart-button,
.primary-button,
.secondary-button,
.checkout-button,
.wishlist-button,
.text-button {
  border: 0;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cart-button,
.primary-button,
.checkout-button {
  background: var(--brand);
  color: #ffffff;
  border-radius: var(--button-radius);
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cart-button {
  background: var(--ink);
  color: white;
  border-radius: 999px;
}

.cart-button span {
  min-width: 24px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--page);
  color: var(--ink);
  border-radius: 999px;
  padding: 2px 7px;
}

.primary-button:hover,
.checkout-button:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  padding: 12px 16px;
}

.wishlist-button {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  color: var(--ink);
  display: inline-flex;
  justify-content: center;
  padding: 12px 14px;
}

.wishlist-button.active {
  background: #eef7f4;
  border-color: #008060;
  color: #006e52;
}

.wishlist-button:hover {
  border-color: #008060;
  color: #006e52;
}

.secondary-button:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.text-button {
  background: transparent;
  color: var(--blue);
  padding: 8px 0;
}

.text-button:hover {
  color: var(--brand-dark);
}

.hero {
  background:
    linear-gradient(90deg, rgba(34, 34, 34, 0.84), rgba(34, 34, 34, 0.42)),
    url("../images/kitchen-mixer-tap.png") center / cover;
  color: white;
}

.homepage-hero-section {
  background:
    linear-gradient(90deg, rgba(34, 34, 34, 0.82), rgba(34, 34, 34, 0.34)),
    var(--hero-image) center / cover;
}

.homepage-hero-section.hero-contained {
  background: var(--page);
  color: var(--ink);
  padding: 36px 0;
}

.homepage-hero-section.hero-contained .hero-inner {
  background:
    linear-gradient(90deg, rgba(34, 34, 34, 0.76), rgba(34, 34, 34, 0.26)),
    var(--hero-image) center / cover;
  border-radius: 8px;
  color: #ffffff;
  min-height: 500px;
  padding: 0 42px;
}

.text-center .hero-text,
.text-center.text-section-panel {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.text-right .hero-text,
.text-right.text-section-panel {
  margin-left: auto;
  text-align: right;
}

.hero-inner {
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-text {
  max-width: 680px;
  padding: 72px 0;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #F5F1EE;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.04;
  margin-bottom: 20px;
}

.hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  max-width: 590px;
  margin-bottom: 28px;
}

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

.store-highlights {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.highlight-item {
  padding: 24px 20px;
  border-right: 1px solid var(--line);
}

.highlight-item:last-child {
  border-right: 0;
}

.highlight-item strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
}

.highlight-item span {
  color: var(--muted);
}

.collections-section,
.products-section,
.delivery-section,
.contact-section,
.promo-section,
.reviews-section,
.project-collage-section,
.video-section,
.text-section,
.image-text-section,
.checkout-page,
.product-page {
  padding: 72px 0;
}

.text-section-panel {
  display: grid;
  gap: 16px;
}

.text-section-panel.text-narrow {
  max-width: 760px;
}

.text-section-panel.text-wide {
  max-width: 1040px;
}

.text-section-panel h2,
.image-text-content h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
}

.text-section-panel p,
.image-text-content p {
  color: var(--muted);
  font-size: 18px;
}

.text-section.contrast {
  background: var(--ink);
  color: #ffffff;
}

.text-section.contrast p {
  color: rgba(255, 255, 255, 0.78);
}

.image-text-layout {
  align-items: center;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 0.9fr);
}

.image-text-layout.image-right .image-text-media {
  order: 2;
}

.image-text-media {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.image-text-media img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}

.image-text-content {
  display: grid;
  gap: 16px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h1,
.section-heading h2,
.delivery-layout h2 {
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.15;
  margin-bottom: 10px;
}

.section-heading p,
.delivery-layout p,
.contact-box p {
  color: var(--muted);
}

.catalog-toolbar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 220px 220px;
  gap: 16px;
  padding: 18px;
  margin-bottom: 14px;
}

.search-field,
.filter-field,
.form-row {
  display: grid;
  gap: 8px;
}

.search-field label,
.filter-field label,
.form-row label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.search-field input,
.filter-field select,
.contact-form input,
.contact-form textarea,
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  color: var(--ink);
  padding: 13px 14px;
}

.search-field input:focus,
.filter-field select:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(166, 120, 82, 0.18);
}

.catalog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.catalog-meta p {
  color: var(--muted);
}

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

.product-carousel {
  display: grid;
  grid-auto-columns: minmax(260px, 31%);
  grid-auto-flow: column;
  grid-template-columns: none;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
}

.product-carousel .product-card {
  scroll-snap-align: start;
}

.carousel-controls {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin: -12px 0 18px;
}

.carousel-controls button {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  padding: 9px 14px;
}

.carousel-controls button:hover {
  border-color: var(--accent);
  color: var(--brand-dark);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.collection-carousel {
  grid-auto-columns: minmax(280px, 36%);
  grid-auto-flow: column;
  grid-template-columns: none;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
}

.collection-carousel .collection-card {
  scroll-snap-align: start;
}

.collection-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  color: var(--ink);
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding-bottom: 18px;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.collection-card:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 34px rgba(34, 34, 34, 0.12);
  transform: translateY(-2px);
}

.collection-card img {
  aspect-ratio: 16 / 10;
  background: var(--soft);
  object-fit: cover;
  width: 100%;
}

.collection-card .eyebrow,
.collection-card h3,
.collection-card p,
.collection-card-meta {
  margin-left: 18px;
  margin-right: 18px;
}

.collection-card h3 {
  font-size: 22px;
}

.collection-card p {
  color: var(--muted);
}

.collection-card-meta {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: space-between;
  padding-top: 12px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 0 10px 26px rgba(34, 34, 34, 0.07);
}

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

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

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

.product-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(34, 34, 34, 0.92);
  color: #ffffff;
  border-radius: var(--button-radius);
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
}

.product-content {
  padding: 18px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-content h2,
.product-content h3 {
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.product-content h2 a,
.product-content h3 a,
.product-link {
  color: var(--ink);
  text-decoration: none;
}

.product-content h2 a:hover,
.product-content h3 a:hover {
  color: var(--brand-dark);
}

.product-description {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
  flex: 1;
}

.product-price {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

.compare-at-price {
  color: var(--muted);
  display: inline-block;
  font-size: 0.78em;
  margin-right: 8px;
  text-decoration: line-through;
}

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

.product-card-actions.three-actions {
  grid-template-columns: 0.65fr 1fr 0.65fr;
}

.wishlist-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 10px;
}

.wishlist-card-actions .wishlist-button {
  grid-column: 1 / -1;
}

.wishlist-card-actions .secondary-button,
.wishlist-card-actions .add-to-cart,
.wishlist-card-actions .wishlist-button {
  min-width: 0;
  white-space: normal;
}

.product-meta a {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.product-meta a:hover {
  color: var(--blue);
}

.add-to-cart {
  width: 100%;
  background: var(--ink);
  color: white;
  border: none;
  border-radius: var(--button-radius);
  cursor: pointer;
  font-weight: 800;
  padding: 12px;
}

.add-to-cart:hover {
  background: var(--accent);
}

.empty-state {
  grid-column: 1 / -1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  text-align: center;
}

.delivery-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.delivery-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
  gap: 36px;
  align-items: start;
}

.delivery-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.delivery-option,
.contact-box,
.checkout-form-panel,
.order-summary,
.confirmation-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  padding: 28px;
  box-shadow: 0 10px 26px rgba(34, 34, 34, 0.07);
}

.delivery-option h3 {
  margin-bottom: 8px;
}

.promo-panel {
  align-items: center;
  background: var(--ink);
  border-radius: var(--button-radius);
  color: #ffffff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 34px;
}

.promo-panel p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
}

.review-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  box-shadow: 0 10px 26px rgba(34, 34, 34, 0.07);
  display: grid;
  gap: 12px;
  padding: 22px;
}

.review-card p,
.review-card span {
  color: var(--muted);
}

.review-card span {
  font-size: 13px;
  font-weight: 800;
}

.project-collage-section {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.project-collage-header {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.project-collage-header .section-heading {
  margin-bottom: 0;
}

.project-collage-grid {
  display: grid;
  gap: 14px;
  grid-auto-rows: 150px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.project-collage-tile {
  background: var(--soft);
  border-radius: var(--button-radius);
  color: #ffffff;
  display: block;
  min-width: 0;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.project-collage-tile img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  width: 100%;
}

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

.project-collage-tile.tile-1,
.project-collage-tile.tile-6 {
  grid-column: span 3;
  grid-row: span 2;
}

.project-collage-tile.tile-2,
.project-collage-tile.tile-3,
.project-collage-tile.tile-4,
.project-collage-tile.tile-5 {
  grid-column: span 3;
}

.project-collage-overlay {
  background: linear-gradient(180deg, rgba(34, 34, 34, 0), rgba(34, 34, 34, 0.78));
  bottom: 0;
  display: grid;
  gap: 3px;
  left: 0;
  padding: 42px 16px 16px;
  position: absolute;
  right: 0;
}

.project-collage-overlay small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-collage-overlay strong {
  font-size: 18px;
  line-height: 1.2;
}

.project-collage-overlay em {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-style: normal;
}

.video-layout {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
}

.video-layout .section-heading {
  text-align: left;
}

.video-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-frame iframe,
.video-frame img {
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  object-fit: cover;
  width: 100%;
}

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

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-details {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding-top: 22px;
}

.contact-details div {
  display: grid;
  gap: 2px;
}

.contact-details span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-details a {
  color: var(--blue);
}

.contact-form textarea,
.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-message {
  color: var(--green);
  font-weight: 700;
  min-height: 22px;
}

.form-message.error {
  color: var(--danger);
}

.checkout-error-list {
  color: var(--danger);
  display: grid;
  gap: 6px;
  margin: 8px 0 0 18px;
}

.checkout-error-list li {
  font-weight: 700;
}

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: 430px;
  max-width: 94%;
  background: white;
  z-index: 50;
  transform: translateX(105%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -14px 0 34px rgba(30, 37, 40, 0.18);
}

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

.cart-header {
  padding: 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-header .eyebrow,
.order-summary .eyebrow {
  margin-bottom: 2px;
}

.close-cart {
  width: 38px;
  height: 38px;
  background: #eef2f2;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
}

.close-cart:hover {
  background: var(--line);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
}

.cart-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.cart-item img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 8px;
  background: #eef2f2;
}

.cart-item h4 {
  margin-bottom: 4px;
}

.cart-item h4 a {
  color: var(--ink);
  text-decoration: none;
}

.cart-item h4 a:hover {
  color: var(--brand-dark);
}

.cart-item-price {
  color: var(--muted);
  margin-bottom: 10px;
}

.cart-warning {
  color: var(--danger);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.save-later-button {
  font-size: 13px;
  margin-top: 8px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity-controls button {
  width: 30px;
  height: 30px;
  border: none;
  background: var(--ink);
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
}

.quantity-controls span {
  min-width: 22px;
  text-align: center;
  font-weight: 800;
}

.remove-button {
  margin-left: auto;
  background: var(--danger) !important;
}

.empty-cart {
  color: var(--muted);
  display: grid;
  gap: 8px;
  padding: 24px 0;
}

.empty-cart h3 {
  color: var(--ink);
}

.cart-footer {
  padding: 22px;
  border-top: 1px solid var(--line);
}

.cart-total,
.summary-row,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.cart-total {
  margin-bottom: 18px;
  font-size: 20px;
}

.cart-actions {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 10px;
}

.cart-actions:has(> :nth-child(3)) {
  grid-template-columns: 1fr 0.7fr 1fr;
}

.checkout-button {
  width: 100%;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 25, 28, 0.5);
  z-index: 40;
  display: none;
}

.overlay.show {
  display: block;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
}

.product-modal.open {
  display: flex;
}

.modal-panel {
  width: min(860px, 100%);
  max-height: min(780px, 92vh);
  overflow-y: auto;
  background: white;
  border-radius: 8px;
  position: relative;
  box-shadow: var(--shadow);
  pointer-events: auto;
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
}

.modal-product {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
  gap: 28px;
  padding: 28px;
}

.modal-product img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: 8px;
}

.modal-product h2 {
  font-size: 34px;
  line-height: 1.12;
  margin-bottom: 10px;
}

.modal-product p {
  color: var(--muted);
  margin-bottom: 18px;
}

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

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: white;
  border-radius: 999px;
  padding: 12px 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 40px;
  align-items: start;
}

.product-detail-media,
.product-detail-content {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(30, 37, 40, 0.06);
}

.product-detail-media img {
  width: 100%;
  display: block;
}

.product-detail-content {
  padding: 34px;
}

.breadcrumb,
.breadcrumbs,
.details-link {
  display: inline-block;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 18px;
  text-decoration: none;
}

.breadcrumb:hover,
.breadcrumbs a:hover,
.details-link:hover {
  color: var(--brand-dark);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.breadcrumbs a {
  color: var(--blue);
  text-decoration: none;
}

.breadcrumbs span {
  color: var(--muted);
}

.collection-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 48px 0 34px;
}

.collection-hero-full {
  background: var(--ink);
  color: #ffffff;
  padding: 72px 0;
}

.collection-hero h1 {
  font-size: 46px;
  line-height: 1.1;
  margin: 8px 0 14px;
}

.collection-hero p {
  color: var(--muted);
  max-width: 740px;
}

.collection-hero-full p,
.collection-hero-full .breadcrumbs,
.collection-hero-full .breadcrumbs a {
  color: rgba(255, 255, 255, 0.78);
}

.collection-hero-layout {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.collection-hero-layout img {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

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

.collection-product-grid.collection-products-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.collection-products-editorial {
  grid-template-columns: 1.15fr 0.85fr;
}

.collection-products-editorial .product-card:first-child {
  grid-row: span 2;
}

.collection-products-editorial .product-card:first-child .product-image img {
  min-height: 420px;
}

.product-detail-content h1 {
  font-size: 42px;
  line-height: 1.1;
  margin-bottom: 14px;
}

.product-detail-description {
  color: var(--muted);
  margin: 18px 0 24px;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.quantity-field {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
  max-width: 150px;
}

.quantity-field label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.quantity-field input {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
}

.product-detail-actions .add-to-cart {
  width: auto;
  min-width: 170px;
}

.related-products-section {
  border-top: 1px solid var(--line);
  padding-top: 54px;
}

.product-facts {
  display: grid;
  gap: 12px;
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-fact {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.product-fact span {
  color: var(--muted);
}

.product-fact a {
  color: var(--ink);
  text-decoration: none;
}

.product-fact a:hover {
  color: var(--brand-dark);
}

.product-benefits {
  display: grid;
  gap: 10px;
  padding-left: 18px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.account-layout,
.account-dashboard {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-dashboard {
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
}

.checkout-progress {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.checkout-progress span {
  flex: 1;
  background: #eef2f2;
  color: var(--muted);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
  text-align: center;
}

.checkout-progress span.active {
  background: rgba(242, 140, 40, 0.18);
  color: var(--brand-dark);
}

.status-pill {
  background: #e0f0ff;
  border-radius: 999px;
  color: #084e8a;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
  padding: 7px 12px;
  text-transform: capitalize;
}

.status-pill.is-paid,
.status-pill.is-completed,
.status-pill.is-delivered,
.status-pill.is-closed {
  background: #dff5e8;
  color: #0c5132;
}

.status-pill.is-pending,
.status-pill.is-processing,
.status-pill.is-packed,
.status-pill.is-shipped,
.status-pill.is-in-transit,
.status-pill.is-approved,
.status-pill.is-received,
.status-pill.is-partial {
  background: #fff1d6;
  color: #7a4b00;
}

.status-pill.is-cancelled,
.status-pill.is-declined {
  background: #ffe0dc;
  color: #8b1e12;
}

.status-pill.is-refunded,
.status-pill.is-returned,
.status-pill.is-requested {
  background: #f0e8ff;
  color: #4f2b8a;
}

.customer-next-step {
  background: #f6f7f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  padding: 16px;
}

.customer-next-step strong {
  font-size: 16px;
  line-height: 1.45;
}

.customer-status-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.customer-status-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
}

.customer-status-card span,
.customer-record p,
.customer-record small,
.customer-timeline-item p,
.customer-timeline-item small {
  color: var(--muted);
  font-size: 13px;
}

.customer-status-card strong {
  font-size: 15px;
}

.customer-timeline-panel,
.customer-info-panel {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
}

.customer-timeline {
  display: grid;
  gap: 0;
}

.customer-timeline-item {
  display: grid;
  gap: 12px;
  grid-template-columns: 18px minmax(0, 1fr);
  padding-bottom: 16px;
  position: relative;
}

.customer-timeline-item::before {
  background: var(--line);
  content: "";
  height: 100%;
  left: 8px;
  position: absolute;
  top: 16px;
  width: 2px;
}

.customer-timeline-item:last-child {
  padding-bottom: 0;
}

.customer-timeline-item:last-child::before {
  display: none;
}

.customer-timeline-item > span {
  background: #e0f0ff;
  border: 2px solid var(--surface);
  border-radius: 999px;
  height: 18px;
  position: relative;
  width: 18px;
  z-index: 1;
}

.customer-timeline-item.complete > span {
  background: #2f8f5b;
}

.customer-timeline-item.current > span {
  background: var(--accent);
}

.customer-timeline-item.critical > span {
  background: #c43b2f;
}

.customer-record-list {
  display: grid;
  gap: 12px;
}

.customer-record {
  background: #f6f7f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  padding: 12px;
}

.customer-record > div:first-child {
  align-items: start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.customer-record .status-pill {
  margin-bottom: 0;
  white-space: nowrap;
}

.customer-record a {
  color: #005bd3;
  font-weight: 800;
  text-decoration: none;
}

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

.policy-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(30, 37, 40, 0.06);
  padding: 24px;
}

.policy-panel h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.policy-panel p {
  color: var(--muted);
  white-space: pre-line;
}

.checkout-heading {
  margin-bottom: 26px;
}

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

.payment-provider-choice {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
}

.payment-provider-choice[hidden] {
  display: none;
}

.payment-provider-choice legend {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  padding: 0 6px;
  text-transform: uppercase;
}

#payment-provider-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.payment-provider-option {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  min-height: 42px;
  padding: 10px 12px;
}

.payment-provider-option:has(input:checked) {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.place-order-button {
  width: 100%;
  margin-top: 4px;
}

.place-order-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.checkout-back-link {
  text-decoration: none;
}

.order-summary {
  position: sticky;
  top: 96px;
}

.order-summary h2 {
  font-size: 28px;
  margin-bottom: 18px;
}

.checkout-items {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.account-orders-panel {
  display: grid;
  gap: 12px;
}

.account-order-list {
  display: grid;
  gap: 12px;
}

.account-order-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.account-order-card > div:first-child {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.account-order-card span,
.account-order-card p {
  color: var(--muted);
  font-size: 14px;
}

.account-order-card > div:first-child p {
  margin-top: 4px;
}

.account-order-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.account-order-badges .status-pill {
  margin-bottom: 0;
}

.account-order-details {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  overflow: hidden;
}

.account-order-details div {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 12px;
}

.account-order-details div + div {
  border-top: 1px solid var(--line);
}

.account-order-details span {
  color: var(--muted);
  font-size: 13px;
}

.account-order-details strong {
  font-size: 14px;
  text-align: right;
}

.account-order-details a,
.account-order-subitem a {
  color: #005bd3;
  font-weight: 800;
  text-decoration: none;
}

.account-order-items {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  overflow: hidden;
}

.account-order-item {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  padding: 10px 12px;
}

.account-order-item + .account-order-item {
  border-top: 1px solid var(--line);
}

.account-order-item img {
  aspect-ratio: 1;
  background: #eef2f2;
  border-radius: 8px;
  object-fit: cover;
  width: 48px;
}

.account-order-item-placeholder {
  background: #eef2f2;
  border-radius: 8px;
  height: 48px;
  width: 48px;
}

.account-order-item div {
  display: grid;
  gap: 2px;
}

.account-order-item a {
  color: var(--ink);
  text-decoration: none;
}

.account-order-item a:hover {
  color: var(--brand-dark);
}

.account-order-item span,
.account-order-item em {
  color: var(--muted);
  font-size: 13px;
}

.account-order-item em {
  color: var(--danger);
  font-style: normal;
  font-weight: 800;
}

.account-order-sublist {
  background: #f6f7f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.account-order-subitem {
  display: grid;
  gap: 5px;
}

.account-order-subitem + .account-order-subitem {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.account-order-subitem .status-pill {
  justify-self: start;
  margin-bottom: 0;
}

.account-password-form {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 24px;
}

.account-summary-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 24px;
}

.account-summary-strip a {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 4px;
  padding: 16px;
  text-decoration: none;
}

.account-summary-strip a:hover {
  border-color: var(--brand);
}

.account-summary-strip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

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

.discount-form {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0 0 18px;
}

.discount-form label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.discount-form > div {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.discount-form input {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  min-width: 0;
  padding: 12px 14px;
  text-transform: uppercase;
}

.discount-row strong {
  color: #0c5132;
}

.payment-instructions {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
}

.online-payment-panel {
  background: #f6f7f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 14px;
}

.online-payment-panel h3,
.online-payment-panel p {
  margin: 0;
}

.online-payment-panel p {
  color: var(--muted);
}

.payment-detail-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  overflow: hidden;
}

.payment-detail-list div {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 10px 12px;
}

.payment-detail-list div + div {
  border-top: 1px solid var(--line);
}

.payment-detail-list span {
  color: var(--muted);
  font-size: 13px;
}

.payment-proof-panel {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
}

.payment-proof-current {
  background: #f6f7f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 12px;
}

.payment-proof-current span,
.payment-proof-current p {
  color: var(--muted);
  font-size: 14px;
}

.payment-proof-current a {
  color: #005bd3;
  font-weight: 800;
  text-decoration: none;
}

.payment-proof-form {
  gap: 12px;
}

.account-order-actions {
  justify-content: flex-start;
  margin-top: 12px;
}

.product-gallery-thumbs {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 12px;
}

.product-gallery-thumbs button {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  padding: 4px;
}

.product-gallery-thumbs button:hover,
.product-gallery-thumbs button:focus {
  border-color: var(--brand);
}

.product-gallery-thumbs img {
  aspect-ratio: 1;
  border-radius: 6px;
  display: block;
  object-fit: cover;
  width: 100%;
}

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

.checkout-item.has-warning {
  background: #fff5f2;
  border: 1px solid rgba(215, 44, 13, 0.25);
  border-radius: 8px;
  padding: 12px;
}

.checkout-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  background: #eef2f2;
}

.checkout-item h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.checkout-item h3 a {
  color: var(--ink);
  text-decoration: none;
}

.checkout-item h3 a:hover {
  color: var(--brand-dark);
}

.checkout-item p {
  color: var(--muted);
  font-size: 14px;
}

.checkout-stock-warning {
  color: var(--danger) !important;
  font-weight: 800;
}

.checkout-quantity-controls {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.checkout-quantity-controls button:not(.text-button) {
  background: var(--ink);
  border: 0;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  font-weight: 900;
  height: 30px;
  width: 30px;
}

.checkout-quantity-controls input {
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
  height: 30px;
  text-align: center;
  width: 62px;
}

.checkout-remove-button {
  font-size: 13px;
  padding: 4px 0;
}

.summary-row {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.summary-total {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
  font-size: 22px;
}

.checkout-trust-panel {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
}

.checkout-trust-panel div {
  display: grid;
  gap: 2px;
}

.checkout-trust-panel strong {
  color: var(--ink);
  font-size: 14px;
}

.checkout-trust-panel span,
.checkout-trust-panel a {
  color: var(--muted);
  font-size: 13px;
}

.checkout-trust-panel a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.terms-checkbox {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.terms-checkbox input {
  margin-top: 4px;
}

.terms-checkbox a {
  color: var(--blue);
  text-decoration: none;
}

.empty-cart-link {
  margin-top: 12px;
}

.confirmation-panel {
  margin-top: 28px;
}

.confirmation-panel h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.confirmation-panel p {
  color: var(--muted);
  max-width: 720px;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.site-footer {
  background: var(--ink);
  color: white;
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer a {
  color: white;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.admin-section {
  margin-top: 48px;
}

.admin-form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 5px 18px rgba(30, 37, 40, 0.06);
}

.admin-form-panel h2 {
  font-size: 28px;
  margin-bottom: 18px;
}

.admin-form-actions,
.admin-row-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-stock-field {
  max-width: 220px;
}

.admin-notice,
.admin-alert {
  border-radius: 8px;
  font-weight: 800;
  margin-bottom: 18px;
  padding: 14px 16px;
}

.admin-notice {
  background: rgba(31, 122, 90, 0.12);
  color: var(--green);
}

.admin-alert {
  background: rgba(199, 56, 47, 0.12);
  color: var(--danger);
}

.danger-button {
  color: var(--danger);
}

.danger-button:hover {
  border-color: var(--danger);
  color: var(--danger);
}

.toggle-row {
  align-items: center;
  background: #eef2f2;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 18px;
}

.toggle-row small {
  color: var(--muted);
  display: block;
  font-weight: 700;
  margin-top: 4px;
}

.toggle-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-switch {
  background: #b8c3c7;
  border-radius: 999px;
  flex: 0 0 auto;
  height: 30px;
  position: relative;
  transition: background 0.2s ease;
  width: 56px;
}

.toggle-switch::after {
  background: white;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(30, 37, 40, 0.22);
  content: "";
  height: 24px;
  left: 3px;
  position: absolute;
  top: 3px;
  transition: transform 0.2s ease;
  width: 24px;
}

.toggle-row input:checked + .toggle-switch {
  background: var(--green);
}

.toggle-row input:checked + .toggle-switch::after {
  transform: translateX(26px);
}

.site-offline {
  background: #ffffff;
}

.offline-page {
  background: #ffffff;
  color: #111111;
  font-family: "Montserrat", "Avenir Next", "Segoe UI", Arial, sans-serif;
  min-height: 100vh;
}

.offline-shell {
  margin: 0 auto;
  width: min(1160px, calc(100% - 40px));
}

.offline-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.8)),
    repeating-linear-gradient(135deg, rgba(17, 17, 17, 0.045) 0 1px, transparent 1px 18px);
  border-bottom: 1px solid #d7d7d7;
  min-height: 78vh;
  padding: 30px 0 54px;
}

.offline-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 58px;
}

.offline-wordmark {
  display: block;
  height: auto;
  max-width: 260px;
  width: 42vw;
}

.offline-header span,
.offline-kicker,
.offline-section-label,
.offline-card span {
  color: #5d5d5d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.offline-hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(34px, 6vw, 78px);
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
}

.offline-copy h1 {
  color: #111111;
  font-size: clamp(42px, 7vw, 86px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 0.98;
  margin-top: 18px;
  max-width: 880px;
}

.offline-lede,
.offline-message,
.offline-story p,
.offline-card p,
.offline-footer p {
  color: #3c3c3c;
  font-size: 17px;
  line-height: 1.7;
}

.offline-lede {
  margin-top: 28px;
  max-width: 720px;
}

.offline-message {
  border-left: 3px solid #111111;
  margin-top: 26px;
  max-width: 680px;
  padding-left: 18px;
}

.offline-visual {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(180deg, #ffffff 0%, #f1f1f1 100%);
  border: 1px solid #111111;
  display: grid;
  min-height: 440px;
  overflow: hidden;
  place-items: center;
  position: relative;
}

.offline-light-beam {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.98), rgba(209, 209, 209, 0.72) 38%, rgba(17, 17, 17, 0.08) 70%, transparent 72%);
  clip-path: polygon(40% 0, 60% 0, 92% 100%, 8% 100%);
  height: 86%;
  left: 12%;
  position: absolute;
  top: 0;
  width: 76%;
}

.offline-pendant {
  align-items: center;
  display: flex;
  flex-direction: column;
  inset: 34px 0 auto;
  position: absolute;
}

.offline-pendant span {
  background: #111111;
  display: block;
  height: 168px;
  width: 2px;
}

.offline-pendant strong {
  border: 2px solid #111111;
  border-bottom-width: 10px;
  border-radius: 50% 50% 8px 8px;
  display: block;
  height: 96px;
  width: 158px;
}

.offline-plinth {
  align-self: end;
  background: #111111;
  color: #ffffff;
  margin: 0 28px 28px;
  padding: 24px;
  position: relative;
  width: calc(100% - 56px);
  z-index: 1;
}

.offline-plinth span {
  color: #bdbdbd;
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.offline-plinth strong {
  display: block;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.08;
}

.offline-story {
  padding: 74px 0;
}

.offline-story {
  background: #f7f7f7;
}

.offline-story-grid {
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.offline-story h2 {
  color: #111111;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 14px 0 18px;
}

.offline-card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offline-card {
  background: #ffffff;
  border: 1px solid #cfcfcf;
  min-height: 260px;
  padding: 26px;
}

.offline-card h3 {
  color: #111111;
  font-size: 24px;
  letter-spacing: 0;
  margin: 38px 0 14px;
}

.offline-footer {
  background: #111111;
  color: #ffffff;
  padding: 34px 0;
}

.offline-footer .offline-shell {
  align-items: center;
  display: flex;
  gap: 18px;
}

.offline-icon {
  background: #ffffff;
  border-radius: 999px;
  display: block;
  flex: 0 0 auto;
  height: 48px;
  width: 48px;
}

.offline-footer p {
  color: #e8e8e8;
  font-size: 14px;
}

.admin-table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: auto;
  box-shadow: 0 5px 18px rgba(30, 37, 40, 0.06);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: #eef2f2;
  font-size: 13px;
  text-transform: uppercase;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 980px) {
  .offline-hero-grid,
  .offline-story-grid {
    grid-template-columns: 1fr;
  }

  .offline-header {
    padding-bottom: 38px;
  }

  .offline-visual {
    min-height: 380px;
  }

  .offline-card-grid {
    grid-template-columns: 1fr;
  }

  .offline-card {
    min-height: 0;
  }

  .catalog-toolbar,
  .account-dashboard,
  .account-layout,
  .checkout-layout,
  .delivery-layout,
  .image-text-layout,
  .collection-grid,
  .collection-hero-layout,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .image-text-layout.image-right .image-text-media {
    order: 0;
  }

  .order-summary {
    position: static;
  }

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

  .collection-product-grid.collection-products-3,
  .collection-product-grid.collection-products-4,
  .collection-products-editorial {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-carousel {
    grid-auto-columns: minmax(240px, 46%);
    grid-template-columns: none;
  }

  .collection-carousel {
    grid-auto-columns: minmax(260px, 48%);
    grid-template-columns: none;
  }
}

@media (max-width: 720px) {
  .offline-hero {
    min-height: 0;
    padding-top: 22px;
  }

  .offline-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .offline-wordmark {
    max-width: 220px;
    width: 72vw;
  }

  .offline-copy h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .offline-story {
    padding: 52px 0;
  }

  .offline-footer .offline-shell {
    align-items: flex-start;
  }

  .header-inner {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .nav {
    width: 100%;
    order: 3;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 2px;
  }

  .header-search {
    min-width: 0;
    order: 4;
    width: 100%;
  }

  .hero-inner {
    min-height: 430px;
  }

  .homepage-hero-section.hero-contained .hero-inner {
    border-radius: 0;
    min-height: 430px;
    padding: 0 24px;
  }

  .highlight-grid,
  .delivery-options,
  .form-grid,
  .customer-status-grid,
  .admin-line-item-row,
  .modal-product {
    grid-template-columns: 1fr;
  }

  .highlight-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .highlight-item:last-child {
    border-bottom: 0;
  }

  .modal-product img {
    min-height: 240px;
  }
}

@media (max-width: 560px) {
  .offline-shell {
    width: min(100% - 28px, 1160px);
  }

  .offline-visual {
    aspect-ratio: 3 / 4;
    min-height: 330px;
  }

  .offline-plinth {
    margin: 0 16px 16px;
    padding: 18px;
    width: calc(100% - 32px);
  }

  .offline-lede,
  .offline-message,
  .offline-story p,
  .offline-card p {
    font-size: 16px;
  }

  .container {
    width: min(100% - 28px, 1160px);
  }

  .hero h1,
  .section-heading h1,
  .section-heading h2,
  .delivery-layout h2 {
    font-size: 34px;
  }

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

  .collection-product-grid.collection-products-2,
  .collection-product-grid.collection-products-3,
  .collection-product-grid.collection-products-4,
  .collection-products-editorial {
    grid-template-columns: 1fr;
  }

  .product-carousel {
    grid-auto-columns: minmax(230px, 82%);
    grid-template-columns: none;
  }

  .collection-carousel {
    grid-auto-columns: minmax(230px, 82%);
    grid-template-columns: none;
  }

  .carousel-controls {
    justify-content: flex-start;
    margin-top: 0;
  }

  .project-collage-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-collage-grid {
    grid-auto-rows: 220px;
    grid-template-columns: 1fr;
  }

  .catalog-toolbar,
  .contact-box,
  .checkout-form-panel,
  .order-summary,
  .confirmation-panel,
  .delivery-option {
    padding: 20px;
  }

  .catalog-meta,
  .account-order-details div,
  .customer-record > div:first-child,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-card-actions,
  .cart-actions {
    grid-template-columns: 1fr;
  }

  .product-card-actions.three-actions,
  .wishlist-card-actions,
  .cart-actions:has(> :nth-child(3)) {
    grid-template-columns: 1fr;
  }

  .wishlist-card-actions .wishlist-button {
    grid-column: auto;
  }

  .checkout-item {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .checkout-item strong {
    grid-column: 2;
  }

  .product-detail-content {
    padding: 24px 20px;
  }

  .product-detail-content h1 {
    font-size: 34px;
  }
}

/* Shopify-inspired admin */
.admin-body,
.admin-login-body {
  background: #f1f1f1;
  color: #202223;
}

.admin-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  background: #ffffff;
  border-right: 1px solid #d7dadd;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
  padding: 16px 10px 16px 16px;
  position: sticky;
  top: 0;
}

.admin-brand {
  align-items: center;
  color: #202223;
  display: flex;
  gap: 10px;
  padding: 8px 6px 14px;
  text-decoration: none;
}

.admin-brand-mark {
  align-items: center;
  background: #008060;
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.admin-brand strong,
.admin-brand small {
  display: block;
}

.admin-brand small {
  color: #6d7175;
  font-size: 12px;
  font-weight: 700;
}

.admin-nav {
  display: grid;
  flex: 1;
  gap: 4px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  scrollbar-gutter: stable;
}

.admin-nav::-webkit-scrollbar {
  width: 8px;
}

.admin-nav::-webkit-scrollbar-thumb {
  background: #c9cccf;
  border-radius: 999px;
}

.admin-nav::-webkit-scrollbar-track {
  background: transparent;
}

.admin-nav-item {
  align-items: center;
  border-radius: 8px;
  color: #3f4447;
  display: flex;
  font-weight: 800;
  gap: 10px;
  padding: 10px;
  text-decoration: none;
}

.admin-nav-item:hover,
.admin-nav-item.active {
  background: #ebf5f2;
  color: #005c45;
}

.admin-nav-icon {
  align-items: center;
  background: #e4e6e8;
  border-radius: 6px;
  color: #202223;
  display: inline-flex;
  font-size: 12px;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.admin-nav-item.active .admin-nav-icon,
.admin-nav-item:hover .admin-nav-icon {
  background: #008060;
  color: #ffffff;
}

.admin-sidebar-footer {
  border-top: 1px solid #e1e3e5;
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}

.admin-sidebar-footer a {
  color: #3f4447;
  font-weight: 800;
  text-decoration: none;
}

.admin-sidebar-footer a:hover {
  color: #005c45;
}

.admin-main {
  padding: 28px;
}

.admin-topbar {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto 22px;
  max-width: 1180px;
}

.admin-topbar h1 {
  font-size: 28px;
  line-height: 1.2;
}

.admin-topbar-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.admin-eyebrow {
  color: #6d7175;
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.admin-metrics,
.admin-card,
.admin-editor-layout,
.admin-settings-grid {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.admin-metrics {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 16px;
}

.admin-metric-card,
.admin-card {
  background: #ffffff;
  border: 1px solid #d7dadd;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.admin-metric-card {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.admin-metric-card span,
.admin-muted {
  color: #6d7175;
}

.admin-metric-card strong {
  font-size: 28px;
  line-height: 1.1;
}

.admin-metric-card small {
  color: #6d7175;
  font-weight: 700;
}

.admin-action-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: 18px;
}

.admin-action-card {
  background: #ffffff;
  border: 1px solid #d7dadd;
  border-radius: 8px;
  color: inherit;
  display: grid;
  gap: 8px;
  min-height: 128px;
  padding: 16px;
  text-decoration: none;
}

.admin-action-card:hover {
  border-color: #91c0ff;
  box-shadow: 0 12px 30px rgba(32, 34, 35, 0.08);
}

.admin-action-card strong {
  font-size: 32px;
  line-height: 1;
}

.admin-action-card small {
  color: #6d7175;
  font-weight: 700;
}

.admin-diagnostic-card {
  margin: 0;
}

.admin-diagnostic-card strong {
  font-size: 18px;
}

.admin-diagnostic-card .admin-button {
  justify-self: start;
}

.readiness-category-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  padding: 18px;
}

.readiness-category {
  align-items: center;
  background: #f6f6f7;
  border: 1px solid #e1e3e5;
  border-radius: 8px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  min-height: 78px;
  padding: 14px;
}

.readiness-category div {
  display: grid;
  gap: 5px;
}

.readiness-category strong,
.readiness-action strong {
  font-size: 15px;
}

.readiness-category span:not(.admin-badge),
.readiness-action p {
  color: #6d7175;
}

.readiness-action-list {
  display: grid;
}

.readiness-action {
  align-items: center;
  border-bottom: 1px solid #e1e3e5;
  display: grid;
  gap: 14px;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  padding: 14px 18px;
}

.readiness-action:last-child {
  border-bottom: 0;
}

.readiness-action p {
  margin: 4px 0 0;
}

.theme-option-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  padding: 18px;
}

.theme-option-card {
  background: #ffffff;
  border: 1px solid #d7dadd;
  border-radius: 8px;
  display: grid;
  gap: 16px;
  overflow: hidden;
}

.theme-option-card.active {
  border-color: #008060;
  box-shadow: 0 0 0 2px rgba(0, 128, 96, 0.16);
}

.theme-preview-window {
  background: #f6f6f7;
  display: grid;
  gap: 12px;
  min-height: 210px;
  padding: 16px;
}

.theme-preview-topbar {
  height: 16px;
  width: 48%;
}

.theme-preview-hero {
  display: grid;
  gap: 9px;
  padding: 24px 18px;
}

.theme-preview-hero span,
.theme-preview-hero strong,
.theme-preview-hero p,
.theme-preview-products span,
.theme-preview-topbar {
  display: block;
}

.theme-preview-hero span {
  height: 8px;
  width: 26%;
}

.theme-preview-hero strong {
  height: 30px;
  width: 72%;
}

.theme-preview-hero p {
  height: 10px;
  width: 54%;
}

.theme-preview-products {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
}

.theme-preview-products span {
  height: 48px;
}

.theme-option-content {
  display: grid;
  gap: 10px;
  padding: 0 18px 18px;
}

.theme-option-content h3 {
  font-size: 20px;
}

.theme-option-content p {
  color: #6d7175;
}

.theme-preview-timberlux-ci .theme-preview-window {
  background: #F5F1EE;
}

.theme-preview-timberlux-ci .theme-preview-hero {
  background: #222222;
}

.theme-preview-timberlux-ci .theme-preview-topbar,
.theme-preview-timberlux-ci .theme-preview-hero span,
.theme-preview-timberlux-ci .theme-preview-products span {
  background: #A67852;
}

.theme-preview-timberlux-ci .theme-preview-hero strong,
.theme-preview-timberlux-ci .theme-preview-hero p {
  background: #fffdfb;
}

.theme-preview-modern-atelier .theme-preview-window {
  background: #ffffff;
}

.theme-preview-modern-atelier .theme-preview-hero {
  background: linear-gradient(90deg, #111111 0 58%, #f7f4f1 58% 100%);
}

.theme-preview-modern-atelier .theme-preview-topbar,
.theme-preview-modern-atelier .theme-preview-hero span,
.theme-preview-modern-atelier .theme-preview-products span {
  background: #b85b25;
}

.theme-preview-modern-atelier .theme-preview-hero strong,
.theme-preview-modern-atelier .theme-preview-hero p {
  background: #ffffff;
}

.theme-preview-studio-luxe .theme-preview-window {
  background: #F5F1EE;
}

.theme-preview-studio-luxe .theme-preview-hero {
  background: #222222;
}

.theme-preview-studio-luxe .theme-preview-topbar,
.theme-preview-studio-luxe .theme-preview-hero span,
.theme-preview-studio-luxe .theme-preview-products span {
  background: #A67852;
}

.theme-preview-studio-luxe .theme-preview-hero strong,
.theme-preview-studio-luxe .theme-preview-hero p {
  background: #fffdfb;
}

.theme-preview-architectural .theme-preview-window {
  background: #f7f7f5;
}

.theme-preview-architectural .theme-preview-hero {
  background: #111111;
}

.theme-preview-architectural .theme-preview-topbar,
.theme-preview-architectural .theme-preview-hero span,
.theme-preview-architectural .theme-preview-products span {
  background: #111111;
}

.theme-preview-architectural .theme-preview-hero strong,
.theme-preview-architectural .theme-preview-hero p {
  background: #ffffff;
}

.theme-preview-warm-heritage .theme-preview-window {
  background: #f1e3d0;
}

.theme-preview-warm-heritage .theme-preview-hero {
  background: #5b3320;
}

.theme-preview-warm-heritage .theme-preview-topbar,
.theme-preview-warm-heritage .theme-preview-hero span,
.theme-preview-warm-heritage .theme-preview-products span {
  background: #a96b37;
}

.theme-preview-warm-heritage .theme-preview-hero strong,
.theme-preview-warm-heritage .theme-preview-hero p {
  background: #fff8ed;
}

.admin-card {
  margin-bottom: 16px;
  overflow: hidden;
}

.admin-card-header {
  align-items: center;
  border-bottom: 1px solid #e1e3e5;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 16px 18px;
}

.admin-card-header h2 {
  font-size: 18px;
  line-height: 1.25;
}

.admin-table-wrap {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.admin-table {
  color: #202223;
  min-width: 860px;
}

.admin-table th {
  background: #f6f6f7;
  color: #6d7175;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-table th,
.admin-table td {
  padding: 13px 16px;
}

.admin-badge {
  background: #e4e6e8;
  border-radius: 999px;
  color: #202223;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  padding: 6px 10px;
  text-transform: capitalize;
}

.admin-badge.success {
  background: #d1f0d6;
  color: #0c5132;
}

.admin-badge.new {
  background: #e0f0ff;
  color: #084e8a;
}

.admin-badge.processing {
  background: #fff1b8;
  color: #6f4e00;
}

.admin-badge.read {
  background: #e4e6e8;
  color: #3f4447;
}

.admin-badge.resolved {
  background: #d1f0d6;
  color: #0c5132;
}

.admin-badge.open {
  background: #e0f0ff;
  color: #084e8a;
}

.admin-badge.completed {
  background: #d1f0d6;
  color: #0c5132;
}

.admin-badge.cancelled {
  background: #fed3d1;
  color: #8e1f0b;
}

.admin-badge.warning {
  background: #fff1b8;
  color: #6f4e00;
}

.admin-button {
  align-items: center;
  border: 1px solid #babfc3;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  text-decoration: none;
}

.admin-button.primary {
  background: #008060;
  border-color: #008060;
  color: #ffffff;
}

.admin-button.primary:hover {
  background: #006e52;
}

.admin-button.secondary {
  background: #ffffff;
  color: #202223;
}

.admin-button.secondary:hover {
  background: #f6f6f7;
}

.admin-button.danger {
  background: #ffffff;
  border-color: #d82c0d;
  color: #d82c0d;
}

.admin-button.small {
  min-height: 32px;
  padding: 6px 10px;
}

.admin-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.admin-notice,
.admin-alert {
  max-width: 1180px;
}

.admin-alert.compact {
  margin-bottom: 0;
}

.admin-editor-layout,
.admin-settings-grid {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 340px;
}

.admin-editor-layout > .admin-card,
.admin-settings-grid > .admin-card {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  width: 100%;
}

.admin-editor-card,
.admin-side-card {
  padding: 0;
}

.admin-editor-card > .admin-field,
.admin-editor-card > .admin-form-grid,
.admin-editor-card > .admin-form-actions,
.admin-side-card > .admin-field,
.admin-side-card > .admin-form-stack,
.admin-side-card > p {
  margin: 0 18px 16px;
}

.admin-side-card > .admin-eyebrow,
.admin-side-card > h2 {
  margin-left: 18px;
  margin-right: 18px;
}

.admin-side-card > .admin-eyebrow {
  margin-top: 18px;
}

.admin-form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-line-item-row {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 96px;
}

.purchase-order-line {
  grid-template-columns: minmax(0, 1fr) 96px 120px;
}

.admin-form-stack {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.admin-section-divider {
  border-top: 1px solid #e1e3e5;
  padding-top: 14px;
}

.admin-toolbar {
  align-items: end;
  border-bottom: 1px solid #e1e3e5;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, auto) auto auto;
  padding: 14px 18px;
}

.admin-inline-form {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-inline-form input {
  min-width: 180px;
}

.admin-details-panel {
  margin-bottom: 10px;
}

.admin-details-panel summary {
  color: #008060;
  cursor: pointer;
  font-weight: 900;
  margin-bottom: 8px;
}

.admin-form-stack.compact {
  background: #f6f6f7;
  border: 1px solid #e1e3e5;
  border-radius: 8px;
  gap: 12px;
  margin-bottom: 10px;
  padding: 12px;
}

.admin-rename-form {
  border-top: 1px solid #e1e3e5;
  padding-top: 10px;
}

.admin-return-items {
  display: grid;
  gap: 10px;
}

.admin-return-row {
  align-items: center;
  border: 1px solid #e1e3e5;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) 82px;
  padding: 10px;
}

.admin-return-row strong,
.admin-return-row span {
  display: block;
}

.admin-return-row input {
  min-width: 0;
}

.admin-return-history {
  border-bottom: 1px solid #e1e3e5;
  display: grid;
  gap: 6px;
  padding: 0 0 12px;
}

.admin-return-history + .admin-return-history {
  padding-top: 12px;
}

.admin-return-history p {
  margin: 0;
}

.admin-json-details {
  border: 1px solid #e1e3e5;
  border-radius: 8px;
  padding: 10px;
}

.admin-json-details summary {
  cursor: pointer;
  font-weight: 900;
}

.admin-json-details pre {
  background: #f6f6f7;
  border-radius: 6px;
  margin: 10px 0 0;
  max-height: 220px;
  overflow: auto;
  padding: 10px;
  white-space: pre-wrap;
  word-break: break-word;
}

.admin-bulk-actions {
  align-items: center;
  background: #f6f6f7;
  border-bottom: 1px solid #e1e3e5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 18px;
}

.admin-bulk-actions label {
  color: #6d7175;
  font-size: 13px;
  font-weight: 900;
}

.admin-bulk-actions select {
  background: #ffffff;
  border: 1px solid #babfc3;
  border-radius: 8px;
  min-height: 38px;
  padding: 8px 10px;
}

.admin-field {
  display: grid;
  gap: 7px;
}

.admin-field label {
  color: #202223;
  font-size: 13px;
  font-weight: 900;
}

.admin-field input,
.admin-field textarea,
.admin-field select {
  background: #ffffff;
  border: 1px solid #babfc3;
  border-radius: 8px;
  color: #202223;
  padding: 11px 12px;
  width: 100%;
}

.admin-field textarea {
  min-height: 128px;
  resize: vertical;
}

.admin-code-textarea {
  font-family: Consolas, "Courier New", monospace;
  min-height: 220px;
  white-space: pre;
}

.section-settings-builder {
  border: 1px solid #d7dadd;
  border-radius: 8px;
  overflow: hidden;
}

.admin-card-header.compact {
  padding: 14px 16px;
}

.section-settings-panel {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.collection-manual-editor {
  border: 1px solid #d7dadd;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 14px;
}

.section-picker {
  border: 1px solid #d7dadd;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.section-picker > input {
  background: #ffffff;
  border: 1px solid #babfc3;
  border-radius: 8px;
  padding: 11px 12px;
  width: 100%;
}

.section-picker-results,
.section-picker-selected {
  display: grid;
  gap: 8px;
}

.section-picker-results button,
.section-picker-selected button {
  background: #ffffff;
  border: 1px solid #d7dadd;
  border-radius: 8px;
  color: #202223;
  cursor: pointer;
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  text-align: left;
}

.section-picker-results button:hover,
.section-picker-selected button:hover {
  border-color: #008060;
}

.section-picker-results span,
.section-picker-selected span {
  color: #6d7175;
  font-size: 12px;
  font-weight: 800;
}

.section-picker-selected {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.section-picker-selected button {
  background: #eef7f4;
  border-color: #b8d8cc;
}

.manual-card-editor {
  background: #f6f6f7;
  border: 1px solid #d7dadd;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.manual-card-editor strong {
  font-size: 13px;
}

.manual-card-editor input,
.manual-card-editor textarea {
  width: 100%;
}

.manual-card-editor textarea {
  min-height: 72px;
}

.theme-builder-shell {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: 240px minmax(0, 1fr) 320px;
}

.theme-builder-sidebar,
.theme-builder-preview,
.theme-builder-inspector {
  min-width: 0;
}

.theme-builder-section-list {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.theme-builder-section-list button {
  background: #ffffff;
  border: 1px solid #d7dadd;
  border-radius: 8px;
  color: #202223;
  cursor: pointer;
  font-weight: 800;
  padding: 11px 12px;
  text-align: left;
}

.theme-builder-section-list button:hover {
  border-color: #008060;
}

.theme-builder-hint {
  padding: 0 16px;
}

.theme-builder-canvas {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.theme-builder-section {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d7dadd;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 14px;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  padding: 14px;
}

.theme-builder-section.selected {
  border-color: #008060;
  box-shadow: 0 0 0 2px rgba(0, 128, 96, 0.12);
}

.theme-builder-section.is-hidden {
  opacity: 0.62;
}

.theme-builder-section h3 {
  font-size: 18px;
  margin: 2px 0;
}

.theme-builder-section p {
  color: #6d7175;
  margin: 0;
}

.theme-builder-section-handle {
  background: #f6f6f7;
  border: 1px solid #d7dadd;
  border-radius: 8px;
  color: #6d7175;
  cursor: grab;
  min-height: 34px;
}

.theme-builder-section-actions {
  align-items: end;
  display: grid;
  gap: 6px;
  justify-items: end;
}

.theme-builder-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.theme-builder-nested-list {
  display: grid;
  gap: 10px;
}

.admin-checkbox-row.compact {
  margin: 0;
}

@media (max-width: 1180px) {
  .theme-builder-shell {
    grid-template-columns: 1fr;
  }
}

.section-control-row {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.75fr);
}

.section-control-row label {
  color: #202223;
  font-size: 13px;
  font-weight: 900;
}

.section-range-control {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 42px;
}

.section-range-control input[type="range"] {
  accent-color: #008060;
  width: 100%;
}

.section-range-control strong {
  align-items: center;
  background: #f6f6f7;
  border: 1px solid #d7dadd;
  border-radius: 8px;
  display: inline-flex;
  font-size: 18px;
  justify-content: center;
  min-height: 38px;
}

.section-segmented-control {
  background: #f6f6f7;
  border: 1px solid #d7dadd;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
}

.section-segmented-control.three {
  grid-template-columns: repeat(3, 1fr);
}

.section-segmented-control.four {
  grid-template-columns: repeat(4, 1fr);
}

.section-segmented-control button {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 900;
  padding: 10px 12px;
}

.section-segmented-control button.active {
  background: #008060;
  color: #ffffff;
}

.section-live-preview {
  background: #f6f6f7;
  border: 1px solid #d7dadd;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.section-preview-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.section-preview-heading span {
  color: #6d7175;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-preview-blocks {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(var(--preview-columns, 3), minmax(0, 1fr));
}

.section-preview-blocks span {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0)),
    #c9d8d3;
  border: 1px solid #b7c9c3;
  border-radius: 8px;
  min-height: 58px;
}

.section-preview-blocks span:nth-child(4),
.section-preview-blocks span:nth-child(5),
.section-preview-blocks span:nth-child(6) {
  background-color: #d9c7aa;
  border-color: #c9b591;
}

.section-preview-blocks[data-align="center"] span:first-child {
  grid-column: 2;
}

.section-preview-blocks[data-align="right"] span:first-child {
  grid-column: 3;
}

.section-preview-blocks[data-width="contained"] {
  margin-left: auto;
  margin-right: auto;
  max-width: 78%;
}

.section-preview-blocks.carousel {
  grid-auto-columns: minmax(82px, 31%);
  grid-auto-flow: column;
  grid-template-columns: none;
  overflow: hidden;
}

.section-advanced-settings {
  border-top: 1px solid #d7dadd;
  padding: 12px 16px 16px;
}

.section-advanced-settings summary {
  cursor: pointer;
  font-weight: 900;
}

.section-advanced-settings .admin-code-textarea {
  margin-top: 12px;
}

.section-reorder-status {
  margin: 0 auto 12px;
  max-width: 1180px;
  padding: 0 18px;
}

.drag-handle {
  align-items: center;
  background: #f6f6f7;
  border: 1px solid #babfc3;
  border-radius: 8px;
  color: #3f4447;
  cursor: grab;
  display: inline-flex;
  font-weight: 900;
  height: 32px;
  justify-content: center;
  letter-spacing: 2px;
  margin-bottom: 6px;
  width: 38px;
}

tr.dragging {
  opacity: 0.5;
}

tbody[data-section-sort-list] tr {
  transition: background 0.16s ease;
}

tbody[data-section-sort-list] tr:hover {
  background: #f6f6f7;
}

.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus {
  border-color: #008060;
  outline: 3px solid rgba(0, 128, 96, 0.16);
}

.admin-checkbox-row {
  align-items: center;
  color: #3f4447;
  display: flex;
  font-weight: 800;
  gap: 10px;
}

.admin-checkbox-row input {
  height: 18px;
  width: 18px;
}

.admin-form-actions,
.admin-row-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-product-cell {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 46px minmax(0, 1fr);
}

.admin-product-cell img {
  background: #f1f1f1;
  border: 1px solid #e1e3e5;
  border-radius: 8px;
  height: 46px;
  object-fit: cover;
  width: 46px;
}

.admin-product-cell small {
  color: #6d7175;
  display: block;
  margin-top: 2px;
}

.admin-link {
  color: #005bd3;
  font-weight: 900;
  text-decoration: none;
}

.admin-link:hover {
  text-decoration: underline;
}

.admin-tabs {
  border-bottom: 1px solid #e1e3e5;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 10px 12px 0;
}

.admin-tabs a {
  align-items: center;
  border-bottom: 3px solid transparent;
  color: #3f4447;
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  padding: 10px 12px;
  text-decoration: none;
  white-space: nowrap;
}

.admin-tabs a.active {
  border-bottom-color: #008060;
  color: #005c45;
}

.admin-tabs span {
  background: #e4e6e8;
  border-radius: 999px;
  color: #202223;
  font-size: 12px;
  padding: 3px 7px;
}

.admin-order-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 340px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.admin-order-layout > .admin-card:first-child {
  grid-row: span 3;
}

.admin-order-layout > .admin-card {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  width: 100%;
}

.admin-report-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 340px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.admin-report-grid > .admin-card {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  width: 100%;
}

.admin-order-items {
  display: grid;
  gap: 0;
  padding: 0 18px;
}

.admin-order-item {
  align-items: center;
  border-bottom: 1px solid #e1e3e5;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: 16px 0;
}

.admin-order-item:last-child {
  border-bottom: 0;
}

.admin-order-item span {
  display: block;
  margin-top: 2px;
}

.admin-totals {
  border-top: 1px solid #e1e3e5;
  display: grid;
  gap: 10px;
  margin: 0 18px 18px;
  padding-top: 16px;
}

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

.admin-totals .grand-total {
  border-top: 1px solid #d7dadd;
  font-size: 18px;
  padding-top: 12px;
}

.admin-cancellation-summary {
  background: #fff4f4;
  border-bottom: 1px solid #f0c9c7;
  color: #4f1507;
  display: grid;
  gap: 6px;
  padding: 14px 18px;
}

.admin-cancellation-summary p {
  margin: 0;
}

.admin-detail-list {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.admin-media-preview {
  background: #f6f6f7;
  border: 1px solid #d7dadd;
  border-radius: 8px;
  overflow: hidden;
}

.admin-media-preview img {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.admin-media-picker,
.admin-media-grid {
  display: grid;
  gap: 12px;
}

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

.admin-media-option {
  background: #f6f6f7;
  border: 1px solid #d7dadd;
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
}

.admin-media-option:focus,
.admin-media-option:hover {
  border-color: #008060;
  box-shadow: 0 0 0 2px rgba(0, 128, 96, 0.12);
}

.admin-media-option img {
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  width: 100%;
}

.admin-media-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  padding: 18px;
}

.admin-media-card {
  border: 1px solid #e1e3e5;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px;
}

.admin-media-card img {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.admin-media-card strong,
.admin-media-card span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-card-empty {
  padding: 18px;
}

.admin-gallery-form {
  border-bottom: 1px solid #e1e3e5;
  padding: 18px;
}

.admin-seo-panel {
  border: 1px solid #e1e3e5;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  margin: 18px 0;
  padding: 16px;
}

.admin-card-header.compact {
  margin-bottom: 0;
  padding: 0;
}

.admin-product-gallery-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  padding: 18px;
}

.admin-product-gallery-card {
  border: 1px solid #e1e3e5;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
}

.admin-product-gallery-card > img {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.admin-product-gallery-card strong,
.admin-product-gallery-card span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-gallery-card-form {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.admin-gallery-card-form input {
  border: 1px solid #c9cccf;
  border-radius: 6px;
  font: inherit;
  min-width: 0;
  padding: 8px;
}

.admin-detail-list a {
  color: #005bd3;
  font-weight: 800;
  text-decoration: none;
}

.admin-movement-item {
  border-bottom: 1px solid #e1e3e5;
  display: grid;
  gap: 4px;
  padding-bottom: 10px;
}

.admin-movement-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-movement-item > span {
  font-weight: 900;
}

.movement-positive {
  color: #0c5132;
}

.movement-negative {
  color: #8e1f0b;
}

.admin-timeline {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.admin-timeline-item {
  display: grid;
  gap: 10px;
  grid-template-columns: 14px minmax(0, 1fr);
}

.admin-timeline-item > span {
  background: #008060;
  border-radius: 999px;
  height: 10px;
  margin-top: 6px;
  width: 10px;
}

.admin-timeline-item strong,
.admin-timeline-item small {
  display: block;
}

.admin-timeline-item small {
  color: #6d7175;
  margin-top: 3px;
}

.admin-note-list {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.admin-note-item {
  background: #f6f6f7;
  border: 1px solid #e1e3e5;
  border-radius: 8px;
  padding: 12px;
}

.admin-note-item p {
  margin-bottom: 8px;
}

.admin-note-item small {
  color: #6d7175;
  font-weight: 700;
}

.admin-message-body {
  color: #202223;
  font-size: 16px;
  line-height: 1.7;
  padding: 22px;
  white-space: normal;
}

.toggle-row {
  background: #f6f6f7;
}

.admin-login-page {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.admin-login-panel {
  background: #ffffff;
  border: 1px solid #d7dadd;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(32, 34, 35, 0.12);
  max-width: 430px;
  padding: 26px;
  width: 100%;
}

.login-brand {
  padding: 0 0 24px;
}

.admin-login-heading {
  margin-bottom: 20px;
}

.admin-login-heading h1 {
  font-size: 28px;
  line-height: 1.18;
}

.print-body {
  background: #ffffff;
  color: #202223;
}

.print-page {
  margin: 0 auto;
  max-width: 900px;
  padding: 34px;
}

.print-header,
.print-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
}

.print-header {
  align-items: start;
  border-bottom: 2px solid #202223;
  margin-bottom: 28px;
  padding-bottom: 20px;
}

.print-header h1 {
  font-size: 34px;
}

.print-grid {
  margin-bottom: 28px;
}

.print-page h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.print-table {
  border-collapse: collapse;
  margin: 12px 0 22px;
  width: 100%;
}

.print-table th,
.print-table td {
  border-bottom: 1px solid #d7dadd;
  padding: 10px 0;
  text-align: left;
}

.print-totals {
  display: grid;
  gap: 8px;
  margin-left: auto;
  max-width: 320px;
}

.print-totals p {
  display: flex;
  justify-content: space-between;
}

.print-totals p:last-child {
  border-top: 2px solid #202223;
  font-size: 20px;
  padding-top: 10px;
}

@media print {
  .print-page {
    max-width: none;
    padding: 0;
  }
}

@media (max-width: 980px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    height: auto;
    overflow: visible;
    position: static;
  }

  .admin-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding-right: 0;
  }

  .admin-sidebar-footer {
    grid-template-columns: repeat(2, max-content);
    margin-top: 0;
  }

  .admin-editor-layout,
  .admin-order-layout,
  .admin-report-grid,
  .admin-settings-grid,
  .admin-metrics,
  .video-layout {
    grid-template-columns: 1fr;
  }

  .admin-order-layout > .admin-card:first-child {
    grid-row: auto;
  }

  .readiness-action {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .section-control-row {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .promo-panel {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .project-collage-tile.tile-1,
  .project-collage-tile.tile-6,
  .project-collage-tile.tile-2,
  .project-collage-tile.tile-3,
  .project-collage-tile.tile-4,
  .project-collage-tile.tile-5 {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 640px) {
  .admin-main {
    padding: 18px 14px;
  }

  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .admin-toolbar {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .admin-order-item {
    align-items: start;
    grid-template-columns: 1fr;
  }
}

/* Storefront rebuild: modern Timberlux retail system */
body:not(.admin-body) {
  --ink: #0d0d0c;
  --muted: #6b6661;
  --line: #e8e3df;
  --surface: #ffffff;
  --page: #ffffff;
  --brand: #0d0d0c;
  --brand-dark: #000000;
  --accent: #b75a25;
  --soft: #f7f5f2;
  --button-radius: 3px;
  --shadow: 0 26px 70px rgba(13, 13, 12, 0.08);
  background: #ffffff;
  color: #0d0d0c;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

body:not(.admin-body) .container {
  width: min(1320px, calc(100% - 48px));
}

body:not(.admin-body) .site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(13, 13, 12, 0.08);
  backdrop-filter: blur(22px);
}

body:not(.admin-body) .header-inner {
  display: grid;
  gap: 16px;
  grid-template-columns: 150px minmax(0, 1fr) minmax(220px, 320px) auto auto;
  min-height: 78px;
  width: min(1360px, calc(100% - 40px));
}

body:not(.admin-body) .logo {
  background: var(--store-logo-url, url("../images/timberlux-main-logo.png")) left center / contain no-repeat;
  display: block;
  grid-column: 1;
  height: 50px;
  overflow: hidden;
  text-indent: -999px;
  width: 150px;
}

.admin-logo-preview {
  align-items: flex-start;
  background: #f8f6f3;
  border: 1px solid #e6dfd9;
  border-radius: 6px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.admin-logo-preview img {
  background: #ffffff;
  border: 1px solid #eee7e1;
  max-height: 74px;
  object-fit: contain;
  padding: 10px;
  width: min(280px, 100%);
}

body:not(.admin-body) .nav {
  gap: 4px;
  grid-column: 2;
  justify-content: center;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

body:not(.admin-body) .nav::-webkit-scrollbar {
  display: none;
}

body:not(.admin-body) .nav a,
body:not(.admin-body) .site-footer a {
  border-radius: 999px;
  color: #181716;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.06em;
  padding: 8px 10px;
  text-transform: uppercase;
}

body:not(.admin-body) .nav a:hover,
body:not(.admin-body) .site-footer a:hover {
  background: #f6f2ef;
  color: #b75a25;
}

body:not(.admin-body) .header-search {
  background: #f8f6f3;
  border: 1px solid #e6dfd9;
  border-radius: 999px;
  grid-column: 3;
  min-width: 0;
}

body:not(.admin-body) .header-search input {
  background: transparent;
  color: #0d0d0c;
  font-size: 13px;
  min-height: 38px;
  padding: 9px 12px 9px 16px;
}

body:not(.admin-body) .header-search button {
  background: #0d0d0c;
  border-radius: 999px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 3px;
  min-height: 32px;
  padding: 0 13px;
  text-transform: uppercase;
}

body:not(.admin-body) .wishlist-nav-link {
  border-radius: 999px;
  color: #a54423;
  grid-column: 4;
  justify-self: center;
  min-height: 40px;
  padding: 0 6px;
}

body:not(.admin-body) .cart-button {
  grid-column: 5;
}

body:not(.admin-body) .heart-icon {
  color: #a54423;
  font-size: 24px;
  height: 32px;
  width: 32px;
}

body:not(.admin-body) .wishlist-nav-link #wishlist-count,
body:not(.admin-body) .cart-button span {
  background: #b75a25;
  color: #ffffff;
}

body:not(.admin-body) .cart-button,
body:not(.admin-body) .primary-button,
body:not(.admin-body) .checkout-button,
body:not(.admin-body) .add-to-cart,
body:not(.admin-body) .secondary-button,
body:not(.admin-body) .wishlist-button,
body:not(.admin-body) .text-button {
  border-radius: 3px;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.07em;
  min-height: 38px;
  text-transform: uppercase;
}

body:not(.admin-body) .cart-button,
body:not(.admin-body) .primary-button,
body:not(.admin-body) .checkout-button,
body:not(.admin-body) .add-to-cart {
  background: #0d0d0c;
  color: #ffffff;
  padding: 10px 14px;
}

body:not(.admin-body) .secondary-button,
body:not(.admin-body) .wishlist-button {
  background: #ffffff;
  border: 1px solid #ded7d1;
  color: #111111;
  padding: 10px 13px;
}

body:not(.admin-body) .primary-button:hover,
body:not(.admin-body) .checkout-button:hover,
body:not(.admin-body) .add-to-cart:hover,
body:not(.admin-body) .cart-button:hover {
  background: #b75a25;
}

body:not(.admin-body) .secondary-button:hover,
body:not(.admin-body) .wishlist-button:hover {
  border-color: #b75a25;
  color: #b75a25;
}

body:not(.admin-body) .homepage-sections {
  background: #ffffff;
}

body:not(.admin-body) .hero,
body:not(.admin-body) .homepage-hero-section {
  background:
    linear-gradient(90deg, rgba(13, 13, 12, 0.82) 0%, rgba(13, 13, 12, 0.34) 44%, rgba(13, 13, 12, 0.02) 100%),
    var(--hero-image, url("../images/pendant-light.png")) center / cover;
  color: #ffffff;
}

body:not(.admin-body) .homepage-hero-section.hero-contained {
  background: #ffffff;
  color: #0d0d0c;
  padding: 28px 0 0;
}

body:not(.admin-body) .homepage-hero-section.hero-contained .hero-inner {
  background:
    linear-gradient(90deg, rgba(13, 13, 12, 0.82) 0%, rgba(13, 13, 12, 0.28) 48%, rgba(13, 13, 12, 0.04) 100%),
    var(--hero-image, url("../images/pendant-light.png")) center / cover;
  border-radius: 0;
  min-height: min(680px, calc(100svh - 118px));
  padding: 0 clamp(22px, 5vw, 70px);
}

body:not(.admin-body) .hero-inner {
  min-height: min(720px, calc(100svh - 88px));
}

body:not(.admin-body) .hero-text {
  max-width: 680px;
  padding: clamp(76px, 12vh, 132px) 0;
}

body:not(.admin-body) .eyebrow {
  color: #b75a25;
  font-size: 10px;
  font-weight: 860;
  letter-spacing: 0.18em;
}

body:not(.admin-body) .hero .eyebrow {
  color: #f4c0a0;
}

body:not(.admin-body) .hero h1,
body:not(.admin-body) .section-heading h1,
body:not(.admin-body) .section-heading h2,
body:not(.admin-body) .collection-hero h1,
body:not(.admin-body) .product-detail-content h1,
body:not(.admin-body) .text-section-panel h2,
body:not(.admin-body) .image-text-content h2 {
  font-weight: 520;
  letter-spacing: 0;
}

body:not(.admin-body) .hero h1 {
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.96;
  max-width: 820px;
}

body:not(.admin-body) .hero p {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.7;
  max-width: 600px;
}

body:not(.admin-body) .store-highlights {
  background: #ffffff;
  border-bottom: 1px solid #eee8e3;
}

body:not(.admin-body) .highlight-item {
  padding: 30px clamp(18px, 3vw, 40px);
}

body:not(.admin-body) .highlight-item strong {
  font-size: 24px;
  font-weight: 540;
}

body:not(.admin-body) .collections-section,
body:not(.admin-body) .products-section,
body:not(.admin-body) .delivery-section,
body:not(.admin-body) .contact-section,
body:not(.admin-body) .promo-section,
body:not(.admin-body) .reviews-section,
body:not(.admin-body) .project-collage-section,
body:not(.admin-body) .video-section,
body:not(.admin-body) .text-section,
body:not(.admin-body) .image-text-section,
body:not(.admin-body) .checkout-page {
  padding: clamp(72px, 10vw, 128px) 0;
}

body:not(.admin-body) .section-heading {
  margin-bottom: 38px;
  max-width: 740px;
}

body:not(.admin-body) .section-heading h1,
body:not(.admin-body) .section-heading h2,
body:not(.admin-body) .delivery-layout h2 {
  font-size: clamp(32px, 4.8vw, 68px);
  line-height: 1.02;
}

body:not(.admin-body) .section-heading p,
body:not(.admin-body) .collection-card p,
body:not(.admin-body) .product-description,
body:not(.admin-body) .product-detail-description,
body:not(.admin-body) .delivery-layout p,
body:not(.admin-body) .contact-box p {
  color: #6b6661;
}

body:not(.admin-body) .collection-grid,
body:not(.admin-body) .product-grid {
  gap: clamp(18px, 2vw, 30px);
}

body:not(.admin-body) .collection-card,
body:not(.admin-body) .product-card,
body:not(.admin-body) .review-card,
body:not(.admin-body) .delivery-option,
body:not(.admin-body) .contact-box,
body:not(.admin-body) .checkout-form-panel,
body:not(.admin-body) .order-summary,
body:not(.admin-body) .wishlist-panel,
body:not(.admin-body) .account-panel,
body:not(.admin-body) .search-panel,
body:not(.admin-body) .policy-panel {
  background: #ffffff;
  border: 1px solid #e8e3df;
  border-radius: 3px;
  box-shadow: none;
}

body:not(.admin-body) .collection-card:hover,
body:not(.admin-body) .product-card:hover {
  border-color: #cfc5bd;
  box-shadow: 0 26px 70px rgba(13, 13, 12, 0.08);
  transform: translateY(-2px);
}

body:not(.admin-body) .collection-card img {
  aspect-ratio: 4 / 3;
}

body:not(.admin-body) .product-image {
  aspect-ratio: 5 / 4;
}

body:not(.admin-body) .product-content {
  padding: 18px;
}

body:not(.admin-body) .product-meta,
body:not(.admin-body) .collection-card-meta {
  color: #7a716a;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body:not(.admin-body) .product-content h2,
body:not(.admin-body) .product-content h3,
body:not(.admin-body) .collection-card h3 {
  font-size: 17px;
  font-weight: 560;
  line-height: 1.22;
}

body:not(.admin-body) .product-description {
  font-size: 13px;
  line-height: 1.62;
}

body:not(.admin-body) .product-price {
  color: #0d0d0c;
  font-size: 20px;
  font-weight: 700;
}

body:not(.admin-body) .product-badge {
  background: #0d0d0c;
  border-radius: 3px;
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 6px 8px;
}

body:not(.admin-body) .project-collage-section,
body:not(.admin-body) .delivery-section,
body:not(.admin-body) .contact-section {
  background: #fbfaf8;
}

body:not(.admin-body) .project-collage-grid {
  gap: clamp(12px, 1.6vw, 22px);
  grid-auto-rows: clamp(132px, 14vw, 190px);
}

body:not(.admin-body) .project-collage-tile {
  border-radius: 3px;
}

body:not(.admin-body) .promo-panel,
body:not(.admin-body) .text-section.contrast,
body:not(.admin-body) .site-footer {
  background: #0d0d0c;
  color: #ffffff;
}

body:not(.admin-body) .promo-panel {
  border-radius: 3px;
  padding: clamp(28px, 5vw, 58px);
}

body:not(.admin-body) .collection-hero {
  background: #ffffff;
  border-bottom: 1px solid #eee8e3;
  padding: clamp(48px, 8vw, 92px) 0 clamp(34px, 6vw, 64px);
}

body:not(.admin-body) .collection-hero-layout {
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.8fr);
}

body:not(.admin-body) .collection-hero-layout img {
  aspect-ratio: 4 / 3;
  border-radius: 3px;
}

body:not(.admin-body) .product-page {
  padding: clamp(18px, 3vw, 42px) 0 clamp(74px, 8vw, 110px);
}

body:not(.admin-body) main:not(.homepage-sections) {
  padding-top: 0;
}

body:not(.admin-body) main:not(.homepage-sections) > .checkout-page,
body:not(.admin-body) main.checkout-page,
body:not(.admin-body) main:not(.homepage-sections) > .products-section:first-child,
body:not(.admin-body) main:not(.homepage-sections) > .collections-section:first-child,
body:not(.admin-body) main:not(.homepage-sections) > .contact-section:first-child {
  padding-top: clamp(22px, 3vw, 42px);
}

body:not(.admin-body) main:not(.homepage-sections) > .collection-hero:first-child {
  padding-top: clamp(24px, 3.2vw, 46px);
  padding-bottom: clamp(20px, 3vw, 38px);
}

body:not(.admin-body) main:not(.homepage-sections) > .collection-hero:first-child + .products-section,
body:not(.admin-body) main:not(.homepage-sections) > .collection-hero:first-child + .search-section {
  padding-top: clamp(28px, 4vw, 52px);
}

body:not(.admin-body) .checkout-layout,
body:not(.admin-body) .account-layout,
body:not(.admin-body) .account-dashboard {
  align-items: start;
}

body:not(.admin-body) .checkout-heading {
  margin-bottom: 18px;
}

body:not(.admin-body) .checkout-heading h1,
body:not(.admin-body) .collection-hero h1 {
  margin-bottom: 8px;
}

body:not(.admin-body) .checkout-form-panel,
body:not(.admin-body) .order-summary,
body:not(.admin-body) .search-panel,
body:not(.admin-body) .wishlist-panel,
body:not(.admin-body) .account-panel {
  padding: clamp(20px, 3vw, 32px);
}

body:not(.admin-body) .product-detail {
  align-items: start;
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  min-height: calc(100svh - 112px);
}

body:not(.admin-body) .product-detail-media,
body:not(.admin-body) .product-detail-content {
  background: #ffffff;
  border: 1px solid #e8e3df;
  border-radius: 3px;
  box-shadow: none;
  overflow: hidden;
}

body:not(.admin-body) .product-detail-media {
  position: sticky;
  top: 104px;
}

body:not(.admin-body) .product-detail-media > img {
  aspect-ratio: 1 / 1;
  display: block;
  max-height: calc(100svh - 136px);
  object-fit: cover;
  width: 100%;
}

body:not(.admin-body) .product-gallery-thumbs {
  background: #ffffff;
  border-top: 1px solid #e8e3df;
  gap: 8px;
  padding: 10px;
}

body:not(.admin-body) .product-gallery-thumbs button {
  border-radius: 3px;
  height: 64px;
  width: 64px;
}

body:not(.admin-body) .product-detail-content {
  padding: clamp(24px, 4vw, 48px);
}

body:not(.admin-body) .breadcrumbs {
  color: #8a8179;
  font-size: 12px;
  gap: 7px;
  margin-bottom: 22px;
}

body:not(.admin-body) .breadcrumbs a,
body:not(.admin-body) .breadcrumb,
body:not(.admin-body) .details-link {
  color: #b75a25;
}

body:not(.admin-body) .product-detail-content h1 {
  font-size: clamp(36px, 4.7vw, 70px);
  line-height: 0.98;
  margin-bottom: 14px;
}

body:not(.admin-body) .product-detail-content .product-price {
  font-size: clamp(24px, 2.4vw, 34px);
  margin-bottom: 18px;
}

body:not(.admin-body) .compare-at-price {
  color: #8a8179;
  font-size: 0.62em;
}

body:not(.admin-body) .quantity-field {
  gap: 8px;
  margin: 0 0 16px;
  max-width: 170px;
}

body:not(.admin-body) .quantity-field input {
  border-radius: 3px;
  min-height: 42px;
}

body:not(.admin-body) .product-detail-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1.2fr) auto auto;
  margin: 14px 0 24px;
}

body:not(.admin-body) .product-detail-actions .add-to-cart,
body:not(.admin-body) .product-detail-actions .primary-button,
body:not(.admin-body) .product-detail-actions .wishlist-button {
  min-width: 0;
  width: 100%;
}

body:not(.admin-body) .product-facts {
  border-color: #eee8e3;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0;
}

body:not(.admin-body) .product-fact {
  border-bottom: 1px solid #eee8e3;
  padding: 14px 0;
}

body:not(.admin-body) .product-fact span {
  color: #8a8179;
  font-size: 10px;
  letter-spacing: 0.12em;
}

body:not(.admin-body) .product-fact strong {
  font-size: 13px;
  font-weight: 720;
}

body:not(.admin-body) .related-products-section {
  padding-top: clamp(54px, 7vw, 90px);
}

body:not(.admin-body) .catalog-toolbar,
body:not(.admin-body) .search-field input,
body:not(.admin-body) .filter-field select,
body:not(.admin-body) .contact-form input,
body:not(.admin-body) .contact-form textarea,
body:not(.admin-body) .form-row input,
body:not(.admin-body) .form-row textarea,
body:not(.admin-body) .form-row select {
  border-radius: 3px;
}

body:not(.admin-body) .cart-drawer,
body:not(.admin-body) .modal-panel {
  border-left: 1px solid #e8e3df;
  border-radius: 0;
  box-shadow: -30px 0 80px rgba(13, 13, 12, 0.12);
}

@media (max-width: 1180px) {
  body:not(.admin-body) .header-inner {
    grid-template-columns: 140px minmax(0, 1fr) auto auto;
  }

  body:not(.admin-body) .header-search {
    grid-column: 2;
    grid-row: 1;
  }

  body:not(.admin-body) .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }

  body:not(.admin-body) .wishlist-nav-link {
    grid-column: 3;
    grid-row: 1;
  }

  body:not(.admin-body) .cart-button {
    grid-column: 4;
    grid-row: 1;
  }
}

@media (max-width: 920px) {
  body:not(.admin-body) .container {
    width: min(100% - 32px, 760px);
  }

  body:not(.admin-body) .header-inner {
    grid-template-columns: 132px 1fr auto auto;
    min-height: 74px;
    padding: 10px 0;
  }

  body:not(.admin-body) .logo {
    height: 46px;
    width: 132px;
  }

  body:not(.admin-body) .nav,
  body:not(.admin-body) .header-search {
    grid-column: 1 / -1;
  }

  body:not(.admin-body) .nav {
    grid-row: 2;
  }

  body:not(.admin-body) .header-search {
    grid-row: 3;
  }

  body:not(.admin-body) .wishlist-nav-link {
    grid-column: 3;
    grid-row: 1;
  }

  body:not(.admin-body) .cart-button {
    grid-column: 4;
    grid-row: 1;
  }

  body:not(.admin-body) .product-detail,
  body:not(.admin-body) .collection-hero-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body:not(.admin-body) .product-detail-media {
    position: static;
  }

  body:not(.admin-body) .product-detail-media > img {
    max-height: none;
  }

  body:not(.admin-body) .product-detail-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body:not(.admin-body) .header-inner {
    gap: 10px;
    grid-template-columns: 126px 1fr auto;
    width: min(100% - 24px, 560px);
  }

  body:not(.admin-body) .wishlist-nav-link {
    grid-column: 2;
    justify-self: end;
  }

  body:not(.admin-body) .cart-button {
    grid-column: 3;
  }

  body:not(.admin-body) .cart-button {
    padding-inline: 11px;
  }

  body:not(.admin-body) .homepage-hero-section.hero-contained .hero-inner,
  body:not(.admin-body) .hero-inner {
    min-height: 560px;
  }

  body:not(.admin-body) .hero h1 {
    font-size: clamp(38px, 13vw, 60px);
  }

  body:not(.admin-body) .highlight-grid,
  body:not(.admin-body) .product-facts {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .collections-section,
  body:not(.admin-body) .products-section,
  body:not(.admin-body) .delivery-section,
  body:not(.admin-body) .contact-section,
  body:not(.admin-body) .promo-section,
  body:not(.admin-body) .reviews-section,
  body:not(.admin-body) .project-collage-section,
  body:not(.admin-body) .video-section,
  body:not(.admin-body) .text-section,
  body:not(.admin-body) .image-text-section,
  body:not(.admin-body) .checkout-page {
    padding: 62px 0;
  }

  body:not(.admin-body) .product-detail-content {
    padding: 22px;
  }
}

/* Above-the-fold tightening for every non-homepage storefront page. */
body:not(.admin-body) main.checkout-page {
  padding-top: clamp(14px, 2vw, 28px) !important;
}

body:not(.admin-body) main:not(.homepage-sections) > .collection-hero:first-child {
  padding-top: clamp(16px, 2.4vw, 32px) !important;
  padding-bottom: clamp(14px, 2.4vw, 30px) !important;
}

body:not(.admin-body) main:not(.homepage-sections) > .collection-hero:first-child + .products-section,
body:not(.admin-body) main:not(.homepage-sections) > .collection-hero:first-child + .collections-section,
body:not(.admin-body) main:not(.homepage-sections) > .collection-hero:first-child + .search-section {
  padding-top: clamp(20px, 3vw, 40px) !important;
}

body:not(.admin-body) main.checkout-page > .container:first-child,
body:not(.admin-body) main:not(.homepage-sections) > .container:first-child {
  margin-top: 0 !important;
}

body:not(.admin-body) main:not(.homepage-sections) .section-heading:first-child,
body:not(.admin-body) main:not(.homepage-sections) .checkout-heading {
  margin-bottom: clamp(14px, 2vw, 22px) !important;
}

body:not(.admin-body) main:not(.homepage-sections) .breadcrumbs {
  margin-bottom: 12px !important;
}

@media (max-width: 640px) {
  body:not(.admin-body) main.checkout-page {
    padding-top: 12px !important;
  }

  body:not(.admin-body) main:not(.homepage-sections) > .collection-hero:first-child {
    padding-top: 14px !important;
    padding-bottom: 16px !important;
  }

  body:not(.admin-body) main:not(.homepage-sections) > .collection-hero:first-child + .products-section,
  body:not(.admin-body) main:not(.homepage-sections) > .collection-hero:first-child + .collections-section,
  body:not(.admin-body) main:not(.homepage-sections) > .collection-hero:first-child + .search-section {
    padding-top: 20px !important;
  }
}

.whatsapp-widget {
  bottom: 22px;
  display: grid;
  gap: 10px;
  justify-items: end;
  position: fixed;
  right: 22px;
  z-index: 90;
}

.whatsapp-widget.left {
  justify-items: start;
  left: 22px;
  right: auto;
}

.whatsapp-launcher {
  align-items: center;
  background: #0d0d0c;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 18px 46px rgba(13, 13, 12, 0.18);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  gap: 9px;
  min-height: 48px;
  padding: 6px 15px 6px 6px;
}

.whatsapp-launcher span {
  align-items: center;
  background: #25d366;
  border-radius: 999px;
  color: #0d0d0c;
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.whatsapp-launcher strong {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.whatsapp-panel {
  background: #ffffff;
  border: 1px solid #e8e3df;
  border-radius: 4px;
  box-shadow: 0 26px 70px rgba(13, 13, 12, 0.16);
  color: #0d0d0c;
  display: grid;
  gap: 14px;
  padding: 18px;
  width: min(330px, calc(100vw - 32px));
}

.whatsapp-panel[hidden],
.whatsapp-widget.is-closed .whatsapp-panel {
  display: none !important;
}

.whatsapp-widget.is-open .whatsapp-panel {
  display: grid;
}

.whatsapp-panel h2 {
  font-size: 22px;
  line-height: 1.1;
  margin: 4px 0 6px;
}

.whatsapp-panel p {
  color: #6b6661;
  font-size: 14px;
}

.whatsapp-form {
  display: grid;
  gap: 10px;
}

.whatsapp-form label {
  display: grid;
  gap: 5px;
}

.whatsapp-form label span {
  color: #6b6661;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.whatsapp-form input,
.whatsapp-form textarea {
  border: 1px solid #e0d9d3;
  border-radius: 3px;
  color: #0d0d0c;
  padding: 10px 11px;
  width: 100%;
}

@media (max-width: 640px) {
  .whatsapp-widget,
  .whatsapp-widget.left {
    bottom: 14px;
    left: 14px;
    right: 14px;
  }

  .whatsapp-widget {
    justify-items: end;
  }

  .whatsapp-panel {
    width: 100%;
  }
}
