/* =====================================================================
   Luxury pass (loaded after experience.css). Measured against Tiffany, Patek Philippe,
   Rolls-Royce, Porsche, Burberry and Ferrari:
     - the first screen is photography, full height, with the header laid over it;
     - one paper, one dark, one accent; display type large and light; more space.
   ===================================================================== */
html:root {
  --cm-paper: #FAF9F7; --cm-panel: #F2F0EB; --cm-navy: #000E34;
  --cm-gold: #C2A36B;          /* accent on navy, and fills */
  --cm-gold-ink: #806A48;      /* accent for small text on paper: 4.9:1 */
  --cm-section: 7rem;
  /* teal retires: fills and dots go navy, accent text goes gold */
  --cm-teal: #000E34; --cm-teal-ink: #806A48; --color-bg-primary: #000E34;
  --color-bg-secondary: #FAF9F7; --color-bg-third: #FAF9F7; --color-bg-sixth: #FAF9F7;
}
@media (max-width: 768px) { html:root { --cm-section: 4.5rem; } }

/* ---------------- one paper ---------------- */
html body[class]:not(#cm) { background-color: var(--cm-paper); }
html body[class] :is(main > section, .cm-notes, .cm-pillars, .best-selling, .product-hero, .product-parameters, .shop-content, .nav-box):not(.slider-block):not(.image-with-text):not([class*="bg-midnight"]):not(#cm) { background-color: var(--cm-paper); }
html body[class] header .nav-box:not(#cm) { background-color: var(--cm-paper) !important; }
html body[class] .variant-product .inner > a.top .image:not(#cm),
html body[class] .product-hero .gallery .slide .slick-slide:not(#cm),
html body[class] header .cm-tins a:not(#cm) { background-color: var(--cm-panel); }

/* ---------------- one accent: gold replaces teal ---------------- */
.cm-pillar .cm-eyebrow:not(#cm), .cm-notes .cm-eyebrow:not(#cm), .cm-serve-rec:not(#cm),
.variation-radios .variation-radio-item.cm-rec::after,
html body[class] .video-block h5:not(#cm), html body[class] .best-selling .wp-block-heading + *:not(#cm) { color: var(--cm-gold-ink) !important; }
html body[class] [data-eggs_radar] h5, html body[class] [data-eggs_radar] .text-teal, html body[class] [data-eggs_radar] [class*="text-teal"] { color: var(--cm-gold) !important; }
html body[class] [data-eggs_radar] polygon[data-eggs_radar_polygon] { fill: rgba(194, 163, 107, .2) !important; stroke: var(--cm-gold) !important; stroke-width: 1px; }
html body[class] [data-eggs_radar] circle[data-radar-dot] { fill: var(--cm-gold) !important; }
.cm-match-k:not(#cm) { color: var(--cm-gold) !important; }
/* selection, dots, icons: navy */
html body[class] .variation-radios .variation-radio-item :is(input:checked + label, label.active, .active):not(#cm) { border-color: var(--cm-navy) !important; box-shadow: inset 0 0 0 1px var(--cm-navy) !important; }
html body[class] .variant-product .inner ul > li > button.active:not(#cm) { border-color: var(--cm-navy); box-shadow: inset 0 0 0 1px var(--cm-navy); }
html body[class] .variant-product .rate .icon:not(#cm) { background-color: var(--cm-navy); }
html body[class] .product-hero .accordions :is(img, svg):not(#cm), html body[class] .cm-assure svg:not(#cm) { color: var(--cm-navy); filter: grayscale(1) brightness(.35); }
html body[class] :is(a, button):hover:not(.btn):not(.single_add_to_cart_button):not(.cm-match-link):not(.cm-link):not(#cm) { text-decoration-color: currentColor; }

/* ---------------- sizing: display type large and light; reading text stays at Petrossian's 14 px ---------------- */
html body[class] :is(.video-block h2, .image-with-list .text h2, .cm-notes h2, .best-selling .wp-block-heading, #caviar-slider .caviar-slider--top h2):not(#cm) {
  font-size: clamp(1.75rem, 2.5vw, 2.375rem) !important; line-height: 1.12 !important; letter-spacing: -.005em !important; font-weight: 400;
}
html body[class] [data-eggs_radar] h2 { font-size: clamp(1.75rem, 2.6vw, 2.5rem) !important; line-height: 1.12 !important; }
html body[class] .product-hero .heading h1:not(#cm), html body[class] .product-hero h1.product_title:not(#cm) { font-size: clamp(1.875rem, 2.4vw, 2.375rem) !important; line-height: 1.1 !important; letter-spacing: -.005em; }
html body[class] .product-hero .price-wrapper .price-element:not(#cm), html body[class] .product-hero .price-wrapper .price-element bdi:not(#cm) { font-size: 1.125rem !important; }
html body[class].woocommerce-shop .shop-content .woocommerce-products-header h1:not(#cm) { font-size: clamp(2rem, 3vw, 2.75rem) !important; line-height: 1.1; }
.cm-pillar h3:not(#cm) { font-size: 1.375rem; }
.cm-notes .cm-wrap:not(#cm) { padding-top: 1rem; }

/* ================= HERO: full height, header laid over it ================= */
html body.home:not(#cm) { padding-top: 0 !important; }
html body.home header:not(#cm) { position: fixed !important; top: 0 !important; left: 0; right: 0; z-index: 1000; transition: transform .5s var(--cm-ease); }
html body.home .slider-block:not(#cm) { position: relative; }
html body.home .slider-block .slide:not(#cm) { position: relative; height: 100svh !important; min-height: 36rem; overflow: hidden; }
/* the slide's inner wrapper has no height on phones: let the film and the text anchor to the slide itself */
html body.home .slider-block .slide > .inner:not(#cm) { position: static !important; height: auto !important; }
/* last teal details: the profile icons and the "Expand more" toggles */
html body[class] .caviar-slider--top .icon:not(#cm) { background-color: var(--cm-navy) !important; }
html body[class] :is(button, a, span)[class*="triger"]:not(#cm), html body[class] .list.triger button:not(#cm), html body[class] .text.triger button:not(#cm) { color: var(--cm-gold-ink) !important; }
/* only the slide's own film (a second, smaller film sits inside the text block and must stay as it is) */
html body.home .slider-block .slide > .inner > .video:not(#cm) { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; z-index: 0; }
html body.home header:not(#cm):not(#cm) { background-color: transparent; }
html body.home.cm-solid header:not(#cm):not(#cm), html body.home.overflow header:not(#cm):not(#cm), html body.home header:is(:hover, :focus-within):not(#cm):not(#cm) { background-color: var(--cm-paper); }
html body.home .slider-block .slide > .inner > .video :is(video, img):not(#cm) { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover; transform-origin: 50% 45%; animation: cm-push 12s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes cm-push { from { transform: scale(1.09); } to { transform: scale(1); } }
/* a veil for legibility: darker at the top (header) and bottom-left (headline) */
html body.home .slider-block .slide:not(#cm)::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 6, 22, .5) 0, rgba(0, 6, 22, 0) 22%, rgba(0, 6, 22, 0) 50%, rgba(0, 6, 22, .62) 100%); }
html body.home .slider-block .slide .container:not(#cm) { position: absolute !important; left: 0; right: 0; bottom: clamp(3.5rem, 11vh, 7.5rem); z-index: 5; background: transparent !important; margin: 0 auto; padding: 0 clamp(1.25rem, 4.5vw, 5rem) !important; max-width: none; }
html body.home .slider-block .slide .content:not(#cm) { max-width: 60rem; }
/* two lines under the film's own wordmark, not four lines across it */
@media (min-width: 769px) {
  html body.home .slider-block .slide .container:not(#cm):not(#cm) { bottom: clamp(3rem, 8vh, 6rem); }
  html body.home .slider-block .slide .content h1:not(#cm):not(#cm) { max-width: 20em !important; width: auto !important; font-size: clamp(2.25rem, 3.5vw, 3.375rem) !important; }
}
html body.home .slider-block .slide .content :is(h1, .title, p, span):not(.btn):not(#cm) { color: #fff !important; }
html body.home .slider-block .slide .content h1:not(#cm) { font-size: clamp(2.5rem, 4.6vw, 4.25rem) !important; line-height: 1.04 !important; letter-spacing: -.01em !important; font-weight: 400 !important; margin: 0 0 2rem !important; text-wrap: balance; }
html body.home .slider-block .slide .content p.mob:not(#cm) { display: block !important; font: 400 .6875rem/1.4 "Rosarivo", Georgia, serif !important; letter-spacing: .26em !important; text-transform: uppercase; margin: 0 0 1.25rem !important; opacity: .9; }
/* a quiet scroll cue */
html body.home .slider-block:not(#cm)::after { content: ""; position: absolute; left: 50%; bottom: 1.75rem; z-index: 3; width: 1px; height: 3.25rem; background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .85)); transform-origin: top; animation: cm-cue 2.4s cubic-bezier(.7, 0, .2, 1) infinite; }
@keyframes cm-cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* header over the film: transparent, white type; solid ivory once the page scrolls or a menu opens */
html body.home:not(.cm-solid):not(.overflow) header:not(:hover):not(:focus-within) :is(.nav-box, .announcement-bar):not(#cm):not(#cm) { background: transparent !important; border-color: transparent !important; box-shadow: none !important; }
html body.home:not(.cm-solid):not(.overflow) header:not(:hover):not(:focus-within) :is(a, span, button, p):not(.cm-tins *):not(.drop-menu *):not(#cm):not(#cm) { color: #fff !important; }
html body.home:not(.cm-solid):not(.overflow) header:not(:hover):not(:focus-within) .header-menu > li > a:not(#cm):not(#cm) { background-image: linear-gradient(#fff, #fff) !important; }
html body.home:not(.cm-solid):not(.overflow) header:not(:hover):not(:focus-within) :is(.logo img, a.cart, .burger):not(#cm):not(#cm) { filter: brightness(0) invert(1); }
html body.home:not(.cm-solid):not(.overflow) header:not(:hover):not(:focus-within) .header-menu > li.menu-item-has-children > a:not(#cm):not(#cm)::after { border-color: #fff !important; }
html body.home header :is(.nav-box, .announcement-bar) { transition: background-color .45s ease, border-color .45s ease; }
html body.home header :is(.logo img, a.cart, .burger) { transition: filter .45s ease; }
html body.home.cm-solid header .nav-box:not(#cm) { border-bottom: 1px solid rgba(0, 14, 52, .08) !important; }
@media (min-width: 993px) { html body.home.cm-solid header:not(#cm) { transform: translateY(-2.375rem); } }

/* ================= PRODUCT: the image leads ================= */
@media (min-width: 993px) {
  html body[class] .product-hero > .container > .content:not(#cm) { gap: 0; }
  html body[class] .product-hero .gallery-wrap:not(#cm) { flex: 0 0 57%; max-width: 57%; }
  html body[class] .product-hero .product:not(#cm) { flex: 1 1 auto; padding-left: clamp(2.5rem, 4.5vw, 5rem) !important; }
  html body[class] .product-hero .gallery.gallery-slick:not(#cm) { width: 100%; }
  html body[class] .product-hero .gallery .slide:not(#cm) { flex: 1 1 auto; min-width: 0; }
}
@media (max-width: 992px) {
  html body[class] .product-hero .gallery-wrap:not(#cm) { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
}

/* ================= HOME: the signature slider breathes ================= */
html body.home #caviar-slider .caviar-slider--mid { display: none !important; }   /* the five notes live on each product page now */

/* ================= EFFECTS ================= */
/* large pictures unveil from the top as they enter */
/* the frame stays unclipped (a fully clipped element never counts as "in view"); its contents are unveiled */
.cm-wipe { overflow: hidden; }
.cm-wipe > * { clip-path: inset(0 0 100% 0); transition: clip-path 1.25s var(--cm-ease); }
.cm-wipe.cm-in > * { clip-path: inset(0 0 0 0); }
.cm-wipe img { transform: scale(1.08); transition: transform 1.6s var(--cm-ease); }
.cm-wipe.cm-in img { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html body.home .slider-block .slide .video :is(video, img), html body.home .slider-block::after { animation: none !important; }
  .cm-wipe > *, .cm-wipe img { clip-path: none !important; transform: none !important; transition: none !important; }
}

/* ================= PRODUCT, after Bose's product page ================= */
/* sticky section tabs under the header */
.cm-tabs:not(#cm) { position: sticky; top: 80px; z-index: 40; background: rgba(250, 249, 247, .94); -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid rgba(0, 14, 52, .08); }
.cm-tabs .cm-tabs-row:not(#cm) { display: flex; justify-content: center; gap: clamp(1.5rem, 3vw, 3rem); max-width: 1360px; margin: 0 auto; padding: 0 1rem; overflow-x: auto; scrollbar-width: none; }
.cm-tabs .cm-tabs-row::-webkit-scrollbar { display: none; }
.cm-tabs a:not(#cm) { flex: none; padding: 1rem 0 .875rem; font: 400 .6875rem/1 "Rosarivo", Georgia, serif; letter-spacing: .2em; text-transform: uppercase; color: rgba(0, 14, 52, .62); text-decoration: none; background: linear-gradient(var(--cm-gold), var(--cm-gold)) left bottom / 0 1px no-repeat; transition: color .3s ease, background-size .45s var(--cm-ease); }
.cm-tabs a:is(:hover, .cm-on):not(#cm) { color: var(--cm-navy); background-size: 100% 1px; }
@media (max-width: 992px) { .cm-tabs:not(#cm) { top: 60px; } .cm-tabs .cm-tabs-row:not(#cm) { justify-content: flex-start; } }
/* whichever script handles a tab click, the section lands below the header and the tab bar */
main > [id^="cm-s"] { scroll-margin-top: 124px; }
.cm-anchor { display: block; height: 0; scroll-margin-top: 80px; }
@media (max-width: 992px) { main > [id^="cm-s"] { scroll-margin-top: 104px; } .cm-anchor { scroll-margin-top: 60px; } }
/* tasting notes as large type: the name of each note on the left, its text on the right */
html body.single-product .cm-notes .cm-grid:not(#cm):not(#cm) { display: block; }
html body.single-product .cm-note:not(#cm):not(#cm) { display: grid; grid-template-columns: minmax(0, 34%) minmax(0, 1fr); gap: 2.5rem; align-items: baseline; padding: 2.25rem 0; border-top: 1px solid rgba(0, 14, 52, .16); }
html body.single-product .cm-note:last-child:not(#cm) { border-bottom: 1px solid rgba(0, 14, 52, .16); }
html body.single-product .cm-note .cm-label:not(#cm):not(#cm) { margin: 0; font: 400 clamp(1.625rem, 2.6vw, 2.5rem)/1.08 "Rosarivo", Georgia, serif; letter-spacing: -.005em; text-transform: none; color: var(--cm-navy); }
html body.single-product .cm-note p:not(#cm):not(#cm) { max-width: 40rem; font-size: .9375rem; line-height: 1.75; }
/* larger editorial headings on the product page */
html body.single-product :is(.cm-notes h2, main > section.image-with-list .text h2, .best-selling .wp-block-heading):not(#cm):not(#cm) { font-size: clamp(2rem, 3.6vw, 3.25rem) !important; line-height: 1.06 !important; }
html body.single-product .product-parameters :is(h2, h3):not(#cm) { font-size: clamp(1.75rem, 2.6vw, 2.5rem) !important; line-height: 1.1 !important; }
/* a chef's quote, lifted out of the story */
.cm-quote:not(#cm) { background: var(--cm-paper); padding: var(--cm-section) 1.5rem; text-align: center; }
.cm-quote blockquote:not(#cm) { max-width: 52rem; margin: 0 auto; padding: 0; border: 0; }
.cm-quote p:not(#cm) { font: 400 clamp(1.625rem, 3.2vw, 3rem)/1.18 "Rosarivo", Georgia, serif; letter-spacing: -.005em; color: var(--cm-navy); margin: 0 0 1.75rem; text-wrap: balance; }
.cm-quote cite:not(#cm) { font: 400 .6875rem/1.5 "Rosarivo", Georgia, serif; font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--cm-gold-ink); }
@media (max-width: 768px) {
  html body.single-product .cm-note:not(#cm):not(#cm) { grid-template-columns: 1fr; gap: .75rem; padding: 1.75rem 0; }
}

/* ================= SHOP: a seamless grid of tins on the warm panel (after Bose's listing page) ================= */
html body[class].woocommerce-shop .shop-content .inner:not(#cm) { padding-top: clamp(2.5rem, 6vh, 4rem); padding-bottom: var(--cm-section); }
html body[class].woocommerce-shop .shop-content .woocommerce-products-header:not(#cm):not(#cm) { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 0 0 2rem !important; text-align: left; }
html body[class].woocommerce-shop .shop-content .woocommerce-products-header h1:not(#cm):not(#cm) { margin: 0 !important; text-align: left; font-size: clamp(2.25rem, 4vw, 3.5rem) !important; }
.cm-count:not(#cm) { font: 400 .6875rem/1.4 "Rosarivo", Georgia, serif; letter-spacing: .2em; text-transform: uppercase; color: var(--cm-gold-ink); white-space: nowrap; }
html body[class].woocommerce-shop .shop-content ul.products:not(#cm):not(#cm) { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0 !important; padding: 0 !important; justify-content: stretch; }
html body[class].woocommerce-shop .shop-content ul.products:not(#cm)::before, html body[class].woocommerce-shop .shop-content ul.products:not(#cm)::after { display: none !important; content: none !important; }
html body[class].woocommerce-shop .shop-content ul.products li.product:not(#cm):not(#cm) {
  position: relative; display: flex; flex-direction: column; width: auto !important; max-width: none !important; margin: 0 !important; float: none !important;
  border: 0 !important; background-color: var(--cm-panel) !important; padding: 2.75rem 2rem 2.25rem !important; transition: background-color .5s ease;
}
html body[class].woocommerce-shop .shop-content ul.products li.product:hover:not(#cm) { background-color: #ECE9E1 !important; }
html body[class].woocommerce-shop .shop-content ul.products li.product .product-image img:not(#cm) { width: 78%; height: auto; margin: 0 auto; mix-blend-mode: multiply; transition: transform .9s var(--cm-ease); }
html body[class].woocommerce-shop .shop-content ul.products li.product:hover .product-image img:not(#cm) { transform: translateY(-4px) scale(1.035); }
html body[class].woocommerce-shop .shop-content ul.products li.product .top-rated-badge:not(#cm) { position: absolute; top: 1.25rem; left: 1.25rem; gap: .5rem; }
html body[class].woocommerce-shop .shop-content ul.products li.product .top-rated-badge img:not(#cm) { width: 1.25rem; height: auto; }
html body[class].woocommerce-shop .shop-content ul.products li.product .top-rated-badge span:not(#cm) { font-size: .625rem !important; letter-spacing: .2em !important; }
html body[class].woocommerce-shop .shop-content ul.products li.product .product-parameters:not(#cm) { margin: 1.75rem 0 1.25rem; }
html body[class].woocommerce-shop .shop-content ul.products li.product .product-text h2:not(#cm):not(#cm) { position: static; transform: none; background: transparent !important; padding: 0 !important; margin: 0 0 .375rem; font: 400 1.375rem/1.2 "Rosarivo", Georgia, serif !important; color: var(--cm-navy); text-align: center; }
html body[class].woocommerce-shop .shop-content ul.products li.product .product-text h3:not(#cm) { margin: 0 0 .5rem; }
html body[class].woocommerce-shop .shop-content ul.products li.product .product-info-text p:not(#cm):not(#cm) { display: none; }
/* the sixth tile: an invitation to the taste matcher */
.cm-edit:not(#cm) { position: relative; overflow: hidden; min-height: 32rem; background: var(--cm-navy) center / cover no-repeat; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 2.5rem 2.25rem !important; }
.cm-edit:not(#cm)::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 6, 22, .1) 30%, rgba(0, 6, 22, .78) 100%); transition: opacity .6s ease; }
.cm-edit > *:not(#cm) { position: relative; z-index: 1; }
.cm-edit .cm-eyebrow:not(#cm) { font: 400 .6875rem/1.4 "Rosarivo", Georgia, serif; letter-spacing: .2em; text-transform: uppercase; color: var(--cm-gold); margin: 0 0 .75rem; }
.cm-edit h3:not(#cm) { font: 400 clamp(1.75rem, 2.4vw, 2.25rem)/1.1 "Rosarivo", Georgia, serif; color: #fff; margin: 0 0 .75rem; }
.cm-edit p:not(#cm) { font: 400 .875rem/1.6 "Lora", Georgia, serif; color: rgba(255, 255, 255, .85); margin: 0 0 1.5rem; max-width: 22rem; }
.cm-edit a:not(#cm) { align-self: flex-start; display: inline-flex; align-items: center; gap: .75rem; padding: .625rem 0; font: 400 .75rem/1 "Lora", Georgia, serif; letter-spacing: .18em; text-transform: uppercase; color: #fff; text-decoration: none; background: linear-gradient(#fff, #fff) left bottom / 100% 1px no-repeat; }
.cm-edit a:not(#cm)::before { content: ""; position: absolute; inset: 0; }   /* the whole tile is the link */
.cm-edit:hover a:not(#cm) { animation: cm-redraw .7s var(--cm-ease); }
/* the promises under the grid */
.cm-trust:not(#cm) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin: 3.5rem 0 0; padding: 0; list-style: none; }
.cm-trust li:not(#cm) { border-top: 1px solid rgba(0, 14, 52, .2); padding: 1.25rem 0 0; font: 400 .875rem/1.6 "Lora", Georgia, serif; color: var(--cm-navy); }
/* inside a tile everything sits on the panel itself, and the flavour names show in navy */
html body[class].woocommerce-shop .shop-content ul.products li.product :is(.product-wrapper, .product-info-text, .product-image, .product-parameters, .product-parameters > ul, .product-parameters > ul > li, .product-parameters .parameter-name, .product-parameters .parameter-value, .product-text, .product-text > div, .price, .price *):not(#cm) { background-color: transparent !important; }
html body[class].woocommerce-shop .shop-content ul.products li.product .product-parameters .parameter-name:not(#cm):not(#cm) { color: var(--cm-navy) !important; opacity: 1 !important; visibility: visible !important; display: block !important; }
.cm-edit:not(#cm)::before { background: linear-gradient(180deg, rgba(0, 6, 22, .05) 15%, rgba(0, 6, 22, .88) 100%); }
.cm-edit .cm-eyebrow:not(#cm):not(#cm) { color: rgba(255, 255, 255, .82); text-shadow: 0 1px 12px rgba(0, 6, 22, .5); }
@media (min-width: 993px) { html body[class].woocommerce-shop .shop-content > main > .container:not(#cm) { padding-left: clamp(1rem, 3vw, 3rem); padding-right: clamp(1rem, 3vw, 3rem); } }
@media (max-width: 768px) {
  html body[class].woocommerce-shop .shop-content ul.products:not(#cm):not(#cm) { grid-template-columns: minmax(0, 1fr); }
  html body[class].woocommerce-shop .shop-content ul.products li.product:not(#cm):not(#cm) { min-width: 0; padding: 2.25rem 1.25rem 2rem !important; }
  html body[class].woocommerce-shop .shop-content .woocommerce-products-header:not(#cm):not(#cm) { flex-direction: column; gap: .5rem; }
  .cm-edit:not(#cm) { min-height: 26rem; }
  .cm-trust:not(#cm) { grid-template-columns: 1fr; gap: 1.25rem; }
}
