/* Shopping components inherit the site's existing catalogue typography and colours. */
.shop-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.shop-catalog, .shop-page { padding-bottom: 48px; }
.shop-catalog-layout { display: grid; grid-template-columns: 200px minmax(0,1fr); gap: 32px; padding-top: 16px; }
.shop-catalog-results, .shop-filter-panel { min-width: 0; }
.shop-filter-panel { border-right: 1px solid var(--border-color); padding-right: 24px; }
.shop-filter-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.shop-filter-heading h2 { font-size: 23px; font-weight: 400; }
.shop-filter-heading a { font-size: 13px; text-decoration: underline; }
.shop-filters details { border-bottom: 1px solid var(--border-color); padding: 0 0 18px; margin-bottom: 18px; }
.shop-filters summary { font-size: 15px; font-weight: 700; cursor: pointer; padding: 4px 0 12px; }
.shop-filters fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.shop-filters fieldset label { display: flex; align-items: center; gap: 10px; margin: 0; padding: 7px 0; font-weight: 400; font-size: 14px; cursor: pointer; }
.shop-filters input[type=radio], .shop-checkbox input[type=checkbox] { display: inline-block; visibility: visible; opacity: 1; appearance: auto; flex: 0 0 16px; width: 16px; height: 16px; padding: 0; margin: 0; accent-color: var(--theme-color); }
.shop-filters input[type=radio] ~ span { display: block; }
.shop-price-inputs { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; }
.shop-filters label, .shop-sort { font-size: 13px; font-weight: 400; }
.shop-filters input[type=number], .shop-filters select, .shop-sort select, .shop-pack-select, .shop-detail-pack select { height: 40px; width: 100%; padding: 8px 12px; border-radius: 6px; border: 1px solid var(--border-color); background-color: #fff; color: var(--body-color); font: inherit; }
.shop-filters select, .shop-sort select, .shop-pack-select, .shop-detail-pack select { padding-right: 30px; background-position: right 10px center; }
.shop-range-label { display: block; margin-top: 12px; }
.shop-filters input[type=range] { display: block; height: 24px; width: 100%; appearance: auto; padding: 0; border: 0; margin: 8px 0 0; accent-color: var(--theme-color); }
.shop-filter-toggle { display: none; }
.shop-listing-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--border-color); padding-bottom: 18px; margin-bottom: 24px; }
.shop-listing-heading h1 { font-size: clamp(28px,2.6vw,36px); font-weight: 400; margin-bottom: 8px; }
.shop-listing-heading p { font-size: 14px; margin: 0; }
.shop-sort { flex: 0 0 180px; margin: 0; }
.shop-sort select { margin-top: 4px; }
.shop-product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px 16px; }
.shop-related-products { margin: 28px 0 40px; padding-top: 22px; border-top: 1px solid var(--border-color); }
.shop-related-products > h2 { margin: 0 0 22px; font-size: 26px; }
.shop-product-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dfe5de; border-radius: 12px; background: #fff; box-shadow: 0 3px 10px #132b1a09; transition: box-shadow .2s ease, border-color .2s ease; }
.shop-product-card:hover { border-color: #b6c5b8; box-shadow: 0 6px 18px #132b1a13; }
.shop-product-card .food-catalog-image { position: relative; flex: none; width: 100%; min-height: 0; aspect-ratio: 1; margin: 0; border-radius: 0; padding: 12px; background: #f7f8f4; }
.shop-product-card .food-catalog-image img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; }
.shop-product-card .shop-card-body { padding: 14px 12px 12px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.shop-product-card .food-product-category { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.shop-product-card h2 { font-size: 17px; line-height: 1.3; min-height: 2.6em; }
.shop-card-summary { font-size: 13px; color: var(--body-color); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-card-purchase { margin-top: auto; }
.shop-pack-select { font-size: 13px; margin: 10px 0; height: 36px; }
.shop-card-price, .shop-detail-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }
.shop-card-price strong { font: 700 20px/1.4 var(--title-font); color: var(--title-color); }
.shop-card-price del, .shop-detail-price del { font-size: 13px; color: #778176; }
.shop-availability { display: block; font-size: 12px; margin: 4px 0 12px; }
.shop-card-purchase .food-command { width: 100%; min-width: 0; min-height: 46px; font-size: 13px; padding: 10px 6px; gap: 6px; border-radius: 7px; }
.shop-card-purchase .food-command i { font-size: 15px; }
.shop-card-purchase [data-add-cart][hidden], .shop-card-stepper[hidden] { display: none; }
.shop-card-stepper { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; align-items: center; height: 46px; border: 1px solid var(--theme-color); border-radius: 7px; background: #f5f8f2; color: var(--theme-color); }
.shop-card-stepper button { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: inherit; font: 22px/1 var(--body-font); }
.shop-card-stepper output { padding: 0 2px; font: 600 15px/1.4 var(--body-font); text-align: center; }
.shop-card-stepper button:hover:not(:disabled) { background: #e6eee1; }
.shop-card-stepper button:focus-visible, .shop-cart-actions button:focus-visible, .shop-cart-stepper input:focus-visible { outline: 2px solid var(--theme-color); outline-offset: 2px; }
.shop-buy-link { display: block; padding: 10px 4px 2px; width: 100%; border: 0; background: transparent; color: var(--theme-color); font: 14px var(--body-font); text-align: center; }
.shop-buy-link i { font-size: 11px; margin-left: 6px; }
.shop-enquiry-link { display: inline-block; font-size: 14px; margin: 10px 12px 0 0; text-decoration: underline; }
.shop-form-status { margin: 10px 0 0 !important; font-size: 13px; overflow-wrap: anywhere; }
.shop-form-status:empty, .shop-message:empty { display: none; }
.shop-pagination { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 28px; }
.shop-pagination a { padding: 10px; text-decoration: underline; }
.shop-detail-purchase { margin: 20px 0; border-top: 1px solid var(--border-color); padding-top: 18px; }
.shop-detail-price { margin-bottom: 18px; }
.shop-detail-price strong { font-size: 30px; color: var(--theme-color); }
.shop-detail-price > span { flex-basis: 100%; font-size: 14px; }
.shop-product-category { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.shop-detail-pack { display: block; font-size: 14px; max-width: 280px; }
.shop-detail-pack select { margin-top: 6px; }
.shop-card-purchase .shop-detail-pack { font-size: 12px; margin: 0; }
.shop-card-purchase .shop-variant { min-height: 65px; margin-bottom: 8px; }
.shop-single-pack { display: flex; align-items: center; min-height: 44px; font-size: 14px; }
.shop-development-notice { margin: 16px 0 0; padding: 10px 14px; border: 1px solid #dfdbc3; border-radius: 6px; background: #fbf9ed; color: #665c36; font: 13px/1.5 var(--body-font); }
.shop-quantity-row { display: flex; align-items: center; gap: 18px; margin: 20px 0; }
.shop-quantity-row label { margin: 0; font-size: 14px; font-weight: 400; }
.shop-quantity { display: inline-flex; align-items: stretch; height: 44px; border: 1px solid var(--border-color); border-radius: 5px; overflow: hidden; }
.shop-quantity button { width: 40px; padding: 0; border: 0; background: #f4f6f2; color: var(--theme-color); font-size: 20px; }
.shop-quantity input { appearance: textfield; width: 56px; height: 42px; padding: 4px; text-align: center; border: 0; border-radius: 0; background: #fff; font: inherit; }
.shop-quantity input::-webkit-inner-spin-button { appearance: none; }
.catalog-experience button:disabled { cursor: not-allowed; opacity: .5; }
.product-page .food-gallery-stage { aspect-ratio: 1; border-radius: 12px; }
.product-page .gallery-with-thumbnails { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 12px; align-items: start; }
.gallery-with-thumbnails .food-gallery-stage { grid-column: 2; grid-row: 1; }
.gallery-with-thumbnails .food-thumbnails { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; max-height: 520px; overflow-y: auto; overflow-x: hidden; }
.gallery-with-thumbnails .food-thumbnails button { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 8px; }
.shop-page { padding-top: 8px; min-height: 55vh; }
.shop-page > h1 { margin-top: 16px; }
.shop-page-intro { color: #657167; margin-bottom: 28px !important; }
.shop-cart-layout, .shop-checkout-layout { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(280px,1fr); gap: 40px; align-items: start; }
.shop-cart-layout > *, .shop-checkout-layout > * { min-width: 0; }
.shop-cart-item { display: grid; grid-template-columns: 96px minmax(0,1fr) auto; align-items: center; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--border-color); }
.shop-cart-item:first-child { padding-top: 0; }
.shop-cart-image { display: flex; align-items: center; justify-content: center; align-self: start; aspect-ratio: 1; background: #f5f7f3; border-radius: 8px; }
.shop-cart-image img { width: 100%; height: 100%; object-fit: contain; }
.shop-cart-description { min-width: 0; }
.shop-cart-description h2 { font-size: 18px; line-height: 1.4; margin: 0 0 6px; overflow-wrap: anywhere; }
.shop-cart-description p { font-size: 13px; margin: 0 0 4px; }
.shop-cart-actions { display: grid; grid-template-columns: 124px 100px 44px; align-items: center; gap: 12px; margin: 0; min-width: 0; }
.shop-cart-stepper { display: grid; grid-template-columns: 40px minmax(0,1fr) 40px; align-items: center; height: 44px; border: 1px solid #d7dfd3; border-radius: 999px; overflow: hidden; }
.shop-cart-stepper button { width: 40px; height: 42px; padding: 0; border: 0; background: transparent; color: var(--theme-color); font: 20px/1 var(--body-font); }
.shop-cart-stepper input { display: block; appearance: textfield; width: 100%; min-width: 0; height: 42px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--title-color); font: 15px var(--body-font); text-align: center; }
.shop-cart-stepper input::-webkit-inner-spin-button, .shop-cart-stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.shop-cart-actions .shop-cart-delete { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #788071; font-size: 16px; }
.shop-cart-actions .shop-cart-delete:hover { color: #9b3027; background: #fcf1ed; }
.shop-cart-line-total { font-size: 15px; line-height: 1.4; text-align: right; overflow-wrap: anywhere; }
.shop-continue { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 15px; }
.shop-order-summary { background: #f5f7f3; border: 1px solid var(--border-color); border-radius: 12px; padding: 24px; }
.shop-order-summary h2 { font-size: 23px; margin-bottom: 20px; }
.shop-order-summary p { font-size: 14px; }
.shop-order-summary dl { margin: 0 0 20px; }
.shop-order-summary dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 12px 0; font-size: 15px; }
.shop-order-summary dt { font-weight: 400; }
.shop-order-summary dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.shop-order-summary .shop-summary-total { border-top: 1px solid var(--border-color); margin-top: 18px; padding-top: 16px; font-size: 20px; font-weight: 700; }
.shop-summary-total dt { font-weight: 700; }
.shop-order-summary .food-command { margin-top: 16px; }
.shop-empty { text-align: center; padding: 50px 20px; max-width: 620px; margin: auto; }
.shop-empty > i { font-size: 42px; color: var(--theme-color); display: block; margin-bottom: 20px; }
.shop-empty .food-command { display: inline-flex; margin-top: 12px; }
.shop-field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.shop-checkout-form h2 { font-size: 23px; margin: 24px 0 16px; }
.shop-checkout-form h2:first-child { margin-top: 0; }
.shop-checkout-form label { display: block; margin: 0 0 16px; font-size: 14px; font-weight: 400; }
.shop-checkout-form input:not([type=checkbox]) { display: block; width: 100%; height: 46px; padding: 10px 12px; margin-top: 6px; border: 1px solid var(--border-color); border-radius: 6px; background: #fff; font: 16px var(--body-font); }
.shop-checkout-form .shop-checkbox { display: flex; gap: 10px; align-items: center; margin: 8px 0 20px; }
.shop-billing { border: 0; padding: 0; margin: 0; min-width: 0; }
.shop-billing legend { font-size: 23px; margin: 12px 0; }
.shop-pay { width: 100%; margin-top: 20px; }
.shop-checkout-items { margin: 0 0 24px; padding: 0; list-style: none; }
.shop-checkout-items li { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--border-color); padding: 14px 0; font-size: 15px; }
.shop-checkout-items strong { white-space: nowrap; }
.shop-checkout-items small { display: block; margin-top: 4px; color: #687568; }
.shop-message { border: 1px solid #cddbcf; background: #f1f6ee; border-radius: 6px; padding: 14px; margin-bottom: 20px; overflow-wrap: anywhere; }
.shop-error { color: #9b3027 !important; }
.shop-order-page { max-width: 880px !important; }
.shop-order-state { text-align: center; padding: 24px 0; }
.shop-order-state > i { font-size: 48px; color: var(--theme-color); margin-bottom: 16px; }
.shop-order-state h1 { font-size: 32px; }
.shop-order-state strong { overflow-wrap: anywhere; }
.shop-order-page .shop-order-summary { max-width: 650px; margin: auto; }
.shop-order-page .shop-order-summary > h3 { font-size: 18px; }
.site-header .header-cart { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.shop-cart-count { position: absolute; top: -2px; right: 0; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 10px; background: var(--theme-color); color: #fff; font: 600 11px/19px var(--body-font); text-align: center; }
@media (max-width: 1199px) {
    .shop-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .shop-catalog-layout { grid-template-columns: 180px minmax(0,1fr); gap: 24px; }
    .shop-filter-panel { padding-right: 20px; }
    .shop-cart-layout, .shop-checkout-layout { gap: 24px; }
    .shop-cart-item { grid-template-columns: 80px minmax(0,1fr); gap: 12px 16px; }
    .shop-cart-actions { grid-column: 2; grid-template-columns: 124px minmax(0,1fr) 44px; justify-self: stretch; }
}
@media (max-width: 991px) {
    .site-header .header-button .header-account { display: none; }
    .shop-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .shop-catalog-layout { grid-template-columns: 170px minmax(0,1fr); gap: 20px; }
    .shop-listing-heading { align-items: start; flex-wrap: wrap; gap: 12px; }
    .shop-sort { flex-basis: 100%; display: flex; align-items: center; gap: 12px; }
    .shop-sort select { margin: 0; width: auto; flex: 1; }
    .shop-cart-layout, .shop-checkout-layout { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 700px) {
    .shop-catalog-layout { display: block; padding-top: 8px; }
    .shop-filter-panel { border: 0; padding: 0; margin-bottom: 20px; }
    .shop-filter-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border: 1px solid var(--border-color); border-radius: 7px; background: #f5f7f3; color: var(--theme-color); font: 16px var(--body-font); }
    .shop-filters { display: none; padding: 20px 12px 0; border-bottom: 1px solid var(--border-color); }
    .shop-filter-panel.is-open .shop-filters, .shop-filter-panel:has(.shop-filters:focus-within) .shop-filters { display: block; }
    .shop-listing-heading { margin-bottom: 18px; }
    .shop-product-grid { gap: 16px 12px; }
    .shop-product-card .shop-card-body { padding: 12px 10px; }
    .shop-product-card h2 { font-size: 17px; }
    .shop-card-price strong { font-size: 18px; }
    .shop-card-purchase .food-command { font-size: 12px; gap: 5px; }
    .shop-card-purchase .food-command i { display: none; }
    .product-page .gallery-with-thumbnails { display: block; }
    .gallery-with-thumbnails .food-thumbnails { display: flex; flex-direction: row; gap: 10px; margin-top: 12px; overflow-x: auto; overflow-y: hidden; max-height: none; }
    .shop-cart-item { grid-template-columns: 72px minmax(0,1fr); gap: 14px; }
    .shop-cart-actions { grid-column: 1 / -1; gap: 10px; }
    .shop-cart-description h2 { font-size: 18px; }
    .shop-field-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
    .shop-order-summary { padding: 20px; }
    .shop-checkout-items li { gap: 12px; }
    .shop-page { padding-bottom: 32px; }
}
@media (max-width: 350px) {
    .shop-product-grid { grid-template-columns: minmax(0,1fr); }
    .shop-product-card h2 { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .shop-product-card { transition: none; } }
