/* Eat Grub 2026 · WooCommerce */

/* ---------- Product grid & cards ---------- */
ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.woocommerce ul.products::before, .woocommerce ul.products::after, ul.products::before, ul.products::after { display: none !important; }

.eg-card { display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 12px; background: #fff; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.eg-card:hover { box-shadow: var(--shadow-float); transform: translateY(-2px); }
.eg-card__media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; border-radius: var(--radius-sm); background: var(--grey); overflow: hidden; }
.eg-card__media img { width: 86%; height: 86%; object-fit: contain; transition: transform .25s var(--ease); }
.eg-card:hover .eg-card__media img { transform: translateY(-4px); }
.eg-card__body { display: flex; flex-direction: column; gap: 4px; }
.eg-card__title { font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1.3; text-transform: none; letter-spacing: 0; }
.eg-card__title a { text-decoration: none; }
.eg-card__sub { font-size: 13px; color: var(--muted); }
.eg-card__rating { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.eg-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.eg-card__price { font-family: var(--font-head); font-weight: 800; font-size: 24px; line-height: 1; }
.eg-card__price del { color: var(--muted); font-size: .7em; font-weight: 700; margin-right: 6px; }
.eg-card__price ins { text-decoration: none; }
.eg-from { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--muted); text-transform: none; }
.eg-card .eg-btn.added { background: var(--teal); border-color: var(--teal); }
.eg-card .eg-btn.loading { opacity: .7; }
.eg-card .added_to_cart { display: none; }
@media (min-width: 720px) { .eg-card { padding: 16px; } .eg-card__title { font-size: 17px; } .eg-card__price { font-size: 26px; } }
@media (max-width: 719px) { .eg-card__foot .eg-btn--sm { height: 40px; padding: 0 14px; font-size: 14px; } }

/* ---------- Shop header ---------- */
.eg-shop-head { gap: 20px; padding-block: 8px 16px; }
.eg-shop-head__desc { color: var(--muted); max-width: 70ch; }
.eg-shop-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.eg-shop-sort .woocommerce-ordering { display: flex; align-items: center; gap: 10px; }
.eg-shop-sort select, .orderby { height: 44px; border-radius: var(--pill); border: 1px solid var(--muted-light); padding: 0 40px 0 16px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230B2A4A' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; font-size: 14px; font-weight: 600; }
.eg-shop-count .woocommerce-result-count { margin: 0; font-size: 14px; color: var(--muted); }
.woocommerce-pagination { margin-top: 32px; }
.woocommerce-pagination ul.page-numbers { list-style: none; display: flex; gap: 6px; flex-wrap: wrap; margin: 0; padding: 0; border: 0; }
.woocommerce-pagination .page-numbers li { border: 0; }
.woocommerce-pagination .page-numbers li .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--pill); border: 2px solid var(--line); text-decoration: none; font-weight: 700; }
.woocommerce-pagination .page-numbers li .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.woocommerce-no-products-found .woocommerce-info { margin-top: 16px; }

/* ---------- Notices ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice { border: 0; border-radius: var(--radius-sm); padding: 14px 18px !important; margin: 0 0 20px; background: var(--mint); color: var(--navy); font-size: 15px; list-style: none; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-error { background: var(--blush); }
.woocommerce-message .button, .woocommerce-info .button { float: none; margin-left: 12px; }
.woocommerce-notices-wrapper:empty { display: none; }

/* ---------- Single product ---------- */
.single-product .eg-main { padding-top: 16px; }
.single-product div.product { display: flex; flex-direction: column; gap: 32px; }
.single-product .eg-breadcrumb { margin-bottom: 16px; }
.single-product div.product .onsale { display: none; }

.eg-product-top, .single-product div.product > .woocommerce-product-gallery, .single-product div.product > .summary { }
.single-product div.product .eg-product-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 900px) { .single-product div.product .eg-product-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; } }

/* Gallery */
.woocommerce-product-gallery { position: relative; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 900px) { .woocommerce-product-gallery.is-sticky { position: sticky; top: 96px; } }
.woocommerce-products-header { display: none; }
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery .woocommerce-product-gallery__image { background: var(--cream); border-radius: var(--radius-lg); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.woocommerce-product-gallery .woocommerce-product-gallery__image a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.woocommerce-product-gallery .woocommerce-product-gallery__image img { width: 88%; height: 88%; object-fit: contain; filter: drop-shadow(0 20px 28px rgba(11,42,74,.2)); }
.woocommerce-product-gallery .flex-control-thumbs { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0 0 4px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 calc(20% - 8px); scroll-snap-align: start; }
.woocommerce-product-gallery .flex-control-thumbs li { width: 100% !important; float: none !important; aspect-ratio: 1 / 1; border-radius: var(--radius-xs); border: 1px solid var(--line); background: var(--grey); padding: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.woocommerce-product-gallery .flex-control-thumbs li img { width: 100%; height: 100%; object-fit: contain; opacity: .8; }
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active { opacity: 1; }
.woocommerce-product-gallery .flex-control-thumbs li:has(img.flex-active) { border: 2px solid var(--navy); background: var(--cream); }
.woocommerce-product-gallery__trigger { position: absolute; top: 16px; right: 16px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-float); text-indent: -9999px; overflow: hidden; }
.woocommerce-product-gallery__trigger::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230B2A4A' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") no-repeat center; }
.flex-viewport { border-radius: var(--radius-lg); }

/* Summary */
.single-product div.product .summary { display: flex; flex-direction: column; gap: 18px; }
.single-product div.product .summary .product_title { font-size: clamp(34px, 3.8vw, 52px); line-height: .98; }
.eg-rating { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 14px; font-weight: 600; width: fit-content; }
.eg-facts { list-style: none; display: flex; gap: 8px 16px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.eg-facts li { display: inline-flex; align-items: center; gap: 6px; }
.eg-facts .eg-icon { color: var(--teal); stroke-width: 3; }
.eg-price-row { display: flex; align-items: baseline; gap: 12px; }
.eg-price-big, .single-product div.product .summary .woocommerce-variation-price .price { font-family: var(--font-head); font-weight: 800; font-size: 44px; line-height: 1; }
.eg-price-big del, .woocommerce-variation-price del { color: var(--muted); font-size: .6em; margin-right: 8px; }
.eg-price-big ins, .woocommerce-variation-price ins { text-decoration: none; }
.single-product div.product .summary > p.price { display: none; } /* static range for variable products */

/* Add to cart form */
.single-product form.cart { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.single-product form.cart .eg-buy-row { display: flex; gap: 10px; align-items: stretch; }
.single-product form.cart .single_add_to_cart_button { flex: 1; height: 52px; border-radius: var(--pill); border: 0; background: var(--orange); color: #fff; font-weight: 700; font-size: 17px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background .15s; }
.single-product form.cart .single_add_to_cart_button:hover { background: var(--orange-dark); }
.single-product form.cart .single_add_to_cart_button.disabled, .single-product form.cart .single_add_to_cart_button[disabled] { opacity: .5; cursor: not-allowed; }
.single-product form.cart .single_add_to_cart_button.is-added { background: var(--teal); }
.single-product form.cart .single_add_to_cart_button .eg-btn-total { font-weight: 600; opacity: .9; }
.single-product form.cart .single_add_to_cart_button .eg-btn-total:not(:empty)::before { content: "·"; margin-right: 8px; }

/* Quantity */
.eg-qty, .single-product form.cart .quantity { display: inline-flex; align-items: center; height: 52px; border: 2px solid var(--navy); border-radius: var(--pill); overflow: hidden; background: #fff; }
.eg-qty--sm { height: 40px; border-width: 1.5px; border-color: var(--line); }
.eg-qty__btn { width: 44px; height: 100%; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; color: var(--navy); }
.eg-qty--sm .eg-qty__btn { width: 36px; }
.eg-qty__btn:hover { background: var(--grey); }
.eg-qty__input, .single-product form.cart .quantity .qty { width: 40px; height: 100%; border: 0; text-align: center; font-weight: 700; font-size: 16px; -moz-appearance: textfield; background: transparent; padding: 0; }
.eg-qty__input::-webkit-outer-spin-button, .eg-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.eg-qty--sm .eg-qty__input { width: 32px; font-size: 14px; }
.single-product form.cart .quantity.hidden { display: none; }

/* Variations as option cards (JS enhances table.variations) */
.single-product form.cart table.variations { width: 100%; border: 0; margin: 0; }
.single-product form.cart table.variations td, .single-product form.cart table.variations th { padding: 0; border: 0; display: block; }
.single-product form.cart table.variations .label label { font-size: 14px; font-weight: 700; display: block; margin-bottom: 10px; }
.single-product form.cart table.variations tr { display: block; margin-bottom: 14px; }
.single-product form.cart table.variations select { width: 100%; height: 48px; border-radius: var(--radius-sm); border: 2px solid var(--line); padding: 0 14px; }
.single-product form.cart table.variations.is-enhanced select { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.eg-variants { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.eg-variant { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border-radius: var(--radius-sm); border: 2px solid var(--muted-light); background: #fff; color: var(--navy); text-align: left; min-height: 48px; transition: border-color .15s, background .15s; }
.eg-variant:hover { border-color: var(--navy); }
.eg-variant.is-selected { border-color: var(--navy); background: var(--cream); }
.eg-variant.is-unavailable { opacity: .45; text-decoration: line-through; }
.eg-variant__label { font-weight: 700; font-size: 15px; }
.eg-variant__price { font-size: 13px; color: var(--muted); }
.eg-variant__save { font-size: 12px; font-weight: 700; color: var(--orange); }
.single-product form.cart .reset_variations { font-size: 13px; color: var(--muted); }
.single-product form.cart .woocommerce-variation-description p { margin: 0; color: var(--muted); font-size: 15px; }
.single-product form.cart .woocommerce-variation-availability .stock { margin: 0; font-size: 14px; font-weight: 600; }
.single-product form.cart .woocommerce-variation-availability .out-of-stock { color: var(--orange); }
.single_variation_wrap { display: flex; flex-direction: column; gap: 16px; }
.woocommerce-variation.single_variation:empty { display: none; }

/* Express pay (Stripe/PayPal insert their own buttons) */
.single-product form.cart #wc-stripe-payment-request-wrapper, .single-product form.cart #wc-stripe-express-checkout-element, .single-product form.cart .ppc-button-wrapper { margin: 0 !important; }
.single-product form.cart #wc-stripe-payment-request-button-separator, .single-product form.cart #wc-stripe-express-checkout-button-separator { display: none !important; }

/* Notify me (sold out) */
.eg-notify { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--radius-sm); background: var(--cream); }
.eg-notify__label { font-weight: 700; font-size: 15px; }
.eg-notify__row { display: flex; gap: 8px; }
.eg-notify__input { flex: 1; min-width: 0; height: 48px; border-radius: var(--pill); border: 2px solid var(--line); padding: 0 16px; font-size: 15px; background: #fff; }
.eg-notify__input:focus { border-color: var(--navy); outline: none; }
.eg-notify__btn { height: 48px; padding: 0 20px; border: 0; border-radius: var(--pill); background: var(--navy); color: #fff; font-weight: 700; white-space: nowrap; }
.eg-notify__btn:hover { background: #10406f; }
.eg-notify__msg { margin: 0; font-size: 14px; font-weight: 600; color: var(--teal-dark, #157f7d); }
.eg-notify__msg:empty { display: none; }
.eg-notify__msg.is-error { color: var(--orange); }

/* Reassurance list & accordion */
.eg-reassure { list-style: none; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; background: var(--grey); border-radius: var(--radius-sm); font-size: 14px; }
.eg-reassure li { display: flex; gap: 8px; align-items: center; }
.eg-accordion { border-top: 1px solid var(--line); }
.eg-acc { border-bottom: 1px solid var(--line); }
.eg-acc__sum { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; font-size: 17px; font-weight: 700; cursor: pointer; }
.eg-acc__sum::-webkit-details-marker { display: none; }
.eg-acc__sum .eg-icon { color: var(--muted); transition: transform .2s var(--ease); }
.eg-acc[open] .eg-acc__sum .eg-icon { transform: rotate(180deg); }
.eg-acc__body { padding: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.eg-acc__body p:last-child { margin-bottom: 0; }
.eg-acc__body strong { color: var(--navy); }
.eg-nutrition { width: 100%; border-collapse: collapse; font-size: 14px; }
.eg-nutrition td, .eg-nutrition th { padding: 7px 0; border-bottom: 1px solid var(--line); text-align: left; }
.eg-nutrition td:last-child, .eg-nutrition th:last-child { text-align: right; font-weight: 700; color: var(--navy); }
.eg-nutrition th { color: var(--navy); font-weight: 700; }

/* Sticky buy bar on mobile */
@media (max-width: 899px) {
  .single-product form.cart .eg-buy-row { position: sticky; bottom: 0; z-index: 20; background: #fff; padding: 10px 0; margin: 0; box-shadow: 0 -8px 24px rgba(11,42,74,.08); }
  .single-product form.cart .quantity, .single-product form.cart .single_add_to_cart_button { height: 48px; }
  .eg-qty__btn { width: 40px; }
}

/* Goes well with */
.eg-pairs { display: flex; flex-direction: column; gap: 16px; }
.eg-pairs__list { list-style: none; display: grid; grid-template-columns: 1fr; gap: 12px; }
.eg-pairs__list--stack { grid-template-columns: 1fr !important; }
.eg-pair { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 18px; padding: 12px; background: #fff; }
.eg-pair__img { width: 76px; height: 76px; border-radius: var(--radius-xs); background: var(--grey); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.eg-pair__img img { width: 88%; height: 88%; object-fit: contain; }
.eg-pair__main { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.eg-pair__name { text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.3; }
.eg-pair__price { font-family: var(--font-head); font-weight: 800; font-size: 20px; line-height: 1; }
.eg-pair .added_to_cart { display: none; }
.eg-pair .eg-btn.added { background: var(--teal); border-color: var(--teal); color: #fff; }
@media (min-width: 720px) { .eg-pairs__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }

/* Panels row */
.eg-panels { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) { .eg-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.eg-panels .eg-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px) { .eg-panels .eg-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.eg-panels .eg-stat__num { font-size: clamp(30px, 3vw, 40px); }

/* Reviews */
.eg-reviews { display: flex; flex-direction: column; gap: 16px; }
.eg-reviews #reviews, .eg-reviews #comments { margin: 0; }
.eg-reviews .commentlist { list-style: none; display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .eg-reviews .commentlist { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.eg-reviews .comment_container { background: var(--grey); border-radius: 18px; padding: 20px; }
.eg-reviews .comment_container img.avatar { display: none; }
.eg-reviews .comment-text { margin: 0 !important; border: 0 !important; padding: 0 !important; }
.eg-reviews .star-rating { color: var(--yellow); }
.eg-reviews .meta { font-size: 13px; color: var(--muted); font-weight: 600; }
.eg-reviews .description p { margin: 0; font-size: 15px; }

/* ---------- Bag drawer ---------- */
.eg-cart-body { display: flex; flex-direction: column; min-height: 100%; }
.eg-ship-progress { padding: 14px 20px; background: var(--mint); font-size: 14px; display: flex; flex-direction: column; gap: 8px; }
.eg-ship-progress.is-complete { background: var(--cream); }
.eg-ship-progress__bar { height: 8px; border-radius: var(--pill); background: rgba(11,42,74,.12); overflow: hidden; }
.eg-ship-progress__bar span { display: block; height: 100%; background: var(--teal); border-radius: var(--pill); transition: width .4s var(--ease); }
.eg-ship-progress.is-complete .eg-ship-progress__bar span { background: var(--orange); }
.eg-cart-empty { padding: 40px 20px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; color: var(--muted); }
.eg-cart-items { list-style: none; padding: 8px 20px; display: flex; flex-direction: column; }
.eg-cart-item { position: relative; display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.eg-cart-item:last-child { border-bottom: 0; }
.eg-cart-item__img { width: 72px; height: 72px; border-radius: var(--radius-xs); background: var(--grey); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.eg-cart-item__img img { width: 86%; height: 86%; object-fit: contain; }
.eg-cart-item__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding-right: 28px; }
.eg-cart-item__name { text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.3; }
.eg-cart-item__meta { font-size: 13px; color: var(--muted); }
.eg-cart-item__meta dl, .eg-cart-item__meta p { margin: 0; display: inline; }
.eg-cart-item__meta dt, .eg-cart-item__meta dd { display: inline; margin: 0; font-weight: 500; }
.eg-cart-item__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 2px; }
.eg-cart-item__price { font-family: var(--font-head); font-weight: 800; font-size: 20px; }
.eg-cart-item__remove { position: absolute; top: 12px; right: 0; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; }
.eg-cart-item__remove:hover { background: var(--grey); color: var(--navy); }
.eg-cart-item.is-busy { opacity: .5; pointer-events: none; }
.eg-cart-foot { margin-top: auto; position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.eg-cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; }
.eg-cart-total strong { font-family: var(--font-head); font-weight: 800; font-size: 26px; }
.eg-cart-note { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- Cart & Checkout pages (blocks) ---------- */
.eg-funnel .eg-main { max-width: 1200px; }
.eg-funnel .wc-block-components-button:not(.is-link) { border-radius: var(--pill) !important; background: var(--orange) !important; color: #fff !important; font-weight: 700 !important; min-height: 52px; }
.eg-funnel .wc-block-components-button:not(.is-link):hover { background: var(--orange-dark) !important; }
.eg-funnel .wc-block-components-product-name { font-weight: 600; }
.eg-funnel .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: var(--font-head); font-size: 26px; }
.eg-funnel .wc-block-components-sidebar .wc-block-components-panel, .eg-funnel .wc-block-components-sidebar { border-radius: var(--radius-md); }
.eg-funnel .wc-block-components-text-input input, .eg-funnel .wc-block-components-select .components-custom-select-control__button, .eg-funnel .wc-block-components-combobox .components-combobox-control__input, .eg-funnel .wc-block-components-form .wc-block-components-text-input input { border-radius: var(--radius-sm) !important; }
.eg-funnel .wc-block-components-checkout-step__title { font-family: var(--font-head); font-size: 26px; text-transform: uppercase; }

/* Funnel extras: page-level progress bar and trust row */
.eg-funnel-top { margin-bottom: 20px; }
.eg-ship-progress--page { border-radius: var(--radius-sm); max-width: 560px; }
.eg-ship-progress--page .eg-ship-progress__text strong { display: inline; }
.eg-funnel-foot { display: flex; justify-content: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.eg-trust-row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.eg-trust-row li { display: inline-flex; align-items: center; gap: 6px; }
.eg-trust-row .eg-icon { color: var(--teal); }
.eg-funnel .eg-page-head { padding-bottom: 8px; }
.eg-funnel .wc-block-components-sidebar-layout { margin-top: 8px; }
.eg-funnel .wc-block-cart__submit-container { padding-top: 0; }
.eg-funnel .wc-block-components-order-summary-item__image img, .eg-funnel .wc-block-cart-item__image img { border-radius: var(--radius-xs); background: var(--grey); }
.eg-funnel .wc-block-components-product-metadata__description { display: none; }
.eg-funnel .wc-block-cart-items__header { font-size: 12px; letter-spacing: .08em; }
.eg-funnel .wc-block-components-checkout-step__heading .wc-block-components-checkout-step__title { font-size: 22px; }
.eg-funnel .wc-block-components-express-payment__title-container .wc-block-components-express-payment__title { font-family: var(--font-head); font-size: 16px; letter-spacing: .06em; }
.eg-funnel .wc-block-components-express-payment-continue-rule { font-size: 13px; color: var(--muted); }
.eg-funnel .wc-block-components-checkout-return-to-cart-button { font-weight: 600; }
.eg-funnel .wc-block-components-radio-control__option { border-radius: var(--radius-sm); }
.eg-funnel .wc-block-components-notice-banner { border-radius: var(--radius-sm); }
.eg-funnel .wc-block-components-totals-wrapper, .eg-funnel .wc-block-components-order-summary { border-color: var(--line); }
.eg-funnel .wc-block-components-checkout-order-summary__title-text, .eg-funnel .wc-block-components-order-summary__heading { font-family: var(--font-head); font-size: 20px; text-transform: uppercase; letter-spacing: .02em; }

/* ---------- Classic cart/checkout/account fallbacks ---------- */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button { border-radius: var(--pill); background: var(--navy); color: #fff; font-weight: 700; padding: 12px 22px; line-height: 1.2; }
.woocommerce .button:hover, .woocommerce a.button:hover { background: #10406f; color: #fff; }
.woocommerce .button.alt, .woocommerce button.button.alt { background: var(--orange); }
.woocommerce .button.alt:hover { background: var(--orange-dark); }
.woocommerce-MyAccount-navigation ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.woocommerce-MyAccount-navigation a { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: var(--pill); border: 2px solid var(--line); text-decoration: none; font-weight: 700; font-size: 15px; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--navy); border-color: var(--navy); color: #fff; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { border-radius: var(--radius-sm); border: 2px solid var(--line); padding: 12px 14px; font-size: 16px; }
.woocommerce form .form-row input.input-text:focus { border-color: var(--navy); outline: none; }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.lost_reset_password { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; max-width: 520px; }
.woocommerce table.shop_table { border: 0; border-collapse: collapse; font-size: 15px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-left: 0; border-right: 0; border-color: var(--line); }
.woocommerce-account .eg-main { max-width: 1100px; }

/* Variation price / stock colours (override Woo defaults) */
.single-product div.product .summary .price, .single-product div.product .summary .woocommerce-variation-price .price, .single-product div.product .summary .price ins { color: var(--navy); }
.single-product div.product .summary .stock.in-stock { color: var(--teal-text); }
.single-product div.product .summary .stock.out-of-stock { color: var(--orange); }

/* Layout-stability: before the gallery slider initialises only the first image takes space (no jump when extra images collapse). */
.woocommerce-product-gallery__wrapper:not(.flex-viewport > *) .woocommerce-product-gallery__image:nth-child(n+2) { display: none; }
.woocommerce-product-gallery .flex-viewport { aspect-ratio: 1 / 1; } /* keeps the gallery box while flexslider measures itself (CLS 0.2 -> 0) */
/* Express buttons (Stripe Link / Apple Pay / PayPal) arrive after first interaction: reserve their height so the page doesn't shift. */
.single-product form.cart .ppc-button-wrapper { min-height: 55px; }
.single-product form.cart .eg-express-slot { min-height: 48px; }
