:root {
  --ink: #25211f;
  --muted: #756e69;
  --line: #e8dfda;
  --paper: #fffaf7;
  --soft: #f5ebe6;
  --rose: #c96e76;
  --rose-dark: #9b4e59;
  --coral: #eaa08b;
  --sage: #8fa999;
  --mint: #eef5f0;
  --cream: #fbf4ee;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(83, 54, 47, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

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

.top-strip {
  background: #2b2522;
  color: #fff9f5;
  font-size: 13px;
  text-align: center;
  padding: 9px 16px;
  letter-spacing: .01em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 247, .94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(232, 223, 218, .86);
}

.header-grid {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 13px;
  color: #433b37;
}

.main-nav > a,
.nav-trigger {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition: color .18s ease, transform .18s ease;
}

.main-nav a:hover,
.nav-trigger:hover,
.nav-item:focus-within .nav-trigger,
.nav-item:hover .nav-trigger,
.text-link:hover,
.site-footer a:hover {
  color: var(--rose-dark);
}

.main-nav > a:hover,
.nav-item:hover .nav-trigger,
.nav-item:focus-within .nav-trigger {
  transform: translateY(-2px);
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-trigger {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: inherit;
}

.nav-trigger::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-dropdown {
  position: absolute;
  left: -18px;
  top: calc(100% + 18px);
  min-width: 250px;
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 247, .98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(-2px);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  color: #4f4742;
  white-space: nowrap;
}

.nav-dropdown a:hover {
  background: var(--soft);
}

.nav-dropdown-brands {
  min-width: 220px;
}

.brand {
  position: relative;
  text-align: center;
  line-height: .95;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 24px);
  color: #2d2926;
  padding-bottom: 2px;
}

.brand::after {
  content: "";
  display: block;
  width: min(100%, 154px);
  height: 1px;
  margin: 6px auto 0;
  background: #efad98;
}

.brand span {
  display: block;
  margin-top: 4px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 9px;
  letter-spacing: .42em;
  color: #e59a86;
  font-weight: 500;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.icon-button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  transition: transform .2s ease, border-color .2s ease;
}

.icon-button:hover {
  transform: translateY(-1px);
  border-color: #d5c8c1;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  border-radius: 999px;
  background: var(--rose);
  color: var(--white);
  font-size: 11px;
  display: grid;
  place-items: center;
  padding: 0 5px;
}

.menu-toggle { display: none; }

.hero {
  min-height: calc(100vh - 115px);
  display: grid;
  align-items: center;
  padding: 36px 0 58px;
}

.hero-panel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: absolute;
  left: clamp(28px, 6vw, 86px);
  bottom: clamp(28px, 6vw, 72px);
  z-index: 1;
  width: min(520px, calc(100% - 56px));
  padding: 0;
}

.eyebrow {
  color: var(--rose-dark);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 16px;
}

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

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 82px);
  line-height: .95;
  letter-spacing: 0;
  margin-bottom: 22px;
  max-width: 9ch;
}

.hero-content p:not(.eyebrow) {
  max-width: 460px;
  color: #5f5651;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
  margin-bottom: 28px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 46px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-1px); }
.button-dark { background: var(--ink); color: var(--white); box-shadow: 0 12px 28px rgba(37, 33, 31, .18); }
.button-light { background: var(--white); color: var(--ink); border-color: var(--line); }
.button-rose { background: var(--rose); color: var(--white); }
.button-danger { background: #fff; color: #9b3e45; border-color: #e4b9b8; }
.button-danger:hover { background: #fff4f3; }

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.service-item {
  padding: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  color: #4b443f;
  font-size: 14px;
  border-right: 1px solid var(--line);
}

.service-item:last-child { border-right: 0; }
.service-item svg { color: var(--sage); flex: 0 0 auto; }

.section { padding: 70px 0; }

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

.section-head h2,
.newsletter-section h2,
.editorial-panel h2,
.brand-panel h2,
.product-main h1,
.related-title {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
  margin-bottom: 8px;
}

.section-head p {
  color: var(--muted);
  max-width: 560px;
  line-height: 1.55;
  margin-bottom: 0;
}

.text-link {
  color: var(--rose-dark);
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}

button.text-link {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

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

.category-card[hidden] {
  display: none;
}

.category-card {
  min-height: 260px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 250, 247, .18) 0%, rgba(255, 250, 247, .62) 58%, rgba(255, 250, 247, .9) 100%);
  z-index: 0;
}

.category-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #fff8f4;
  border: 0;
  z-index: 0;
}

.category-card h3,
.category-card p {
  position: relative;
  z-index: 1;
  max-width: 92%;
}

.category-card span {
  margin-bottom: auto;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--rose-dark);
  font-weight: 800;
}

.category-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.category-card p {
  color: #5f544f;
  line-height: 1.45;
  margin-bottom: 0;
}

.product-band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: .9fr 1.6fr;
  gap: 28px;
  align-items: stretch;
}

.collection-card {
  background: var(--mint);
  border: 1px solid #d9e6de;
  border-radius: 8px;
  overflow: hidden;
  min-height: 100%;
  display: grid;
  grid-template-rows: minmax(230px, 1fr) auto;
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.collection-card div { padding: 24px; }

.collection-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.05;
  margin-bottom: 10px;
}

.collection-card p {
  color: #526159;
  line-height: 1.55;
  margin-bottom: 0;
}

.latest-blog-card {
  background: linear-gradient(180deg, #fff8f4 0%, var(--mint) 100%);
}

.latest-blog-image {
  display: block;
  min-height: 230px;
  overflow: hidden;
}

.blog-kicker {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.blog-card-link {
  display: inline-flex;
  margin-top: 18px;
}

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

.blog-list-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.blog-list-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.blog-list-card div {
  padding: 24px;
}

.blog-list-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.08;
  margin-bottom: 12px;
}

.blog-list-card p {
  color: var(--muted);
  line-height: 1.65;
}

.compact-hero {
  padding: 56px 0 46px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.compact-hero h1 {
  max-width: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5.8vw, 68px);
  line-height: 1;
  margin-bottom: 18px;
}

.compact-hero p {
  max-width: 760px;
  color: #5f5651;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
  margin-bottom: 0;
}

.blog-post-hero {
  padding: 54px 0 36px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #fffaf7 0%, #f7dfdd 52%, #eef5f0 100%);
}

.blog-post-hero .text-link {
  display: inline-flex;
  margin-bottom: 24px;
}

.blog-post-hero h1 {
  max-width: 860px;
  font-size: clamp(38px, 5.8vw, 68px);
  line-height: 1;
  margin-bottom: 18px;
}

.blog-post-hero p {
  max-width: 760px;
  color: #5f5651;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
  margin-bottom: 0;
}

.blog-post-body {
  padding: 42px 0 74px;
  background: var(--paper);
}

.blog-post-shell {
  max-width: 860px;
}

.blog-post-image {
  width: 100%;
  max-height: 460px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 28px;
}

.blog-content {
  color: #4f4742;
  font-size: 18px;
  line-height: 1.8;
}

.blog-content p,
.blog-content ul,
.blog-content ol {
  margin: 0 0 18px;
}

.blog-content ul,
.blog-content ol {
  padding-left: 24px;
}

.blog-content li + li {
  margin-top: 6px;
}

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

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

.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
  min-width: 0;
}

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

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transform: none;
  transition: transform .28s ease;
}

.product-card:hover .product-media img { transform: scale(1.03); }
.crop-1 { object-position: 18% 18%; }
.crop-2 { object-position: 52% 18%; }
.crop-3 { object-position: 84% 18%; }
.crop-4 { object-position: 18% 54%; }
.crop-5 { object-position: 52% 54%; }
.crop-6 { object-position: 84% 54%; }

.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 800;
  color: var(--rose-dark);
}

.product-info { padding: 15px; }

.product-title {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.25;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.add-button {
  width: 100%;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  transition: background .2s ease, color .2s ease;
}

.add-button:hover {
  background: var(--ink);
  color: var(--white);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}

.editorial-panel {
  min-height: 430px;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 8px;
  background: linear-gradient(135deg, #f7dfdd 0%, #fff7f0 48%, #e8f0eb 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.editorial-panel h2 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  margin-bottom: 18px;
}

.editorial-panel p, .brand-panel p {
  color: #655b55;
  line-height: 1.65;
}

.check-list {
  display: grid;
  gap: 13px;
}

.check-list span {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #4f4843;
  font-weight: 700;
}

.check-list span::before {
  content: "✓";
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--white);
  color: var(--rose-dark);
  display: grid;
  place-items: center;
  font-size: 14px;
  flex: 0 0 auto;
}

.brand-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 32px;
}

.brand-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.brand-list a {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: #514943;
  background: var(--paper);
  font-weight: 800;
  font-size: 14px;
}

.newsletter-section {
  background: #2b2522;
  color: #fff9f5;
  padding: 58px 0;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 480px);
  gap: 28px;
  align-items: center;
}

.newsletter-section h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  margin-bottom: 12px;
}

.newsletter-section p {
  color: #d8cbc4;
  line-height: 1.55;
  margin-bottom: 0;
  max-width: 640px;
}

.newsletter-signup {
  display: grid;
  gap: 10px;
}

.signup-form {
  display: flex;
  gap: 10px;
  background: var(--white);
  border-radius: 24px;
  padding: 6px;
}

.signup-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 14px;
  color: var(--ink);
  background: transparent;
}

.signup-form button {
  border: 0;
  border-radius: 999px;
  background: var(--rose);
  color: var(--white);
  min-height: 42px;
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
}

.newsletter-section .newsletter-note {
  max-width: none;
  margin: 0;
  padding: 0 14px;
  color: rgba(255, 249, 245, .56);
  font-size: 12px;
  line-height: 1.45;
}

.site-footer {
  background: var(--white);
  padding: 38px 0;
  color: #5e5651;
}

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

.site-footer h3 {
  color: var(--ink);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .13em;
  margin-bottom: 14px;
}

.site-footer a, .site-footer p {
  display: block;
  margin: 0 0 10px;
  line-height: 1.5;
  font-size: 14px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff8f5;
  color: var(--rose-dark);
  box-shadow: 0 12px 26px rgba(83, 54, 47, .08);
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.site-footer .social-icon:hover {
  transform: translateY(-2px);
  border-color: #d8a39c;
  background: var(--rose-dark);
  color: #fff;
}

.social-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.social-icon rect,
.social-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.social-icon circle:last-child {
  fill: currentColor;
  stroke: none;
}

.site-footer .footer-copy {
  width: min(100% - 32px, 1180px);
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #8b7d76;
  font-size: 13px;
  text-align: center;
}

.product-page {
  padding: 42px 0 72px;
}

.collection-page {
  padding-bottom: 72px;
}

.collection-hero {
  padding: 42px 0 34px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #fffaf7 0%, #f7dfdd 46%, #eef5f0 100%);
}

.collection-hero-grid {
  max-width: 780px;
}

.collection-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5.8vw, 64px);
  line-height: 1;
  margin-bottom: 16px;
}

.collection-hero p:not(.eyebrow) {
  max-width: 720px;
  color: #5f5651;
  line-height: 1.65;
  margin-bottom: 0;
}

.collection-hero p:not(.eyebrow) + p {
  margin-top: 16px;
}

.collection-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  padding-top: 34px;
}

.filter-panel {
  align-self: start;
  position: sticky;
  top: 105px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
}

.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.filter-head h2 {
  font-size: 16px;
  margin-bottom: 0;
}

.filter-head button {
  border: 0;
  background: transparent;
  color: var(--rose-dark);
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
}

.filter-panel details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.filter-panel details:first-of-type {
  border-top: 0;
}

.filter-panel summary {
  cursor: pointer;
  font-weight: 900;
  color: #403934;
  margin-bottom: 10px;
}

.filter-panel label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #5d544f;
  min-height: 30px;
  font-size: 14px;
}

.filter-panel input {
  accent-color: var(--rose);
}

.collection-results {
  min-width: 0;
}

.collection-toolbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.collection-toolbar p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 14px;
}

.collection-toolbar label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.collection-toolbar select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  padding: 0 34px 0 14px;
}

.filter-toggle {
  display: none;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.active-filters span {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #5d544f;
  font-size: 13px;
  font-weight: 800;
}

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

.listing-card .product-info {
  display: grid;
  gap: 9px;
}

.listing-card .product-title,
.listing-card .product-meta,
.listing-card .add-button {
  margin: 0;
}

.listing-subtitle {
  color: #6d625d;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 24px;
}

.breadcrumb a { color: #514943; font-weight: 700; }

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.gallery {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.thumbs {
  display: grid;
  gap: 12px;
}

.thumb {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.thumb.is-active { border-color: var(--rose-dark); }

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  transform: none;
}

.product-visual {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  overflow: hidden;
  aspect-ratio: 1 / 1.08;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
  transform: none;
}

.product-main {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 12px 38px rgba(83, 54, 47, .08);
}

.product-main h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
  margin-bottom: 8px;
}

.product-subtitle {
  color: #6d625d;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 300;
  line-height: 1.35;
  margin-bottom: 16px;
}

.rating-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.stars {
  color: #b88756;
  letter-spacing: .08em;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.current-price {
  font-size: 26px;
  font-weight: 900;
}

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

.product-copy {
  color: #5f5651;
  line-height: 1.65;
  margin-bottom: 24px;
}

.option-group {
  margin-bottom: 20px;
}

.option-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #514943;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 10px;
}

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

.swatch {
  min-width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--swatch);
  cursor: pointer;
  box-shadow: inset 0 0 0 4px var(--white);
}

.swatch.is-active {
  border-color: var(--ink);
  outline: 2px solid rgba(37, 33, 31, .12);
}

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

.size-option {
  min-width: 92px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
  font-weight: 900;
  padding: 0 18px;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.size-option:hover,
.size-option.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.purchase-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 12px;
  margin: 22px 0 18px;
}

.quantity {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  background: var(--paper);
}

.quantity button {
  border: 0;
  background: transparent;
  height: 48px;
  cursor: pointer;
  font-weight: 900;
}

.quantity output {
  text-align: center;
  font-weight: 900;
}

.info-list {
  display: grid;
  gap: 10px;
  padding: 18px 0 0;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.info-list span {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #524b46;
  font-size: 14px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
}

.product-tags span {
  min-height: 34px;
  border: 1px solid #d9e6de;
  border-radius: 999px;
  background: var(--mint);
  color: #526159;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 800;
}

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

.details-accordion details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

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

.details-accordion p {
  color: var(--muted);
  line-height: 1.6;
  margin: 12px 0 0;
}

.related-products {
  padding-top: 66px;
}

.reviews-section {
  padding-top: 64px;
}

.reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 22px;
}

.reviews-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  margin-bottom: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr .72fr;
  gap: 16px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.review-card h3 {
  font-size: 18px;
  margin: 10px 0 8px;
}

.review-card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.review-card span {
  color: #514943;
  font-size: 14px;
  font-weight: 800;
}

.review-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--mint);
  border-color: #d9e6de;
}

.review-summary strong {
  display: block;
  font-size: 42px;
  line-height: 1;
  margin-bottom: 12px;
}

.review-summary p {
  margin-bottom: 0;
  color: #526159;
}

.review-form {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  padding: 22px;
}

.review-form[hidden] {
  display: none;
}

.review-form h3 {
  font-size: 20px;
  margin-bottom: 14px;
}

.review-form .button {
  margin-top: 14px;
}

.related-title {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  margin-bottom: 24px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 110px);
  background: var(--ink);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: transform .24s ease;
  z-index: 30;
  font-weight: 800;
  font-size: 14px;
}

.toast.is-visible { transform: translate(-50%, 0); }

.cart-overlay,
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(37, 33, 31, .32);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
  z-index: 40;
}

.cart-drawer,
.search-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(440px, 100%);
  height: 100vh;
  background: var(--paper);
  box-shadow: -18px 0 50px rgba(83, 54, 47, .16);
  transform: translateX(104%);
  transition: transform .24s ease;
  z-index: 41;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.search-panel {
  width: min(520px, 100%);
  grid-template-rows: auto auto 1fr;
}

.cart-is-open .cart-overlay,
.search-is-open .search-overlay {
  opacity: 1;
  visibility: visible;
}

.cart-is-open .cart-drawer,
.search-is-open .search-panel {
  transform: translateX(0);
}

.cart-header,
.search-header,
.cart-footer {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 18px 20px;
}

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

.cart-header h2,
.search-header h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 0;
}

.cart-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

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

.search-field {
  display: grid;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  background: #fffaf7;
  padding: 16px 20px;
}

.search-field span {
  color: #4f4742;
  font-size: 13px;
  font-weight: 900;
}

.search-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 0 14px;
  outline: 0;
}

.search-field input:focus {
  border-color: #d7a0a7;
  box-shadow: 0 0 0 4px rgba(201, 110, 118, .12);
}

.search-results {
  overflow-y: auto;
  padding: 12px 20px 20px;
}

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

.search-result-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.search-result-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.search-result-title {
  color: var(--ink);
  font-weight: 900;
  line-height: 1.25;
}

.search-result-title:hover {
  color: var(--rose-dark);
}

.search-result p,
.search-result span,
.search-result small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  margin: 3px 0 0;
}

.search-result strong {
  white-space: nowrap;
}

.search-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  line-height: 1.5;
}

.cart-empty {
  min-height: 260px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  line-height: 1.55;
}

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

.cart-item-media {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: var(--soft);
  overflow: hidden;
}

.cart-item-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  transform: none;
}

.cart-item-body {
  min-width: 0;
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.cart-item-title {
  font-weight: 900;
  line-height: 1.25;
}

.cart-item-subtitle {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  margin: 4px 0 8px;
}

.cart-item-price {
  font-weight: 900;
  white-space: nowrap;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-quantity {
  min-width: 106px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  background: var(--white);
}

.cart-quantity button,
.cart-remove {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cart-quantity output {
  text-align: center;
  font-weight: 900;
  font-size: 13px;
}

.cart-remove {
  color: var(--rose-dark);
  font-size: 13px;
  font-weight: 800;
}

.cart-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  display: grid;
  gap: 14px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.cart-summary-row span {
  color: var(--muted);
}

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

.cart-shipping-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.cart-checkout {
  width: 100%;
}

.checkout-page {
  padding: 34px 0 72px;
  background:
    linear-gradient(180deg, rgba(245, 235, 230, .8), rgba(255, 250, 247, 0) 280px),
    var(--paper);
}

.checkout-head {
  max-width: 620px;
  margin: 22px 0 28px;
}

.checkout-head h1 {
  max-width: none;
  margin-bottom: 0;
}

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

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

.checkout-section,
.checkout-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 16px 42px rgba(83, 54, 47, .07);
}

.checkout-section {
  padding: 22px;
}

.checkout-section-head {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 18px;
}

.checkout-section-head > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--soft);
  color: var(--rose-dark);
  font-weight: 900;
}

.checkout-section h2,
.checkout-summary h2 {
  margin-bottom: 4px;
  font-size: 20px;
  line-height: 1.2;
}

.checkout-section p,
.checkout-note,
.delivery-location p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 14px;
}

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

.form-grid label,
.delivery-location label {
  display: grid;
  gap: 7px;
}

.form-grid span,
.delivery-location span {
  color: #4f4742;
  font-size: 13px;
  font-weight: 900;
}

.form-grid input,
.form-grid select,
.form-grid textarea,
.delivery-location input,
.delivery-location select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 0 13px;
  color: var(--ink);
  outline: 0;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus,
.delivery-location input:focus,
.delivery-location select:focus {
  border-color: #d7a0a7;
  box-shadow: 0 0 0 4px rgba(201, 110, 118, .12);
}

.form-grid textarea {
  resize: vertical;
  line-height: 1.5;
  padding-top: 12px;
}

.account-page {
  background:
    linear-gradient(180deg, rgba(245, 235, 230, .8), rgba(255, 250, 247, 0) 300px),
    var(--paper);
  padding: 44px 0 72px;
}

.account-head {
  max-width: 680px;
  margin-bottom: 24px;
}

.account-head h1 {
  max-width: none;
}

.account-head p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  gap: 20px;
  align-items: start;
}

.account-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 14px 34px rgba(83, 54, 47, .06);
  padding: 22px;
}

.account-card h2 {
  font-size: 20px;
  margin-bottom: 14px;
}

.account-card form .button {
  margin-top: 14px;
}

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

.account-order {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 13px;
}

.account-order span,
.account-empty {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  margin-top: 4px;
}

.account-order b,
.account-order a {
  display: block;
  text-align: right;
}

.account-order a {
  color: var(--rose-dark);
  font-size: 13px;
  font-weight: 900;
  margin-top: 5px;
}

.info-page {
  background:
    linear-gradient(180deg, rgba(245, 235, 230, .82), rgba(255, 250, 247, 0) 320px),
    var(--paper);
  padding: 48px 0 76px;
}

.info-layout {
  display: grid;
  grid-template-columns: minmax(260px, .55fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.info-head {
  position: sticky;
  top: 96px;
}

.info-head h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 900;
}

.info-head p {
  color: var(--muted);
  line-height: 1.6;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 14px 34px rgba(83, 54, 47, .06);
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
  color: var(--ink);
}

.faq-list p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  padding: 0 20px 16px;
}

.faq-list ul {
  color: var(--muted);
  line-height: 1.65;
  margin: -6px 0 16px;
  padding: 0 20px 0 42px;
}

.faq-list a {
  color: var(--rose-dark);
  font-weight: 900;
}

.policy-content {
  display: grid;
  gap: 14px;
}

.policy-content article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 14px 34px rgba(83, 54, 47, .06);
  padding: 22px;
}

.policy-content h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.policy-content p,
.policy-content li {
  color: var(--muted);
  line-height: 1.65;
}

.policy-content p {
  margin: 0 0 10px;
}

.policy-content p:last-child {
  margin-bottom: 0;
}

.policy-content ul {
  margin: 4px 0 12px;
  padding-left: 22px;
}

.policy-content a {
  color: var(--rose-dark);
  font-weight: 900;
}

.policy-content h3 {
  font-size: 17px;
  margin: 18px 0 8px;
}

.policy-table-wrap {
  overflow-x: auto;
  margin: 8px 0 16px;
}

.policy-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

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

.policy-table th {
  color: var(--ink);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.form-grid input[readonly] {
  background: #f8f1ed;
  color: #5d554f;
}

.form-span-2 {
  grid-column: 1 / -1;
}

.choice-stack {
  display: grid;
  gap: 10px;
}

.choice-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 13px 14px;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.choice-card:hover,
.choice-card:has(input:checked) {
  border-color: #d7a0a7;
  background: #fff7f4;
}

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

.choice-card input {
  width: 18px;
  height: 18px;
  accent-color: var(--rose-dark);
}

.choice-card strong {
  display: block;
  line-height: 1.25;
}

.choice-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.35;
}

.choice-card b {
  white-space: nowrap;
}

.choice-card b.is-free {
  color: var(--rose-dark);
}

.delivery-location {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.delivery-location[hidden] {
  display: none;
}

.location-results {
  display: grid;
  gap: 6px;
}

.location-option,
.location-empty {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 11px 12px;
  text-align: left;
}

.location-option {
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.location-option:hover,
.location-option:focus-visible {
  border-color: #d7a0a7;
  background: #fff7f4;
  transform: translateY(-1px);
  outline: 0;
}

.location-option strong {
  display: block;
  line-height: 1.25;
}

.location-option span,
.location-empty {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.location-option span {
  display: block;
  margin-top: 4px;
}

.checkout-summary {
  position: sticky;
  top: 104px;
  padding: 22px;
  display: grid;
  gap: 16px;
}

.checkout-items {
  display: grid;
  gap: 12px;
}

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

.checkout-item-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.checkout-item-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  transform: none;
}

.checkout-item h3 {
  font-size: 14px;
  line-height: 1.25;
  margin-bottom: 3px;
}

.checkout-item p,
.checkout-item span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.checkout-item strong {
  font-size: 14px;
  white-space: nowrap;
}

.checkout-empty {
  min-height: 120px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  line-height: 1.45;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
}

.checkout-empty[hidden] {
  display: none;
}

.promo-box {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff7f4;
  padding: 12px;
}

.promo-box label {
  display: grid;
  gap: 8px;
}

.promo-box label > span {
  color: #4f4742;
  font-size: 12px;
  font-weight: 900;
}

.promo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.promo-row input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 0 12px;
  outline: 0;
  text-transform: uppercase;
}

.promo-row input:focus {
  border-color: #d7a0a7;
  box-shadow: 0 0 0 4px rgba(201, 110, 118, .12);
}

.promo-box p {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.promo-box p.is-success {
  color: #557565;
}

.promo-box p.is-error {
  color: #a04f5d;
}

.summary-lines {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.summary-lines div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

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

.summary-total {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.summary-total strong {
  font-size: 22px;
}

.checkout-agreement {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.45;
}

.checkout-agreement input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--rose-dark);
}

.checkout-agreement a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-submit {
  width: 100%;
}

.checkout-submit:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.confirmation-page {
  padding: 34px 0 72px;
  background:
    linear-gradient(180deg, rgba(245, 235, 230, .8), rgba(255, 250, 247, 0) 280px),
    var(--paper);
}

.confirmation-panel {
  margin: 24px 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 18px 48px rgba(83, 54, 47, .08);
  padding: clamp(26px, 5vw, 52px);
}

.confirmation-panel h1 {
  max-width: 620px;
  margin-bottom: 14px;
}

.confirmation-panel p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.confirmation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.confirmation-card,
.confirmation-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 14px 34px rgba(83, 54, 47, .06);
  padding: 20px;
}

.confirmation-card h2,
.confirmation-summary h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.confirmation-card p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 6px;
}

.confirmation-summary {
  display: grid;
  gap: 16px;
}

.admin-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  background: #f7f1ed;
}

.admin-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at 30% 20%, #f7e4df 0, transparent 32%), #fffaf7;
}

.admin-login-card {
  width: min(460px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 34px;
  box-shadow: 0 22px 60px rgba(43, 37, 35, .08);
}

.admin-login-brand {
  text-align: center;
  margin-bottom: 26px;
}

.admin-login-brand img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #efad98;
  margin: 0 auto 12px;
}

.admin-login-brand p {
  margin: 0;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.admin-login-brand span {
  color: var(--rose-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.admin-login-card h1 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 7vw, 4rem);
}

.admin-login-card form {
  display: grid;
  gap: 16px;
}

.admin-login-error {
  margin: 0;
  color: var(--rose-dark);
  font-weight: 800;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid var(--line);
  background: #fffaf7;
  padding: 28px 22px;
}

.admin-brand {
  display: block;
  text-align: left;
  margin-bottom: 34px;
}

.admin-brand::after {
  margin-left: 0;
  margin-right: 0;
  width: 138px;
}

.admin-nav {
  display: grid;
  gap: 8px;
}

.admin-nav a {
  min-height: 42px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 12px;
  color: #4f4742;
  font-weight: 800;
  transition: background .18s ease, color .18s ease;
}

.admin-nav a:hover,
.admin-nav a.is-active {
  background: var(--soft);
  color: var(--rose-dark);
}

.admin-logout-button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  margin-top: 8px;
  padding: 0 12px;
  background: transparent;
  color: #4f4742;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.admin-logout-button:hover {
  background: var(--soft);
  color: var(--rose-dark);
}

.launch-checklist {
  display: grid;
  gap: 12px;
}

.launch-check {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf7;
  padding: 16px;
}

.launch-check.is-done {
  border-color: rgba(91, 124, 100, .32);
  background: #eef7f1;
}

.launch-check label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.launch-check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--rose-dark);
}

.launch-check strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.launch-check small {
  display: block;
  color: var(--muted);
  line-height: 1.45;
}

.launch-check-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.launch-next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.launch-next-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf7;
  padding: 18px;
}

.launch-next-grid h3 {
  margin-bottom: 8px;
}

.launch-next-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.admin-main {
  min-width: 0;
  padding: 30px;
}

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

.admin-header h1 {
  max-width: none;
  margin-bottom: 0;
}

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

.admin-metrics article,
.admin-table-card,
.admin-detail-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 14px 34px rgba(83, 54, 47, .06);
}

.admin-metrics article {
  padding: 18px;
}

.admin-metrics span,
.admin-card-head span,
.admin-table td span,
.admin-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.admin-metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
  line-height: 1;
}

.admin-metrics .admin-email-sender {
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, .75fr);
  gap: 18px;
  align-items: start;
}

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

.admin-dashboard-list,
.admin-dashboard-summary {
  display: grid;
  gap: 10px;
}

.admin-dashboard-item,
.admin-dashboard-summary article {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 13px;
}

.admin-dashboard-item strong,
.admin-dashboard-summary strong {
  color: var(--ink);
  line-height: 1.25;
}

.admin-dashboard-item span,
.admin-dashboard-summary span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.admin-order-editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.admin-order-detail-wide {
  position: static;
}

.admin-order-detail-wide .admin-update-form {
  grid-template-columns: minmax(180px, .55fr) minmax(220px, .7fr) minmax(260px, 1fr) auto;
  align-items: end;
}

.admin-order-detail-wide .admin-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-blog-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(320px, .72fr);
  gap: 18px;
  align-items: start;
}

.admin-promo-layout {
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .7fr);
}

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

.admin-promo-form label {
  display: grid;
  gap: 7px;
  color: #4f4742;
  font-size: 13px;
  font-weight: 900;
}

.admin-promo-form input,
.admin-promo-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 0 12px;
  outline: 0;
  font: inherit;
  font-weight: 500;
}

.admin-promo-form input:focus,
.admin-promo-form select:focus {
  border-color: #d7a0a7;
  box-shadow: 0 0 0 4px rgba(201, 110, 118, .12);
}

.admin-blog-side {
  display: grid;
  gap: 18px;
}

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

.admin-table-card,
.admin-detail-card {
  padding: 18px;
}

.admin-card-head,
.admin-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.admin-card-head h2,
.admin-detail-head h2 {
  font-size: 20px;
  margin-bottom: 0;
}

.admin-product-tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff7f4;
  padding: 12px;
  margin-bottom: 14px;
}

.admin-product-tools label {
  display: grid;
  gap: 6px;
}

.admin-product-tools span {
  color: #4f4742;
  font-size: 12px;
  font-weight: 900;
}

.admin-product-tools input,
.admin-product-tools select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 0 12px;
  outline: 0;
}

.admin-product-tools input:focus,
.admin-product-tools select:focus {
  border-color: #d7a0a7;
  box-shadow: 0 0 0 4px rgba(201, 110, 118, .12);
}

.admin-data-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.admin-data-panel article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff7f4;
  padding: 18px;
}

.admin-data-panel h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.admin-data-panel p {
  color: #6f625c;
  line-height: 1.6;
  margin-bottom: 14px;
}

.admin-advanced-backup {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf8;
  padding: 0;
}

.admin-advanced-backup summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  padding: 18px;
  color: var(--ink);
  font-weight: 900;
  list-style: none;
}

.admin-advanced-backup summary::-webkit-details-marker {
  display: none;
}

.admin-advanced-backup summary::after {
  content: "+";
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--white);
  color: #9f555f;
}

.admin-advanced-backup[open] summary::after {
  content: "-";
}

.admin-advanced-backup summary small {
  color: #8a7a72;
  font-size: 13px;
  font-weight: 700;
}

.admin-advanced-backup .admin-data-panel,
.admin-advanced-backup .admin-data-json-field,
.admin-advanced-backup .admin-action-row {
  margin-left: 18px;
  margin-right: 18px;
}

.admin-advanced-backup .admin-action-row {
  margin-bottom: 18px;
}

.admin-file-picker,
.admin-data-json-field {
  display: grid;
  gap: 8px;
}

.admin-file-picker span,
.admin-data-json-field span {
  color: #4f4742;
  font-size: 12px;
  font-weight: 900;
}

.admin-file-picker input,
.admin-data-json-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 12px;
}

.admin-data-json-field {
  margin-bottom: 14px;
}

.admin-data-json-field textarea {
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 1.5;
  resize: vertical;
}

.admin-info-note {
  border: 1px solid #d8e4da;
  border-radius: 8px;
  background: #eef7f0;
  color: #44564a;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.45;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 248, .98);
  box-shadow: 0 18px 55px rgba(35, 29, 27, .18);
  padding: 18px;
}

.cookie-banner h2 {
  margin-bottom: 6px;
  font-size: 22px;
}

.cookie-banner p {
  color: #6f625c;
  line-height: 1.55;
  margin-bottom: 8px;
}

.cookie-banner a {
  color: #9f555f;
  font-weight: 900;
}

.cookie-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  padding-top: 2px;
}

.cookie-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 9px 12px;
  font-weight: 900;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.cookie-manage-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
}

.invoice-body {
  background: #ece7e3;
  color: #161616;
  font-family: Arial, sans-serif;
}

.invoice-page-shell,
.invoice-toolbar {
  width: min(1120px, calc(100% - 32px));
  margin: 20px auto;
}

.invoice-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.invoice-batch-note {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 18px;
  color: #655d58;
  text-align: center;
  font-size: 14px;
}

.invoice-sheet {
  width: 210mm;
  min-height: 297mm;
  margin: 0 auto 28px;
  background: #fff;
  padding: 16mm 14mm;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .12);
  font-size: 12px;
  line-height: 1.35;
}

.invoice-sheet h1,
.invoice-sheet h2,
.invoice-sheet h3,
.invoice-sheet p {
  margin: 0;
}

.invoice-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  margin-bottom: 20mm;
}

.invoice-header h1 {
  font-family: Georgia, serif;
  font-size: 25px;
  margin-bottom: 8mm;
}

.invoice-header h2 {
  font-size: 30px;
  letter-spacing: .03em;
  text-align: right;
  margin-bottom: 7mm;
}

.invoice-header p {
  margin-bottom: 6mm;
  white-space: nowrap;
}

.invoice-header > div:last-child {
  text-align: right;
}

.invoice-party-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid #111;
  margin-bottom: 2mm;
}

.invoice-party-grid > div {
  min-height: 42mm;
  padding: 3mm;
}

.invoice-party-grid > div + div {
  border-left: 2px solid #111;
}

.invoice-party-grid h3,
.invoice-section-title {
  font-size: 15px;
  font-weight: 900;
}

.invoice-party-grid p {
  margin-top: 6mm;
}

.invoice-meta-table,
.invoice-products-table,
.invoice-totals-table {
  width: 100%;
  border-collapse: collapse;
}

.invoice-meta-table {
  margin-bottom: 2mm;
}

.invoice-meta-table th,
.invoice-meta-table td,
.invoice-products-table th,
.invoice-products-table td,
.invoice-totals-table th,
.invoice-totals-table td {
  border: 2px solid #111;
  padding: 3mm;
  vertical-align: top;
}

.invoice-meta-table th,
.invoice-products-table th,
.invoice-totals-table .invoice-total-row th,
.invoice-totals-table .invoice-total-row td {
  background: #eeeeee;
  font-weight: 900;
}

.invoice-products-table th,
.invoice-products-table td {
  text-align: center;
}

.invoice-products-table th:nth-child(2),
.invoice-products-table td:nth-child(2) {
  text-align: left;
}

.invoice-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .72fr);
  gap: 18mm;
  margin-top: 5mm;
}

.invoice-words {
  align-self: end;
  font-weight: 700;
}

.invoice-totals-table th,
.invoice-totals-table td {
  text-align: right;
}

.invoice-thanks {
  margin-top: 23mm;
  text-align: right;
  font-weight: 700;
}

.invoice-sheet footer {
  margin-top: 43mm;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
}

.waybill-sheet {
  width: 180mm;
  min-height: 240mm;
  margin: 0 auto 28px;
  background: #fff;
  padding: 14mm;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .12);
  color: #151515;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.waybill-sheet h1,
.waybill-sheet h2,
.waybill-sheet h3,
.waybill-sheet p {
  margin: 0;
}

.waybill-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  border-bottom: 3px solid #111;
  padding-bottom: 10mm;
  margin-bottom: 8mm;
}

.waybill-header h1 {
  font-family: Georgia, serif;
  font-size: 24px;
  margin-bottom: 4mm;
}

.waybill-header h2 {
  font-size: 28px;
  text-align: right;
  margin-bottom: 4mm;
}

.waybill-header > div:last-child {
  text-align: right;
}

.waybill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid #111;
  margin-bottom: 6mm;
}

.waybill-grid > div {
  padding: 4mm;
  min-height: 44mm;
}

.waybill-grid > div + div {
  border-left: 2px solid #111;
}

.waybill-grid h3,
.waybill-content h3 {
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 4mm;
}

.waybill-grid p {
  margin-bottom: 3mm;
}

.waybill-content {
  border: 2px solid #111;
  padding: 4mm;
  min-height: 32mm;
  margin-bottom: 8mm;
}

.waybill-barcode {
  display: grid;
  place-items: center;
  min-height: 34mm;
  border: 2px dashed #111;
  font-family: "Courier New", monospace;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .12em;
  margin-bottom: 12mm;
}

.waybill-sheet footer {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.admin-table-wrap {
  overflow-x: auto;
}

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

.admin-subscribers-table {
  min-width: 560px;
}

.admin-email-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
}

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

.admin-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.admin-table tbody tr {
  cursor: pointer;
  transition: background .18s ease;
}

.admin-table tbody tr:hover,
.admin-table tbody tr.is-active {
  background: #fff7f4;
}

.admin-product-link {
  display: inline-grid;
  gap: 3px;
  color: var(--ink);
}

.admin-product-link:hover strong {
  color: var(--rose-dark);
}

.stock-input {
  width: 96px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 0 10px;
  font-weight: 900;
}

.stock-input:focus {
  border-color: #d7a0a7;
  box-shadow: 0 0 0 4px rgba(201, 110, 118, .12);
  outline: 0;
}

.status-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  background: var(--mint);
  color: #526159;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.admin-detail-card {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 16px;
}

.admin-update-form {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff7f4;
  padding: 14px;
}

.admin-update-form label {
  display: grid;
  gap: 6px;
}

.admin-update-form span {
  color: #4f4742;
  font-size: 12px;
  font-weight: 900;
}

.admin-update-form input,
.admin-update-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 0 12px;
  outline: 0;
}

.admin-update-form input:focus,
.admin-update-form select:focus {
  border-color: #d7a0a7;
  box-shadow: 0 0 0 4px rgba(201, 110, 118, .12);
}

.admin-detail-grid {
  display: grid;
  gap: 12px;
}

.admin-detail-grid section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 14px;
}

.admin-detail-grid h3 {
  font-size: 14px;
  margin-bottom: 7px;
}

.admin-detail-grid p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 5px;
}

.admin-track-link {
  color: var(--rose-dark);
  font-weight: 900;
}

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

.admin-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.admin-item b {
  white-space: nowrap;
}

.admin-vat,
.admin-email-log {
  display: grid;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 14px;
}

.admin-vat h3,
.admin-email-log h3 {
  font-size: 14px;
  margin-bottom: 4px;
}

.admin-vat div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.admin-vat strong {
  color: var(--ink);
  white-space: nowrap;
}

.admin-email-log article {
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
}

.admin-email-log article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-email-log strong,
.admin-email-log span {
  display: block;
}

.admin-email-log span,
.admin-email-log p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.admin-email-log p {
  margin: 5px 0 0;
}

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

.admin-editor-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 34px rgba(83, 54, 47, .06);
  padding: 18px;
}

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

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

.editor-field-wide {
  grid-column: 1 / -1;
}

.editor-field span {
  color: #4f4742;
  font-size: 13px;
  font-weight: 900;
}

.editor-field small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.editor-field input,
.editor-field select,
.editor-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 12px 13px;
  outline: 0;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.editor-field input,
.editor-field select {
  min-height: 46px;
}

.editor-field input[type="hidden"] {
  display: none;
}

.image-upload-input {
  min-height: auto;
  border-style: dashed;
  background: #fffaf7;
  cursor: pointer;
}

.image-upload-input::file-selector-button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  margin-right: 10px;
  padding: 0 12px;
  cursor: pointer;
  font-weight: 900;
}

.editor-field textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}

.admin-blog-form textarea[name="excerpt"] {
  min-height: 150px;
}

.admin-blog-form textarea[name="content"] {
  min-height: 560px;
}

.admin-blog-form textarea[name="metaDescription"] {
  min-height: 150px;
}

.admin-blog-form .editor-grid {
  grid-template-columns: minmax(0, 1fr) minmax(220px, .42fr);
}

.admin-blog-form .editor-field-wide {
  grid-column: 1 / -1;
}

.editor-field input:focus,
.editor-field select:focus,
.editor-field textarea:focus {
  border-color: #d7a0a7;
  box-shadow: 0 0 0 4px rgba(201, 110, 118, .12);
}

.editor-field input[readonly] {
  background: #f8f1ed;
  color: #6b625c;
}

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

.editor-check {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 0 13px;
  cursor: pointer;
  font-weight: 900;
}

.editor-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--rose-dark);
}

.variant-editor-list {
  display: grid;
  gap: 12px;
}

.variant-editor-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf7;
  padding: 14px;
}

.variant-row-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.variant-row-head strong {
  font-size: 14px;
}

.variant-row-head span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  margin-top: 3px;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--rose-dark);
  cursor: pointer;
  font-weight: 900;
}

.text-button-danger {
  color: #9b3e45;
}

.admin-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.text-button:disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: .45;
}

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

.variant-image-field {
  grid-column: 1 / -1;
  min-width: 0;
}

.rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #fffaf7;
  padding: 7px;
}

.rich-toolbar button {
  min-height: 32px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  padding: 0 10px;
  cursor: pointer;
  font-weight: 900;
}

.rich-toolbar button:hover {
  border-color: var(--line);
  background: var(--white);
}

.rich-toolbar + textarea {
  border-radius: 0 0 8px 8px;
}

.product-rich-text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.product-rich-text p,
.product-rich-text ul,
.product-rich-text ol {
  margin: 0 0 10px;
}

.product-rich-text ul,
.product-rich-text ol {
  padding-left: 22px;
}

.product-rich-text li + li {
  margin-top: 4px;
}

.editor-span-2 {
  grid-column: 1 / -1;
}

.editor-media-layout,
.editor-seo-layout {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
  gap: 18px;
  align-items: start;
}

.editor-seo-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
}

.admin-blog-list {
  display: grid;
  gap: 8px;
  max-height: 310px;
  overflow: auto;
  padding-right: 4px;
}

.admin-blog-list-item {
  width: 100%;
  display: grid;
  gap: 5px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 12px;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.admin-blog-list-item:hover,
.admin-blog-list-item.is-active {
  border-color: #d7a0a7;
  background: #fff7f4;
  transform: translateY(-1px);
}

.admin-blog-list-item strong {
  font-size: 14px;
  line-height: 1.25;
}

.admin-blog-list-item span,
.admin-blog-list-item em {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-style: normal;
}

.admin-blog-seo {
  display: grid;
  gap: 14px;
}

.admin-blog-seo-preview {
  margin-top: 14px;
}

.image-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  background: var(--soft);
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transform: none;
}

.seo-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf7;
  padding: 16px;
}

.seo-preview img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 7px;
  object-fit: cover;
  margin-bottom: 12px;
}

.seo-preview span,
.seo-preview p {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.seo-preview strong {
  display: block;
  margin: 8px 0 5px;
  color: #1a0dab;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 500;
}

.seo-preview p {
  color: #4d5156;
  margin: 0;
}

.editor-actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 247, .94);
  padding: 14px;
  box-shadow: 0 -10px 28px rgba(83, 54, 47, .08);
  backdrop-filter: blur(10px);
}

.admin-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 247, .94);
  padding: 14px;
  box-shadow: 0 -10px 28px rgba(83, 54, 47, .08);
}

.admin-empty-text {
  color: var(--muted);
  line-height: 1.45;
  margin: 8px 0 16px;
}

@media (max-width: 920px) {
  .admin-page { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .admin-nav { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
  .admin-layout, .admin-metrics, .admin-product-tools, .admin-dashboard-grid, .admin-blog-editor-layout, .admin-promo-layout, .admin-data-panel, .editor-media-layout, .editor-seo-layout, .launch-next-grid { grid-template-columns: 1fr; }
  .launch-check {
    grid-template-columns: 1fr;
  }
  .launch-check-actions {
    justify-content: space-between;
  }
  .admin-order-detail-wide .admin-update-form,
  .admin-order-detail-wide .admin-detail-grid { grid-template-columns: 1fr; }
  .admin-blog-form .editor-grid { grid-template-columns: 1fr; }
  .admin-blog-form textarea[name="content"] { min-height: 380px; }
  .admin-detail-card { position: static; }
  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
    grid-template-columns: 1fr;
  }
  .cookie-actions {
    justify-content: flex-start;
  }
  .header-grid { grid-template-columns: auto 1fr auto; }
  .menu-toggle { display: inline-grid; }
  .brand { text-align: left; }
  .hide-mobile { display: none; }

  .main-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 105px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 18px;
    max-height: calc(100vh - 105px);
    overflow-y: auto;
  }

  .main-nav.is-open { display: flex; }
  .main-nav a,
  .nav-item,
  .nav-trigger {
    width: 100%;
  }

  .main-nav > a,
  .nav-trigger {
    min-height: 44px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    transform: none;
  }

  .main-nav > a:hover,
  .nav-item:hover .nav-trigger,
  .nav-item:focus-within .nav-trigger {
    transform: none;
  }

  .nav-dropdown {
    position: static;
    min-width: 0;
    padding: 6px 0 10px 12px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .nav-dropdown::before { display: none; }
  .nav-dropdown a { min-height: 36px; padding: 0; white-space: normal; }
  .hero-panel { min-height: 590px; }
  .hero-image { object-position: 36% center; }
  .service-strip { grid-template-columns: repeat(2, 1fr); }
  .service-item:nth-child(2) { border-right: 0; }
  .service-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .split-layout, .newsletter-grid, .product-detail, .checkout-layout, .confirmation-grid, .account-layout, .info-layout, .blog-list-grid { grid-template-columns: 1fr; }
  .info-head { position: static; }
  .checkout-summary { position: static; }
  .collection-layout { grid-template-columns: 1fr; }
  .filter-panel {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
  }
  .filter-head { grid-column: 1 / -1; }
  .collection-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 24px, 1180px); }
  .top-strip { font-size: 12px; }
  .hero { padding-top: 18px; }
  .hero-panel { min-height: 560px; }
  .hero-content {
    left: 20px;
    right: 20px;
    bottom: 22px;
    width: auto;
    padding: 0;
  }
  h1 { max-width: 8ch; }
  .button-row .button { width: 100%; }
  .section { padding: 48px 0; }
  .section-head { display: block; }
  .section-head .text-link { display: inline-block; margin-top: 16px; }
  .service-strip, .category-grid, .product-grid, .product-grid-short, .brand-list, .footer-grid { grid-template-columns: 1fr; }
  .collection-product-grid, .filter-panel, .collection-toolbar, .form-grid, .editor-grid, .editor-check-grid, .variant-row-grid { grid-template-columns: 1fr; }
  .editor-actions { position: static; flex-direction: column-reverse; }
  .editor-actions .button { width: 100%; }
  .collection-toolbar label { align-items: flex-start; flex-direction: column; }
  .collection-toolbar select, .filter-toggle { width: 100%; }
  .filter-toggle { display: inline-flex; }
  .service-item { border-right: 0; justify-content: flex-start; }
  .service-item:not(:last-child) { border-bottom: 1px solid var(--line); }
  .signup-form { border-radius: 20px; flex-direction: column; padding: 8px; }
  .promo-row { grid-template-columns: 1fr; }
  .signup-form input { min-height: 44px; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .product-main { padding: 22px; }
  .purchase-row { grid-template-columns: 1fr; }
  .reviews-head { display: block; }
  .reviews-head .button { width: 100%; margin-top: 16px; }
  .cart-drawer, .search-panel { width: 100%; }
  .search-result { grid-template-columns: 58px minmax(0, 1fr); }
  .search-result strong { grid-column: 2; }
  .checkout-section, .checkout-summary { padding: 18px; }
  .checkout-section-head { grid-template-columns: 1fr; }
  .choice-card { grid-template-columns: auto 1fr; }
  .choice-card b { grid-column: 2; }
  .checkout-item { grid-template-columns: 58px minmax(0, 1fr); }
  .checkout-item strong { grid-column: 2; }
}

@media print {
  @page {
    size: A4;
    margin: 0;
  }

  body.invoice-body {
    background: #fff;
  }

  .invoice-toolbar,
  .invoice-batch-note {
    display: none;
  }

  .invoice-sheet,
  .waybill-sheet {
    min-height: 297mm;
    margin: 0;
    box-shadow: none;
  }

  .invoice-sheet {
    width: 210mm;
    page-break-after: always;
  }

  .waybill-sheet {
    width: 180mm;
  }
}
