:root {
  --mbkd-ink: #28231f;
  --mbkd-muted: #746b61;
  --mbkd-paper: #fcfbf8;
  --mbkd-card: #fbf8f3;
  --mbkd-image: #f6f0e7;
  --mbkd-line: rgba(112, 84, 56, .18);
  --mbkd-gold: #9b784b;
  --mbkd-gold-deep: #6f5537;
  --mbkd-sand: #f3ede4;
  --mbkd-shadow: 0 24px 70px rgba(48, 36, 25, .18);
}

.mbkd-shell,
.mbkd-inline,
.mbkd-search-option { box-sizing: border-box; color: var(--mbkd-ink); font-family: inherit; }

/* Fail closed even when a strong Smarty/page cache still serves older shell
   markup without the HTML hidden attribute. JS reveals the shell only after
   CookieScript's decision surface is gone. */
.mbkd-shell:not(.mbkd-consent-ready) { visibility: hidden !important; }
.mbkd-shell[hidden] { display: none !important; }
.mbkd-shell[data-mbkd-ui-suspended="1"] { display: none !important; }
.mbkd-inline:not(.mbkd-consent-ready),
.mbkd-inline[hidden] { display: none !important; }

/* A stale cached hook must never leak the assistant into transactional,
   identity or support routes. The PHP controller allowlist is authoritative;
   these language-neutral body IDs are an additional fail-closed guard. */
body#cart .mbkd-shell,
body#order .mbkd-shell,
body#order-confirmation .mbkd-shell,
body#authentication .mbkd-shell,
body#password .mbkd-shell,
body#my-account .mbkd-shell,
body#history .mbkd-shell,
body#order-detail .mbkd-shell,
body#order-follow .mbkd-shell,
body#addresses .mbkd-shell,
body#address .mbkd-shell,
body#identity .mbkd-shell,
body#discount .mbkd-shell,
body#guest-tracking .mbkd-shell,
body#contact .mbkd-shell { display: none !important; }

.mbkd-shell *,
.mbkd-inline *,
.mbkd-search-option * { box-sizing: border-box; }

/* Do not depend on the theme's generic .sr-only implementation. The first
   selector also repairs already cached v1.0.0 shell markup after the CSS URL
   is refreshed. */
.mbkd-search__field > .sr-only,
.mbkd-visually-hidden {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

.mbkd-launcher {
  align-items: center;
  appearance: none;
  background: rgba(255, 252, 247, .97);
  border: 1px solid rgba(155, 120, 75, .34);
  border-radius: 999px;
  bottom: max(22px, env(safe-area-inset-bottom));
  box-shadow: 0 14px 38px rgba(48, 36, 25, .17);
  color: var(--mbkd-ink);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  gap: 9px;
  letter-spacing: .045em;
  min-height: 50px;
  padding: 9px 17px 9px 14px;
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  text-transform: none;
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
  z-index: 2147482000;
}

.mbkd-launcher:hover { background: #fff; border-color: rgba(111, 85, 55, .58); box-shadow: 0 17px 45px rgba(48, 36, 25, .22); transform: translateY(-1px); }
.mbkd-dialog-open .mbkd-launcher,
.mbkd-dialog-open .mbkd-launcher__dismiss { opacity: 0; pointer-events: none; transform: translateY(8px); visibility: hidden; }
.mbkd-shell.mbkd-peek-open .mbkd-launcher__dismiss { opacity: 0; pointer-events: none; visibility: hidden; }
.mbkd-launcher svg { fill: none; height: 25px; stroke: var(--mbkd-gold-deep); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; width: 25px; }
.mbkd-launcher:focus-visible,
.mbkd-launcher__dismiss:focus-visible,
.mbkd-close:focus-visible,
.mbkd-action:focus-visible,
.mbkd-feedback:focus-visible,
.mbkd-all:focus-visible,
.mbkd-product__link:focus-visible {
  box-shadow: 0 0 0 6px #075985 !important;
  outline: 3px solid #fff !important;
  outline-offset: 2px;
}

.mbkd-launcher__dismiss {
  appearance: none;
  background: transparent;
  border: 0;
  bottom: max(80px, calc(env(safe-area-inset-bottom) + 80px));
  box-shadow: none;
  cursor: pointer;
  display: block;
  font: inherit;
  font-size: 0;
  height: 48px;
  padding: 0;
  position: fixed;
  right: max(10px, calc(env(safe-area-inset-right) + 10px));
  transition: transform .16s ease;
  width: 48px;
  z-index: 2147482001;
}
.mbkd-launcher__dismiss::before,
.mbkd-peek__close::before {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(112,84,56,.24);
  border-radius: 50%;
  box-shadow: 0 5px 14px rgba(48,36,25,.14);
  box-sizing: border-box;
  color: var(--mbkd-muted);
  content: '×';
  display: flex;
  font-size: 17px;
  height: 30px;
  justify-content: center;
  left: 9px;
  line-height: 1;
  padding-bottom: 2px;
  position: absolute;
  transition: background .16s ease, color .16s ease;
  width: 30px;
}
.mbkd-launcher__dismiss::before { bottom: 0; }
.mbkd-launcher__dismiss:hover::before,
.mbkd-peek__close:hover::before { background: var(--mbkd-ink); color: #fff; }
.mbkd-launcher[hidden],
.mbkd-launcher__dismiss[hidden] { display: none !important; }

.mbkd-dialog {
  background: transparent;
  border: 0;
  height: 100%;
  margin: 0 0 0 auto;
  max-height: none;
  max-width: min(620px, 100vw);
  padding: 0;
  width: min(620px, 100vw);
}

.mbkd-dialog::backdrop { background: rgba(26, 22, 18, .46); backdrop-filter: blur(3px); }
.mbkd-dialog[open] { display: block; }

.mbkd-dialog__frame {
  background:
    radial-gradient(circle at 82% 8%, rgba(232, 214, 186, .64), transparent 28%),
    linear-gradient(145deg, #fff 0%, var(--mbkd-paper) 70%, #f2e8dc 100%);
  border-left: 1px solid var(--mbkd-line);
  box-shadow: var(--mbkd-shadow);
  height: 100%;
  overflow-y: auto;
  padding: clamp(28px, 5vw, 58px);
  position: relative;
}

.mbkd-close {
  align-items: center;
  appearance: none;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--mbkd-line);
  border-radius: 50%;
  color: var(--mbkd-ink);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 27px;
  height: 48px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 4px;
  position: absolute;
  right: 22px;
  top: 22px;
  width: 48px;
}

.mbkd-eyebrow { color: var(--mbkd-gold-deep); display: block; font-size: 10px; font-weight: 900; letter-spacing: .2em; line-height: 1.4; margin-bottom: 12px; text-transform: uppercase; }
.mbkd-dialog__head { padding-right: 35px; }
.mbkd-dialog__head h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(37px, 7vw, 62px); font-weight: 400; letter-spacing: -.045em; line-height: .98; margin: 0 0 20px; }
.mbkd-dialog__head p { color: var(--mbkd-muted); font-size: 16px; line-height: 1.65; margin: 0; max-width: 500px; }

.mbkd-dialog__actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 28px 0; }
.mbkd-action {
  align-items: center;
  appearance: none;
  background: var(--mbkd-card);
  border: 1px solid var(--mbkd-line);
  border-radius: 999px;
  color: var(--mbkd-ink) !important;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  line-height: 1.3;
  min-height: 46px;
  padding: 11px 18px;
  text-decoration: none !important;
}
.mbkd-action--primary { background: var(--mbkd-ink); border-color: var(--mbkd-ink); color: #fff !important; }

.mbkd-search { border-top: 1px solid var(--mbkd-line); padding-top: 26px; }
.mbkd-search h3 { font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 400; margin: 0 0 14px; }
.mbkd-search__field { align-items: center; background: #fff; border: 1px solid rgba(112,84,56,.25); border-radius: 16px; display: flex; min-height: 58px; padding: 0 16px; }
.mbkd-search__field:focus-within { border-color: #075985; box-shadow: 0 0 0 3px #fff, 0 0 0 6px #075985; }
.mbkd-search__field svg { fill: none; flex: 0 0 23px; height: 23px; stroke: var(--mbkd-muted); stroke-linecap: round; stroke-width: 1.7; width: 23px; }
.mbkd-search__field input { appearance: none; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; color: var(--mbkd-ink); flex: 1 1 auto; font: inherit; font-size: 16px; min-width: 0; outline: 0 !important; padding: 15px 11px; width: 100%; }
.mbkd-search__field input:focus,
.mbkd-search__field input:focus-visible { border: 0 !important; box-shadow: none !important; outline: 0 !important; }
.mbkd-status { color: var(--mbkd-muted); font-size: 13px; min-height: 22px; padding: 9px 2px 0; }
.mbkd-results { display: grid; gap: 9px; }

.mbkd-product {
  align-items: center;
  background: var(--mbkd-card);
  border: 1px solid #e2dbd2;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(48,38,28,.04), 0 8px 24px rgba(48,38,28,.067);
  display: grid;
  gap: 12px;
  grid-template-columns: 68px minmax(0,1fr);
  min-height: 92px;
  padding: 10px;
  position: relative;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.mbkd-product:hover { border-color: rgba(155,120,75,.46); box-shadow: 0 12px 28px rgba(48,36,25,.1); transform: translateY(-2px); }
.mbkd-product__link { align-items: center; color: inherit !important; display: grid; gap: 12px; grid-column: 1 / -1; grid-template-columns: 68px minmax(0,1fr); text-decoration: none !important; }
.mbkd-product__image { align-items: center; background: var(--mbkd-image); border-radius: 8px; display: flex; height: 68px; justify-content: center; overflow: hidden; width: 68px; }
.mbkd-product__image img {
  background: transparent;
  height: 100%;
  mix-blend-mode: darken;
  object-fit: contain;
  width: 100%;
}
.mbkd-product__body { min-width: 0; padding-right: 5px; }
.mbkd-product__brand { color: var(--mbkd-gold-deep); display: block; font-size: 10px; font-weight: 900; letter-spacing: .09em; margin-bottom: 3px; text-transform: uppercase; }
.mbkd-product__name { color: var(--mbkd-ink); display: block; font-size: 14px; font-weight: 800; line-height: 1.35; }
.mbkd-product__meta { align-items: center; color: var(--mbkd-muted); display: flex; flex-wrap: wrap; font-size: 12px; gap: 7px; margin-top: 6px; }
.mbkd-product__reason { background: var(--mbkd-sand); border-radius: 999px; color: var(--mbkd-gold-deep); font-size: 10px; font-weight: 800; padding: 4px 8px; }
.mbkd-product__cta { align-items: center; color: var(--mbkd-ink); display: inline-flex; font-size: 11px; font-weight: 900; gap: 4px; letter-spacing: .015em; margin-top: 9px; text-decoration: underline; text-decoration-color: rgba(155,120,75,.35); text-underline-offset: 4px; }
.mbkd-feedbacks { border: 2px solid transparent; border-radius: 8px; display: flex; flex-wrap: wrap; gap: 6px; grid-column: 1 / -1; justify-content: flex-end; padding: 2px; }
.mbkd-feedback { appearance: none; background: transparent; border: 2px solid transparent; border-radius: 7px; color: var(--mbkd-muted); cursor: pointer; font: inherit; font-size: 11px; font-weight: 700; min-height: 44px; min-width: 44px; padding: 7px 9px; text-decoration: underline; text-decoration-color: rgba(112,84,56,.28); text-underline-offset: 3px; }
.mbkd-feedback[aria-pressed="true"] { background: #fff; border-color: var(--mbkd-gold-deep); color: var(--mbkd-ink); text-decoration: none; }
.mbkd-feedback[aria-pressed="true"]::before { content: "✓ "; font-weight: 900; }
.mbkd-feedback:disabled { cursor: wait; opacity: .62; }
.mbkd-feedbacks__status { flex: 0 0 100%; font-size: 11px; font-weight: 800; line-height: 1.45; min-height: 0; }
.mbkd-feedbacks__status:empty { display: none; }
.mbkd-feedbacks[data-feedback-state="saving"] { border-style: dashed; }
.mbkd-feedbacks[data-feedback-state="saved"] .mbkd-feedbacks__status::before { content: "✓ "; }
.mbkd-feedbacks[data-feedback-state="error"] { border-color: #8a1c1c; }
.mbkd-feedbacks[data-feedback-state="error"] .mbkd-feedbacks__status { color: #7a1717; }
.mbkd-feedbacks[data-feedback-state="error"] .mbkd-feedbacks__status::before { content: "! "; }
.mbkd-all { color: var(--mbkd-ink) !important; display: inline-flex; font-size: 13px; font-weight: 800; margin-top: 13px; min-height: 44px; padding: 12px 2px; text-underline-offset: 4px; }

.mbkd-privacy { border-top: 1px solid var(--mbkd-line); color: var(--mbkd-muted); font-size: 12px; line-height: 1.6; margin-top: 28px; padding-top: 18px; }
.mbkd-privacy summary { color: var(--mbkd-ink); cursor: pointer; font-weight: 800; min-height: 44px; padding: 11px 0; }
.mbkd-privacy p { margin: 8px 0 0; }
.mbkd-learning { border-top: 1px solid var(--mbkd-line); margin-top: 16px; padding-top: 16px; }
.mbkd-learning__control { align-items: center; color: var(--mbkd-ink); cursor: pointer; display: grid; gap: 10px; grid-template-columns: 42px minmax(0,1fr); line-height: 1.4; }
.mbkd-learning__control input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.mbkd-learning__switch { background: #c9c3bc; border: 1px solid rgba(40,35,31,.16); border-radius: 999px; height: 24px; position: relative; transition: background .16s ease; width: 42px; }
.mbkd-learning__switch::after { background: #fff; border-radius: 50%; box-shadow: 0 2px 7px rgba(40,35,31,.24); content: ""; height: 18px; left: 2px; position: absolute; top: 2px; transition: transform .16s ease; width: 18px; }
.mbkd-learning__control input:checked + .mbkd-learning__switch { background: var(--mbkd-gold-deep); }
.mbkd-learning__control input:checked + .mbkd-learning__switch::after { transform: translateX(18px); }
.mbkd-learning__control input:focus-visible + .mbkd-learning__switch { box-shadow: 0 0 0 6px #075985; outline: 3px solid #fff; outline-offset: 2px; }
.mbkd-learning__control input:disabled + .mbkd-learning__switch { cursor: wait; opacity: .55; }
.mbkd-learning__status { color: var(--mbkd-gold-deep); display: block; font-weight: 800; min-height: 18px; padding-top: 7px; }
.mbkd-live { height: 1px; overflow: hidden; position: fixed; width: 1px; }

.mbkd-inline {
  align-items: center;
  background:
    radial-gradient(circle at 82% 15%, rgba(255,255,255,.94), transparent 26%),
    linear-gradient(130deg, #faf7f2 0%, #f1e6d8 100%);
  border: 1px solid rgba(136,101,62,.2);
  border-radius: clamp(20px, 3vw, 30px);
  box-shadow: 0 20px 54px rgba(69,51,34,.08);
  display: grid;
  gap: clamp(22px,4vw,44px);
  grid-template-columns: minmax(0,.9fr) minmax(0,1.45fr);
  margin: clamp(28px,5vw,64px) auto;
  max-width: 1380px;
  min-height: 248px;
  overflow: hidden;
  padding: clamp(28px,5vw,58px);
}

/* displayContentWrapperBottom is inside a responsive flex row in the CMS
   layout. JS marks every inline host, while this rule is intentionally inert
   for the normal block hosts used by home, category, search and brand pages. */
.mbkd-inline-host { flex-direction: column !important; }
.mbkd-inline-host > .mbkd-inline {
  align-self: center;
  flex: 0 0 auto;
  width: calc(100% - 40px);
}
.mbkd-inline__copy h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px,4vw,48px); font-weight: 400; letter-spacing: -.035em; line-height: 1.05; margin: 0 0 15px; }
.mbkd-inline__copy p { color: var(--mbkd-muted); line-height: 1.65; margin: 0 0 22px; max-width: 610px; }
.mbkd-inline__products { display: grid; gap: 10px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.mbkd-inline__products .mbkd-product { align-content: start; display: grid; grid-template-columns: 1fr; padding: 12px; }
.mbkd-inline__products .mbkd-product__link { grid-template-columns: 1fr; }
.mbkd-inline__products .mbkd-product__image { height: 142px; width: 100%; }
.mbkd-inline__products .mbkd-feedbacks { justify-content: flex-start; }
.mbkd-inline.is-personalized { grid-template-columns: minmax(220px,.65fr) minmax(0,1.8fr); }

body.mbkd-search-enhanced .mbk-searchbar-suggest { max-width: min(760px, calc(100vw - 24px)); width: 100%; }
body.mbkd-search-enhanced .mbk-searchbar-products { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.mbkd-search-option { list-style: none; }
.mbkd-search-option .mbkd-product { grid-template-columns: 58px minmax(0,1fr); min-height: 78px; }
.mbkd-search-option .mbkd-product__link { grid-template-columns: 58px minmax(0,1fr); }
.mbkd-search-option .mbkd-product__image { height: 58px; width: 58px; }
.mbkd-search-option.is-active .mbkd-product { border-color: var(--mbkd-gold); box-shadow: 0 0 0 2px rgba(155,120,75,.13); }

/* Product-first concierge: recommendation inventory is visible before the
   secondary quiz and Wishlist actions. */
.mbkd-dialog { max-width: min(720px, 100vw); width: min(720px, 100vw); }
.mbkd-dialog__frame--product-first { padding: clamp(32px, 4.3vw, 52px); }
.mbkd-dialog__frame--product-first .mbkd-dialog__head h2 { font-size: clamp(39px, 5vw, 52px); max-width: 560px; }
.mbkd-dialog__frame--product-first .mbkd-dialog__head p { font-size: 14px; line-height: 1.55; max-width: 570px; }
.mbkd-dialog__frame--product-first .mbkd-search { border-top: 0; margin-top: 24px; padding-top: 0; }
.mbkd-dialog__frame--product-first .mbkd-search h3 { font-size: clamp(25px, 3vw, 32px); margin-bottom: 13px; }
.mbkd-dialog__frame--product-first .mbkd-dialog__actions { border-top: 1px solid var(--mbkd-line); margin: 24px 0 0; padding-top: 22px; }

.mbkd-quick { display: flex; gap: 7px; margin: 10px 0 3px; overflow-x: auto; padding: 2px 1px 6px; scrollbar-width: none; }
.mbkd-quick::-webkit-scrollbar { display: none; }
.mbkd-quick__chip {
  appearance: none;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--mbkd-line);
  border-radius: 999px;
  color: var(--mbkd-ink);
  cursor: pointer;
  flex: 0 0 auto;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  min-height: 44px;
  padding: 9px 14px;
}
.mbkd-quick__chip:hover,
.mbkd-quick__chip[aria-pressed="true"] { background: var(--mbkd-ink); border-color: var(--mbkd-ink); color: #fff; }
.mbkd-quick__chip[aria-pressed="true"]::before { content: "✓ "; }
.mbkd-quick__chip:focus-visible { box-shadow: 0 0 0 6px #075985; outline: 3px solid #fff; outline-offset: 2px; }

.mbkd-dialog__frame--product-first .mbkd-results { display: grid; gap: 10px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.mbkd-dialog__frame--product-first .mbkd-product { align-content: start; min-height: 146px; padding: 12px; }
.mbkd-dialog__frame--product-first .mbkd-product__link { align-items: start; grid-template-columns: 90px minmax(0,1fr); }
.mbkd-dialog__frame--product-first .mbkd-product__image { height: 90px; width: 90px; }
.mbkd-dialog__frame--product-first .mbkd-product__name { font-size: 13px; }
.mbkd-dialog__frame--product-first .mbkd-product__meta { align-items: flex-start; flex-direction: column; gap: 5px; }
.mbkd-dialog__frame--product-first .mbkd-feedbacks { justify-content: flex-start; }

.mbkd-product--skeleton { align-items: center !important; display: grid !important; grid-template-columns: 82px minmax(0,1fr) !important; }
.mbkd-skeleton { animation: mbkd-pulse 1.1s ease-in-out infinite alternate; background: linear-gradient(100deg,#eee8df 10%,#f8f4ee 45%,#e9e2d9 80%); background-size: 220% 100%; border-radius: 10px; display: block; }
.mbkd-skeleton--image { height: 82px; width: 82px; }
.mbkd-skeleton-copy { display: grid; gap: 10px; }
.mbkd-skeleton--short { height: 10px; width: 42%; }
.mbkd-skeleton--long { height: 16px; width: 84%; }
@keyframes mbkd-pulse { from { background-position: 100% 0; opacity: .7; } to { background-position: 0 0; opacity: 1; } }

.mbkd-peek {
  align-items: start;
  background: var(--mbkd-card);
  border: 1px solid #e2dbd2;
  border-radius: 8px;
  bottom: max(84px, calc(env(safe-area-inset-bottom) + 76px));
  box-shadow: 0 1px 2px rgba(48,38,28,.04), 0 8px 24px rgba(48,38,28,.067);
  column-gap: 8px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 48px;
  max-width: min(380px, calc(100vw - 24px));
  opacity: 0;
  padding: 9px;
  pointer-events: none;
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  transform: translateY(10px) scale(.98);
  transition: opacity .18s ease, transform .18s ease;
  width: 380px;
  z-index: 2147481999;
}
.mbkd-peek.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.mbkd-peek__close { appearance: none; background: transparent; border: 0; cursor: pointer; display: block; font: inherit; font-size: 0; grid-column: 2; grid-row: 1; height: 48px; padding: 0; position: relative; width: 48px; z-index: 1; }
.mbkd-peek__close::before { top: 0; }
.mbkd-peek__link { align-items: center; color: var(--mbkd-ink) !important; display: grid; gap: 12px; grid-column: 1; grid-row: 1; grid-template-columns: 84px minmax(0,1fr); min-height: 84px; min-width: 0; padding-right: 0; text-decoration: none !important; }
.mbkd-peek .mbkd-product__image { background: var(--mbkd-image); height: 84px; width: 84px; }
.mbkd-peek .mbkd-product__image img { background: transparent; mix-blend-mode: darken; }
.mbkd-peek__copy { display: block; min-width: 0; }
.mbkd-peek__kicker { color: var(--mbkd-gold-deep); display: block; font-size: 9px; font-weight: 900; letter-spacing: .13em; margin-bottom: 4px; text-transform: uppercase; }
.mbkd-peek__name { display: block; font-size: 14px; line-height: 1.3; padding-right: 5px; }
.mbkd-peek__meta { color: var(--mbkd-muted); display: block; font-size: 11px; margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mbkd-peek__cta { color: var(--mbkd-ink); display: block; font-size: 11px; font-weight: 900; margin-top: 8px; text-decoration: underline; text-decoration-color: rgba(155,120,75,.35); text-underline-offset: 3px; }
.mbkd-peek__close:focus-visible,
.mbkd-peek__link:focus-visible { box-shadow: 0 0 0 6px #075985; outline: 3px solid #fff; outline-offset: 2px; }

@media (max-width: 767px) {
  .mbkd-launcher { bottom: max(82px, calc(env(safe-area-inset-bottom) + 74px)); border-radius: 999px; min-height: 48px; padding: 9px 14px 9px 12px; right: 12px; width: auto; }
  .mbkd-launcher__dismiss { bottom: max(138px, calc(env(safe-area-inset-bottom) + 130px)); right: 6px; }
  .mbkd-launcher span { display: inline; height: auto; margin: 0; overflow: visible; position: static; white-space: nowrap; width: auto; }
  .mbkd-dialog { max-width: 100vw; width: 100vw; }
  .mbkd-dialog__frame { border-left: 0; padding: 72px 18px 30px; }
  .mbkd-close { position: fixed; right: max(14px, env(safe-area-inset-right)); top: max(14px, env(safe-area-inset-top)); z-index: 2; }
  .mbkd-dialog__head { padding-right: 0; }
  .mbkd-dialog__head h2 { font-size: clamp(38px,12vw,54px); }
  .mbkd-dialog__actions { display: grid; }
  .mbkd-inline,
  .mbkd-inline.is-personalized { border-radius: 20px; grid-template-columns: 1fr; margin-left: 12px; margin-right: 12px; min-height: 0; padding: 28px 18px; }
  .mbkd-inline__products { grid-template-columns: 1fr; }
  .mbkd-inline__products .mbkd-product { grid-template-columns: 74px minmax(0,1fr); }
  .mbkd-inline__products .mbkd-product__link { grid-template-columns: 74px minmax(0,1fr); }
  .mbkd-inline__products .mbkd-product__image { height: 74px; width: 74px; }

  /* Keep Klaviyo's compact campaign teaser away from CMS titles. The
     Discovery peek is disabled on CMS pages, leaving this lower-left lane. */
  body.page-cms [class*="kl-teaser-"] {
    bottom: max(10px, calc(env(safe-area-inset-bottom) + 10px)) !important;
    left: 72px !important;
    top: auto !important;
    transform: none !important;
  }
}

/* CookieScript owns its consent UI, but these accessibility safeguards keep
   its interactive badge/manage control at a WCAG-sized touch target. */
#cookiescript_manage_wrap[role="button"],
#cookiescript_badge {
  align-items: center !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  justify-content: center !important;
  min-height: 48px !important;
  min-width: 48px !important;
}

@media (max-width: 767px) {
  .mbkd-dialog__frame--product-first { padding: 66px 16px 28px; }
  .mbkd-dialog__frame--product-first .mbkd-dialog__head h2 { font-size: clamp(30px,8.5vw,38px); line-height: 1.04; margin-bottom: 13px; }
  .mbkd-dialog__frame--product-first .mbkd-dialog__head p { display: -webkit-box; font-size: 13px; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
  .mbkd-dialog__frame--product-first .mbkd-search { margin-top: 20px; }
  .mbkd-dialog__frame--product-first .mbkd-search h3 { font-size: 25px; line-height: 1.08; }
  .mbkd-dialog__frame--product-first .mbkd-results { display: flex; gap: 10px; grid-template-columns: none; margin-left: -1px; overflow-x: auto; padding: 1px 1px 9px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .mbkd-dialog__frame--product-first .mbkd-results::-webkit-scrollbar { display: none; }
  .mbkd-dialog__frame--product-first .mbkd-product { flex: 0 0 min(300px,86vw); scroll-snap-align: start; }
  .mbkd-dialog__frame--product-first .mbkd-dialog__actions { display: flex; flex-wrap: nowrap; overflow-x: auto; }
  .mbkd-dialog__frame--product-first .mbkd-action { flex: 0 0 auto; }
  .mbkd-peek { bottom: max(142px, calc(env(safe-area-inset-bottom) + 134px)); border-radius: 8px; left: 12px; max-width: none; right: 12px; width: auto; }
  .mbkd-peek__link { grid-template-columns: 76px minmax(0,1fr); }
  .mbkd-peek .mbkd-product__image { height: 76px; width: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  .mbkd-launcher { transition: none; }
  .mbkd-launcher__dismiss { transition: none; }
  .mbkd-dialog::backdrop { backdrop-filter: none; }
  .mbkd-product { transition: none; }
  .mbkd-product:hover { transform: none; }
  .mbkd-peek { transition: none; }
  .mbkd-skeleton { animation: none; }
}
