/* Hide the redundant page title on the front page — the hero carries the headline. */
.home .entry-header {
 display: none;
}
/* Hide the duplicated theme credit block in the site footer. */
.site-footer .site-info { display: none; }
/* Hide the duplicate sorting dropdown and result count that Storefront renders below the product loop (woocommerce_after_shop_loop) — the top bar stays visible. */
ul.products ~ .storefront-sorting .woocommerce-ordering,
ul.products ~ .storefront-sorting .woocommerce-result-count {
 display: none;
}
/* Hide only the Tags line on single product pages; keep the Category line. */
.single-product .product_meta .tagged_as {
 display: none;
}
/* Stronger fallback for the same Tags line. */
.tagged_as {
 display: none !important;
}
/* Cart: clear x remove control on each item row (WooCommerce block cart and classic cart). */
.wc-block-cart-item__remove-link,
button.wc-block-cart-item__remove-link,
.wc-block-cart-items .wc-block-cart-item__remove-link {
 display: inline-flex !important;
 align-items: center !important;
 justify-content: center !important;
 width: 44px !important;
 height: 44px !important;
 min-width: 44px !important;
 margin-top: 8px !important;
 padding: 0 !important;
 background: #fff1f1 !important;
 border: 2px solid #c0392b !important;
 border-radius: 50% !important;
 color: #c0392b !important;
 font-size: 0 !important;
 line-height: 1 !important;
 text-decoration: none !important;
 box-shadow: none !important;
}
.wc-block-cart-item__remove-link svg,
.wc-block-cart-item__remove-link img {
 display: none !important;
}
.wc-block-cart-item__remove-link::after {
 content: "\00d7";
 font-size: 30px;
 font-weight: 700;
 line-height: 1;
 color: #c0392b;
}
/* Classic cart remove link: same clear, large red x circle. */
.woocommerce-cart a.remove,
.woocommerce-cart td.product-remove a.remove {
 display: inline-flex !important;
 align-items: center;
 justify-content: center;
 width: 44px !important;
 height: 44px !important;
 font-size: 30px !important;
 font-weight: 700 !important;
 line-height: 1 !important;
 color: #c0392b !important;
 background: #fff1f1 !important;
 border: 2px solid #c0392b !important;
 border-radius: 50% !important;
}
/* Cart quantity steppers: keep them visible and easy to tap, including on mobile. Applies only where WooCommerce renders a stepper (not sold-individually items, which have no quantity control by design). */
.wc-block-components-quantity-selector,
.woocommerce-cart .quantity,
.woocommerce-cart td.product-quantity .quantity {
 display: inline-flex !important;
 align-items: center !important;
 visibility: visible !important;
 opacity: 1 !important;
}
.wc-block-components-quantity-selector__button,
.woocommerce-cart .quantity .minus,
.woocommerce-cart .quantity .plus {
 min-width: 44px !important;
 min-height: 44px !important;
 font-size: 22px !important;
 font-weight: 700 !important;
}
.wc-block-components-quantity-selector__input,
.woocommerce-cart .quantity input.qty {
 width: 56px !important;
 min-height: 44px !important;
 font-size: 18px !important;
 text-align: center !important;
}
@media (max-width: 768px) {
 .wc-block-cart-item__remove-link,
 .woocommerce-cart a.remove {
 display: inline-flex !important;
 }
}
/* Stronger x glyph: literal character. */
.wc-block-cart-item__remove-link::after { content: "×" !important; display: inline-block !important; font-size: 32px !important; font-weight: 700 !important; line-height: 1 !important; color: #c0392b !important; }
/* Cart: move the red-circle x remove control to the top right of each cart item row. */
.wc-block-cart-items__row,
.wc-block-cart-item__product,
.woocommerce-cart-form__cart-item {
 position: relative;
}
.wc-block-cart-item__remove-link,
button.wc-block-cart-item__remove-link,
.wc-block-cart-items .wc-block-cart-item__remove-link {
 position: absolute !important;
 top: 0 !important;
 right: 0 !important;
 margin: 0 !important;
 z-index: 2 !important;
}
/* Fix 2026-10-24: restore the standard WooCommerce trash-can remove icon and keep it clear of the title text. This overrides the earlier rules that hid the trash icon and rendered a replacement glyph. */
.wc-block-cart-item__remove-link svg,
.wc-block-cart-item__remove-link img {
 display: inline-block !important;
 visibility: visible !important;
 opacity: 1 !important;
}
.wc-block-cart-item__remove-link::after {
 content: none !important;
 display: none !important;
}
.wc-block-cart-item__remove-link,
button.wc-block-cart-item__remove-link {
 background: transparent !important;
 border: 0 !important;
 border-radius: 0 !important;
 color: inherit !important;
 box-shadow: none !important;
}
.wc-block-cart-item__product,
.wc-block-cart-item__details,
.wc-block-cart-item__title,
.wc-block-components-product-name {
 padding-right: 60px !important;
 box-sizing: border-box !important;
}
.woocommerce-cart-form__cart-item td.product-name {
 padding-right: 60px !important;
 box-sizing: border-box !important;
}
/* Higher-specificity override for the same remove control, so the earlier red-circle background and border are fully cleared. */
/* 2 products per row on mobile phones (added 2026-11-03) */
@media screen and (max-width: 767px) {
 .site-main ul.products li.product {
 width: 48%;
 float: left;
 margin-right: 4%;
 margin-bottom: 2.992em;
 clear: none;
 }
 .site-main ul.products li.product:nth-of-type(2n) {
 margin-right: 0;
 }
 .site-main ul.products li.product:nth-of-type(2n+1) {
 clear: left;
 }
}
.wc-block-cart-items .wc-block-cart-item__remove-link,
.wc-block-cart-items button.wc-block-cart-item__remove-link {
 background: transparent !important;
 border: 0 !important;
 border-radius: 0 !important;
 color: inherit !important;
 box-shadow: none !important;
}
/* Fix 2026-11-13 (phone home page): compact hero, smaller logo on phones, color circles in one row on phones */
body.home .wp-block-cover{min-height:0!important;padding-top:1.75rem!important;padding-bottom:1.75rem!important;}
body.home .wp-block-cover+.wp-block-group{padding-top:1.5rem!important;padding-bottom:2.5rem!important;}
@media screen and (max-width:767px){
header.site-header .custom-logo,.site-branding .custom-logo,.site-logo img,.custom-logo{max-width:60px!important;height:auto!important;}
.wc-block-product .cf-swatches,.wc-block-grid__product .cf-swatches{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:5px!important;justify-content:flex-start!important;}
.wc-block-product .cf-swatches button,.cf-swatches .cf-swatch{width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;flex:0 0 auto!important;padding:0!important;}
}
/* Fix 2026-11-13: compact home hero. The cover's inner container was forcing ~470px height, so the hero showed as a tall blank band on phones. */
.wp-block-cover{min-height:0!important;height:auto!important;padding-top:1.75rem!important;padding-bottom:1.75rem!important;}
.wp-block-cover__inner-container{min-height:0!important;height:auto!important;padding-top:0!important;padding-bottom:0!important;}
.wp-block-cover+.wp-block-group{padding-top:1.5rem!important;padding-bottom:2.5rem!important;}
/* Fix 2026-11-13: color circles must stay in a horizontal row on phones (ancestor-free selector). */
@media screen and (max-width:767px){
.cf-swatches{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:5px!important;justify-content:flex-start!important;align-items:center!important;width:100%!important;max-width:100%!important;}
.cf-swatches button,button.cf-swatch{width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;flex:0 0 auto!important;display:inline-flex!important;padding:0!important;}
}
/* TEMP DEBUG SWATCH: outline the swatch container red to confirm its identity. */
.cf-swatches{outline:3px solid red!important;}
/* TEMP DEBUG SWATCH 2: unscoped row rule (test whether the media query is the problem). */
.cf-swatches{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;width:100%!important;}
/* 2026-11-13: the red diagnostic outline above is switched off here. The row rules above it are the live fix. */
.cf-swatches{outline:none!important;}
/* Fix 2026-11-14 (phone home + shop): bigger product images, small centered swatch circles in one row. */
@media screen and (max-width:767px){
 body.home ul.wc-block-product-template__responsive,
 body.home .wc-block-product-template__responsive.columns-4{
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:12px!important;
 }
 body.home .wc-block-product-template__responsive .wc-block-product{
 width:auto!important;
 min-width:0!important;
 }
 body.home .wc-block-components-product-image,
 body.home .wc-block-grid__product-image{
 width:100%!important;
 max-width:100%!important;
 margin-left:auto!important;
 margin-right:auto!important;
 }
 body.home .wc-block-components-product-image a,
 body.home .wc-block-grid__product-image a{
 display:block!important;
 width:100%!important;
 }
 body.home .wc-block-components-product-image img,
 body.home .wc-block-grid__product-image img,
 body.home .wp-block-woocommerce-product-image img{
 display:block!important;
 width:100%!important;
 max-width:100%!important;
 min-width:100%!important;
 height:auto!important;
 margin-left:auto!important;
 margin-right:auto!important;
 }
 body.home .wp-block-group__inner-container.is-layout-constrained{
 padding-left:12px!important;
 padding-right:12px!important;
 }
}
/* Swatch row: small (20px) circles, one row, cent
/* Fix 2026-11-14 (3): CENTER swatches, 20px circles, tighter Printify crop - home + shop, all widths. This block is LAST, so it overrides the earlier flex-start phone rules. */
body.home .wc-block-grid__product .cf-swatches,
body.home .wc-block-product .cf-swatches,
body.woocommerce-shop ul.products li.product .cf-swatches,
.woocommerce ul.products li.product .cf-swatches,
body.home .wc-block-grid__product div[role="group"][aria-label="Choose a color"],
.woocommerce ul.products li.product div[role="group"][aria-label="Choose a color"],
.wc-block-grid__product div[role="group"][aria-label="Choose a color"]{
 display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;justify-content:center!important;align-items:center!important;gap:6px!important;width:100%!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;margin-top:0!important;margin-bottom:0!important;padding:6px 0 2px!important;text-align:center!important;align-self:center!important;float:none!important;
}
body.home .wc-block-grid__product,body.home .wc-block-product,.woocommerce ul.products li.product{text-align:center!important;}
.cf-swatches .cf-swatch,.cf-swatches button,button.cf-swatch,div[role="group"][aria-label="Choose a color"] button{width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;max-width:20px!important;max-height:20px!important;flex:0 0 20px!important;padding:0!important;margin:0!important;border-radius:50%!important;box-sizing:border-box!important;}
.cf-swatches .cf-swatch[aria-pressed="true"],.cf-swatches button[aria-pressed="true"],button.cf-swatch[aria-pressed="true"],div[role="group"][aria-label="Choose a color"] button[aria-pressed="true"]{outline:none!important;box-shadow:0 0 0 1px #fff,0 0 0 2px currentColor!important;}
@media screen and (max-width:767px){
 body.home .wc-block-grid__product .cf-swatches,body.home .wc-block-product .cf-swatches,.woocommerce ul.products li.product .cf-swatches,ul.products li.product div[role="group"][aria-label="Choose a color"]{justify-content:center!important;margin-left:auto!important;margin-right:auto!important;align-self:center!important;}
}
ered - home + shop, all widths. The attribute selector matches the live group even if its class changes. */
.cf-swatches,
div[role="group"][aria-label="Choose a color"]{
 display:flex!important;
 flex-direction:row!important;
 flex-wrap:wrap!important;
 justify-content:center!important;
 align-items:center!important;
 gap:6px!important;
 width:100%!important;
 max-width:100%!important;
 margin-left:auto!important;
 margin-right:aut
/* Fix 2026-11-14 (4): CENTER the home Featured Finds grid itself - equal space left and right, two-column phone grid centered, not shifted right. */
body.home main,body.home .site-main,body.home .content-area,body.home .col-full{margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;}
body.home .wp-block-group,body.home .wp-block-group__inner-container,body.home .wp-block-group__inner-container.is-layout-constrained{margin-left:auto!important;margin-right:auto!important;padding-left:12px!important;padding-right:12px!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;}
body.home .wc-block-product-template__responsive,body.home ul.wc-block-product-template__responsive,body.home .wc-block-grid__products,body.home ul.wc-block-grid__products,body.home .wc-block-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;width:100%!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;justify-content:center!important;justify-items:center!important;box-sizing:border-box!important;}
body.home .wc-block-grid__product,body.home .wc-block-product,body.home li.wc-block-grid__product{margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;width:100%!important;max-width:100%!important;}
@media screen and (max-width:767px){
 body.home .wc-block-product-template__responsive,body.home ul.wc-block-product-template__responsive,body.home .wc-block-grid__products,body.home ul.wc-block-grid__products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;justify-content:center!important;}
 body.home .wp-block-group__inner-container.is-layout-constrained{padding-left:12px!important;padding-right:12px!important;}
}
o!important;
 padding:0!important;
}
.cf-swatches button,
.cf-swatches .cf-swatch,
button.cf-swatch,
div[role="group"][aria-label="Choose a color"] button{
 width:20px!important;
 height:20px!important;
 min-width:20px!important;
 min-height:20px!important;
 max-width:20px!important;
 max-height:20px!important;
 flex:0 0 20px!important;
 padding:0!important;
 margin:0!important;
 box-sizing:border-box!important;
}
/* NO-CROP 2026-11-14: show the FULL product image, never crop or zoom it. *//* NO-CROP 2026-11-14 (rules): show the FULL product image - never crop or zoom it. */
ul.products li.product img,ul.products li.product-category img,body.home .wc-block-grid__product-image img,body.home .wc-block-components-product-image img,body.home .wc-block-grid__product img{width:100%!important;height:auto!important;object-fit:contain!important;object-position:center center!important;transform:none!important;}
ul.products li.product a.woocommerce-loop-product__link,ul.products li.product-category a,body.home .wc-block-grid__product-image,body.home .wc-block-components-product-image{overflow:visible!important;aspect-ratio:auto!important;height:auto!important;}
/* CENTER Shop by Category 2026-11-14: center the [product_categories] shortcode grid - all 4 tiles on one row, 2 per row on phones. */
body.home ul.products.columns-4{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:flex-start!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;gap:20px!important;}
body.home ul.products.columns-4 li.product-category{float:none!important;clear:none!important;width:calc(25% - 15px)!important;max-width:280px!important;flex:0 1 auto!important;margin:0!important;}
@media screen and (max-width:767px){body.home ul.products.columns-4 li.product-category{width:calc(50% - 10px)!important;max-width:none!important;}}/* CENTER Shop by Category 2026-11-14 (grid): 4 equal columns so all 4 tiles fit on one row, centered; 2 per row on phones. */
body.home ul.products.columns-4,body.home .woocommerce ul.products.columns-4{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;justify-content:center!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;}
body.home ul.products.columns-4 li.product-category,body.home .woocommerce ul.products.columns-4 li.product-category{float:none!important;clear:none!important;width:100%!important;max-width:280px!important;flex:none!important;margin:0 auto!important;}
@media screen and (max-width:767px){body.home ul.products.columns-4,body.home .woocommerce ul.products.columns-4{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}/* FIX Shop by Category 2026-11-14: the ul's ::before/::after clearfix pseudos become flex/grid items and steal the first cell - hide them. Flex keeps the last row centered. */
body.home ul.products.columns-4::before,body.home ul.products.columns-4::after,body.home .woocommerce ul.products.columns-4::before,body.home .woocommerce ul.products.columns-4::after{display:none!important;content:none!important;}
body.home ul.products.columns-4,body.home .woocommerce ul.products.columns-4{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:20px!important;}
body.home ul.products.columns-4 li.product-category,body.home .woocommerce ul.products.columns-4 li.product-category{width:calc(25% - 16px)!important;max-width:280px!important;flex:0 1 auto!important;margin:0!important;}
@media screen and (max-width:767px){body.home ul.products.columns-4 li.product-category,body.home .woocommerce ul.products.columns-4 li.product-category{width:calc(50% - 11px)!important;max-width:none!important;}}
/* FIX 2026-11-14: color dots in WooCommerce block grids (Featured Finds, New in store). The swatch buttons are plain <button>s inside a [role="group"]; the old .cf-swatches/.cf-swatch classes do not match them, so size them directly and center the row. */
.wc-block-grid__product div[role="group"] { display:flex!important; flex-direction:row!important; flex-wrap:wrap!important; justify-content:center!important; align-items:center!important; gap:5px!important; width:100%!important; }
.wc-block-grid__product div[role="group"] button { width:20px!important; height:20px!important; min-width:20px!important; min-height:20px!important; flex:0 0 20px!important; border-radius:50%!important; padding:0!important; margin:0!important; font-size:0!important; line-height:0!important; display:inline-block!important; visibility:visible!important; opacity:1!important; border:1px solid rgba(0,0,0,0.3)!important; }
/* FIX 2026-11-14 (broadened): the block may use .wc-block-product instead of .wc-block-grid__product; also match the group by its aria-label. */
.wc-block-grid__product [role="group"], .wc-block-product [role="group"], [aria-label="Choose a color"] { display:flex!important; flex-direction:row!important; flex-wrap:wrap!important; justify-content:center!important; align-items:center!important; gap:5px!important; width:100%!important; }
.wc-block-grid__product [role="group"] button, .wc-block-product [role="group"] button, [aria-label="Choose a color"] button { width:20px!important; height:20px!important; min-width:20px!important; min-height:20px!important; flex:0 0 20px!important; border-radius:50%!important; padding:0!important; margin:0!important; font-size:0!important; line-height:0!important; display:inline-block!important; visibility:visible!important; opacity:1!important; border:1px solid rgba(0,0,0,0.3)!important; }
/* FIX 2026-11-14: the full-height product image grew tall enough to cover the color-dot row beneath it. Cap the block-grid image at 270px (object-fit:contain keeps the FULL image visible, letterboxed, never cropped) so the dots sit below it, and lift the swatch row above any overflow. */
body.home .wc-block-grid__product-image img, body.home .wc-block-components-product-image img, body.home .wc-block-grid__product img { max-height:270px!important; }
body.home .wc-block-grid__product [role="group"], body.home [aria-label="Choose a color"] { position:relative!important; z-index:5!important; background:#fff!important; }
/* Cart page: replace the "Home > Cart" breadcrumb with the shop category links. */
.woocommerce-cart .woocommerce-breadcrumb,
.woocommerce-cart .storefront-breadcrumb {
 display: none !important;
}
.cfanmokap-cart-categories {
 text-align: center;
 margin: 8px 0 18px;
}
.cfanmokap-cart-categories a {
 display: inline-block;
 color: #000000;
 text-decoration: none;
 margin: 4px 16px;
 font-size: 17px;
}
.cfanmokap-cart-categories a:hover,
.cfanmokap-cart-categories a:focus {
 color: #000000;
 text-decoration: underline;
}
/* Cart page "New in store": let product titles wrap to 2-3 lines instead of being cut off with "...". */
.woocommerce-cart .wc-block-grid__product-title,
.woocommerce-cart .wc-block-grid__product-title a,
.woocommerce-cart .wc-block-components-product-title,
.woocommerce-cart .wc-block-components-product-title a,
.woocommerce-cart .woocommerce-loop-product__title,
.woocommerce-cart .wp-block-post-title,
.woocommerce-cart .wp-block-post-title a,
.woocommerce-cart .wc-block-components-product-name {
 display: block !important;
 white-space: normal !important;
 overflow: visible !important;
 text-overflow: clip !important;
 -webkit-line-clamp: unset !important;
 line-clamp: unset !important;
 -webkit-box-orient: unset !important;
 max-height: none !important;
 height: auto !important;
}
/* Safety net: hide any stray dots separator in the empty cart. */
.woocommerce-cart .wp-block-woocommerce-empty-cart-block hr.is-style-dots {
 display: none !important;
}
/* Category links on the cart page match the shop nav: no underline. */
body.woocommerce-cart .cfanmokap-cart-categories a {
 text-decoration: none !important;
 border-bottom: none !important;
 box-shadow: none !important;
}
/* Remove the thin divider line between the header and the hero so they flow as one continuous white area. */
.site-header,
.storefront-primary-navigation {
 border-bottom: none !important;
 box-shadow: none !important;
}
.home .site-main,
.home .type-page,
.home .entry-content > :first-child {
 border-top: none !important;
}
/* Header + hero fix — 17 Nov 2026 (approved by Cassandra). */
.site-header { padding-top: 8px !important; padding-bottom: 8px !important; }
.site-header .col-full, .site-header .storefront-primary-navigation { display: flex !important; align-items: center !important; flex-wrap: nowrap !important; gap: 16px; }
.site-header .site-branding { float: none !important; width: auto !important; margin: 0 !important; flex: 0 0 auto; }
.site-header .site-branding .custom-logo-link img, .site-header .site-branding img { width: 44px !important; height: 44px !important; max-height: 44px !important; }
.site-header .site-branding .site-title, .site-header .site-title { font-size: 23px !important; line-height: 1.1 !important; }
.site-header .storefront-primary-navigation { margin-left: auto !important; }
.site-header .site-search, .site-header .secondary-navigation, .site-header .site-header-cart { float: none !important; margin: 0 !important; display: flex !important; flex-direction: row !important; align-items: center !important; gap: 18px !important; }
.site-header .secondary-navigation ul, .site-header .site-header-cart ul { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 18px !important; margin: 0 !important; }
.site-header div:has(> a[href*="my-account"]), .site-header div:has(> a.cart-contents), .site-header div:has(> button) { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 18px !important; }
.site-header .site-header-cart .widget_shopping_cart { display: none !important; }
/* Split hero on the home page: cap the band at ~600px and crop the square hoodie image to fill it. */
.home .wp-block-media-text { margin-top: 0; margin-bottom: 0; }
.home .wp-block-media-text .wp-block-media-text__media img { height: 600px; width: 100%; object-fit: cover; object-position: center; }
@media (max-width: 600px) {
 .site-header .col-full, .site-header .storefront-primary-navigation { flex-wrap: wrap; row-gap: 8px; }
 .home .wp-block-media-text .wp-block-media-text__media img { height: 340px; }
}
/* Search form stays collapsed (icon only) — my earlier flex rule had revealed its input. */
.site-header .site-search { display: none !important; }
/* DIAGNOSTIC (temporary): highlight the cart container to find it. */
.site-header .site-header-cart { background: red !important; min-width: 60px !important; min-height: 40px !important; }
.site-header a.cart-contents { display: inline-block !important; visibility: visible !important; opacity: 1 !important; color: #000 !important; font-size: 16px !important; }
.site-header .site-branding .site-title a { font-size: 23px !important; line-height: 1.1 !important; }
/* DIAGNOSTIC 2: remove red, add a text label after the cart link to see if it renders. */
.site-header .site-header-cart { background: transparent !important; }
.site-header a.cart-contents::after { content: " CART" !important; font-size: 14px !important; color: #000 !important; }
/* DIAGNOSTIC 3: undo the widget-hide rule to test if it was hiding the cart link. */
.site-header .site-header-cart .widget_shopping_cart { display: block !important; }
/* DIAGNOSTIC 4: target the cart link by its href, regardless of class. */
.site-header a[href$="/cart/"] { display: inline-flex !important; visibility: visible !important; opacity: 1 !important; }
.site-header a[href$="/cart/"]::after { content: " CART" !important; font-size: 14px !important; color: #000 !important; }
/* DIAGNOSTIC 5: unclip the cart link and give it a yellow background. */
.site-header a[href$="/cart/"] { position: static !important; clip: auto !important; clip-path: none !important; overflow: visible !important; width: auto !important; height: auto !important; background: yellow !important; min-width: 60px !important; min-height: 40px !important; }
/* DIAGNOSTIC 6: any href containing cart, yellow background. */
.site-header a[href*="cart"] { background: yellow !important; min-width: 60px !important; min-height: 40px !important; display: inline-block !important; }
/* DIAGNOSTIC 7: reveal .site-search to test if cart is inside it. */
.site-header .site-search { display: flex !important; }
/* DIAGNOSTIC 8: show every header widget. */
.site-header .widget, .site-header [class*="widget"] { display: block !important; visibility: visible !important; opacity: 1 !important; }
/* DIAGNOSTIC 9: cart link without .site-header prefix. */
a[href*="cart"] { background: yellow !important; min-width: 60px !important; min-height: 40px !important; display: inline-flex !important; visibility: visible !important; }
/* DIAGNOSTIC 10: any ancestor of the cart link, show it. */
*:has(> a[href*="cart"]) { display: flex !important; visibility: visible !important; opacity: 1 !important; }
/* CLEANUP 17 Nov 2026: the flex-row header hid the cart icon in this theme, so revert the header layout to the theme default (cart visible again). Keep only the smaller logo and the capped hero. Remove all diagnostic styles. */
.site-header .col-full, .site-header .storefront-primary-navigation, .site-header .site-search, .site-header .secondary-navigation, .site-header .site-header-cart, .site-header .secondary-navigation ul, .site-header .site-header-cart ul { display: block !important; flex-direction: column !important; }
.site-header div:has(> a[href*="my-account"]), .site-header div:has(> a.cart-contents), .site-header div:has(> button), *:has(> a[href*="cart"]) { display: block !important; }
.site-header .site-search { display: none !important; }
.site-header .site-search.is-open, .site-header .site-search.open, .site-header .site-search--open { display: block !important; }
.site-header .site-header-cart { background: transparent !important; min-width: 0 !important; min-height: 0 !important; }
.site-header .site-header-cart .widget_shopping_cart, .site-header .widget, .site-header [class*="widget"] { display: revert !important; visibility: revert !important; opacity: revert !important; }
.site-header a.cart-contents, .site-header a[href*="cart"], a[href*="cart"] { background: transparent !important; min-width: 0 !important; min-height: 0 !important; display: inline !important; visibility: visible !important; opacity: 1 !important; color: inherit !important; font-size: inherit !important; }
.site-header a.cart-contents::after, .site-header a[href$="/cart/"]::after { content: none !important; }
.site-header .site-branding a { font-size: 23px !important; line-height: 1.1 !important; }
/* REVERT 17 Nov 2026: restore the theme's own header layout (my display:block cleanup stacked the nav above the logo). */
.site-header .col-full, .site-header .storefront-primary-navigation, .site-header .secondary-navigation, .site-header .site-header-cart, .site-header .secondary-navigation ul, .site-header .site-header-cart ul, .site-header div:has(> a[href*="my-account"]), .site-header div:has(> a.cart-contents), .site-header div:has(> button), *:has(> a[href*="cart"]) { display: revert !important; flex-direction: revert !important; }
/* MOBILE FIX - 17 Nov 2026: hide the empty mini-cart dropdown text ("No products in the cart.") under the header icons on phones. The cart icon and its 0 badge stay visible, and tapping the cart still opens the cart page. Desktop hover dropdown is untouched. */
@media (max-width: 767px) { .site-header .site-header-cart .widget_shopping_cart { display: none !important; }}
/* MOBILE FIX - 17 Nov 2026: show the theme's mobile menu toggle (hamburger) so Home and Shop are reachable on phones. */@media (max-width: 767px) { .site-header .main-navigation .menu-toggle { display: block !important; }}
/* MOBILE FIX - 17 Nov 2026: separate the Featured Finds buttons in the 2-column phone grid so adjacent black pills no longer touch and read as one bar. */@media (max-width: 767px) { .wc-block-grid__product .wp-block-button__link, .wc-block-grid__product .wc-block-grid__product-add-to-cart a, .wc-block-grid__product .wc-block-grid__product-add-to-cart button { display: inline-block !important; width: auto !important; max-width: 150px !important; padding-left: 14px !important; padding-right: 14px !important; }}
/* MOBILE FIX - 17 Nov 2026: reduce the empty white space above the hero on phones so the headline is reachable sooner. Does not change the hero image height, headline, subhead, or Shop Now button. */@media (max-width: 767px) { .home .site-content .col-full, .home .entry-content { padding-top: 0 !important; } .home .wp-block-media-text { margin-top: 0 !important; }}
/* MOBILE FIX - 17 Nov 2026 (hero follow-up): also clear the content wrapper's own top padding on phones. */@media (max-width: 767px) { .home .site-content { padding-top: 0 !important; }}
/* MOBILE FIX - 17 Nov 2026 (hero margins): also clear header bottom and content top margins on phones. */
@media (max-width: 767px) { .home .site-header { margin-bottom: 0 !important; padding-bottom: 0 !important; } .home .site-content, .home main, .home article { margin-top: 0 !important; }
}
/* MOBILE FIX - 17 Nov 2026: put the header search/account/cart icons on the RIGHT on phones (they were centered under the logo). The logo stays left. */
@media (max-width: 767px) { .site-header .col-full { text-align: right !important; } .site-header .site-branding { text-align: left !important; }}
/* Note 17 Nov 2026: preview resync only - no style change. */
/* MOBILE FIX - 17 Nov 2026 (menu on Shop page): the Menu toggle was cut off at the left edge of the Shop page (it sits at the right on Home/product pages). Force it back into view on the right on phones. */
@media (max-width: 767px) { .site-header .main-navigation .menu-toggle { display: block !important; float: right !important; position: relative !important; left: auto !important; right: auto !important; margin-right: 0 !important; } }
/* MOBILE FIX - 17 Nov 2026 (menu on Shop page, follow-up): the nav itself may be the element pushed off-screen, so reset the nav to a full-width block on its own row and keep the toggle on the right. */
@media (max-width: 767px) { .site-header .main-navigation { position: static !important; left: auto !important; right: auto !important; transform: none !important; margin-left: 0 !important; margin-right: 0 !important; display: block !important; width: 100% !important; clear: both !important; } }
/* FEATURED FINDS ALIGNMENT - 17 Nov 2026 (desktop): the two mugs (simple products) have no colour-swatch row, so their titles/prices/buttons sat ~50px higher than the variable products. Make cards equal-height flex columns, pin the button row to the bottom, and reserve the swatch row's height above simple-product titles so titles line up too. */
@media (min-width: 768px) { .wc-block-grid__product { display: flex !important; flex-direction: column !important; height: 100% !important; } .wc-block-grid__product-add-to-cart { margin-top: auto !important; } .wc-block-grid__product:has(.wc-block-grid__product-add-to-cart button) .wc-block-grid__product-title { margin-top: 50px !important; } }
/* FEATURED FINDS ALIGNMENT - 17 Nov 2026 (phone): same alignment in the 2-column phone grid, kept separate from the desktop rule. */
@media (max-width: 767px) { .wc-block-grid__product { display: flex !important; flex-direction: column !important; height: 100% !important; } .wc-block-grid__product-add-to-cart { margin-top: auto !important; } .wc-block-grid__product:has(.wc-block-grid__product-add-to-cart button) .wc-block-grid__product-title { margin-top: 50px !important; } }
/* FEATURED FINDS ALIGNMENT - 17 Nov 2026 (title fix, desktop): the :has() title rule did not move the mug titles, so target the two simple products by their fixed positions (4th and 7th) instead. */
@media (min-width: 768px) { .wc-block-grid__product:nth-child(4) .wc-block-grid__product-title, .wc-block-grid__product:nth-child(7) .wc-block-grid__product-title { margin-top: 50px !important; } }
/* FEATURED FINDS ALIGNMENT - 17 Nov 2026 (title fix, phone): same position-based title fix for the 2-column phone grid (mug titles sit ~60px high on phones). */
@media (max-width: 767px) { .wc-block-grid__product:nth-child(4) .wc-block-grid__product-title, .wc-block-grid__product:nth-child(7) .wc-block-grid__product-title { margin-top: 60px !important; } }
/* FEATURED FINDS ALIGNMENT - 17 Nov 2026 (title fix via h2, desktop): target the heading element directly in case the title class differs. */
@media (min-width: 768px) { .wc-block-grid__product:nth-child(4) h2, .wc-block-grid__product:nth-child(7) h2 { margin-top: 50px !important; } }
/* FEATURED FINDS ALIGNMENT - 17 Nov 2026 (title fix via h2, phone): same heading-element title fix for the phone grid. */
@media (max-width: 767px) { .wc-block-grid__product:nth-child(4) h2, .wc-block-grid__product:nth-child(7) h2 { margin-top: 60px !important; } }
/* FEATURED FINDS ALIGNMENT - 17 Nov 2026 (title fix via adjacent sibling, desktop): a mug title directly follows its product image link (no swatch row between them), so target titles that immediately follow a link. */
@media (min-width: 768px) { .wc-block-grid__product a + h2 { margin-top: 50px !important; } }
/* FEATURED FINDS ALIGNMENT - 17 Nov 2026 (title fix via adjacent sibling, phone): same image-link-adjacent title fix for the phone grid. */
@media (max-width: 767px) { .wc-block-grid__product a + h2 { margin-top: 60px !important; } }
/* MENU POSITION - 17 Nov 2026 (phone): Cassandra wants the Menu button on the LEFT side of the header, not under the cart. Override the earlier float:right (Shop-page fix) and left-align the toggle. The Shop page keeps its own category menu; this header menu is mainly for the homepage/product pages. */
@media (max-width: 767px) {
 .site-header .main-navigation { text-align: left !important; margin-left: 0 !important; margin-right: auto !important; }
 .site-header .main-navigation .menu-toggle { float: left !important; margin-left: 0 !important; margin-right: auto !important; }
}
/* MENU POSITION - 17 Nov 2026 (phone, follow-up): the float:left overlapped the Shop page category links, so use in-flow left alignment instead (no float). The menu contents stay Home and Shop only. */
@media (max-width: 767px) {
 .site-header .main-navigation .menu-toggle { float: none !important; display: inline-block !important; }
}
/* SHOP CATEGORY NAV OVERLAP - 17 Nov 2026 (phone, Shop page only): the Menu button in the second header row sits on top of the Shop category line, covering the start of Drinkware. Do NOT use flex on the header and do NOT move the Menu button. Tested in the Customizer preview: margin-top and padding-top on this nav have no effect (the theme positions it so they do not move it), while moving the nav itself down does. So move only this nav down 48px; it clears the Menu button and still sits above the sorting row. Desktop and other pages untouched - this nav only appears on the Shop page. */
@media (max-width: 767px) {
 body.woocommerce-shop [aria-label="Product categories"],
 body.post-type-archive-product [aria-label="Product categories"],
 body.woocommerce [aria-label="Product categories"],
 [aria-label="Product categories"] {
 transform: translateY(48px) !important;
 }
 /* DIAG-18NOV */ @media(max-width:767px){body.woocommerce-shop .storefront-primary-navigation,body.woocommerce-shop .site-header .main-navigation{display:block!important;width:100%!important;min-width:100%!important;flex:0 0 100%!important;overflow:visible!important}}/* FIX-18NOV-B */ @media(max-width:767px){body.woocommerce-shop #masthead .storefront-primary-navigation .col-full{flex-wrap:wrap!important}body.woocommerce-shop #cfan-header-cats{flex:0 0 100%!important;width:100%!important;transform:none!important}}/* FIX-18NOV-C price below title (phone) */ @media(max-width:767px){body.woocommerce ul.products li.product .woocommerce-loop-product__title{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}}body.woocommerce ul.products li.product .price{display:block!important;position:static!important;float:none!important;clear:both!important;margin:8px 0 10px!important;height:auto!important;transform:none!important}}@media(max-width:767px){body.woocommerce ul.products li.product .woocommerce-loop-product__title{margin:0 0 8px!important;position:static!important;flex:0 0 auto!important}body.woocommerce ul.products li.product .price{top:auto!important;bottom:auto!important}}/* TEST-18NOV-D price selector check */ @media(max-width:767px){body.woocommerce ul.products li.product .price{color:#f00!important;font-size:22px!important}}@media(max-width:767px){#main ul.products li.product .woocommerce-loop-product__title{height:auto!important;min-height:0!important;margin:0 0 8px!important;position:static!important;flex:0 0 auto!important}}@media(max-width:767px){#main ul.products li.product .price{display:block!important;position:static!important;float:none!important;clear:both!important;margin:8px 0 10px!important;transform:none!important;top:auto!important;bottom:auto!important}}/* TEST-18NOV-E large margin test */ @media(max-width:767px){#main ul.products li.product .price{margin-top:60px!important;background:#ff0!important}}/* TEST-18NOV-F block card test */ @media(max-width:767px){#main ul.products li.product{display:block!important}}/* TEST-18NOV-G normal margin with block card */ @media(max-width:767px){#main ul.products li.product .price{margin-top:8px!important;background:transparent!important;color:#111!important;font-size:14px!important}}/* FIX-18NOV-H unclamp phone titles */ @media(max-width:767px){body.woocommerce ul.products li.product .woocommerce-loop-product__title,body.woocommerce ul.products li.product .woocommerce-loop-product__title a{display:block!important;overflow:visible!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;-webkit-box-orient:unset!important;max-height:none!important;height:auto!important}}/* FIX-18NOV-I desktop Shop header matches home + Menu label */ @media(min-width:768px){body.woocommerce-shop #masthead>.col-full>.storefront-primary-navigation{flex:0 0 auto!important}body.woocommerce-shop #masthead .main-navigation{transform:none!important}}@media(min-width:768px){body.woocommerce-shop #masthead #cfan-header-cats ul{flex-wrap:wrap!important;white-space:normal!important}#masthead.site-header .menu-toggle{padding-left:38px!important}}/* FIX-18NOV-J force phone Menu button visible */ @media(max-width:767px){body.woocommerce-shop #masthead .menu-toggle{display:inline-flex!important;visibility:visible!important;opacity:1!important}}
/* ==== MOBILE HEADER REBUILD — 19 Nov 2026 (consolidated re-apply) ====
 Re-applied after a Customizer reload reverted the editor to the published
 509 lines; the autosave was dismissed, per instruction, so the rebuild is
 restated here in full as a single block. Phone widths only.
 Branding centred (52px logo, 20px bold wordmark); nav row with a white
 Menu pill at the far left and Search / Account / Cart at the far right;
 menu and search open as full-width dropdowns under the header. */
@media (max-width: 767px) {
 #masthead { padding-top: 0 !important; padding-bottom: 0 !important; }
 #masthead > .col-full {
 display: flex !important;
 flex-wrap: wrap !important;
 align-items: center !important;
 position: relative !important;
 row-gap: 0 !important;
 padding: 6px 12px 8px !important;
 }
 #masthead .site-branding {
 order: 1;
 flex: 1 1 100% !important;
 display: flex !important;
 justify-content: center !important;
 margin-bottom: 6px !important;
 height: 52px !important;
 }
 #masthead .site-branding a {
 display: inline-flex !important;
 align-items: center !important;
 gap: 10px !important;
 font-size: 20px !important;
 font-weight: 700 !important;
 line-height: 1 !important;
 height: 52px !important;
 }
 #masthead .site-branding img {
 height: 52px !important;
 width: auto !important;
 max-width: none !important;
 }
 #masthead .site-branding .site-description { display: none !important; }
 #masthead .storefront-primary-navigation {
 display: flex !important;
 order: 2;
 flex: 0 1 auto !important;
 position: static !important;
 margin-top: 0 !important;
 margin-bottom: 0 !important;
 }
 #masthead #site-navigation {
 display: flex !important;
 position: static !important;
 margin-top: 0 !important;
 margin-bottom: 0 !important;
 }
 #masthead .menu-toggle {
 display: inline-flex !important;
 visibility: visible !important;
 opacity: 1 !important;
 align-items: center !important;
 min-height: 40px !important;
 padding: 11px 16px 11px 38px !important;
 background: #fff !important;
 color: #111 !important;
 border: 1px solid #d8d8d8 !important;
 border-radius: 999px !important;
 font-size: 15px !important;
 font-weight: 600 !important;
 margin-top: 0 !important;
 margin-bottom: 0 !important;
 }
 #masthead .site-header-cart {
 display: flex !important;
 flex-direction: row !important;
 align-items: center !important;
 gap: 4px !important;
 }
 #masthead .cfan-header-icon-btn,
 #masthead .cfan-header-icon-link,
 #masthead .site-header-cart .cart-contents,
 #masthead .site-header-cart a {
 min-width: 40px !important;
 min-height: 40px !important;
 display: inline-flex !important;
 align-items: center !important;
 justify-content: center !important;
 }
 #masthead .cfan-header-icon-btn,
 #masthead .cfan-header-icon-link { padding: 7px !important; }
 #masthead .site-header-cart .cart-contents { padding: 5px !important; }
 #masthead #site-navigation:not(.toggled) > div,
 #masthead #site-navigation:not(.toggled) > ul { display: none !important; }
 #masthead #site-navigation.toggled > div,
 #masthead #site-navigation.toggled > ul {
 display: block !important;
 position: absolute !important;
 top: calc(100% + 1px) !important;
 left: 0 !important;
 right: 0 !important;
 max-height: calc(100vh - 130px) !important;
 overflow-y: auto !important;
 background: #fff !important;
 border-top: 1px solid #eee !important;
 box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12) !important;
 z-index: 50 !important;
 }
 #masthead #site-navigation.toggled a { padding: 14px 16px !important; }
 #masthead .site-search {
 display: none !important;
 margin-top: 6px !important;
 flex: 1 1 100% !important;
 }
 body.cfan-search-open #masthead .site-search {
 display: block !important;
 position: absolute !important;
 top: calc(100% + 1px) !important;
 left: 0 !important;
 right: 0 !important;
 background: #fff !important;
 border-top: 1px solid #eee !important;
 box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12) !important;
 z-index: 50 !important;
 padding: 10px 12px !important;
 }
 #masthead #cfan-header-cats {
 order: 6;
 flex: 1 1 100% !important;
 margin-top: 6px !important;
 }
}
/* ==== MOBILE HEADER FIX — 19 Nov 2026 (row-2 alignment + header height) ==== */
/* The rebuild placed the icon group at position:absolute; top:64px. That top value only lines up with the Menu row while row 1 is exactly 52px tall, so on a real phone the icons and the Menu pill land on different rows (a three-row header) and the header grows too tall. Put both on one real flex row instead: Menu at the far left, Search / Account / Cart grouped at the far right, all in normal flow. */
@media (max-width: 767px) {
 #masthead > .col-full { padding-bottom: 6px !important; }
 #masthead .storefront-primary-navigation { order: 2 !important; flex: 0 0 auto !important; align-self: center !important; }
 #masthead #site-navigation { align-self: center !important; }
 #masthead .menu-toggle { position: relative !important; }
 #masthead .site-header-cart { position: static !important; top: auto !important; right: auto !important; order: 3 !important; flex: 0 0 auto !important; margin-left: auto !important; align-self: center !important; }
}
/* ==== MOBILE HEADER FIX 2 — 19 Nov 2026 (nav is a sibling of .col-full) ==== */
/* Fix 1 assumed the Menu nav and the icon group were both flex items of .col-full. They are not: in Storefront, .storefront-primary-navigation is a direct child of #masthead, a sibling of .col-full, so no flex row inside .col-full can ever hold the Menu pill and the icons together. Unwrap .col-full (display:contents) and make #masthead itself the flex container, so row 1 is the centred branding and row 2 is the Menu pill (far left) with Search / Account / Cart grouped at the far right on one real row. */
@media (max-width: 767px) {
 #masthead { display: flex !important; flex-wrap: wrap !important; align-items: center !important; position: relative !important; padding: 0 12px 6px !important; }
 #masthead > .col-full { display: contents !important; }
 #masthead > nav { order: 0 !important; flex: 1 1 100% !important; }
 #masthead .site-branding { order: 1 !important; flex: 1 1 100% !important; margin-top: 6px !important; margin-bottom: 6px !important; }
 #masthead .storefront-primary-navigation { order: 2 !important; flex: 0 0 auto !important; align-self: center !important; margin: 0 !important; }
 #masthead .site-header-cart { position: static !important; top: auto !important; right: auto !important; order: 3 !important; flex: 0 0 auto !important; margin: 0 0 0 auto !important; align-self: center !important; }
 #masthead #cfan-header-cats { order: 4 !important; flex: 1 1 100% !important; margin-top: 6px !important; }
}
/* --- 5. Desktop Menu dropdown: icons must not cover nav links (DESKTOP ONLY, min-width: 768px) --- */
@media (min-width: 768px) {
 #masthead #site-navigation { position: relative !important; z-index: 300 !important; }
 #masthead #site-navigation ul { position: relative !important; z-index: 300 !important; background: #ffffff !important; }
 #masthead .site-header-cart, #masthead .site-search { z-index: 1 !important; }
}
