/* ==========================================================================
   Safe Havens shop: match the main site redesign (Dec 2026)
   Values copied from the main site's modern.css. Everything is scoped under
   body.shi-shop (added in functions.php) and loads after Storefront and its
   Customizer inline CSS. !important only where Storefront's Customizer output wins.
   ========================================================================== */

:root {
	--shi-navy-950: #0a1628;
	--shi-navy-900: #0f1f38;
	--shi-navy-800: #172b4d;
	--shi-blue-700: #1e3a8a;
	--shi-blue-50: #eef2f8;
	--shi-brass: #a8865a;
	--shi-brass-ink: #7a5f3a;
	--shi-brass-lt: #cdb48c;
	--shi-ink-900: #0f172a;
	--shi-ink-700: #334155;
	--shi-ink-500: #5b6676;
	--shi-line: #d9dee6;
	--shi-line-2: #e9ecf1;
	--shi-canvas: #f7f6f3;
	--shi-surface: #fff;
	--shi-radius: 2px;
	--shi-shadow: 0 1px 2px rgba(15, 23, 42, .05);
	--shi-shadow-pop: 0 18px 40px -18px rgba(10, 22, 40, .35);
	--shi-font-sans: "Lato", "Helvetica Neue", Arial, sans-serif;
	--shi-font-serif: "EB Garamond", Garamond, "Times New Roman", serif;
	--shi-container: 1200px;
	--shi-gutter: clamp(16px, 4vw, 40px);
	--shi-ease: cubic-bezier(.25, .1, .25, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
body.shi-shop {
	background: var(--shi-canvas) !important;
	color: var(--shi-ink-700) !important;
	font-family: var(--shi-font-sans);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
body.shi-shop button,
body.shi-shop input,
body.shi-shop select,
body.shi-shop textarea { font-family: var(--shi-font-sans); }

body.shi-shop h1, body.shi-shop h2, body.shi-shop h3,
body.shi-shop h4, body.shi-shop h5, body.shi-shop h6,
body.shi-shop .alpha, body.shi-shop .beta, body.shi-shop .gamma, body.shi-shop .delta {
	color: var(--shi-navy-900) !important;
	font-family: var(--shi-font-serif);
	font-weight: 500;
	letter-spacing: -.005em;
	line-height: 1.15;
	text-transform: none;
}
body.shi-shop h2, body.shi-shop .beta { font-size: clamp(25px, 2.6vw, 31px); }
body.shi-shop h3, body.shi-shop .gamma { font-size: 24px; }
body.shi-shop h4, body.shi-shop h5, body.shi-shop h6, body.shi-shop .delta { font-size: 20px; }

body.shi-shop a { color: var(--shi-blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s var(--shi-ease); }
body.shi-shop a:hover { color: var(--shi-navy-900); }
body.shi-shop h1 a, body.shi-shop h2 a, body.shi-shop h3 a { color: inherit; text-decoration: none; }
body.shi-shop :focus-visible { outline: 2px solid var(--shi-brass) !important; outline-offset: 3px; }
body.shi-shop ::selection { background: var(--shi-navy-800); color: #fff; }

/* Container: 1200px with the main site's fluid gutter */
body.shi-shop .col-full {
	box-sizing: border-box;
	max-width: var(--shi-container);
	padding-left: var(--shi-gutter) !important;
	padding-right: var(--shi-gutter) !important;
}

/* --------------------------------------------------------------------------
   Utility bar (navy, above the header)
   -------------------------------------------------------------------------- */
body.shi-shop .shi-util-bar { background: var(--shi-navy-900); color: #b8c2d3; font-size: 13px; line-height: 1; }
body.shi-shop .shi-util {
	align-items: center; box-sizing: border-box; display: flex; gap: 26px; justify-content: flex-end;
	margin: 0 auto; max-width: var(--shi-container); min-height: 40px; padding: 0 var(--shi-gutter);
}
body.shi-shop .shi-util a { color: #dfe5ee; font-weight: 400; letter-spacing: .02em; text-decoration: none; }
body.shi-shop .shi-util a:hover { color: var(--shi-brass-lt); }
body.shi-shop .shi-util .shi-util-phone { color: #fff; font-weight: 700; }
body.shi-shop .shi-util-note { opacity: .7; }
body.shi-shop .shi-social-bar { align-items: center; display: inline-flex; gap: 2px; margin-left: -14px; margin-right: auto; }
body.shi-shop .shi-social-bar a { align-items: center; color: #c3ccda; display: inline-flex; justify-content: center; min-height: 32px; min-width: 32px; }
body.shi-shop .shi-social-bar a:hover { color: #fff; }
body.shi-shop .shi-util form { display: flex; margin: 0; }
body.shi-shop .shi-util input[type="search"] {
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' fill='none' stroke='%238f9bb0' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 0 center;
	border: 0; border-bottom: 1px solid rgba(255, 255, 255, .22); border-radius: 0; box-shadow: none;
	color: #fff; font: 400 13px/1 var(--shi-font-sans); min-height: 0; padding: 6px 0 6px 22px;
	transition: border-color .2s, width .25s var(--shi-ease); width: 150px;
}
body.shi-shop .shi-util input[type="search"]::placeholder { color: #8f9bb0; }
body.shi-shop .shi-util input[type="search"]:focus { border-color: var(--shi-brass); box-shadow: none; outline: none; width: 200px; }

/* --------------------------------------------------------------------------
   Header: white, sticky, logo left, nav + cart right
   -------------------------------------------------------------------------- */
body.shi-shop .site-header {
	background: #fff !important;
	border-bottom: 1px solid var(--shi-line) !important;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	margin: 0 0 0 !important;
	padding: 0 max(var(--shi-gutter), calc((100% - var(--shi-container)) / 2 + var(--shi-gutter))) !important;
	position: sticky;
	top: 0;
	z-index: 1000;
}
body.admin-bar.shi-shop .site-header { top: 32px; }
body.shi-shop .site-header > .col-full { flex: 0 0 auto; margin: 0; max-width: none; padding: 0 !important; }
body.shi-shop .site-header > .col-full::before,
body.shi-shop .site-header > .col-full::after { display: none; }
body.shi-shop .storefront-primary-navigation { flex: 1 1 auto; min-width: 0; }
body.shi-shop .storefront-primary-navigation > .col-full { align-items: center; display: flex; justify-content: flex-end; max-width: none; padding: 0 !important; }
body.shi-shop .storefront-primary-navigation > .col-full::before,
body.shi-shop .storefront-primary-navigation > .col-full::after { display: none; }

body.shi-shop .site-header .shi-logo {
	background: url(images/Safe-Haven-Logo2.png) left center / auto 62px no-repeat;
	display: block; float: none; height: 62px; margin: 14px 0 !important; max-width: none; width: 74px;
}

/* Primary nav: Lato 700 12px uppercase, brass underline on hover / current */
body.shi-shop .site-header .main-navigation { clear: none; float: none; margin: 0 !important; width: auto !important; }
body.shi-shop .main-navigation ul.menu > li.menu-item-210 { display: none; } /* chevron back-link, now in the utility bar */
body.shi-shop .main-navigation ul li a,
body.shi-shop .site-header ul.menu li.current-menu-item > a {
	color: var(--shi-navy-900) !important;
	font-family: var(--shi-font-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1;
	text-transform: uppercase;
}
body.shi-shop .main-navigation ul.menu > li > a { padding: 34px 14px 32px !important; position: relative; text-decoration: none; }
body.shi-shop .main-navigation ul.menu > li > a::after {
	background: var(--shi-brass); bottom: 24px; content: ""; height: 1px; left: 14px; position: absolute; right: 14px;
	transform: scaleX(0); transform-origin: left; transition: transform .25s var(--shi-ease);
}
body.shi-shop .main-navigation ul.menu > li > a:hover::after,
body.shi-shop .main-navigation ul.menu > li.current-menu-item > a::after { transform: scaleX(1); }
body.shi-shop .main-navigation ul.menu > li.current-menu-item > a { color: var(--shi-brass-ink) !important; }
body.shi-shop .main-navigation ul.menu { margin-left: 0; }

/* Header cart */
body.shi-shop .site-header .site-header-cart { float: none; margin: 0 0 0 14px !important; width: auto !important; }
body.shi-shop .site-header-cart .cart-contents {
	color: var(--shi-navy-900) !important; font: 700 12px/1 var(--shi-font-sans); letter-spacing: .08em;
	padding: 34px 0 32px !important; text-decoration: none;
	align-items: center; display: inline-flex !important; gap: 8px; white-space: nowrap;
}
body.shi-shop .site-header-cart .cart-contents .count { opacity: .7; }
/* Basket icon: in line after the count instead of Storefront's float over it */
body.shi-shop .site-header-cart .cart-contents::after { float: none !important; height: auto !important; line-height: 1 !important; margin: 0 !important; order: 3; position: static !important; }
/* Mini-cart dropdown: fixed width, right-aligned under the cart (Storefront makes it as narrow as the link) */
body.shi-shop .site-header-cart .widget_shopping_cart { width: 320px !important; }
body.shi-shop .site-header-cart:hover .widget_shopping_cart,
body.shi-shop .site-header-cart.focus .widget_shopping_cart,
body.shi-shop .site-header-cart:focus-within .widget_shopping_cart { left: auto !important; right: 0 !important; }
body.shi-shop .site-header-cart .widget_shopping_cart_content { padding: 18px 20px; }
body.shi-shop .site-header-cart .woocommerce-mini-cart__empty-message { margin: 0; text-align: left; }
body.shi-shop .site-header-cart .widget_shopping_cart {
	background: #fff !important; border: 1px solid var(--shi-line) !important; border-top: 2px solid var(--shi-navy-900) !important;
	box-shadow: var(--shi-shadow-pop); color: var(--shi-ink-700);
}
body.shi-shop .site-header-cart .widget_shopping_cart a { color: var(--shi-navy-900) !important; }
body.shi-shop .site-header-cart .widget_shopping_cart .buttons { background: transparent !important; margin: 0; padding: 12px 0 0; display: grid; gap: 8px; }
body.shi-shop .site-header-cart .widget_shopping_cart .buttons a.button { color: #fff !important; margin: 0; width: 100%; }
body.shi-shop .site-header-cart .widget_shopping_cart .buttons a.button:hover { color: #fff !important; }
body.shi-shop .site-header-cart .widget_shopping_cart .total {
	background: transparent !important; border-top: 1px solid var(--shi-line); color: var(--shi-navy-900) !important;
	display: flex; justify-content: space-between; margin: 12px 0 0; padding: 12px 0 0;
}
body.shi-shop .site-header-cart .widget_shopping_cart .total strong { color: var(--shi-ink-700); font-weight: 700; }
body.shi-shop .site-header-cart .widget_shopping_cart .product_list_widget { padding: 0; }
body.shi-shop .site-header-cart .widget_shopping_cart .product_list_widget li { padding: 6px 0 6px 24px; }

/* Mobile menu toggle: the main site's bordered MENU button */
body.shi-shop button.menu-toggle {
	background: transparent !important; border: 1px solid var(--shi-navy-900) !important; border-radius: var(--shi-radius);
	color: var(--shi-navy-900) !important; font: 700 12px/1 var(--shi-font-sans); letter-spacing: .14em;
	max-width: none; min-height: 44px; padding: 0 16px 0 42px; text-transform: uppercase;
}
body.shi-shop button.menu-toggle::before,
body.shi-shop button.menu-toggle::after,
body.shi-shop button.menu-toggle span::before { background-color: var(--shi-navy-900) !important; left: 16px; width: 16px; }

/* --------------------------------------------------------------------------
   Page layout: canvas background, white content card
   -------------------------------------------------------------------------- */
body.shi-shop .site-content { padding: 0 0 96px; }
body.shi-shop .storefront-breadcrumb { background: transparent; margin: 0 !important; padding: 28px 0 18px; }
body.shi-shop .woocommerce-breadcrumb {
	color: var(--shi-ink-500) !important; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}
body.shi-shop .woocommerce-breadcrumb a { color: var(--shi-ink-500) !important; text-decoration: none; }
body.shi-shop .woocommerce-breadcrumb a:hover { color: var(--shi-navy-900) !important; text-decoration: underline; }
body.shi-shop .woocommerce-breadcrumb a:first-of-type::before { display: none; }
body.shi-shop .woocommerce-breadcrumb .breadcrumb-separator { display: inline; padding: 0 .5em; position: static; text-indent: 0; }
body.shi-shop .woocommerce-breadcrumb .breadcrumb-separator::after { display: none; }
body.shi-shop:not(.home) .site-content > .col-full { padding-top: 0; }
body.shi-shop.home .site-content { padding-top: 56px; }

body.shi-shop .content-area .site-main {
	background: var(--shi-surface);
	border: 1px solid var(--shi-line);
	border-radius: var(--shi-radius);
	box-shadow: var(--shi-shadow);
	box-sizing: border-box;
	padding: clamp(24px, 5vw, 64px);
}
body.shi-shop .hentry { border: 0; margin-bottom: 0; padding-bottom: 0; }

/* Page titles: serif + 56x2px brass rule */
body.shi-shop h1.entry-title,
body.shi-shop .woocommerce-products-header__title,
body.shi-shop h1.product_title {
	font-size: clamp(32px, 4vw, 50px) !important;
	font-weight: 500;
	line-height: 1.1;
	margin: 0 0 28px;
	padding-bottom: 26px;
	position: relative;
}
body.shi-shop h1.entry-title::after,
body.shi-shop .woocommerce-products-header__title::after,
body.shi-shop h1.product_title::after {
	background: var(--shi-brass); bottom: 0; content: ""; height: 2px; left: 0; position: absolute; width: 56px;
}
body.shi-shop .woocommerce-products-header { padding: 0 0 8px; }
body.shi-shop .woocommerce-products-header__title:empty { display: none; }
body.shi-shop .entry-content p, body.shi-shop .woocommerce-product-details__short-description p { font-size: 17.5px; line-height: 1.75; }

/* Sidebar: main-site widget pattern */
body.shi-shop .widget-area { font-size: 15px; }
body.shi-shop .widget-area .widget { border-top: 2px solid var(--shi-navy-900); margin-bottom: 40px; padding-top: 22px; }
body.shi-shop .widget-area .widget .widget-title,
body.shi-shop .widget-area .widget h1.widget-title,
body.shi-shop .widget-area .widget .widgettitle {
	border: 0; color: var(--shi-navy-900) !important; font: 700 12px/1.4 var(--shi-font-sans) !important;
	letter-spacing: .16em; margin: 0 0 12px; padding: 0; text-transform: uppercase;
}
body.shi-shop .widget-area .widget ul { margin: 0; }
body.shi-shop .widget-area .widget li { border-bottom: 1px solid var(--shi-line-2); padding: 11px 0; }
body.shi-shop .widget-area .widget li::before { display: none !important; }
body.shi-shop .widget-area .widget li ul { margin-top: 8px; }
body.shi-shop .widget-area .widget li li { border: 0; padding: 4px 0 4px 14px; }
body.shi-shop .widget-area .widget a,
body.shi-shop .widget-area .widget a:visited { color: var(--shi-ink-700) !important; font-weight: 400; text-decoration: none; }
body.shi-shop .widget-area .widget a:hover { color: var(--shi-navy-900) !important; }
body.shi-shop .widget-area .current-cat > a { border-left: 2px solid var(--shi-brass); color: var(--shi-navy-900) !important; font-weight: 700 !important; padding-left: 10px; }
body.shi-shop .widget-area .widget .count { color: var(--shi-ink-500); font-size: 13px; }

/* --------------------------------------------------------------------------
   Buttons and forms
   -------------------------------------------------------------------------- */
body.shi-shop button,
body.shi-shop input[type="button"],
body.shi-shop input[type="reset"],
body.shi-shop input[type="submit"],
body.shi-shop .button,
body.shi-shop .added_to_cart,
body.shi-shop .wc-block-components-button:not(.is-link),
body.shi-shop .wp-block-button__link,
body.shi-shop .button.alt,
body.shi-shop button.alt,
body.shi-shop input[type="submit"].alt,
body.shi-shop .checkout-button {
	align-items: center;
	background: var(--shi-navy-900) !important;
	border: 1px solid var(--shi-navy-900) !important;
	border-radius: var(--shi-radius) !important;
	box-shadow: none;
	color: #fff !important;
	display: inline-flex;
	font: 700 12.5px/1.2 var(--shi-font-sans) !important;
	justify-content: center;
	letter-spacing: .14em;
	min-height: 48px;
	padding: 0 28px;
	text-decoration: none;
	text-shadow: none;
	text-transform: uppercase;
	transition: background-color .2s, border-color .2s, color .2s;
}
body.shi-shop button:hover,
body.shi-shop input[type="button"]:hover,
body.shi-shop input[type="submit"]:hover,
body.shi-shop .button:hover,
body.shi-shop .added_to_cart:hover,
body.shi-shop .wc-block-components-button:not(.is-link):hover,
body.shi-shop .wp-block-button__link:hover,
body.shi-shop .button.alt:hover,
body.shi-shop button.alt:hover {
	background: var(--shi-blue-700) !important;
	border-color: var(--shi-blue-700) !important;
	color: #fff !important;
}
body.shi-shop button.menu-toggle:hover { background: transparent !important; color: var(--shi-navy-900) !important; }
@media (min-width: 1041px) { body.shi-shop button.menu-toggle { display: none !important; } }
body.shi-shop .shi-util button { display: none; }
/* Password "show" eye: keep it a small icon inside the field */
body.shi-shop .password-input .show-password-input,
body.shi-shop button.show-password-input {
	background: transparent !important; border: 0 !important; color: var(--shi-ink-500) !important;
	min-height: 0; padding: 0 12px !important; position: absolute; right: 0; top: 0; bottom: 0;
}
body.shi-shop .password-input .show-password-input:hover { background: transparent !important; color: var(--shi-navy-900) !important; }
body.shi-shop .password-input { display: block; position: relative; }
body.shi-shop .password-input input { padding-right: 44px; width: 100%; }

/* Loop "Add to cart" / "Read more": outlined secondary button */
body.shi-shop ul.products li.product .button {
	background: transparent !important; color: var(--shi-navy-900) !important; margin: auto 0 0; min-height: 44px; padding: 0 20px;
}
/* Only the first button takes the free space, so "Add to cart" + "Read more" stay together at the card bottom */
body.shi-shop ul.products li.product .button ~ .button { margin-top: 10px; }
body.shi-shop ul.products li.product .button:hover { background: var(--shi-navy-900) !important; color: #fff !important; }

body.shi-shop input[type="text"], body.shi-shop input[type="email"], body.shi-shop input[type="url"],
body.shi-shop input[type="password"], body.shi-shop input[type="search"]:not(#shi-search), body.shi-shop input[type="tel"],
body.shi-shop input[type="number"], body.shi-shop textarea, body.shi-shop select, body.shi-shop .input-text,
body.shi-shop .select2-container .select2-selection--single {
	background: #fff;
	border: 1px solid #c3cad5;
	border-radius: var(--shi-radius);
	box-shadow: none;
	box-sizing: border-box;
	color: var(--shi-ink-900);
	font: 400 16px/1.4 var(--shi-font-sans);
	min-height: 46px;
	padding: 11px 14px;
}
body.shi-shop .select2-container .select2-selection--single .select2-selection__rendered { line-height: 22px; padding: 0; }
body.shi-shop .select2-container .select2-selection--single .select2-selection__arrow { height: 44px; }
body.shi-shop textarea { min-height: 140px; }
body.shi-shop input:not(#shi-search):focus, body.shi-shop textarea:focus, body.shi-shop select:focus, body.shi-shop .input-text:focus {
	background: #fff; border-color: var(--shi-navy-900); box-shadow: 0 0 0 3px rgba(15, 31, 56, .12); outline: none;
}
body.shi-shop label, body.shi-shop .woocommerce form .form-row label { color: var(--shi-ink-900); font: 700 14px/1.4 var(--shi-font-sans); }
body.shi-shop .quantity .qty { min-height: 48px; text-align: center; width: 4.5em; }

/* --------------------------------------------------------------------------
   Product grid: hairline cards like the main site's resource lists
   -------------------------------------------------------------------------- */
body.shi-shop ul.products {
	display: grid; gap: 40px 32px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 40px;
}
body.shi-shop ul.products::before, body.shi-shop ul.products::after { display: none; }
body.shi-shop ul.products li.product {
	border-top: 1px solid var(--shi-navy-900);
	display: flex; flex-direction: column; float: none !important; margin: 0 !important;
	padding-top: 24px; text-align: left; width: auto !important;
}
body.shi-shop ul.products li.product > a:first-child { display: flex; flex-direction: column; text-decoration: none; }
body.shi-shop ul.products li.product img {
	aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--shi-line); box-sizing: border-box;
	margin: 0 0 18px; object-fit: contain; padding: 10px; width: 100%;
}
body.shi-shop ul.products li.product .woocommerce-loop-product__title,
body.shi-shop ul.products li.product h2,
body.shi-shop ul.products li.product h3 {
	color: var(--shi-navy-900) !important; font: 500 22px/1.2 var(--shi-font-serif) !important; margin: 0 0 10px; padding: 0;
}
body.shi-shop ul.products li.product a:hover .woocommerce-loop-product__title { color: var(--shi-blue-700) !important; }
body.shi-shop ul.products li.product .price { color: var(--shi-navy-900) !important; display: block; font: 700 15px/1.4 var(--shi-font-sans); margin: 0 0 18px; }

/* Prices, sale badge, stock */
body.shi-shop .price, body.shi-shop .amount { color: var(--shi-navy-900); }
body.shi-shop .price del, body.shi-shop .price del .amount { color: var(--shi-ink-500) !important; font-weight: 400; opacity: 1; }
body.shi-shop .price ins { background: none; color: var(--shi-brass-ink); text-decoration: none; }
body.shi-shop .single-product div.product p.price, body.shi-shop.single-product div.product p.price {
	color: var(--shi-navy-900) !important; font: 700 24px/1.3 var(--shi-font-sans); margin-bottom: 20px;
}
body.shi-shop .onsale {
	background: var(--shi-navy-900); border: 0 !important; border-radius: var(--shi-radius); color: #fff !important;
	font: 700 11.5px/1 var(--shi-font-sans); letter-spacing: .14em; padding: 7px 10px; text-transform: uppercase;
}
body.shi-shop .stock { color: var(--shi-brass-ink) !important; font-size: 14px; font-weight: 700; }

/* Single product */
body.shi-shop.single-product div.product .woocommerce-product-gallery img { border: 1px solid var(--shi-line); border-radius: var(--shi-radius); }
body.shi-shop .product_meta { border-top: 1px solid var(--shi-line) !important; color: var(--shi-ink-500); font-size: 13px; letter-spacing: .04em; }
body.shi-shop .product_meta a { color: var(--shi-ink-500) !important; }

/* Tabs: horizontal, uppercase, brass active rule */
body.shi-shop .woocommerce-tabs { border-top: 1px solid var(--shi-line); padding-top: 32px; }
body.shi-shop .woocommerce-tabs ul.tabs {
	border: 0; border-bottom: 1px solid var(--shi-line); display: flex; flex-wrap: wrap; float: none !important;
	gap: 0 28px; margin: 0 0 32px; padding: 0; width: auto !important;
}
body.shi-shop .woocommerce-tabs ul.tabs li { border: 0 !important; display: block; margin: 0; }
body.shi-shop .woocommerce-tabs ul.tabs li a {
	border-bottom: 2px solid transparent; color: var(--shi-ink-500) !important; font: 700 12px/1 var(--shi-font-sans);
	letter-spacing: .14em; margin-bottom: -1px; padding: 14px 0; text-decoration: none; text-transform: uppercase;
}
body.shi-shop .woocommerce-tabs ul.tabs li a::after,
body.shi-shop .woocommerce-tabs ul.tabs li::after,
body.shi-shop .woocommerce-tabs ul.tabs li::before { display: none !important; }
/* Storefront's floating previous/next product thumbnails at the screen edges (the main site has no equivalent) */
body.shi-shop .storefront-product-pagination { display: none; }
body.shi-shop button:focus:not(:focus-visible) { outline: none; }
body.shi-shop .woocommerce-tabs ul.tabs li.active a,
body.shi-shop .woocommerce-tabs ul.tabs li a:hover { border-bottom-color: var(--shi-brass); color: var(--shi-navy-900) !important; }
body.shi-shop .woocommerce-tabs .panel { float: none !important; width: auto !important; }
body.shi-shop .related > h2, body.shi-shop .upsells > h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 28px; }

/* Result count, sorting, pagination */
body.shi-shop .woocommerce-result-count { color: var(--shi-ink-500); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
body.shi-shop .woocommerce-ordering select { min-height: 42px; padding: 8px 12px; font-size: 14px; }
body.shi-shop .woocommerce-pagination .page-numbers li .page-numbers {
	background: #fff !important; border: 1px solid var(--shi-line); border-radius: var(--shi-radius);
	color: var(--shi-navy-900) !important; font: 700 13px/1 var(--shi-font-sans); min-width: 38px; padding: 12px 10px; text-decoration: none;
}
body.shi-shop .woocommerce-pagination .page-numbers li .page-numbers:hover { background: var(--shi-blue-50) !important; }
body.shi-shop .woocommerce-pagination .page-numbers li .page-numbers.current { background: var(--shi-navy-900) !important; border-color: var(--shi-navy-900); color: #fff !important; }

/* Tables (cart, orders, My Account): hairline rows */
body.shi-shop table { border-collapse: collapse; font-size: 15.5px; }
body.shi-shop table th, body.shi-shop table td,
body.shi-shop table tbody tr:nth-child(2n) td, body.shi-shop table tbody td {
	background: transparent !important; border-bottom: 1px solid var(--shi-line); padding: 12px 14px;
}
body.shi-shop table th, body.shi-shop table thead th {
	color: var(--shi-navy-900); font: 700 12px/1.4 var(--shi-font-sans); letter-spacing: .12em; text-transform: uppercase;
}
body.shi-shop #payment, body.shi-shop #payment .payment_methods > li, body.shi-shop #order_review { background: transparent !important; }
body.shi-shop #payment .payment_methods > li { border-bottom: 1px solid var(--shi-line); }

/* Notices: quiet panel with a brass rule */
body.shi-shop .woocommerce-message, body.shi-shop .woocommerce-info, body.shi-shop .woocommerce-noreviews,
body.shi-shop p.no-comments, body.shi-shop .wc-block-components-notice-banner {
	background: var(--shi-blue-50) !important; border: 1px solid var(--shi-line) !important; border-left: 3px solid var(--shi-brass) !important;
	border-radius: var(--shi-radius); color: var(--shi-ink-700) !important;
}
body.shi-shop .woocommerce-message a:not(.button), body.shi-shop .woocommerce-info a:not(.button) { color: var(--shi-blue-700) !important; }
/* WooCommerce moves focus to new notices; don't draw the brass focus ring around the whole panel */
body.shi-shop .woocommerce-notices-wrapper:focus, body.shi-shop .woocommerce-message:focus,
body.shi-shop .woocommerce-error:focus, body.shi-shop .woocommerce-info:focus { outline: none !important; }
body.shi-shop .woocommerce-message::before, body.shi-shop .woocommerce-info::before { color: var(--shi-brass-ink) !important; }
body.shi-shop .woocommerce-error { background: #fff !important; border: 1px solid var(--shi-line) !important; border-left: 3px solid #b42318 !important; border-radius: var(--shi-radius); color: var(--shi-ink-700) !important; }
body.shi-shop .woocommerce-error::before { color: #b42318 !important; }
body.shi-shop .woocommerce-message .button, body.shi-shop .woocommerce-info .button { border-left: 0; float: right; margin-left: 16px; min-height: 40px; padding: 0 18px; }

/* My Account navigation: sidebar pattern */
body.shi-shop .woocommerce-MyAccount-navigation ul { border-top: 2px solid var(--shi-navy-900); margin: 0; }
body.shi-shop .woocommerce-MyAccount-navigation ul li { border-bottom: 1px solid var(--shi-line-2); }
body.shi-shop .woocommerce-MyAccount-navigation ul li a { color: var(--shi-ink-700); padding: 11px 0; text-decoration: none; }
body.shi-shop .woocommerce-MyAccount-navigation ul li a::before { display: none; }
body.shi-shop .woocommerce-MyAccount-navigation ul li.is-active a { border-left: 2px solid var(--shi-brass); color: var(--shi-navy-900); font-weight: 700; padding-left: 10px; }

/* --------------------------------------------------------------------------
   Footer: navy columns + bottom bar
   -------------------------------------------------------------------------- */
body.shi-shop .site-footer { background: var(--shi-navy-950) !important; color: #98a4b8 !important; font-size: 15px; line-height: 1.6; padding: 0 !important; }
body.shi-shop .site-footer a, body.shi-shop .site-footer a:not(.button) { color: #c3ccda !important; text-decoration: none; }
body.shi-shop .site-footer a:hover { color: var(--shi-brass-lt) !important; }
body.shi-shop .shi-footer-widgets > .col-full { display: grid; gap: 48px; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: 40px; padding-top: 80px; }
body.shi-shop .shi-footer-widgets > .col-full::before,
body.shi-shop .shi-footer-widgets > .col-full::after,
body.shi-shop .shi-footer-bar > .col-full::before,
body.shi-shop .shi-footer-bar > .col-full::after { display: none; }
body.shi-shop .site-footer h4.shi-footer-title {
	border-bottom: 1px solid rgba(255, 255, 255, .12); color: #fff !important; font: 700 12px/1.4 var(--shi-font-sans) !important;
	letter-spacing: .16em; margin: 0 0 18px; padding-bottom: 16px; text-transform: uppercase;
}
body.shi-shop .shi-footer-col ul { list-style: none; margin: 0; }
body.shi-shop .shi-footer-col li { padding: 5px 0; }
body.shi-shop .shi-footer-col p { margin: 0 0 14px; }
body.shi-shop .shi-footer-col strong { color: #fff; font-weight: 700; }
body.shi-shop .shi-footer-bar { border-top: 1px solid rgba(255, 255, 255, .08); color: #7d889c; font-size: 13px; }
body.shi-shop .shi-footer-bar > .col-full { display: flex; flex-direction: row-reverse; gap: 16px; justify-content: space-between; padding-bottom: 24px; padding-top: 24px; }
body.shi-shop .shi-footer-bar p { margin: 0; padding: 0; }
body.shi-shop .storefront-handheld-footer-bar { display: none; }

/* --------------------------------------------------------------------------
   Responsive (main site breakpoints: 1040px menu, 680px phone)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
	/* Storefront's 2-column content: sidebar 300px, 40px gap, like the main site */
	body.shi-shop.right-sidebar .site-content > .col-full,
	body.shi-shop.left-sidebar .site-content > .col-full { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr) 300px; }
	body.shi-shop.left-sidebar .site-content > .col-full { grid-template-columns: 270px minmax(0, 1fr); }
	/* Pages without a sidebar (checkout): content uses the full width */
	body.shi-shop .site-content > .col-full:not(:has(.widget-area)) { grid-template-columns: minmax(0, 1fr) !important; }
	body.shi-shop.left-sidebar .content-area { order: 2; }
	body.shi-shop .site-content > .col-full::before, body.shi-shop .site-content > .col-full::after { display: none; }
	body.shi-shop .site-content > .col-full > .woocommerce,
	body.shi-shop .site-content > .col-full > .storefront-breadcrumb { grid-column: 1 / -1; }
	body.shi-shop.right-sidebar .content-area, body.shi-shop.right-sidebar .widget-area,
	body.shi-shop.left-sidebar .content-area, body.shi-shop.left-sidebar .widget-area { float: none; margin: 0; width: auto; }
	body.shi-shop .widget-area { align-self: start; position: sticky; top: 150px; }
	body.shi-shop.page-template-page_account .hentry { float: none; width: auto; }
}

/* 768–1040px: use the mobile menu like the main site does */
@media (min-width: 768px) and (max-width: 1040px) {
	body.shi-shop .site-header { flex-wrap: wrap; }
	body.shi-shop .storefront-primary-navigation > .col-full { flex-wrap: wrap; }
	body.shi-shop .main-navigation .primary-navigation { display: none; }
	body.shi-shop .main-navigation.toggled .handheld-navigation { display: block; }
	body.shi-shop .handheld-navigation ul.menu li { display: block; }
}

/* ≤1040px: logo left, MENU button right; the menu opens as a full-width panel under the header */
@media (max-width: 1040px) {
	body.shi-shop ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.shi-shop .shi-util .shi-util-back { display: none; } /* keep the bar short; the logo links home */
	body.shi-shop button.menu-toggle { align-items: center; display: inline-flex !important; float: none; margin: 0; }
	body.shi-shop .site-header .main-navigation { display: flex; justify-content: flex-end; width: auto !important; }
	body.shi-shop .site-header .site-header-cart { display: none; }
	body.shi-shop .main-navigation .handheld-navigation {
		background: #fff; border-bottom: 1px solid var(--shi-line); box-shadow: var(--shi-shadow-pop); box-sizing: border-box;
		left: 0; padding: 0 var(--shi-gutter); position: absolute; right: 0; text-align: left; top: 100%;
	}
	body.shi-shop .handheld-navigation ul.menu { margin: 0; }
	body.shi-shop .handheld-navigation ul.menu li a { border-bottom: 1px solid var(--shi-line-2); padding: 16px 0 !important; }
	body.shi-shop .handheld-navigation ul.menu li:last-child a { border-bottom: 0; }
	body.shi-shop .handheld-navigation ul.menu li a::after { display: none; }
	body.shi-shop .shi-footer-widgets > .col-full { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	body.shi-shop .site-header .shi-logo { background-size: auto 52px; height: 52px; margin: 12px 0 !important; width: 62px; }
	body.shi-shop .content-area, body.shi-shop .widget-area { float: none; width: 100%; margin: 0; }
	body.shi-shop .widget-area { margin-top: 40px; }
}

@media (max-width: 680px) {
	body.shi-shop { font-size: 16px; }
	body.shi-shop .content-area .site-main { border-left: 0; border-right: 0; margin: 0 calc(var(--shi-gutter) * -1); }
	body.shi-shop ul.products { gap: 32px; grid-template-columns: minmax(0, 1fr); }
	body.shi-shop .shi-footer-widgets > .col-full { gap: 36px; grid-template-columns: minmax(0, 1fr); padding-top: 56px; }
	body.shi-shop .shi-footer-bar > .col-full { flex-direction: column-reverse; }

	/* Utility bar on phones: phone + social, then links, then search (same as the main site) */
	body.shi-shop .shi-util { column-gap: 18px; flex-wrap: wrap; justify-content: flex-start; row-gap: 0; }
	body.shi-shop .shi-util::before { content: ""; flex-basis: 100%; height: 0; order: 2; }
	body.shi-shop .shi-util .shi-util-link:not(.shi-util-back) { display: inline-block; order: 3; }
	body.shi-shop .shi-util form { flex: 1 1 100%; order: 4; padding: 0 0 10px; }
	body.shi-shop .shi-util input[type="search"],
	body.shi-shop .shi-util input[type="search"]:focus { font-size: 16px; width: 100%; }
}

@media (pointer: coarse) {
	body.shi-shop .shi-util a { display: inline-block; padding: 16px 0; }
	body.shi-shop .shi-util .shi-social-bar a { display: inline-flex; padding: 0; }
}
@media (max-width: 680px) and (pointer: coarse) {
	body.shi-shop .shi-util .shi-util-link { padding: 10px 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
	body.shi-shop *, body.shi-shop *::before, body.shi-shop *::after { transition-duration: .01ms !important; }
}

/* ==========================================================================
   Home page: intro, category links, product slider
   ========================================================================== */
body.shi-shop.home .entry-header { display: none; }
body.shi-shop .shi-home-intro { margin: 0 0 48px; max-width: 680px; }
body.shi-shop .shi-eyebrow {
	color: var(--shi-brass-ink); font: 700 12px/1.4 var(--shi-font-sans); letter-spacing: .14em; margin: 0 0 14px; text-transform: uppercase;
}
body.shi-shop .shi-home-title {
	font-size: clamp(32px, 4vw, 50px) !important; font-weight: 500; line-height: 1.1; margin: 0 0 28px; padding-bottom: 26px; position: relative;
}
body.shi-shop .shi-home-title::after { background: var(--shi-brass); bottom: 0; content: ""; height: 2px; left: 0; position: absolute; width: 56px; }
body.shi-shop .shi-home-lede { color: var(--shi-ink-900); font-size: 1.12em; }
body.shi-shop .shi-home-cats { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 28px 0 0; padding: 0; }
body.shi-shop .shi-home-cats a {
	border: 1px solid var(--shi-line); border-radius: var(--shi-radius); color: var(--shi-navy-900) !important; display: inline-block;
	font: 700 12px/1 var(--shi-font-sans); letter-spacing: .12em; padding: 13px 16px; text-decoration: none; text-transform: uppercase;
	transition: border-color .2s var(--shi-ease), background .2s var(--shi-ease);
}
body.shi-shop .shi-home-cats a:hover { background: var(--shi-blue-50); border-color: var(--shi-navy-900); }

body.shi-shop .shi-carousel { border-top: 1px solid var(--shi-navy-900); padding-top: 24px; }
body.shi-shop .shi-carousel-head { align-items: center; display: flex; gap: 16px; justify-content: space-between; margin: 0 0 20px; }
body.shi-shop .shi-carousel-title { font-size: clamp(24px, 2.6vw, 32px); margin: 0; }
body.shi-shop .shi-carousel-nav { display: flex; gap: 8px; }
body.shi-shop button.shi-carousel-btn {
	align-items: center; background: #fff !important; border: 1px solid var(--shi-navy-900) !important; color: var(--shi-navy-900) !important;
	display: inline-flex; font-size: 18px; height: 44px; justify-content: center; letter-spacing: 0; min-height: 0; padding: 0; width: 44px;
}
body.shi-shop button.shi-carousel-btn:hover { background: var(--shi-navy-900) !important; color: #fff !important; }
body.shi-shop .shi-carousel-track {
	column-gap: 24px; display: grid; grid-auto-columns: calc((100% - 48px) / 3); grid-auto-flow: column; list-style: none;
	contain: paint; margin: 0; overflow-x: auto; overscroll-behavior-x: contain; padding: 0 0 6px; position: relative; scroll-snap-type: x mandatory; scrollbar-width: none;
}
body.shi-shop .shi-carousel-track::-webkit-scrollbar { display: none; }
body.shi-shop .shi-carousel-track:focus-visible { outline: 2px solid var(--shi-brass); outline-offset: 4px; }
body.shi-shop .shi-slide { margin: 0; scroll-snap-align: start; }
body.shi-shop .shi-slide a { color: inherit !important; display: flex; flex-direction: column; height: 100%; text-decoration: none; }
body.shi-shop .shi-slide-img {
	align-items: center; aspect-ratio: 4 / 3; background: var(--shi-canvas); border: 1px solid var(--shi-line-2); display: flex;
	justify-content: center; margin: 0 0 14px; overflow: hidden; padding: 12px;
}
body.shi-shop .shi-slide-img img { height: 100%; margin: 0 !important; object-fit: contain; transition: transform .4s var(--shi-ease); width: 100%; }
body.shi-shop .shi-slide a:hover .shi-slide-img img { transform: scale(1.03); }
body.shi-shop .shi-slide-cat { color: var(--shi-brass-ink); font: 700 11px/1.4 var(--shi-font-sans); letter-spacing: .14em; margin: 0 0 6px; text-transform: uppercase; }
body.shi-shop .shi-slide-name { color: var(--shi-navy-900); font: 500 20px/1.25 var(--shi-font-serif); margin: 0 0 8px; }
body.shi-shop .shi-slide a:hover .shi-slide-name { color: var(--shi-blue-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
body.shi-shop .shi-slide-price { color: var(--shi-navy-900); font: 700 15px/1.4 var(--shi-font-sans); margin-top: auto; }
body.shi-shop .shi-slide-price del { color: var(--shi-ink-500); font-weight: 400; margin-right: 6px; }
body.shi-shop .shi-slide-price ins { background: none; text-decoration: none; }
body.shi-shop .shi-home-all { margin: 32px 0 0; }

@media (max-width: 1040px) {
	body.shi-shop .shi-carousel-track { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media (max-width: 680px) {
	body.shi-shop .shi-home-intro { margin-bottom: 36px; }
	body.shi-shop .shi-carousel-track { column-gap: 16px; grid-auto-columns: 82%; }
	body.shi-shop .shi-home-all .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	body.shi-shop .shi-carousel-track { scroll-behavior: auto; }
}

/* ==========================================================================
   Header icon buttons: search, account, cart (replace Cart/Checkout/Log In text)
   ========================================================================== */
body.shi-shop .shi-hicons { align-items: center; display: flex; gap: 4px; margin-left: 18px; }
body.shi-shop .shi-hicon,
body.shi-shop button.shi-hicon {
	align-items: center; background: transparent !important; border: 0 !important; border-radius: 50%; box-shadow: none !important;
	color: var(--shi-navy-900) !important; display: inline-flex !important; height: 44px; justify-content: center; letter-spacing: 0;
	min-height: 0; padding: 0 !important; position: relative; text-decoration: none; transition: background .2s var(--shi-ease); width: 44px;
}
body.shi-shop .shi-hicon:hover,
body.shi-shop button.shi-hicon:hover,
body.shi-shop .shi-search-toggle[aria-expanded="true"] { background: var(--shi-blue-50) !important; color: var(--shi-navy-900) !important; }
body.shi-shop .shi-icon { display: block; flex: none; height: 24px; width: 24px; }

/* Cart: Storefront's link, now just the icon + badge */
body.shi-shop .site-header .site-header-cart { margin: 0 0 0 4px !important; }
body.shi-shop .site-header-cart .cart-contents.shi-hicon { font-size: 0; gap: 0; margin: 18px 0 !important; padding: 0 !important; }
body.shi-shop .site-header-cart .cart-contents.shi-hicon::after { content: none !important; display: none !important; }
body.shi-shop .shi-badge {
	background: var(--shi-navy-900); border: 2px solid #fff; border-radius: 999px; color: #fff; font: 700 10px/1 var(--shi-font-sans);
	height: 20px; letter-spacing: 0; min-width: 20px; padding: 3px 5px 0; position: absolute; right: 0; text-align: center; top: 2px;
}
body.shi-shop .site-header-cart .widget_shopping_cart { top: 100% !important; }

/* Search panel: full-width bar that drops under the header */
body.shi-shop .shi-header-search {
	background: #fff; border-bottom: 1px solid var(--shi-line); border-top: 1px solid var(--shi-line-2); box-shadow: var(--shi-shadow-pop);
	left: 0; position: absolute; right: 0; top: 100%; z-index: 60;
}
body.shi-shop .shi-header-search[hidden] { display: none; }
body.shi-shop .shi-header-search form {
	align-items: center; display: flex; gap: 12px; margin: 0 auto; max-width: var(--shi-container); padding: 14px var(--shi-gutter);
}
body.shi-shop .shi-header-search form > .shi-icon { color: var(--shi-ink-500); }
body.shi-shop .shi-header-search input[type="search"] {
	background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--shi-line) !important; border-radius: 0;
	box-shadow: none !important; flex: 1 1 auto; font: 400 18px/1.4 var(--shi-font-sans); min-height: 46px; padding: 8px 2px;
}
body.shi-shop .shi-header-search input[type="search"]:focus { border-bottom-color: var(--shi-navy-900) !important; outline: none; }

@media (max-width: 1040px) {
	/* Icons stay visible on smaller screens: logo | icons | MENU */
	body.shi-shop .site-header .site-header-cart { display: block !important; }
	body.shi-shop .site-header-cart .widget_shopping_cart { display: none !important; }
	body.shi-shop .site-header .main-navigation { margin-left: 8px !important; order: 3; }
	body.shi-shop .shi-hicons { margin-left: 0; }
}
@media (max-width: 680px) {
	body.shi-shop .shi-hicons { gap: 0; }
	body.shi-shop .shi-hicon, body.shi-shop button.shi-hicon { width: 40px; }
	body.shi-shop .site-header .site-header-cart { margin-left: 0 !important; }
	body.shi-shop .site-header .main-navigation { margin-left: 4px !important; }
}
body.shi-shop .shi-hicon, body.shi-shop button.shi-hicon { border-radius: 50% !important; }
body.shi-shop .shi-header-search input[type="search"]:focus,
body.shi-shop .shi-header-search input[type="search"]:focus-visible { border-bottom: 2px solid var(--shi-navy-900) !important; outline: none !important; }
/* Hover / keyboard-focus labels under the header icons */
body.shi-shop .shi-hicon[data-tip]::before {
	background: var(--shi-navy-900); border-radius: var(--shi-radius); color: #fff; content: attr(data-tip); font: 700 11px/1 var(--shi-font-sans);
	left: 50%; letter-spacing: .08em; opacity: 0; padding: 7px 9px; pointer-events: none; position: absolute; text-transform: uppercase;
	top: calc(100% + 6px); transform: translate(-50%, -4px); transition: opacity .15s var(--shi-ease), transform .15s var(--shi-ease); white-space: nowrap; z-index: 70;
}
body.shi-shop .shi-hicon[data-tip]:hover::before,
body.shi-shop .shi-hicon[data-tip]:focus-visible::before { opacity: 1; transform: translate(-50%, 0); }
body.shi-shop .shi-search-toggle[aria-expanded="true"]::before { display: none; }
/* The cart's mini-cart dropdown already opens on hover, so its label only shows on keyboard focus */
body.shi-shop .site-header-cart .shi-hicon[data-tip]:hover:not(:focus-visible)::before { opacity: 0; }
@media (hover: none) { body.shi-shop .shi-hicon[data-tip]::before { display: none; } }
