/* Willowbrook — styles for what replaces the store's apps. Every value is
 * the live store's computed style (bywillowbrook.com, 2026-10-02, 1440x900):
 * Kiwi Variant Selector (swatches), ScaleChart (size guide), Essential Cart
 * Drawer (drawer + sticky add-to-cart). */

/* ---------------------------------------------------------------- cart page */
html.wb-cart-pending [id$="__cart-items"],
html.wb-cart-pending [id$="__cart-footer"] { visibility: hidden; }
/* Dawn's add-to-cart popup is replaced by the drawer, as on the origin. */
#cart-notification { display: none !important; }

/* ---------------------------------------------------------------- swatches (Kiwi) */
variant-selects fieldset.wb-vs-native { display: none !important; }
.wb-vs { margin: 0 0 16px; }
.wb-vs__label {
  display: block; margin: 0 0 8px; font-size: 12px; font-weight: 600; line-height: 21.6px;
  letter-spacing: .48px; color: #6d7175; text-transform: none;
}
.wb-vs__swatches { display: flex; flex-wrap: wrap; }
.wb-vs__swatches--image { gap: 10px; }
.wb-vs__swatches--pill { gap: 8px; }
.wb-swatch {
  position: relative; display: block; box-sizing: border-box; width: 60px; height: 60px; padding: 0;
  border: 2px solid #e1e3e5; border-radius: 0; overflow: hidden; background: #fff; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.wb-swatch img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wb-swatch:hover { border-color: #6b7280; }
.wb-swatch--selected, .wb-swatch--selected:hover { border-color: #121212; box-shadow: #121212 0 0 0 1px; }
.wb-swatch--oos { opacity: .45; }
.wb-pill {
  position: relative; display: flex; align-items: center; justify-content: center; box-sizing: border-box;
  min-width: 36px; padding: 8px 12px; border: 1px solid #e1e3e5; border-radius: 8px; background: transparent;
  color: #202223; font-size: 13px; font-weight: 500; line-height: 23.4px; letter-spacing: .6px; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.wb-pill:hover { border-color: #6b7280; }
.wb-pill--selected, .wb-pill--selected:hover { border-color: #121212; background-color: #2a211b; color: #fff; }
.wb-pill--oos { opacity: .45; text-decoration: line-through; }
variant-selects input:focus-visible + label, .wb-swatch:focus-visible, .wb-pill:focus-visible { outline: 2px solid #121212; outline-offset: 2px; }

/* ---------------------------------------------------------------- size guide (ScaleChart) */
.wb-sizeguide-btn {
  display: inline-flex; align-items: baseline; justify-content: center; gap: 2px; margin: 0 0 0 10px; padding: 0;
  border: 0; background: none; font: inherit; color: inherit; letter-spacing: inherit; cursor: pointer;
  vertical-align: baseline; position: relative; z-index: 10;
}
.wb-sizeguide-btn svg { display: inline-block; flex-shrink: 0; vertical-align: -.18em; align-self: center; width: 1em; height: 1em; }
.wb-sizeguide-btn__text { text-decoration: underline; text-underline-offset: 3px; display: inline-block; line-height: 1; }

.wb-sizechart {
  position: fixed; inset: 0; z-index: 2147483647; display: flex; align-items: center; justify-content: center;
  padding: 20px; box-sizing: border-box; font-family: var(--font-body-family, Montserrat, sans-serif);
}
.wb-sizechart[hidden] { display: none; }
/* div.… : Dawn's base.css hides empty divs (div:empty { display: none }). */
div.wb-sizechart__overlay { display: block; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.wb-sizechart__dialog {
  position: relative; display: flex; flex-direction: column; width: 600px; max-width: min(900px, 100%);
  max-height: min(860px, calc(100vh - 40px)); background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: rgba(0, 0, 0, .25) 0 25px 50px -12px;
}
.wb-sizechart__header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px;
  background: #2a211b; color: #fff; border-radius: 16px 16px 0 0;
}
.wb-sizechart__title {
  margin: 0; font-family: "Tenor Sans", sans-serif; font-size: 14px; font-weight: 500; line-height: 18.2px;
  letter-spacing: normal; color: #fff;
}
.wb-sizechart__close {
  flex-shrink: 0; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .15);
  color: #fff; font-size: 24px; line-height: 1; cursor: pointer;
}
.wb-sizechart__body { padding: 20px 24px 24px; overflow: hidden auto; }
.wb-sizechart__scroll { overflow-x: auto; }
.wb-sizechart__table { width: 100%; border-collapse: collapse; }
.wb-sizechart__table th {
  padding: 15px 18px; text-align: left; white-space: nowrap; border-bottom: 1px solid #e5e5e5;
  font-size: 14px; font-weight: 700; line-height: 25.2px; letter-spacing: .6px; color: #111;
}
.wb-sizechart__table td {
  padding: 17px 18px; white-space: nowrap; border-bottom: 1px solid #f0f0f0;
  font-size: 16px; font-weight: 400; line-height: 28.8px; letter-spacing: .6px; color: #333;
}
.wb-sizechart__table tbody tr:last-child td { border-bottom: 0; }
.wb-sizechart__footer {
  margin-top: 24px; padding-top: 12px; border-top: 1px solid #f0f0f0; color: #666; font-size: 13px;
  font-style: italic; line-height: 23.4px; letter-spacing: .6px;
}
html.wb-sizechart-open { overflow: hidden; }

/* ---------------------------------------------------------------- cart drawer + /cart (Willowbrook, 09-10-2026)
   Jost, warm off-white, warm brown accent (#543a28), larger type for an older audience. */
div.wb-drawer-overlay {
  display: block; position: fixed; inset: 0; z-index: 99998; background: rgba(30, 20, 12, .45);
  opacity: 0; visibility: hidden; transition: opacity .2s ease-in-out, visibility .2s ease-in-out;
}
.wb-drawer {
  position: fixed; top: 0; right: 0; z-index: 99999; display: flex; flex-direction: column; box-sizing: border-box;
  width: 460px; max-width: 100vw; height: 100%; background: #fcfaf8; color: #2a211b;
  font-family: Jost, var(--font-body-family, Montserrat), sans-serif; font-size: 16px; line-height: 1.4; letter-spacing: .01em;
  transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s ease;
}
html.wb-drawer-open .wb-drawer { transform: none; visibility: visible; }
html.wb-drawer-open div.wb-drawer-overlay { opacity: 1; visibility: visible; }
html.wb-drawer-open { overflow: hidden; }
.wb-drawer *, .wb-cartpage * { box-sizing: border-box; }
.wb-drawer button, .wb-cartpage button { font-family: inherit; letter-spacing: normal; }
.wb-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid #e6ddd3; background: #fff; }
.wb-drawer__title { font-size: 18px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #2a211b; }
.wb-drawer__close { display: flex; width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.wb-drawer__close svg { width: 28px; height: 28px; }
.wb-drawer__body { flex: 1 1 auto; overflow: auto; }
.wb-tiers { margin: 16px 20px 4px; padding: 14px 16px; background: #f3eee8; border-radius: 6px; }
.wb-tiers__msg { margin: 0 0 10px; font-size: 15px; font-weight: 500; text-align: center; color: #543a28; }
.wb-tiers__bar { height: 6px; border-radius: 3px; background: #e2d6c9; overflow: hidden; }
.wb-tiers__bar span { display: block; height: 100%; background: #543a28; transition: width .3s ease; }
.wb-tiers__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 10px 0 0; padding: 0; list-style: none; text-align: center; font-size: 12.5px; color: #8a7a6c; }
.wb-tiers__steps b { display: block; font-weight: 500; }
.wb-tiers__steps .is-on { color: #543a28; }
.wb-lines { list-style: none; margin: 0; padding: 8px 20px; }
.wb-line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid #e6ddd3; }
.wb-line__img { flex-shrink: 0; display: block; width: 96px; height: 120px; border-radius: 4px; overflow: hidden; background: #f3f3f3; }
.wb-line__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wb-line__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.wb-line__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.wb-line__title { min-width: 0; overflow-wrap: anywhere; font-size: 16px; line-height: 1.3; color: #2a211b; text-decoration: none; }
.wb-line__title:hover { text-decoration: underline; }
.wb-line__opts { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 14px; color: #6b5d51; }
.wb-line__badge { align-self: flex-start; padding: 3px 8px; border-radius: 3px; background: #543a28; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.wb-line__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.wb-line__prices { display: flex; align-items: baseline; gap: 8px; }
.wb-line__compare { font-size: 14px; color: #8a7a6c; }
.wb-line__price { font-size: 17px; font-weight: 600; color: #2a211b; }
.wb-line__remove { flex-shrink: 0; display: flex; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.wb-line__remove svg { width: 22px; height: 22px; }
.wb-qty { display: flex; align-items: center; height: 38px; border: 1px solid #d8ccbf; border-radius: 4px; background: #fff; }
.wb-qty button { display: flex; align-items: center; justify-content: center; width: 38px; height: 36px; padding: 0; border: 0; background: none; color: #2a211b; cursor: pointer; }
.wb-qty svg { width: 20px; height: 20px; fill: currentColor; }
.wb-qty button:disabled { color: #c4b8ac; cursor: default; }
.wb-qty__value { width: 28px; text-align: center; font-size: 16px; }
.wb-select { position: relative; display: inline-flex; align-items: center; align-self: flex-start; }
.wb-select select {
  appearance: none; -webkit-appearance: none; height: 34px; margin: 0; padding: 0 30px 0 10px; border: 1px solid #d8ccbf; border-radius: 4px;
  background: #fff; color: #2a211b; font-family: inherit; font-size: 14px; cursor: pointer; max-width: 100%;
}
.wb-select svg { position: absolute; right: 6px; width: 18px; height: 18px; fill: #6b5d51; pointer-events: none; }
.wb-recs { min-width: 0; max-width: 100%; overflow: hidden; margin: 8px 0 16px; padding: 16px 0 16px 20px; background: #f3eee8; }
.wb-recs__head { display: flex; align-items: center; justify-content: space-between; padding-right: 20px; margin-bottom: 12px; }
.wb-recs__title { font-size: 15px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.wb-recs__nav { display: flex; gap: 6px; }
.wb-recs__nav button { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 1px solid #d8ccbf; border-radius: 50%; background: #fff; cursor: pointer; }
.wb-recs__nav svg { width: 18px; height: 18px; fill: currentColor; }
.wb-recs__track { max-width: 100%; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-right: 20px; scrollbar-width: none; }
.wb-recs__track::-webkit-scrollbar { display: none; }
.wb-rec { flex: 0 0 152px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 6px; background: #fff; }
.wb-rec__img { display: block; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: #f3f3f3; }
.wb-rec__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wb-rec__title { font-size: 13.5px; line-height: 1.3; color: #2a211b; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 35px; }
.wb-rec__price { font-size: 14px; font-weight: 600; }
.wb-rec__price s { font-weight: 400; color: #8a7a6c; }
.wb-select--rec select { height: 30px; font-size: 13px; width: 100%; }
.wb-select--rec { align-self: stretch; }
.wb-rec__add { height: 34px; border: 0; border-radius: 4px; background: #543a28; color: #fff; font-size: 14px; font-weight: 500; letter-spacing: .08em; cursor: pointer; }
.wb-drawer__footer { flex-shrink: 0; padding: 14px 20px 18px; background: #fff; border-top: 1px solid #e6ddd3; }
.wb-drawer__row { display: flex; justify-content: space-between; font-size: 15px; padding: 2px 0; }
.wb-drawer__row--disc { color: #543a28; font-weight: 500; }
.wb-drawer__row--disc em { font-style: normal; margin-left: 6px; padding: 1px 6px; border-radius: 3px; background: #f3eee8; font-size: 12px; letter-spacing: .06em; }
.wb-drawer__cta { padding: 12px 0 8px; }
.wb-drawer__checkout {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 56px; padding: 0 16px; border: 0; border-radius: 4px;
  background: #2a211b; color: #fff; font-size: 17px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
}
.wb-drawer__checkout:hover { background: #543a28; }
.wb-drawer__trust { margin: 2px 0 8px; text-align: center; font-size: 14px; color: #6b5d51; }
.wb-pay .list-payment { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.wb-drawer__body--empty { display: flex; align-items: center; justify-content: center; }
.wb-empty { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 48px 16px; text-align: center; }
.wb-empty__icon svg { width: 64px; height: 64px; }
.wb-empty p { margin: 0; font-size: 18px; }
.wb-empty__btn { padding: 14px 28px; border: 0; border-radius: 4px; background: #2a211b; color: #fff; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
/* /cart: the same cart, as a page */
html.wb-cartpage-on main > .shopify-section { display: none; }
.wb-cartpage { box-sizing: border-box; display: block; width: 100%; max-width: 760px; min-width: 0; overflow-x: hidden; margin: 32px auto 56px; font-family: Jost, var(--font-body-family, Montserrat), sans-serif; font-size: 16px; color: #2a211b; }
.wb-cartpage .wb-drawer__header { background: none; padding: 0 0 16px; justify-content: center; }
.wb-cartpage .wb-drawer__title { font-size: 28px; }
.wb-cartpage .wb-lines { padding: 8px 0; }
.wb-cartpage .wb-tiers { margin: 16px 0 4px; }
.wb-cartpage .wb-recs { padding-left: 16px; border-radius: 6px; }
.wb-cartpage .wb-drawer__footer { border: 1px solid #e6ddd3; border-radius: 6px; }
@media screen and (max-width: 749px) {
  .wb-drawer { width: 100vw; }
  .wb-line__img { width: 84px; height: 105px; }
}

/* ---------------------------------------------------------------- sticky add-to-cart (Essential) */
.wb-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; box-shadow: rgba(0, 0, 0, .1) 0 2px 20px 5px;
  font-family: Jost, var(--font-body-family, Montserrat), sans-serif; letter-spacing: normal; line-height: normal;
}
.wb-sticky * { box-sizing: border-box; }
.wb-sticky__inner { display: flex; height: 72px; background: #fff; }
.wb-sticky__img { flex-shrink: 0; display: block; width: 72px; height: 72px; object-fit: cover; }
.wb-sticky__main { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; padding: 8px 16px; }
.wb-sticky__info { flex: 1 1 auto; min-width: 0; padding-right: 0; }
.wb-sticky__title { font-size: 16px; color: #303030; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-sticky__price { display: flex; gap: 4px; font-size: 16px; color: #303030; }
.wb-sticky__compare { color: #616161; text-decoration: line-through; }
.wb-sticky__controls { flex-shrink: 0; display: flex; align-items: center; height: 43.5px; }
.wb-sticky__select { position: relative; display: flex; align-items: center; height: 43.5px; width: 186.5px; background: #fff; border-radius: 2px 0 0 2px; }
.wb-sticky__select select {
  appearance: none; -webkit-appearance: none; width: 100%; height: 43.5px; margin: 0; padding: 0 30px 0 12px; border: 0;
  background: transparent; color: #303030; font-family: inherit; font-size: 14px; letter-spacing: normal; cursor: pointer;
  text-overflow: ellipsis;
}
.wb-sticky__select svg { position: absolute; right: 6px; width: 20px; height: 20px; fill: #303030; pointer-events: none; }
.wb-sticky__qty { display: flex; align-items: center; height: 43.5px; padding: 0 8px; border-radius: 0 2px 2px 0; }
.wb-sticky__qty button {
  display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; padding: 0; border: 0;
  background: none; color: rgba(18, 18, 18, .75); cursor: pointer;
}
.wb-sticky__qty svg { width: 20px; height: 20px; fill: currentColor; }
.wb-sticky__qty span { width: 20px; text-align: center; font-size: 14px; color: #303030; }
.wb-sticky__add {
  display: flex; align-items: center; justify-content: center; height: 43.5px; margin-left: 8px; padding: 6px 24px; border: 0;
  border-radius: 4px; background: #2a211b; color: #fff; font-family: inherit; font-size: 16px; font-weight: 500; letter-spacing: .08em; cursor: pointer;
  white-space: nowrap;
}
.wb-sticky__add:disabled { background: #e3e3e3; color: #303030; cursor: default; }
.wb-sticky__ann, .wb-sticky__btnprice { display: none; }
/* Phones (Essential's mobile layout, measured at 390x844): a 47px black
   announcement strip, a 64px row (image | title over the variant select |
   quantity) and a 48px full-width black button carrying the price. */
@media screen and (max-width: 749px) {
  .wb-sticky__ann {
    display: flex; align-items: center; justify-content: center; padding: 8px 16px; background: #543a28;
    font-size: 13px; line-height: normal; text-align: center; color: #fff; letter-spacing: .08em;
  }
  .wb-sticky__ann p { margin: 0; }
  .wb-sticky__ann span, .wb-sticky__ann strong { color: #fff; font-weight: 500; }
  .wb-sticky__inner {
    display: grid; height: auto; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-rows: 32px 32px 48px;
    grid-template-areas: "img title qty" "img select qty" "btn btn btn"; column-gap: 12px;
  }
  .wb-sticky__main, .wb-sticky__info, .wb-sticky__controls { display: contents; }
  .wb-sticky__img { grid-area: img; width: 64px; height: 64px; }
  .wb-sticky__title { grid-area: title; align-self: end; font-size: 16px; line-height: 19px; margin-bottom: 2px; }
  .wb-sticky__price { display: none; }
  .wb-sticky__select { grid-area: select; align-self: start; width: auto; height: 20px; margin-top: 2px; background: none; }
  .wb-sticky__select select { width: auto; max-width: 100%; height: 18px; padding: 0 30px 0 0; font-size: 14px; }
  .wb-sticky__select svg { right: 6px; }
  .wb-sticky__qty { grid-area: qty; align-self: center; height: 36px; margin-right: 12px; }
  .wb-sticky__add {
    grid-area: btn; width: 100%; height: 48px; margin: 0; padding: 6px 24px; gap: 8px; border-radius: 0; font-size: 16px; font-weight: 500;
  }
  .wb-sticky__btnprice { display: flex; gap: 4px; font-weight: 400; }
  .wb-sticky__btnprice s { text-decoration: line-through; }
}

/* ---------------------------------------------------------------- complete the look (product pages) */
.wb-ctl { margin: 32px auto 8px; font-family: Jost, var(--font-body-family, Montserrat), sans-serif; }
.wb-ctl__title { text-align: center; margin: 0 0 20px; }
.wb-ctl__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wb-ctl .wb-rec { flex: none; background: #fff; border: 1px solid #ede5dc; }
.wb-ctl .wb-rec__title { font-size: 15px; }
.wb-ctl .wb-rec__price { font-size: 15px; }
.wb-ctl .wb-select--rec select { height: 36px; font-size: 14px; }
.wb-ctl .wb-rec__add { height: 40px; }
@media screen and (max-width: 749px) { .wb-ctl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* Tom 09-10-2026: dark brown buttons, lighter brown on hover */
.wb-sizechart__header:hover,
.wb-drawer__checkout:hover,
.wb-empty__btn:hover,
.wb-sticky__add:hover { background: #543a28; border-color: #543a28; }

/* Tom 09-10-2026: Add to cart in the same colour and style as the cart's checkout button */
.product-form__submit.button,
.product-form__submit.button:not([disabled]) {
  min-height: 56px; border: 0; border-radius: 4px; background: #2a211b !important; color: #fff !important;
  font-size: 17px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; box-shadow: none;
}
.product-form__submit.button::before, .product-form__submit.button::after { box-shadow: none !important; }
.product-form__submit.button:hover { background: #543a28 !important; }

/* Tom 09-10-2026: Color / Size labels and Size Guide the same size as the USP lines above (15px, Jost) */
.product-form__input .form__label, .wb-vs__label, .wb-sizeguide-btn, .wb-sizeguide-btn__text {
  font-family: Jost, var(--font-body-family), sans-serif !important; font-size: 1.5rem !important; font-weight: 400 !important; letter-spacing: inherit !important; text-transform: none !important; line-height: 1.4 !important; color: #2a211b !important;
}
.wb-sizeguide-btn svg { width: 15px; height: 15px; }

/* Tom 09-10-2026: more air between the Color and Size groups */
.wb-vs { margin-bottom: 28px; }
.wb-vs__label { margin-bottom: 10px; }
