/* V2-03. Public shell only; saved CMS theme tokens remain authoritative. */
.boutique-shell { min-width: 0; }
.boutique-shell .b-header {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(0, auto) auto;
  align-items: center;
  gap: 24px;
  min-height: 80px;
  padding: 12px max(32px, calc((100% - 1240px) / 2));
  background: var(--b-surface);
  color: var(--b-ink);
  border-bottom: 1px solid var(--b-line);
}
.boutique-shell .b-brand {
  min-width: 0;
  min-height: 44px;
  flex-shrink: 1;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(21px, 2vw, 27px);
  letter-spacing: -.035em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.boutique-shell .b-brand img { width: 40px; height: 40px; flex: 0 0 40px; }
.boutique-shell .b-brand > span { min-width: 0; }
.boutique-shell .b-brand small {
  margin-top: 5px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .025em;
}
.boutique-shell .b-nav {
  display: flex;
  position: static;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 20px;
  width: auto;
  padding: 0;
  font-size: 14px;
}
.boutique-shell .b-nav a,
.boutique-shell .b-nav a.b-nav-custom {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
}
.boutique-shell .b-nav a.b-nav-custom { padding-inline: 12px; border: 1px solid var(--b-line); }
.boutique-shell .b-nav a:hover,
.boutique-shell .b-nav a[aria-current='page'] { border-bottom-color: currentColor; color: var(--b-ink); }
.boutique-shell .b-tools { display: flex; gap: 14px; justify-self: end; white-space: nowrap; }
.boutique-shell .b-basket { gap: 7px; min-height: 44px; font-size: 14px; color: var(--b-ink); }
.boutique-shell .b-basket-icon { display: block; width: 24px; height: 24px; flex-shrink: 0; }
.boutique-shell .b-basket-label { display: inline; }
.boutique-shell .b-count { min-width: 20px; height: 20px; font-size: 12px; background: var(--b-sage); color: var(--b-ink); }
.boutique-shell .b-count:empty { display: none; }
.boutique-shell .b-menu { display: none; }
.boutique-shell .b-announcement { margin: 0; padding: 8px 20px; font-size: 13px; line-height: 1.5; letter-spacing: 0; }
.boutique-shell .b-menu-dialog {
  inset: 0 0 0 auto;
  margin: 0;
  padding: 24px;
  width: min(440px, 100%);
  height: 100%;
  height: 100dvh;
  max-width: 100%;
  max-height: 100%;
  border: 0;
  background: var(--b-surface);
  color: var(--b-ink);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.boutique-shell .b-menu-dialog::backdrop { background: #18271bb3; }
.boutique-shell .b-menu-dialog:not([open]) { display: none; }
.boutique-shell.storefront-menu-open { overflow: hidden; }
.boutique-shell .b-menu-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.boutique-shell .b-menu-heading h2 { margin: 0; font-size: 26px; line-height: 1.2; letter-spacing: -.025em; }
.boutique-shell .b-menu-heading button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px; border: 1px solid var(--b-line); background: transparent; color: inherit; font-size: 14px; }
.boutique-shell .b-menu-heading button span { font-size: 24px; line-height: 1; }
.boutique-shell .b-mobile-nav { display: flex; flex-direction: column; gap: 4px; }
.boutique-shell .b-mobile-nav a { display: block; min-height: 48px; padding: 12px 0; border-bottom: 1px solid var(--b-line); color: inherit; font-size: 19px; overflow-wrap: anywhere; }
.boutique-shell .b-mobile-nav a[aria-current='page'] { text-decoration: underline; text-underline-offset: 6px; }
.boutique-shell .b-mobile-nav .b-nav-custom { padding-inline: 14px; margin-top: 8px; border: 1px solid currentColor; }
.boutique-shell .b-footer { padding: 40px max(32px, calc((100% - 1240px) / 2)) 16px; }
.boutique-shell .b-footer-top { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 48px; padding-bottom: 28px; }
.boutique-shell .b-footer-without-links { grid-template-columns: 1.2fr 1fr; }
.boutique-shell .b-footer-top > * { min-width: 0; }
.boutique-shell .b-footer-brand { display: inline-block; font-family: Georgia, 'Times New Roman', serif; font-size: 27px; line-height: 1.2; overflow-wrap: anywhere; }
.boutique-shell .b-footer-about p { max-width: 30ch; margin: 12px 0 0; font-size: 14px; }
.boutique-shell .b-footer h2 { margin: 0 0 12px; color: inherit; font-family: 'DM Sans', system-ui, sans-serif; font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.boutique-shell .b-footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 0; font-size: 14px; }
.boutique-shell .b-footer-links a,
.boutique-shell .b-footer-contact a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; overflow-wrap: anywhere; }
.boutique-shell .b-footer-contact { display: flex; flex-direction: column; align-items: flex-start; font-size: 14px; }
.boutique-shell .b-footer-contact p { margin: 0 0 10px; font-size: 14px; }
.boutique-shell .b-footer-bottom { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 12px; font-size: 13px; }
.boutique-shell .b-footer-bottom > span:first-child { width: auto; overflow-wrap: anywhere; }
.boutique-shell .b-footer a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1100px) {
  .boutique-shell .b-header { gap: 18px; }
  .boutique-shell .b-nav { gap: 4px 12px; }
}
@media (max-width: 960px) {
  .boutique-shell .b-header { grid-template-columns: minmax(0, 1fr) auto; min-height: 68px; padding: 10px 24px; gap: 8px 16px; }
  .boutique-shell .b-brand { grid-column: 1; grid-row: 1; font-size: 23px; }
  .boutique-shell .b-tools { grid-column: 2; grid-row: 1; gap: 10px; }
  .boutique-shell .b-basket-label { display: none; }
  .boutique-shell .b-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; padding-top: 8px; }
  .boutique-shell.storefront-shell-ready .b-nav { display: none; }
  .boutique-shell.storefront-shell-ready .b-menu { display: inline-flex; align-items: center; gap: 6px; width: auto; height: auto; min-height: 44px; padding: 8px 0 8px 8px; font-size: 13px; }
  .boutique-shell .b-menu svg { width: 22px; height: 22px; }
  .boutique-shell .b-footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .boutique-shell .b-footer-about { grid-column: 1 / -1; }
  .boutique-shell .b-footer-without-links .b-footer-about { grid-column: auto; }
  .boutique-shell .b-footer-about p { max-width: 48ch; }
}
@media (max-width: 600px) {
  .boutique-shell .b-header { padding-inline: 16px; }
  .boutique-shell .b-brand { font-size: 21px; }
  .boutique-shell .b-brand img { width: 32px; height: 32px; flex-basis: 32px; }
  .boutique-shell .b-brand small { font-size: 12px; }
  .boutique-shell .b-tools { gap: 6px; }
  .boutique-shell .b-announcement { font-size: 12px; }
  .boutique-shell .b-footer { padding: 32px 20px 16px; }
  .boutique-shell .b-footer-top { grid-template-columns: 1fr; gap: 24px; }
  .boutique-shell .b-footer-about { grid-column: auto; }
  .boutique-shell .b-footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  .boutique-shell .b-footer-links h2 { grid-column: 1 / -1; }
}
@media (max-width: 360px) {
  .boutique-shell .b-header { grid-template-columns: minmax(0, 1fr); }
  .boutique-shell .b-brand { grid-column: 1; grid-row: 1; }
  .boutique-shell .b-tools { grid-column: 1; grid-row: 2; justify-self: stretch; justify-content: space-between; }
  .boutique-shell .b-basket-label { display: inline; }
  .boutique-shell .b-nav { grid-row: 3; }
}
