/* Product cutouts use the page's own surface in both colour themes. */
html body img[data-product-cutout]{background:transparent!important;mix-blend-mode:normal!important;object-fit:contain!important}
html body :is(.pd-stage,.pd-variety-photo,.pd-gallery-image,.pd-related a>div,
 .product-card .product-img,.catalog-varieties img){background:transparent!important}
html body :is(.pd-stage,.pd-variety-photo,.pd-gallery-image,.pd-related,.product-img,
 .catalog-varieties,.hero-item,.chip,.botanical-card,.botanical-gallery,.canned-gallery,.canned-group,.botanical-group) img{
 background:transparent!important;mix-blend-mode:normal!important
}
html body :is(.botanical-card,.botanical-group,.canned-gallery,.canned-group) img{object-fit:contain}
html body .pd-dialog img{background:transparent;mix-blend-mode:normal}
.faraon-brand-host{position:relative}
.faraon-label-surface{position:absolute;display:block;pointer-events:none;box-sizing:border-box;margin:0;padding:0;border:0;transform-style:preserve-3d}
.faraon-label-surface[hidden]{display:none}
/* Approved photographed paper label, shared by all catalogue surfaces. */
.faraon-product-sticker{
 position:absolute;display:block;z-index:2;pointer-events:none;box-sizing:border-box;
 transform:translate(-50%,-50%) rotate(-14deg) skewX(4deg);
 background:var(--faraon-sticker-art) center / 100% auto no-repeat;
 filter:drop-shadow(.2px .6px .5px rgba(32,15,4,.3));
}
.faraon-product-sticker[hidden]{display:none}
.product-variety-labels{font-size:.82em!important;line-height:1.55!important;color:var(--gold-deep,#806726);margin:0 0 12px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* Give multi-variety photography enough space to read at catalogue size. */
@media(min-width:601px){
 .product-grid:not(.catalog-3d-ring)>.product-card--family{grid-column:span 2}
 html body .product-grid:not(.catalog-3d-ring)>.product-card--family .product-img{height:420px}
 html body .product-grid:not(.catalog-3d-ring)>.product-card--family[data-family-dense] .product-img{height:540px}
}
html body .catalog-3d-ring .product-card--family{width:min(460px,84vw)}
html body .catalog-3d-ring .product-card--family .product-img{height:300px}
html body .catalog-3d-ring .product-card--family[data-family-dense] .product-img{height:360px}
html body .catalog-3d:has(.product-card--family){height:820px}
@media(max-width:600px){
 html body .product-grid:not(.catalog-3d-ring)>.product-card--family{grid-column:1/-1}
 html body .product-grid:not(.catalog-3d-ring)>.product-card--family .product-img{height:300px}
 html body .product-grid:not(.catalog-3d-ring)>.product-card--family[data-family-dense] .product-img{height:420px}
 html body .catalog-3d-ring .product-card--family .product-img{height:260px}
 html body .catalog-3d-ring .product-card--family[data-family-dense] .product-img{height:320px}
 html body .catalog-3d:has(.product-card--family){height:700px}
}

/* Fruit cards share one size, including cards showing several varieties. */
html body.fruit-benefits-page .product-grid:not(.catalog-3d-ring){grid-auto-rows:1fr}
html body.fruit-benefits-page .product-grid:not(.catalog-3d-ring)>.fruit-benefit-card{grid-column:auto;height:100%;box-sizing:border-box}
html body.fruit-benefits-page .product-grid:not(.catalog-3d-ring)>.fruit-benefit-card .product-img,
html body.fruit-benefits-page .product-grid:not(.catalog-3d-ring)>.fruit-benefit-card[data-family-dense] .product-img{height:300px}
html body.fruit-benefits-page .fruit-benefit-card .product-info{display:flex;flex-direction:column;flex:1;min-width:0}
html body.fruit-benefits-page .fruit-benefit-card .product-info h3{line-height:1.12}
html body.fruit-benefits-page .fruit-benefit-card .product-description{flex:1}
html body.fruit-benefits-page .fruit-benefit-card .arrow{margin-top:auto}
html body.fruit-benefits-page .catalog-3d-ring .fruit-benefit-card,
html body.fruit-benefits-page .catalog-3d-ring .fruit-benefit-card.product-card--family{width:min(340px,80vw)}
html body.fruit-benefits-page .catalog-3d-ring .fruit-benefit-card .product-img,
html body.fruit-benefits-page .catalog-3d-ring .fruit-benefit-card[data-family-dense] .product-img{height:250px}
html body.fruit-benefits-page .catalog-3d-ring .fruit-benefit-card .product-info{height:250px;min-height:250px;flex:none;box-sizing:border-box}
html body.fruit-benefits-page .catalog-3d:has(.product-card--family){height:720px}
@media(max-width:600px){
 html body.fruit-benefits-page .product-grid:not(.catalog-3d-ring)>.fruit-benefit-card .product-img,
 html body.fruit-benefits-page .product-grid:not(.catalog-3d-ring)>.fruit-benefit-card[data-family-dense] .product-img{height:260px}
 html body.fruit-benefits-page .catalog-3d-ring .fruit-benefit-card .product-img,
 html body.fruit-benefits-page .catalog-3d-ring .fruit-benefit-card[data-family-dense] .product-img{height:220px}
 html body.fruit-benefits-page .catalog-3d:has(.product-card--family){height:680px}
}
html body.fruit-benefits-page .category-products-section .fruit-benefit-card .product-img{height:300px}
@media(max-width:600px){html body.fruit-benefits-page .category-products-section .fruit-benefit-card .product-img{height:260px}}

/* Keep the collection's family and single-product images aligned. */
html body .product-grid.home-product-grid:not(.catalog-3d-ring)>.product-card .product-img,
html body .product-grid.home-product-grid:not(.catalog-3d-ring)>.product-card:first-child .product-img,
html body .product-grid.home-product-grid:not(.catalog-3d-ring)>.product-card[data-family-dense] .product-img{height:260px}

/* The full catalogue uses one card size. Family ranges stay in a single column. */
html body.catalog-index-page .catalog-tabs-section .product-grid.tab-grid{grid-auto-rows:1fr;align-items:stretch}
html body.catalog-index-page .catalog-tabs-section .product-grid.tab-grid>.product-card,
html body.catalog-index-page .catalog-tabs-section .product-grid.tab-grid>.product-card--family,
html body.catalog-index-page .catalog-tabs-section .product-grid.tab-grid>.product-card--family[data-family-dense],
html body.catalog-index-page .catalog-tabs-section .product-grid.tab-grid>.product-card:first-child{grid-column:auto;height:100%;min-width:0}
html body.catalog-index-page .catalog-tabs-section .product-grid.tab-grid .product-img,
html body.catalog-index-page .catalog-tabs-section .product-grid.tab-grid>.product-card:first-child .product-img,
html body.catalog-index-page .catalog-tabs-section .product-grid.tab-grid>.product-card--family .product-img,
html body.catalog-index-page .catalog-tabs-section .product-grid.tab-grid>.product-card--family[data-family-dense] .product-img{height:210px!important;background:radial-gradient(circle at 50% 62%,#efe6cf,#f6f3ea 70%)!important}
html body.catalog-index-page .catalog-tabs-section .product-img img{object-fit:contain;padding:14px;box-sizing:border-box}
html body.catalog-index-page .catalog-tabs-section .product-info{display:flex;flex-direction:column;min-height:196px;padding:16px 16px 18px;box-sizing:border-box}
html body.catalog-index-page .catalog-tabs-section .product-info h3{margin:0 0 8px;line-height:1.1}
html body.catalog-index-page .catalog-tabs-section .product-info h3::after{content:"";display:block;height:2.5em}
html body.catalog-index-page .catalog-tabs-section .product-variety-labels{margin:-2.5em 0 8px;min-height:2.5em}
html body.catalog-index-page .catalog-tabs-section .product-description{margin:0 0 12px;font-size:15px;line-height:1.45;min-height:2.9em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body.catalog-index-page .catalog-tabs-section .product-info .arrow{margin-top:auto}
html body.catalog-index-page .catalog-3d-ring .product-card,
html body.catalog-index-page .catalog-3d-ring .product-card--family{width:min(340px,72vw)}
html body.catalog-index-page .catalog-3d-ring .product-img,
html body.catalog-index-page .catalog-3d-ring .product-card--family .product-img,
html body.catalog-index-page .catalog-3d-ring .product-card--family[data-family-dense] .product-img{height:210px!important}
html body.catalog-index-page .catalog-3d-ring .product-info{height:150px;min-height:150px;overflow:hidden;box-sizing:border-box}
html body.catalog-index-page .catalog-3d-ring .product-description,
html body.catalog-index-page .catalog-3d-ring .product-variety-labels{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body.catalog-index-page .catalog-3d:has(.product-card--family),
html body.catalog-index-page .catalog-hero .catalog-3d{height:640px}
@media(max-width:760px){
 html body.catalog-index-page .catalog-tabs-section .product-grid.tab-grid .product-img,
 html body.catalog-index-page .catalog-tabs-section .product-grid.tab-grid>.product-card:first-child .product-img,
 html body.catalog-index-page .catalog-tabs-section .product-grid.tab-grid>.product-card--family .product-img,
 html body.catalog-index-page .catalog-tabs-section .product-grid.tab-grid>.product-card--family[data-family-dense] .product-img{height:180px!important}
 html body.catalog-index-page .catalog-tabs-section .product-info{min-height:176px;padding:12px}
}
@media(max-width:600px){
 html body.catalog-index-page .catalog-3d-ring .product-img,
 html body.catalog-index-page .catalog-3d-ring .product-card--family .product-img,
 html body.catalog-index-page .catalog-3d-ring .product-card--family[data-family-dense] .product-img{height:180px!important}
 html body.catalog-index-page .catalog-hero .catalog-3d,
 html body.catalog-index-page .catalog-3d:has(.product-card--family){height:560px}
}
html body.catalog-index-page .catalog-tabs-section .product-grid.tab-grid{perspective:none}
html body.catalog-index-page .catalog-tabs-section .product-grid.tab-grid>.product-card{transform-style:flat;position:relative}
html body.catalog-index-page .catalog-tabs-section .product-grid.tab-grid>.product-card::before{content:"";position:absolute;z-index:2;top:0;left:16px;right:16px;height:3px;border-radius:0 0 3px 3px;background:#c6a15b;transform:scaleX(0);transform-origin:left center;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
html body.catalog-index-page .catalog-tabs-section .product-grid.tab-grid>.product-card:hover{transform:translateY(-8px);box-shadow:0 18px 36px rgba(16,38,9,.12);border-color:rgba(198,161,91,.7)}
html body.catalog-index-page .catalog-tabs-section .product-grid.tab-grid>.product-card:hover::before{transform:scaleX(1)}
html body.canned-foods-page :is(.product-img,.canned-gallery,.canned-group) img{object-fit:cover!important;object-position:center;width:100%;height:100%}
html body.canned-foods-page .canned-groups{align-items:stretch}
html body.canned-foods-page .canned-group{align-items:center;min-width:0}
html body.canned-foods-page .canned-group>img{width:160px;height:160px;min-width:160px;min-height:0;max-height:160px;aspect-ratio:1}
@media(max-width:650px){html body.canned-foods-page .canned-group>img{width:90px;height:90px;min-width:90px;max-height:90px}}
