:root {
  --cream: #fff5e3;
  --white: #fffcf8;
  --sand: #ece2cf;
  --terra: #cb9671;
  --peach: #f2d5c3;
  --sage: #a7b59a;
  --ink: #55473d;
  --text-muted: #605044;
  --text-strong: #3f332b;
  --accent-text: #714a35;
  --action-bg: #714a35;
  --action-hover: #55473d;
  --focus-ring: #3f332b;
  --border: color-mix(in srgb, var(--ink) 20%, var(--sand));
  --border-control: #786657;
  --surface-peach: color-mix(in srgb, var(--peach) 65%, var(--white));
  --surface-sage: color-mix(in srgb, var(--sage) 35%, var(--white));
  --surface-sand: color-mix(in srgb, var(--sand) 75%, var(--white));
  --shadow-soft: 0 6px 20px color-mix(in srgb, var(--ink) 7%, transparent);
  --shadow-hover: 0 12px 28px color-mix(in srgb, var(--ink) 13%, transparent);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, serif; font-weight: normal; letter-spacing: -.06em; }
h1 { font-size: clamp(48px, 7vw, 84px); line-height: .96; margin-bottom: 18px; }
em { color: var(--accent-text); font-style: italic; }
img { max-width: 100%; height: auto; }
.cart-link > span[hidden],
.shop-toast[hidden],
.message-status[hidden],
.empty-products[hidden] { display: none !important; }

.eyebrow { text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: bold; color: var(--accent-text); margin: 0 0 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 15px 20px; border: 0; border-radius: 4px; font-size: 12px; font-weight: bold; }
.button-primary { background: var(--accent-text); color: var(--white); }
.text-link { min-height: 44px; font-size: 13px; font-weight: bold; display: inline-flex; gap: 7px; align-items: center; }
.button svg, .text-link svg { width: 15px; height: 15px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 4px; }

.bb-navbar-name { font-family: Georgia, serif; font-size: 22px; letter-spacing: -.03em; }
.bb-navbar-brand > .bb-navbar-name { display: none; }
.bb-navbar-brand img[hidden] { display: none; }
.bb-navbar-brand img[hidden] + .bb-navbar-name { display: inline; }
.bb-navbar-actions .bb-nav-control { position: relative; }
.bb-navbar-actions [data-cart-count] { position: absolute; top: 4px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 20px; background: var(--ink); color: var(--white); font-size: 9px; display: grid; place-items: center; }
.bb-navbar-actions [data-cart-count][hidden] { display: none; }

.bb-page { width: min(100%, 1240px); margin: 0 auto; padding: 36px 22px 64px; }
.bb-page h1 { font-size: clamp(42px, 6vw, 72px); }
.bb-catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.bb-detail { display: grid; gap: 28px; }
.bb-detail img { width: 100%; border-radius: 8px; background: var(--sand); }
.bb-specs { display: grid; gap: 8px; margin: 18px 0; font-size: 13px; }
.bb-specs div { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--border); padding-top: 8px; }
.bb-note { color: var(--text-muted); line-height: 1.7; max-width: 62ch; }
.bb-form { display: grid; gap: 14px; max-width: 560px; }
.bb-form label { display: grid; gap: 6px; font-size: 12px; font-weight: bold; }
.bb-form input, .bb-form textarea { border: 0; border-bottom: 1px solid var(--border); background: transparent; padding: 10px 0; }
.bb-status { min-height: 1.4em; font-size: 13px; }
.bb-basket { display: grid; gap: 16px; }
.bb-basket-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
.bb-basket-item img { width: 84px; height: 84px; object-fit: cover; border-radius: 6px; background: var(--sand); }
.bb-qty { display: flex; align-items: center; gap: 10px; }
.bb-qty button { width: 32px; height: 32px; border: 1px solid var(--border); background: var(--white); }
.bb-site-footer { position: relative; isolation: isolate; overflow: hidden; background: #4b3c32; color: var(--cream); border-top: 1px solid #a7b59a80; }
.bb-site-footer p { color: #e0d3c3; line-height: 1.6; }
.bb-site-footer a { color: inherit; }
.bb-footer-inner { width: min(100%, 1120px); margin: auto; padding: 0 22px; }
.bb-footer-grid { display: grid; gap: 28px; padding: 36px 0 32px; align-items: start; }
.bb-footer-logo { display: inline-block; border-radius: 4px; }
.bb-footer-logo img { display: block; width: 190px; max-width: 100%; height: auto; background: transparent; }
.bb-footer-brand p { margin: 12px 0 16px; font-size: 13px; line-height: 1.7; }
.bb-socials { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.bb-socials a, .bb-social-unavailable { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #fff5e340; border-radius: 50%; color: var(--cream); background: #fff5e307; }
.bb-socials svg { display: block; width: 18px; height: 18px; stroke-width: 1.6; }
.bb-social-unavailable { opacity: .38; }
.bb-site-footer h2 { color: var(--cream); font: normal 20px/1.3 Georgia, serif; letter-spacing: -.02em; margin: 0 0 12px; }
.bb-site-footer h2::after { content: ""; display: block; height: 2px; width: 22px; background: var(--terra); margin-top: 10px; border-radius: 2px; }
.bb-site-footer ul { list-style: none; margin: 0; padding: 0; }
.bb-site-footer li a { display: inline-flex; min-height: 32px; align-items: center; padding: 5px 0; color: #e0d3c3; font-size: 13px; line-height: 1.6; }
.bb-footer-contact { padding-top: 8px; }
.bb-footer-contact > p { font: 19px/1.45 Georgia, serif; letter-spacing: -.015em; margin: 0 0 15px; }
.bb-footer-contact address { font-style: normal; }
.bb-footer-contact address a { display: flex; align-items: center; gap: 9px; min-height: 44px; font-size: 12px; line-height: 1.7; }
.bb-footer-contact address svg { width: 16px; height: 16px; flex-shrink: 0; color: #c8d0be; }
.bb-footer-talk { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 44px; font-size: 13px; margin-top: 6px; border-bottom: 1px solid #cb967180; }
.bb-footer-talk svg { width: 16px; height: 16px; color: var(--terra); }
.bb-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid #fff5e326; padding: 6px 0; color: #d7cbbd; font-size: 11px; }
.bb-footer-bottom a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; }
.bb-footer-bottom strong { letter-spacing: .14em; font-size: 12px; font-weight: 600; color: var(--cream); }
.bb-footer-bottom svg { width: 14px; height: 14px; color: var(--terra); }
.bb-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.bb-filters a { min-height: 36px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 20px; font-size: 12px; }
.bb-filters a[aria-current="page"] { background: var(--ink); color: var(--white); }
@media (min-width: 800px) {
  .bb-detail { grid-template-columns: 1.1fr .9fr; align-items: center; }
  .bb-footer-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); }
  .bb-footer-inner { padding-inline: 40px; }
  .bb-page { padding-inline: 40px; }
}
@media (max-width: 700px) {
  .bb-footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .bb-footer-brand { grid-column: 1 / -1; padding-bottom: 20px; border-bottom: 1px solid #fff5e31f; }
  .bb-footer-logo img { width: 160px; }
}
@media (hover: hover) {
  .bb-socials a:hover { background: var(--sage); color: #342b24; border-color: var(--sage); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
