/* Shop components measured from the approved 1600px Figma frames.
   Card 400×540; white retailer panel 331.8008×194 at (34,328).
   cqw keeps every child in the same proportion as the card. */
.shop-page:not(.shop-category-page) main { padding-top: calc(90 * var(--u)); }
.shop-page:not(.shop-category-page) .breadcrumbs { margin-bottom: calc(42 * var(--u)); }
.shop-overview { margin-top: 0; }
.shop-category-tabs { display: flex; justify-content: space-between; gap: 20px; margin-bottom: calc(70 * var(--u)); }
.shop-category-tabs button { font: 500 calc(20 * var(--u))/1.4 var(--heading-font); }
.shop-category-tabs button[aria-selected=true] { color: #c00; }
.shop-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: calc(35 * var(--u)) calc(40 * var(--u)); }
.shop-product { position: relative; container-type: inline-size; aspect-ratio: 20 / 27; padding: 0; border-radius: calc(9.1783 * var(--u)); overflow: hidden; background: #f8f8f8; text-align: center; }
.shop-product:first-child { background: #ffe6e9; }
.shop-product .shop-pack { position: absolute; inset: 12cqw 0 auto; width: 100%; height: 52.25cqw; margin: 0; object-fit: contain; }
.shop-page .shop-product h2 { position: absolute; top: 70.5cqw; left: 5cqw; right: 5cqw; height: 7cqw; margin: 0; font: 600 5cqw / 7cqw var(--heading-font); }
.shop-retailer-list { position: absolute; top: 82cqw; left: 8.5cqw; width: 82.9502cqw; height: 48.5cqw; margin: 0; padding: 0; list-style: none; border-radius: 2.2946cqw; background: #fff; text-align: left; }
.shop-retailer-list li { position: absolute; left: 6.3809cqw; width: 69.1513cqw; height: 5.5cqw; min-height: 0; margin: 0; padding: 0; border: 0; display: flex; align-items: center; justify-content: space-between; }
.shop-retailer-list li:nth-child(1) { top: 5.75cqw; }
.shop-retailer-list li:nth-child(2) { top: 13.75cqw; }
.shop-retailer-list li:nth-child(3) { top: 21.5cqw; }
.shop-retailer-list li:nth-child(4) { top: 29.25cqw; }
.shop-retailer-list li:nth-child(5) { top: 37.5cqw; }
.shop-retailer-list img { display: block; flex: none; max-width: none; object-fit: contain; object-position: left center; }
.shop-retailer-list li:nth-child(1)>img { width: 14.3984cqw; height: 5.3137cqw; margin-left: .3067cqw; }
.shop-retailer-list li:nth-child(2)>img { width: 13.4404cqw; height: 4.4801cqw; }
.shop-retailer-list li:nth-child(3)>img { width: 18.065cqw; height: 5.1826cqw; margin-left: .3067cqw; }
.shop-retailer-list li:nth-child(4)>img { width: 19.5308cqw; height: 5.1591cqw; margin-left: .3067cqw; }
.shop-retailer-list li:nth-child(5)>img { width: 16.6574cqw; height: 5.642cqw; }
.shop-retailer-list button, .shop-retailer-list .shop-buy { appearance: none; display: grid; place-items: center; position: relative; flex: none; width: 15.2256cqw; height: 5.5525cqw; min-height: 0; padding: 0; margin: 0; border: 0; border-radius: 11.8139cqw; background: #fff; color: #404040; -webkit-text-fill-color: currentColor; font: 500 1.7721cqw / 1 var(--body-font); letter-spacing: .06em; text-transform: uppercase; opacity: 1; }
.shop-retailer-list li:first-child button, .shop-retailer-list li:first-child .shop-buy { width: 15.4756cqw; border-radius: 1cqw; background: #c00; color: #fff; font-weight: 700; }
.shop-retailer-list button:disabled { opacity: 1; cursor: not-allowed; }
.shop-category-page main { padding-top: 0; }
.shop-category-hero { height: calc(500 * var(--u)); position: relative; }
.shop-category-hero>img { width: 100%; height: 100%; object-fit: cover; object-position: center 72.5%; }
.shop-category-hero::after { content: ''; position: absolute; inset: 0; background: rgb(95 0 0 / .47); pointer-events: none; }
.shop-category-page .site-header { color: white; }
.shop-category-page .site-header .outline { border-color: white; }
.shop-category-page .breadcrumbs { margin-top: calc(20 * var(--u)); margin-bottom: calc(45 * var(--u)); }
.shop-category h1 { font-size: calc(45 * var(--u)); margin-bottom: calc(38 * var(--u)); }
.shop-brand-film { margin-top: calc(100 * var(--u)); text-align: center; }
.shop-brand-film h2 { font-size: calc(45 * var(--u)); line-height: calc(61 * var(--u)); margin-bottom: calc(35 * var(--u)); }
.shop-brand-film>button { display: block; position: relative; width: 100%; overflow: hidden; border-radius: calc(20 * var(--u)); }
.shop-brand-film>button>img { width: 100%; height: calc(600 * var(--u)); object-fit: cover; }
.shop-retailer-brands { text-align: center; margin-top: calc(74 * var(--u)); }
.shop-retailer-brands h2 { font-size: calc(45 * var(--u)); line-height: calc(55 * var(--u)); margin: 0; }
.shop-page .inner-footer { margin-top: calc(256 * var(--u)); }
.shop-category-page .inner-footer { margin-top: calc(88 * var(--u)); }
@media (max-width: 1100px) {
 .shop-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px; }
 .shop-category-tabs button { font-size: 16px; }
 .shop-product { container-type: normal; aspect-ratio: auto; padding: 28px 24px 24px; border-radius: 10px; }
 .shop-product .shop-pack { position: static; width: 100%; height: 209px; }
 .shop-page .shop-product h2 { position: static; height: auto; font-size: 20px; line-height: 28px; margin: 24px 0 20px; }
 .shop-retailer-list { position: static; width: 100%; height: auto; padding: 18px; margin: 0; border-radius: 10px; display: flex; flex-direction: column; gap: 6px; }
 .shop-retailer-list li { position: static; width: 100%; height: 44px; }
 .shop-retailer-list li:nth-child(n)>img { margin-left: 0; }
 .shop-retailer-list li:nth-child(1)>img { width: 57.594px; height: 21.255px; }
 .shop-retailer-list li:nth-child(2)>img { width: 53.762px; height: 17.921px; }
 .shop-retailer-list li:nth-child(3)>img { width: 72.26px; height: 20.731px; }
 .shop-retailer-list li:nth-child(4)>img { width: 78.124px; height: 20.637px; }
 .shop-retailer-list li:nth-child(5)>img { width: 66.63px; height: 22.569px; }
 .shop-retailer-list button, .shop-retailer-list .shop-buy, .shop-retailer-list li:first-child button, .shop-retailer-list li:first-child .shop-buy { width: 76px; height: 30px; font-size: 10px; border-radius: 20px; }
 .shop-retailer-list li:first-child button, .shop-retailer-list li:first-child .shop-buy { border-radius: 4px; }
}
@media (max-width: 900px) {
 .shop-page:not(.shop-category-page) main { padding-top: 100px; }
 .shop-page:not(.shop-category-page) .breadcrumbs { margin-bottom: 30px; }
 .shop-category h1 { margin-bottom: 30px; }
}
@media (max-width: 700px) {
 .shop-category-tabs { overflow-x: auto; justify-content: start; gap: 25px; margin-bottom: 25px; padding-bottom: 10px; }
 .shop-category-tabs button { flex: none; min-height: 44px; }
 .shop-grid { grid-template-columns: 1fr; }
 .shop-category-hero { height: 300px; }
 .shop-category-page .menu-toggle span { background: white; }
 .shop-category-page .breadcrumbs { margin-top: 20px; margin-bottom: 30px; }
 .shop-category h1 { font-size: 32px; }
 .shop-brand-film { margin-top: 50px; }
 .shop-brand-film h2, .shop-retailer-brands h2 { font-size: 30px; line-height: 1.3; margin-bottom: 25px; }
 .shop-brand-film>button>img { height: 260px; }
 .shop-retailer-brands { margin-top: 50px; }
 .shop-page .inner-footer { margin-top: 80px; }
}

/* Workbook links use the same approved controls and retailer-panel geometry. */
.shop-card-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.shop-card-link:focus-visible { outline: 2px solid #c00; outline-offset: -3px; }
.shop-retailer-list { z-index: 2; }
.shop-retailer-list .shop-buy { text-decoration: none; cursor: pointer; }
.shop-retailer-list .shop-buy:hover { box-shadow: 0 0 0 1px #c00; }
.shop-retailer-list li[data-retailer=blinkit]>img { width: 16.6574cqw; height: 5.642cqw; object-fit: contain; }
.shop-product .product-image-pending { display: grid; place-items: center; color: #777; font: 400 14px/1.6 var(--body-font); }
.shop-page .shop-long-name h2 { font-size: 4cqw; line-height: 5cqw; height: auto; }
@media(max-width:1100px) {
 .shop-retailer-list li[data-retailer=blinkit]>img { width: 66.63px; height: 22.569px; }
 .shop-page .shop-long-name h2 { font-size: 20px; line-height: 28px; }
}
