/* 8.7.7: approved homepage layout and partnership alignment. */
#wbc-store .wb-native-statement{min-height:clamp(580px,48vw,700px)}
#wbc-store .wb-native-statement .statement-copy{padding:70px 50px 58px;justify-content:flex-start}
#wbc-store .wb-native-statement h1{font-size:clamp(28px,2.55vw,38px);line-height:1.18;margin-bottom:20px}
#wbc-store .wb-native-statement h1 br{display:none}
#wbc-store .wb-native-statement h1 br::after{content:' '}
#wbc-store .wb-native-statement .statement-responsibility{font-size:clamp(21px,2vw,28px);line-height:1.4;margin:8px 0 0}
#wbc-store .wb-native-statement .statement-partner{position:relative;display:block;width:350px;max-width:90%;flex:none;margin:auto;gap:0;text-align:left;padding-top:18px}
#wbc-store .wb-native-statement .partner-label{position:absolute;left:0;top:0;z-index:1;font:italic 500 20px/1.18 'Playfair Display',Georgia,serif;margin:0}
#wbc-store .wb-native-statement .partner-logo{width:100%;max-width:100%}
#wbc-store .wb-native-statement .partner-logo img{display:block;width:100%;height:auto;margin:0;filter:brightness(0);opacity:1}
#wbc-store .wb-shop-head .wb-collection-description{font:500 20px/1.55 Poppins,Arial,sans-serif;color:#2b1b12;max-width:none;margin:10px 0 5px}
#wbc-store .wb-shop-head .wbc-collection-location{font:400 17px/1.55 Poppins,Arial,sans-serif;color:#2b1b12;margin:0 0 10px}
#wbc-store .wb-categories{display:flex;flex-wrap:wrap;gap:14px;margin-top:22px}
#wbc-store .wb-categories>button[data-cat]{font:500 18px/1.35 Poppins,Arial,sans-serif!important;display:inline-flex;flex-direction:row;gap:8px;flex:0 1 auto;width:auto;min-width:0;height:auto;min-height:58px;padding:13px 22px;border-radius:12px;white-space:nowrap}
/* Move the phrase only: retain the production logo dimensions and registered mark. */
@media(min-width:651px){
 html #wbc-store.ct-product-view>.wb-header .wb-header-partner>span:first-child,
 html #wbc-store>.product-toolbar .wbc-product-partner>span:first-child{transform:translate(-30px,4px)!important;text-align:left!important}
}
@media(min-width:701px) and (max-width:1100px){
 #wbc-store .wb-native-statement .statement-copy{padding:48px 30px 38px}
 #wbc-store .wb-native-statement h1 br{display:initial}
 #wbc-store .wb-native-statement .statement-partner{width:285px}
 #wbc-store .wb-native-statement .partner-label{font-size:17px}
}
@media(max-width:700px){
 #wbc-store .wb-native-statement{min-height:0}
 #wbc-store .wb-native-statement .statement-copy{padding:38px 24px 36px}
 #wbc-store .wb-native-statement h1{font-size:32px}
 #wbc-store .wb-native-statement h1 br{display:initial}
 #wbc-store .wb-native-statement .statement-responsibility{font-size:22px}
 #wbc-store .wb-native-statement .statement-partner{width:280px;margin:38px auto 0}
 #wbc-store .wb-native-statement .partner-label{font-size:17px}
 #wbc-store .wb-shop-head .wb-collection-description{font-size:17px}
 #wbc-store .wb-shop-head .wbc-collection-location{font-size:15px}
 #wbc-store .wb-categories{gap:8px}
 #wbc-store .wb-categories>button[data-cat]{font-size:14px!important;padding:12px 14px;min-height:48px}
 html #wbc-store.ct-product-view>.wb-header .wb-header-partner>span:first-child,
 html #wbc-store>.product-toolbar .wbc-product-partner>span:first-child{transform:translate(-10px,0)!important;text-align:left!important}
}

/* 8.7.7: retain original logo artwork at a restrained size; center its whole lockup. */
#wbc-store .wb-native-statement .statement-copy{padding-bottom:0}
#wbc-store .wb-native-statement .wbc-partner-space{flex:1;display:flex;align-items:center;justify-content:center;min-height:225px;padding:38px 0;box-sizing:border-box}
#wbc-store .wb-native-statement .statement-partner{width:280px;max-width:85%;margin:0;padding-top:18px}
#wbc-store .wb-native-statement .partner-label{font-size:17px;line-height:1.18}
@media(min-width:701px) and (max-width:1100px){
 #wbc-store .wb-native-statement .statement-partner{width:250px}
 #wbc-store .wb-native-statement .partner-label{font-size:15px}
}
@media(max-width:700px){
 #wbc-store .wb-native-statement .statement-copy{padding-bottom:0}
 #wbc-store .wb-native-statement .wbc-partner-space{min-height:220px;padding:38px 0}
 #wbc-store .wb-native-statement .statement-partner{width:250px;margin:0}
 #wbc-store .wb-native-statement .partner-label{font-size:15px}
}

/* 8.7.7: align the collection cart with its shopping buttons. */
#wbc-store .wbc-shop-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:22px}
#wbc-store .wbc-shop-actions .wb-categories{margin-top:0;flex:1;min-width:0}
#wbc-store .wbc-shop-actions>#wb-preview-cart{flex:none;margin:0;align-self:center;white-space:nowrap}
@media(max-width:1000px){
 #wbc-store .wbc-shop-actions{flex-wrap:wrap}
 #wbc-store .wbc-shop-actions>#wb-preview-cart{margin-left:auto}
}
@media(max-width:700px){
 #wbc-store .wbc-shop-actions{gap:12px}
 #wbc-store .wbc-shop-actions .wb-categories{flex-basis:100%}
}
#wbc-store .wbc-shop-actions .wb-categories{margin:0!important}
#wbc-store .wbc-shop-actions>#wb-preview-cart{background:#2b1b12;color:#faf3e9;border:0;border-radius:999px;padding:12px 20px;font:500 13px/1.4 Poppins,Arial,sans-serif;min-height:44px;box-sizing:border-box}

/* 8.7.8: match the 32px gap above the shopping buttons below them. */
#wbc-store .wbc-shop-actions{margin-bottom:32px}

/* 8.7.9: compact desktop banner partnership, EN/ES. The logo stays 126 x 52px. */
@media(min-width:1100px){
 html #wbc-store.wb-slim-home>.wb-header .wb-header-partner{position:relative!important;display:block!important;width:150px!important;min-width:150px!important;height:56px!important;gap:0!important;align-self:center!important}
 html #wbc-store.wb-slim-home>.wb-header .wb-header-partner>span:first-child{position:absolute!important;left:0!important;top:0!important;width:auto!important;max-width:66px!important;margin:0!important;padding:0!important;transform:none!important;text-align:left!important;font:400 8px/1.12 Poppins,Arial,sans-serif!important;white-space:nowrap!important}
 html #wbc-store.wb-slim-home>.wb-header .wb-partner-logo-static{position:absolute!important;display:block!important;left:12px!important;top:4px!important;right:auto!important;bottom:auto!important;width:126px!important;height:52px!important;margin:0!important;padding:0!important;transform:none!important}
 html #wbc-store.wb-slim-home>.wb-header .wb-partner-logo-static img{display:block!important;width:126px!important;height:52px!important;max-width:none!important;object-fit:contain!important;transform:none!important}
}

/* 8.8.0: lift the complete desktop Woven Bean brand group; header size is unchanged. */
@media(min-width:1100px){
 html #wbc-store.wb-slim-home>.wb-header .wb-brand-lockup{position:relative;top:-4px}
}

/* 8.9.9: compact category-first controls, preserving existing actions and heights. */
html #wbc-store .wb-categories>button[data-cat]{display:inline-flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:1px!important;box-sizing:border-box!important;min-height:58px!important;height:58px!important;min-width:190px;padding:7px 22px!important;text-align:left!important;white-space:nowrap!important}
#wbc-store .wb-categories .wbc-cat-intro{display:block;font:400 12px/1.25 Poppins,Arial,sans-serif!important}
#wbc-store .wb-categories .wbc-cat-name{display:block;font:600 20px/1.2 Poppins,Arial,sans-serif!important}
@media(max-width:700px){
 html #wbc-store .wb-categories>button[data-cat]{min-width:0;flex:1 1 auto;min-height:48px!important;height:48px!important;padding:5px 12px!important}
 #wbc-store .wb-categories .wbc-cat-intro{font-size:10px!important}
 #wbc-store .wb-categories .wbc-cat-name{font-size:16px!important}
}
/* Chocolate/tea phone banners: put the divider in the gap, not against the phrase. */
@media(max-width:650px){
 html #wbc-store.ct-product-view>.wb-header .wb-header-partner::before{left:-14px!important}
 html #wbc-store.ct-product-view>.wb-header .wb-header-partner>span:first-child{left:6px!important;width:100px!important;max-width:calc(100% - 6px)!important;transform:none!important;text-align:left!important}
}

/* 8.9.9: coffee dropdowns share one phone row; closed choices never linger. */
html #wbc-store #wb-filters details:not([open])>.wb-filter-choices{display:none!important;visibility:hidden!important}
@media(max-width:650px){
 html #wbc-store[data-category="Coffee"] #wb-filters.wb-filter-bar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:start!important}
 html #wbc-store #wb-filters>details{grid-row:1!important;grid-column:1!important;position:relative!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;flex:none!important}
 html #wbc-store #wb-filters>details.wb-coffee-notes{grid-column:2!important}
 html #wbc-store #wb-filters>details>summary{width:100%!important;min-height:44px!important;box-sizing:border-box!important;padding:10px 12px!important;white-space:normal!important}
 html #wbc-store #wb-filters>details[open]>.wb-filter-choices{position:absolute!important;top:calc(100% + 5px)!important;left:0!important;right:auto!important;display:grid!important;visibility:visible!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;z-index:50!important;max-height:55dvh;overflow-y:auto;overscroll-behavior:contain}
 html #wbc-store #wb-filters>.wb-type-filter,html #wbc-store #wb-filters>.wb-size-filter,html #wbc-store #wb-filters>.wb-filter-active{grid-column:1/-1!important;min-width:0!important}
 html #wbc-store #wb-filters>.wb-filter-clear{grid-column:1/-1!important;justify-self:end!important;margin:0!important}
 html #wbc-store #wb-filters .wb-notes-actions{display:flex;flex-wrap:wrap;gap:6px}
 html #wbc-store #wb-filters .wb-notes-actions button{min-width:0;max-width:100%;white-space:normal}
}

/* 8.9.9: a closed panel stays hidden independently of native details painting. */
html #wbc-store #wb-filters details>.wb-filter-choices[hidden]{display:none!important;visibility:hidden!important;pointer-events:none!important}

/* 8.9.9: custom disclosures. Phone menus participate in layout, avoiding hit-target overlap. */
html #wbc-store #wb-filters>.wb-coffee-menu{position:relative!important;align-self:start!important;min-width:0!important;width:100%!important;box-sizing:border-box!important;margin:0!important}
html #wbc-store #wb-filters .wb-filter-toggle{display:flex!important;align-items:center!important;gap:4px!important;width:100%!important;min-height:44px!important;box-sizing:border-box!important;margin:0!important;padding:10px 12px!important;border:1px solid #d9be8d!important;border-radius:6px!important;background:#fff9ef!important;color:#2b1b12!important;font:400 13px/1.4 Poppins,Arial,sans-serif!important;text-align:left!important;white-space:normal!important;cursor:pointer}
html #wbc-store #wb-filters .wb-filter-toggle::before{content:'▸';flex:none}
html #wbc-store #wb-filters .wb-filter-toggle[aria-expanded="true"]::before{content:'▾'}
html #wbc-store #wb-filters .wb-coffee-menu>.wb-filter-choices{position:absolute!important;top:calc(100% + 5px)!important;left:0!important;right:auto!important;display:grid!important;gap:8px!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;margin:0!important;padding:10px!important;background:#fff9ef!important;border:1px solid #d9be8d!important;border-radius:6px!important;box-shadow:0 8px 22px #2b1b1220!important;z-index:50!important;visibility:visible!important;pointer-events:auto!important}
html #wbc-store #wb-filters .wb-coffee-menu>.wb-filter-choices[hidden]{display:none!important;visibility:hidden!important;pointer-events:none!important}
html #wbc-store #wb-filters .wb-coffee-menu[data-open="true"]{z-index:60!important}
html #wbc-store #wb-filters .wb-coffee-menu .wb-filter-choices label{white-space:normal!important;height:auto!important;min-height:44px!important;box-sizing:border-box!important}
html #wbc-store #wb-filters .wb-coffee-menu .wb-notes-actions{display:flex;flex-wrap:wrap;gap:6px}
html #wbc-store #wb-filters .wb-coffee-menu .wb-notes-actions button{min-width:0;max-width:100%;white-space:normal}
@media(max-width:650px){
 html #wbc-store #wb-filters>.wb-coffee-menu{grid-row:1!important;grid-column:1!important;z-index:auto!important}
 html #wbc-store #wb-filters>.wb-coffee-menu.wb-coffee-notes{grid-column:2!important}
 html #wbc-store #wb-filters .wb-coffee-menu>.wb-filter-choices{position:static!important;top:auto!important;left:auto!important;max-height:none!important;overflow:visible!important;margin-top:5px!important;box-shadow:none!important}
 html #wbc-store #wb-filters>.wb-type-filter,html #wbc-store #wb-filters>.wb-size-filter{position:static!important;z-index:auto!important;grid-row:auto!important;align-self:start!important}
}

/* 8.9.9: show the same pointer affordance over every available tea/chocolate tile. */
#wbc-store #wb-grid .wb-product:has(.wb-view:not(:disabled):not([aria-disabled="true"])){cursor:pointer}

/* 8.9.9: homepage phone brand caption on one line, with clear vertical separation. */
@media(max-width:650px){
 html #wbc-store:not(.ct-product-view):not([data-product-name])>.wb-header .wb-brand-caption{margin-top:6px!important;white-space:nowrap!important;width:100%!important}
 html #wbc-store:not(.ct-product-view):not([data-product-name])>.wb-header .wb-brand-caption small.wbc-category-caption{display:block!important;width:100%!important;margin:0!important;padding:0!important;font:400 clamp(9px,2.5vw,11px)/1.4 Poppins,Arial,sans-serif!important;letter-spacing:1.2px!important;white-space:nowrap!important;text-align:center!important}
 html #wbc-store:not(.ct-product-view):not([data-product-name])>.wb-header .wb-brand-caption small.wbc-category-caption>.wb-brand{display:inline!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;font:inherit!important;letter-spacing:inherit!important;white-space:nowrap!important}
 html #wbc-store:not(.ct-product-view):not([data-product-name])>.wb-header .wb-brand-caption .wb-brand>.wbc-category{max-width:none!important;width:auto!important;white-space:nowrap!important}
 html[lang="en"] #wbc-store:not(.ct-product-view):not([data-product-name])>.wb-header .wb-brand-caption .wb-brand>.wbc-coffee-en,
 html[lang="es"] #wbc-store:not(.ct-product-view):not([data-product-name])>.wb-header .wb-brand-caption .wb-brand>.wbc-coffee-es{display:inline!important}
 html #wbc-store:not(.ct-product-view):not([data-product-name])>.wb-header>.wb-why-trigger{margin:12px 0 8px!important}
 html #wbc-store:not(.ct-product-view):not([data-product-name])>.wb-header>.wb-language-switch{margin:0 0 4px!important}
}

/* 8.9.9: restore balanced desktop coffee filters after the native-details replacement. */
@media(min-width:1100px){
 html #wbc-store[data-category="Coffee"] #wb-filters.wb-filter-bar{display:grid!important;grid-template-columns:minmax(110px,.65fr) minmax(145px,.85fr) minmax(200px,1.3fr) minmax(300px,1.8fr) 100px!important;column-gap:10px!important;row-gap:0!important;align-items:end!important}
 html #wbc-store[data-category="Coffee"] #wb-filters.wb-filter-bar>.wb-coffee-menu{grid-column:auto!important;grid-row:1!important;align-self:end!important;flex:none!important;width:100%!important;min-width:0!important;margin:0!important}
 html #wbc-store[data-category="Coffee"] #wb-filters.wb-filter-bar .wb-filter-toggle{height:44px!important;min-height:44px!important;white-space:nowrap!important}
 html #wbc-store[data-category="Coffee"] #wb-filters.wb-filter-bar>.wb-type-filter,
 html #wbc-store[data-category="Coffee"] #wb-filters.wb-filter-bar>.wb-size-filter{grid-column:auto!important;grid-row:1!important;align-self:end!important;width:100%!important;min-width:0!important;margin:0!important;padding:0 0 0 12px!important;box-sizing:border-box!important}
 html #wbc-store[data-category="Coffee"] #wb-filters.wb-filter-bar>.wb-filter-clear{grid-column:5!important;grid-row:1!important;align-self:end!important;width:100%!important;min-width:0!important;margin:0!important;box-sizing:border-box!important}
}
@media(min-width:651px) and (max-width:1099px){
 html #wbc-store[data-category="Coffee"] #wb-filters.wb-filter-bar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:start!important}
 html #wbc-store[data-category="Coffee"] #wb-filters.wb-filter-bar>.wb-coffee-menu{grid-row:1!important;grid-column:1!important;align-self:start!important;min-width:0!important;width:100%!important}
 html #wbc-store[data-category="Coffee"] #wb-filters.wb-filter-bar>.wb-coffee-menu.wb-coffee-notes{grid-column:2!important}
 html #wbc-store[data-category="Coffee"] #wb-filters.wb-filter-bar>.wb-type-filter,
 html #wbc-store[data-category="Coffee"] #wb-filters.wb-filter-bar>.wb-size-filter{grid-column:1/-1!important;grid-row:auto!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
 html #wbc-store[data-category="Coffee"] #wb-filters.wb-filter-bar>.wb-filter-clear{grid-column:2!important;grid-row:auto!important;justify-self:end!important;margin:0!important}
}
html #wbc-store #wb-filters.wb-filter-bar>.wb-filter-active:empty{display:none!important}

/* 8.9.9: compact phone homepage navigation. Product/cart headers keep their controls. */
html #wbc-store>.wb-header .wb-mobile-utility[hidden],
html #wbc-store>.wb-header .wb-mobile-menu-panel[hidden]{display:none!important}
@media(max-width:650px){
 html #wbc-store.wb-mobile-home>.wb-header{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important}
 html #wbc-store.wb-mobile-home>.wb-header>.wb-header-identities{grid-column:1!important;grid-row:1!important}
 html #wbc-store.wb-mobile-home>.wb-header>.wb-mobile-utility{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;grid-column:1!important;grid-row:2!important;width:100%!important;max-width:370px!important;box-sizing:border-box!important;margin:12px auto 8px!important;min-height:44px!important}
 html #wbc-store.wb-mobile-home>.wb-header .wb-mobile-utility>.wb-language-switch{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:5px!important;margin:0!important;min-width:0!important;white-space:nowrap!important}
 html #wbc-store.wb-mobile-home>.wb-header .wb-mobile-utility .wb-language-switch button{font-size:13px!important;min-height:40px!important;padding:7px!important}
 html #wbc-store.wb-mobile-home>.wb-header .wb-mobile-menu-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;flex:none!important;min-height:44px!important;padding:8px 14px!important;border:1px solid #b8935a!important;border-radius:8px!important;background:#fff9ef!important;color:#2b1b12!important;font:500 14px/1.3 Poppins,Arial,sans-serif!important;white-space:nowrap!important;cursor:pointer}
 html #wbc-store.wb-mobile-home>.wb-header>.wb-mobile-menu-panel{display:block;grid-column:1!important;grid-row:3!important;width:100%!important;max-width:370px!important;margin:0 auto 8px!important;padding:6px 0!important;border-top:1px solid #d9be8d!important;border-bottom:1px solid #d9be8d!important;box-sizing:border-box!important}
 html #wbc-store.wb-mobile-home>.wb-header .wb-mobile-menu-panel>nav{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;width:100%!important;margin:0!important;padding:0!important}
 html #wbc-store.wb-mobile-home>.wb-header .wb-mobile-menu-panel>nav>a{display:flex!important;justify-content:flex-start!important;align-items:center!important;min-height:44px!important;width:100%!important;box-sizing:border-box!important;padding:10px 12px!important;font:400 15px/1.4 Poppins,Arial,sans-serif!important;text-align:left!important;white-space:normal!important}
 html #wbc-store.wb-mobile-home>.wb-header .wb-mobile-menu-panel>nav>#wb-cart{display:none!important}
 html #wbc-store.wb-mobile-home>.wb-header .wb-mobile-menu-panel>.wb-why-trigger{display:block!important;width:100%!important;min-height:44px!important;margin:0!important;padding:10px 12px!important;box-sizing:border-box!important;font:400 15px/1.4 Poppins,Arial,sans-serif!important;text-align:left!important;white-space:normal!important}
 /* Compact summary only; the expanded announcement, cart and checkout notices are unchanged. */
 html #wbc-store>.wbc-holiday-home{width:calc(100% - 24px)!important;margin:8px auto!important}
 html #wbc-store>.wbc-holiday-home .wbc-holiday-summary{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;gap:7px 9px!important;min-height:0!important;padding:10px 12px!important}
 html #wbc-store>.wbc-holiday-home .wbc-holiday-turkey{grid-column:1!important;grid-row:1!important;width:44px!important}
 html #wbc-store>.wbc-holiday-home .wbc-holiday-turkey img{width:44px!important}
 html #wbc-store>.wbc-holiday-home .wbc-holiday-summary-copy{display:contents!important}
 html #wbc-store>.wbc-holiday-home .wbc-holiday-summary-copy>strong{display:block!important;grid-column:2!important;grid-row:1!important;min-height:0!important;padding:0!important;border:0!important;font-size:15px!important;line-height:1.3!important;text-align:left!important}
 html #wbc-store>.wbc-holiday-home .wbc-holiday-summary-message{display:block!important;grid-column:1/-1!important;grid-row:2!important;min-height:0!important;padding:0!important;border:0!important;text-align:left!important}
 html #wbc-store>.wbc-holiday-home [data-wbc-holiday-teaser]{display:block!important;max-width:none!important;margin:0!important;font-size:14px!important;line-height:1.45!important;white-space:pre-line!important;text-align:left!important}
 html #wbc-store>.wbc-holiday-home .wbc-holiday-more{grid-column:1/-1!important;grid-row:3!important;justify-self:start!important;padding:0!important;border:0!important;font-size:14px!important;line-height:1.4!important;text-align:left!important}
}
@media(max-width:650px){
 html #wbc-store.wb-mobile-home>.wb-header .wb-mobile-menu-panel>nav>a{gap:4px!important;flex-wrap:wrap!important}
}

/* 8.9.9: tighten the phone utility row without reducing tap targets. */
@media(max-width:650px){
 html #wbc-store.wb-mobile-home>.wb-header>.wb-mobile-utility{margin:4px auto 4px!important}
 html #wbc-store.wb-mobile-home>.wb-header{padding-bottom:4px!important}
}
