/* The Sweet Hyper — WooCommerce: shop, product, cart, checkout, account. */

.sh-woo-main { padding-bottom: 90px; }
.sh-woo-main > .sh-wrap { padding-top: 30px; }
.sh-site .product_title { font-family: var(--f-d); font-weight: 760; letter-spacing: -.025em; line-height: 1; }

/* Shop head: royal panel, title + count, a search inside the shop, aisle chips with a product photo each. */
.sh-shophead { padding-block: clamp(36px, 5vw, 64px) 26px; }
.sh-shophead__top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 26px; }
.sh-shophead .sh-phead__h { font-size: clamp(2.4rem, 5vw, 4rem); max-width: none; }
.sh-shophead__count { margin: 10px 0 0; color: rgba(255, 255, 255, .75); font-size: 1rem; }
.sh-shophead__search { position: relative; width: min(420px, 100%); }
.sh-shophead__search .sh-icon { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--sh-ink-3); pointer-events: none; }
.sh-shophead__search input { width: 100%; height: 50px; border: 0; border-radius: 999px; padding: 0 18px 0 46px; font: 500 16px var(--f-t); color: var(--sh-ink); background: #fff; }
.sh-aislebar { margin: 0 calc(-1 * var(--gut)); }
.sh-aislebar ul { list-style: none; margin: 0; padding: 4px var(--gut) 6px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.sh-aislebar ul::-webkit-scrollbar { display: none; }
@media (min-width: 1100px) { .sh-aislebar { margin: 0; } .sh-aislebar ul { flex-wrap: wrap; padding-inline: 0; overflow: visible; } }
.sh-aislebar a { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 5px 16px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; font: 600 .95rem var(--f-t); white-space: nowrap; transition: background-color .2s, color .2s; }
.sh-aislebar a small { font-size: .78rem; opacity: .65; font-variant-numeric: tabular-nums; }
.sh-aislebar__img { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; overflow: hidden; flex: none; }
.sh-aislebar__img img { width: 80%; height: 80%; object-fit: contain; }
.sh-aislebar__img--all { background: var(--sh-yellow); color: var(--sh-ink); }
.sh-aislebar__img--all .sh-icon { width: 20px; height: 20px; }
.sh-aislebar a:hover { background: rgba(255, 255, 255, .2); }
.sh-aislebar a.is-on { background: #fff; color: var(--sh-ink); }

/* Filters + count + sort on one line. */
.sh-shopbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 24px; }
.sh-shopbar .woocommerce-notices-wrapper { flex-basis: 100%; }
.sh-shopbar .sh-filter { flex: 1 1 auto; }
.sh-filter a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--sh-line); color: var(--sh-ink); text-decoration: none; font-weight: 600; font-size: .92rem; background: #fff; transition: box-shadow .2s, background-color .2s, color .2s; }
.sh-filter a:hover { box-shadow: inset 0 0 0 1.5px var(--sh-ink-3); }
.sh-filter a.is-on { background: var(--sh-ink); color: #fff; box-shadow: none; }
.sh-site .sh-shopbar .woocommerce-result-count { margin: 0; float: none; }
.sh-site .sh-shopbar .woocommerce-ordering { margin: 0; float: none; }
.sh-site .woocommerce-result-count { color: var(--sh-ink-3); font-size: .9rem; margin: 10px 0 18px; }
.sh-site .woocommerce-ordering select { min-height: 42px; border-radius: 999px; border: 2px solid var(--sh-line); padding: 0 36px 0 14px; font: 700 .9rem var(--f-t); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c1838' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px; -webkit-appearance: none; appearance: none; }

/* Product grid uses the theme card. */
:is(.sh-site.woocommerce, .sh-site .woocommerce) ul.products { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
:is(.sh-site.woocommerce, .sh-site .woocommerce) ul.products::before, :is(.sh-site.woocommerce, .sh-site .woocommerce) ul.products::after { display: none; }
:is(.sh-site.woocommerce, .sh-site .woocommerce) ul.products li.product.sh-card { float: none; width: auto; margin: 0; padding: 0; }
@media (min-width: 700px) { :is(.sh-site.woocommerce, .sh-site .woocommerce) ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { :is(.sh-site.woocommerce, .sh-site .woocommerce) ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.sh-site .sh-rail ul.products, .sh-site .sh-rail__list { display: flex; }
/* Woo's loop img rules (width 100%, height auto, margins) must not crop or stretch the cut-outs. */
:is(.sh-site.woocommerce, .sh-site .woocommerce, .sh-site) ul.products li.product .sh-card__img img.sh-card__photo,
.sh-site .sh-card .sh-card__img img.sh-card__photo { position: absolute; inset: 10%; width: 80%; height: 80%; max-width: none; margin: 0; object-fit: contain; box-shadow: none; }

/* Block cart/checkout and block product grids in the theme's language. */
.sh-site .wp-block-button__link, .sh-site .wc-block-grid__product-add-to-cart .wp-block-button__link, .sh-site .wc-block-components-product-button__button {
	border-radius: 999px !important; background: var(--sh-red) !important; color: #fff !important; font-family: var(--f-d) !important; font-weight: 800 !important; border: 0 !important; min-height: 44px; padding: 0 1.2em !important;
}
.sh-site .wc-block-grid__products, .sh-site .wc-block-product-template { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; align-items: stretch; margin: 0; padding: 0; }
.sh-site .wc-block-grid__product { display: flex; flex-direction: column; max-width: none !important; width: auto !important; flex: none !important; }
.sh-site .wc-block-grid__product .wc-block-grid__product-add-to-cart { margin-top: auto; }
.sh-site .wp-block-button__link, .sh-site .wc-block-components-product-button__button { display: inline-flex !important; align-items: center; justify-content: center; line-height: 1.1 !important; }
.sh-site .wc-block-grid__product-image img { max-height: none; aspect-ratio: auto; }
.sh-site .wc-block-grid__product, .sh-site .wc-block-product { background: #fff; border-radius: 22px; box-shadow: var(--shadow-1); padding: 10px 10px 16px; list-style: none; border: 0 !important; }
.sh-site .wc-block-grid__product-image, .sh-site .wc-block-components-product-image { aspect-ratio: 1; background: var(--sh-paper-2); border-radius: 16px; overflow: hidden; display: grid; place-items: center; margin-bottom: 10px !important; }
.sh-site .wc-block-grid__product-image img, .sh-site .wc-block-components-product-image img { width: 80% !important; height: 80% !important; object-fit: contain !important; }
.sh-site .wc-block-grid__product-title, .sh-site .wc-block-components-product-name, .sh-site .wp-block-post-title { font-family: var(--f-d); font-weight: 800; font-size: 1rem !important; line-height: 1.2; }
.sh-site .wc-block-grid__product-price, .sh-site .wc-block-components-product-price { font-family: var(--f-d); font-weight: 900; color: var(--sh-red); }
.sh-site .wp-block-woocommerce-empty-cart-block { text-align: center; }
.sh-site .wc-block-cart__empty-cart__title { font: 900 clamp(2rem, 4vw, 3rem)/1 var(--f-d); letter-spacing: -.03em; padding-top: 150px !important; background: url("../img/logo/logo-320.webp") center top / 220px auto no-repeat; }
.sh-site .wc-block-cart__empty-cart__title::before { display: none !important; }
.sh-site .wp-block-woocommerce-empty-cart-block .wp-block-separator { display: none; }
.sh-site .wp-block-woocommerce-empty-cart-block h2:not(.wc-block-cart__empty-cart__title) { font: 900 1.6rem var(--f-d); margin: 40px 0 20px; }

/* Pagination */
.sh-site .woocommerce-pagination ul.page-numbers { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; border: 0; }
.sh-site .woocommerce-pagination ul.page-numbers li { border: 0; }
.sh-site .woocommerce-pagination .page-numbers a, .sh-site .woocommerce-pagination .page-numbers span { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 999px; background: var(--sh-paper-2); font: 800 1rem var(--f-d); color: var(--sh-ink); text-decoration: none; }
.sh-site .woocommerce-pagination .page-numbers span.current { background: var(--sh-ink); color: #fff; }

/* Notices */
.sh-site .woocommerce-message, .sh-site .woocommerce-info, .sh-site .woocommerce-error { border: 0; border-radius: 16px; padding: 14px 18px 14px 50px; background: var(--sh-paper-2); color: var(--sh-ink); font-weight: 600; }
.sh-site .woocommerce-message::before { color: #1a8c45; }
.sh-site .woocommerce-error { background: #ffeceb; }
.sh-site .woocommerce-message .button, .sh-site .woocommerce-info .button { float: right; }

/* Buttons Woo prints */
:is(.sh-site.woocommerce, .sh-site .woocommerce) :is(a.button, button.button, input.button, #respond input#submit), .sh-site .wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 1.4em; border-radius: 999px; border: 0;
	background: var(--sh-red); color: #fff; font-family: var(--f-d); font-weight: 800; font-size: 1rem; line-height: 1.1; text-decoration: none;
	transition: transform .35s var(--ease-pop), background-color .2s;
}
:is(.sh-site.woocommerce, .sh-site .woocommerce) :is(a.button, button.button):hover, .sh-site .wc-block-components-button:not(.is-link):hover { background: var(--sh-red-2); color: #fff; }
:is(.sh-site.woocommerce, .sh-site .woocommerce) :is(a.button.alt, button.button.alt) { background: var(--sh-red); }
:is(.sh-site.woocommerce, .sh-site .woocommerce) button.button:disabled, :is(.sh-site.woocommerce, .sh-site .woocommerce) button.button.disabled { opacity: .45; background: var(--sh-red); }

/* Single product: a big white photo tile on the left; on the right the pack cards do the choosing,
   Woo's dropdown and price range stay hidden (the form still does the work). */
.sh-site div.product { display: grid; gap: 28px; position: relative; margin-top: 8px; }
@media (min-width: 900px) { .sh-site div.product { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: start; } }
.sh-site div.product div.images.woocommerce-product-gallery { width: 100%; float: none; margin: 0; background: #fff; border-radius: 28px; box-shadow: inset 0 0 0 1px var(--sh-line); padding: 6%; position: relative; }
.sh-site div.product div.images img { border-radius: 0; filter: none; }
.sh-site div.product .woocommerce-product-gallery__trigger { top: 18px; right: 18px; }
.sh-site div.product .flex-control-thumbs { display: flex; gap: 8px; margin-top: 14px; }
.sh-site div.product .flex-control-thumbs li { width: 72px !important; }
.sh-site div.product .flex-control-thumbs img { border-radius: 12px; box-shadow: inset 0 0 0 1px var(--sh-line); }
.sh-site div.product div.summary { width: 100%; float: none; margin: 0; }
@media (min-width: 900px) { .sh-site div.product div.summary { position: sticky; top: calc(var(--head-h) + 24px); } }
.sh-pdp__aisle { display: inline-block; margin-bottom: 10px; font-size: .9rem; font-weight: 600; color: var(--sh-sky-lo); text-decoration: none; }
.sh-pdp__aisle:hover { text-decoration: underline; }
.sh-site .product_title { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1; margin: 0 0 12px; letter-spacing: -.025em; }
.sh-pdp__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 22px; }
.sh-pdp__pack { font-size: .95rem; color: var(--sh-ink-2); }
.sh-pdp__flag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--sh-yellow); color: var(--sh-ink); font-size: .8rem; font-weight: 700; }
.sh-pdp__ask { color: var(--sh-ink-2); }
.sh-ladder { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 20px; }
.sh-ladder__step { display: grid; gap: 6px; justify-items: start; align-content: start; padding: 16px 16px 14px; border-radius: 18px; border: 2px solid var(--sh-line); background: #fff; cursor: pointer; text-align: left; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.sh-ladder__step:hover { border-color: var(--sh-ink-3); }
.sh-ladder__step.is-on { border-color: var(--sh-ink); box-shadow: 0 10px 24px -14px rgba(12, 24, 56, .45); }
.sh-ladder__k { font: 650 .92rem var(--f-t); color: var(--sh-ink); }
.sh-ladder__note { font-size: .8rem; color: var(--sh-ink-3); min-height: 1.2em; }
.sh-ladder__step.is-on .sh-ladder__note { color: var(--sh-sky-lo); font-weight: 600; }
.sh-site div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 14px; }
.sh-site div.product form.cart.variations_form { display: block; }
.sh-site div.product form.cart table.variations, .sh-site div.product .woocommerce-variation-price, .sh-site div.product .reset_variations { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sh-site div.product .woocommerce-variation-description p { margin: 0 0 10px; color: var(--sh-ink-2); }
.sh-site div.product .woocommerce-variation-availability p { margin: 0 0 10px; font-size: .9rem; color: var(--sh-ink-2); }
.sh-site div.product .single_variation_wrap, .sh-site div.product .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sh-site div.product .quantity .qty { width: 92px; min-height: 52px; border: 2px solid var(--sh-line); border-radius: 999px; text-align: center; font: 700 1.1rem var(--f-t); font-variant-numeric: tabular-nums; color: var(--sh-ink); }
.sh-site div.product .single_add_to_cart_button { min-height: 52px !important; flex: 1; max-width: 340px; }
.sh-pdp__more { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 24px; }
.sh-pdp__good { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--sh-line); display: grid; gap: 12px; }
.sh-pdp__good li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: .94rem; color: var(--sh-ink-2); line-height: 1.5; }
.sh-pdp__good .sh-icon { width: 20px; height: 20px; color: var(--sh-royal); margin-top: 2px; }
.sh-pdp__good a { color: var(--sh-red); font-weight: 650; }
.sh-pdp__details { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(36px, 4vw, 52px); border-top: 1px solid var(--sh-line); }
.sh-pdp__h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.sh-pdp__cols { display: grid; gap: 30px; }
@media (min-width: 900px) { .sh-pdp__cols { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; } }
.sh-pdp__desc { color: var(--sh-ink-2); max-width: 62ch; line-height: 1.65; }
.sh-pdp__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sh-pdp__table th, .sh-pdp__table td { padding: 12px 0; border-bottom: 1px solid var(--sh-line); text-align: left; font-size: .95rem; }
.sh-pdp__table thead th { font-size: .8rem; font-weight: 600; color: var(--sh-ink-3); }
.sh-pdp__table td { text-align: right; }
.sh-pdp__table thead th:not(:first-child) { text-align: right; }
.sh-pdp__table tbody th { font-weight: 600; color: var(--sh-ink); }
.sh-pdp__aisleline { margin-top: 24px; color: var(--sh-ink-2); }
.sh-pdp__aisleline a { color: var(--sh-sky-lo); font-weight: 650; }
.sh-site div.product .product_meta { display: none; }
.sh-site span.onsale { display: none; }
.sh-site section.related.products, .sh-site section.up-sells { margin-top: clamp(56px, 7vw, 96px); }
.sh-site section.related.products > h2, .sh-site section.up-sells > h2 { font: 740 clamp(1.8rem, 3vw, 2.4rem)/1 var(--f-d); letter-spacing: -.025em; margin: 0 0 22px; }
.sh-site .woocommerce-breadcrumb { font-size: .85rem; color: var(--sh-ink-3); margin-bottom: 16px; }

/* Cart / checkout blocks */
.sh-page-woo .sh-woo-page { max-width: 1200px; }
.sh-site .wc-block-cart, .sh-site .wc-block-checkout { font-family: var(--f-t); }
.sh-site .wc-block-cart .wc-block-cart-items__header, .sh-site .wc-block-components-title, .sh-site .wc-block-components-checkout-step__title { font-family: var(--f-d); font-weight: 900; letter-spacing: -.02em; }
.sh-site .wc-block-components-product-name { font-family: var(--f-d); font-weight: 800; color: var(--sh-ink); text-decoration: none; }
.sh-site .wc-block-components-product-price, .sh-site .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: var(--f-d); font-weight: 900; color: var(--sh-red); }
.sh-site .wc-block-components-sidebar { background: var(--sh-paper-2); border-radius: 24px; padding: 20px !important; }
.sh-site .wc-block-components-text-input input, .sh-site .wc-block-components-select select, .sh-site .wc-blocks-components-select__select { border-radius: 12px !important; }
.sh-site .wc-block-components-quantity-selector { border-radius: 999px; }
.sh-site .wc-block-components-quantity-selector::after { border-radius: 999px; }
.sh-site .wc-block-cart__empty-cart__title { font-family: var(--f-d); font-weight: 900; }

/* Account */
.sh-site .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sh-site .woocommerce-MyAccount-navigation a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--sh-paper-2); text-decoration: none; font-weight: 700; }
.sh-site .woocommerce-MyAccount-navigation .is-active a { background: var(--sh-ink); color: #fff; }
.sh-site .woocommerce form .form-row input.input-text, .sh-site .woocommerce form .form-row textarea, .sh-site .woocommerce form .form-row select { min-height: 48px; border: 2px solid var(--sh-line); border-radius: 12px; padding: 8px 12px; background: var(--sh-paper-2); }
