/* ==========================================================================
   The live shop's additions to the template's stylesheet: the few things a
   static design never needed. Everything else is style.css, untouched, so the
   template's look is kept whole.
   ========================================================================== */

/* A hero with no picture yet: the dark the template's text was made for. */
.hero--plain{background:linear-gradient(120deg,var(--charcoal) 0%,#57534e 100%)}

/* A product with no picture: its initial, not a broken image. */
.card__noimg{display:flex;align-items:center;justify-content:center;width:100%;height:100%;
  font-family:var(--display);font-size:56px;color:var(--faint);background:var(--cream);aspect-ratio:3/4}
.card__noimg.big{font-size:110px}
.cat__noimg{position:absolute;inset:0;background:linear-gradient(135deg,var(--cream),var(--sand))}

/* Messages: a refusal on the checkout, a note after an order. */
.notice{padding:14px 18px;border:1px solid var(--line);background:var(--cream);margin:18px 0;font-size:14px;line-height:1.6}
.notice--warn{border-color:var(--sale);color:var(--sale);background:#fff}

/* Buttons that look like the template's links. */
.inline-form{display:inline}
.linkish{background:none;border:0;padding:0;cursor:pointer;font:inherit;color:inherit;text-decoration:underline}

/* Variant chips are buttons; one that cannot be had says so. */
button.size-chip{background:transparent;font-family:inherit}
.size-chip.is-off{opacity:.38;text-decoration:line-through;cursor:not-allowed}
.size-chip.is-off:hover{background:transparent;color:var(--muted);border-color:var(--line-strong)}
.btn[disabled],.btn:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}

/* The checkout's trap for robots: invisible to people, never focused. */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.input.is-bad,.select.is-bad,.textarea.is-bad{border-color:var(--sale)}

/* One picture, or none: the main picture takes the whole width instead of
   the narrow column the thumbnails would have had. */
.gallery--single{grid-template-columns:1fr}

/* The "added to your bag" message hides fully below the screen. The
   template's own 120% left a sliver of it showing at the bottom edge. */
.toast{transform:translate(-50%,calc(100% + 48px))}

/* A long company name, with no logo to stand in for it, must still leave room
   for the menu and the bag. The template was drawn around a short one. */
.brand{min-width:0;flex:0 1 auto}
.brand__text{min-width:0}
.brand__name{overflow-wrap:anywhere}
@media (max-width:860px){
  .brand__name{font-size:clamp(14px,4.4vw,20px);letter-spacing:.12em}
  .brand__tag{display:none}
}

/* ==========================================================================
   The shop designer. What its look and its sections add to the template:
   the options a theme switches with a class on <body>, and the sections
   the template never had. Colours and sizes come from the theme's
   variables, set on :root in the page itself.
   ========================================================================== */

/* -- Sizes and shapes the theme sets -------------------------------------- */
h1{font-size:calc(clamp(2.75rem,6vw,4.75rem) * var(--h-scale,1))}
h2{font-size:calc(clamp(2rem,4vw,3.25rem) * var(--h-scale,1))}
h3{font-size:calc(clamp(1.5rem,2.4vw,2.125rem) * var(--h-scale,1))}
.page-banner h1{font-size:calc(clamp(2.25rem,4.5vw,3.5rem) * var(--h-scale,1))}
.btn{border-radius:var(--btn-radius,var(--radius))}
.btn:hover{color:var(--on-accent,var(--charcoal))}
.btn--gold{--btn-fg:var(--on-accent,var(--charcoal))}
.badge--new,.icon-btn__count,.cat__pill:hover,.social:hover,.card__add:hover,.card__quick:hover{color:var(--on-accent,var(--charcoal))}
.site-header.is-stuck{background:var(--hdr-bg,rgba(252,250,247,.96))}
.brand__logo{max-height:var(--logo-h,50px)}
.site-footer .brand__logo{max-height:calc(var(--logo-h,50px) * 1.6)}
@media (max-width:600px){
  .brand__logo{max-height:min(var(--logo-h,50px),44px)}
  .site-footer .brand__logo{max-height:calc(min(var(--logo-h,50px),44px) * 1.6)}
}
.mega,.dropdown{background:var(--ivory)}
.card__media,.card__noimg{aspect-ratio:var(--card-ratio,3/4)}
@media (min-width:1201px){
  .product-grid{grid-template-columns:repeat(var(--cols,4),1fr)}
  .rail{grid-auto-columns:calc((100% - (var(--cols,4) - 1) * 26px) / var(--cols,4))}
}

/* Buttons in the accent colour, or drawn as an outline. */
.t-b-accent .btn:not(.btn--outline):not(.btn--light):not(.btn--ghost-light){--btn-bg:var(--gold);--btn-fg:var(--on-accent);--btn-bd:var(--gold)}
.t-b-accent .btn:not(.btn--outline):not(.btn--light):not(.btn--ghost-light)::after{background:var(--charcoal)}
.t-b-accent .btn:not(.btn--outline):not(.btn--light):not(.btn--ghost-light):hover{color:var(--ivory);border-color:var(--charcoal)}
.t-b-accent .card__add{background:var(--gold);color:var(--on-accent)}
.t-b-accent .card__add:hover{background:var(--charcoal);color:var(--ivory)}
.t-b-outline .btn:not(.btn--light):not(.btn--ghost-light){--btn-bg:transparent;--btn-fg:var(--charcoal);--btn-bd:var(--charcoal)}
.t-b-outline .btn:not(.btn--light):not(.btn--ghost-light)::after{background:var(--charcoal)}
.t-b-outline .btn:not(.btn--light):not(.btn--ghost-light):hover{color:var(--ivory)}

/* Round corners on pictures and boxes. */
.t-r-soft .card__media,.t-r-round .card__media,.t-r-soft .cat,.t-r-round .cat,.t-r-soft .promo,.t-r-round .promo,
.t-r-soft .split__media,.t-r-round .split__media,.t-r-soft .split__media img,.t-r-round .split__media img,
.t-r-soft .ig,.t-r-round .ig,.t-r-soft .value-card,.t-r-round .value-card,.t-r-soft .panel,.t-r-round .panel,
.t-r-soft .assure,.t-r-round .assure,.t-r-soft .gallery__main,.t-r-round .gallery__main,.t-r-soft .gallery__thumb,.t-r-round .gallery__thumb,
.t-r-soft .mega,.t-r-round .mega,.t-r-soft .dropdown,.t-r-round .dropdown,.t-r-soft .notice,.t-r-round .notice,
.t-r-soft .pay span,.t-r-round .pay span,.t-r-soft .size-chip,.t-r-round .size-chip,.t-r-soft .qty,.t-r-round .qty{border-radius:var(--radius-lg)}
.t-r-soft .card__add,.t-r-round .card__add{border-radius:var(--btn-radius)}
.t-r-soft .card__noimg,.t-r-round .card__noimg{border-radius:inherit}

/* Words as written, not in capitals. Small letters need to be a little bigger. */
.no-upper .btn,.no-upper .nav__link,.no-upper .eyebrow,.no-upper .topbar,.no-upper .card__add,.no-upper .card__cat,
.no-upper .breadcrumb,.no-upper .cat__body span,.no-upper .cat__pill,.no-upper .footer h5,.no-upper .usp__item h5,
.no-upper .mega__title,.no-upper .quote__who,.no-upper .stat span,.no-upper .badge,.no-upper .pay span,
.no-upper .brand__name,.no-upper .brand__tag,.no-upper .drawer h4,.no-upper .mnav a{text-transform:none;letter-spacing:.02em}
.no-upper .btn{font-size:13.5px}
.no-upper .nav__link{font-size:14.5px}
.no-upper .eyebrow{font-size:13px;letter-spacing:.06em}
.no-upper .card__add{font-size:12.5px}
.no-upper .topbar{font-size:12.5px}
.no-upper .card__cat{font-size:12px}
.no-upper .brand__name{padding-left:0}

.no-anim .reveal{opacity:1;transform:none;transition:none}
.no-sticky .site-header{position:relative}
.no-card-hover .card__img--alt{display:none}
.no-card-hover .card:hover .card__img--main{opacity:1;transform:none}
.no-card-cat .card__cat{display:none}
.no-card-quick .card__actions{display:none}

/* The logo in the middle, the menu under it. */
@media (min-width:1025px){
  .h-center .site-header .container{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;row-gap:0;padding-top:12px}
  .h-center .brand{grid-column:2;grid-row:1;justify-self:center}
  .h-center .header-actions{grid-column:3;grid-row:1;justify-self:end}
  .h-center .nav{grid-column:1 / -1;grid-row:2;justify-content:center;margin:0}
  .h-center .nav__link{padding:16px 0 18px}
  .h-center .nav__link::after{bottom:12px}
}

/* A menu item with a few links under it. */
.dropdown{
  position:absolute;top:100%;left:50%;z-index:5;min-width:230px;padding:12px 0;
  border:1px solid var(--line);box-shadow:var(--shadow-lg);
  opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,10px);
  transition:opacity .3s var(--ease),transform .3s var(--ease),visibility .3s;
}
.nav__item:hover .dropdown,.nav__item:focus-within .dropdown{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0)}
.dropdown a{display:block;padding:9px 24px;font-size:14px;color:var(--ink);white-space:nowrap;transition:color .25s,background .25s}
.dropdown a:hover{color:var(--gold-deep);background:var(--cream)}

/* The footer in a soft colour, dark, or the colour of the page; as many columns as it has. */
.f-plain .site-footer{background:var(--ivory)}
.f-dark .site-footer{background:var(--charcoal);border-top-color:transparent}
.f-dark .footer h5,.f-dark .site-footer .brand__name{color:var(--ivory)}
.f-dark .footer-about p,.f-dark .footer-links a,.f-dark .footer-contact li,.f-dark .footer-bottom{color:rgba(255,255,255,.7)}
.f-dark .footer-links a:hover,.f-dark .footer-contact a:hover{color:var(--gold-soft)}
.f-dark .footer-contact svg{color:var(--gold-soft)}
.f-dark .footer-bottom{border-top-color:rgba(255,255,255,.12)}
.f-dark .social{border-color:rgba(255,255,255,.25);color:var(--ivory)}
.f-dark .pay span{background:transparent;border-color:rgba(255,255,255,.2);color:rgba(255,255,255,.72)}
.footer-grid--1{grid-template-columns:1fr}
.footer-grid--2{grid-template-columns:1.5fr 1fr}
.footer-grid--3{grid-template-columns:1.5fr 1fr 1.3fr}
.footer-grid--5{grid-template-columns:1.4fr 1fr 1fr 1fr 1.3fr}
@media (max-width:1200px){.footer-grid--3,.footer-grid--5{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.footer-grid--2,.footer-grid--3,.footer-grid--5{grid-template-columns:1fr}}

/* -- Sections --------------------------------------------------------------- */
.section--wash{background:var(--gold-wash)}
.section--flush{padding-block:0}
.section-more{margin-top:40px}
@media (max-width:700px){.only-computer{display:none!important}}
@media (min-width:701px){.only-phone{display:none!important}}

/* A dark section: everything in it light enough to read. */
.section--dark{color:rgba(255,255,255,.78)}
.section--dark h4,.section--dark h5{color:var(--ivory)}
.section--dark .eyebrow{color:var(--gold-soft)}
.section--dark p,.section--dark .rte,.section--dark .lead,.section--dark .muted{color:rgba(255,255,255,.78)}
.section--dark .btn:not(.btn--light):not(.btn--ghost-light):not(.btn--outline){--btn-bg:var(--ivory);--btn-fg:var(--charcoal);--btn-bd:var(--ivory)}
.section--dark .btn--outline{--btn-fg:var(--ivory);--btn-bd:rgba(255,255,255,.45)}
.section--dark .card__title a,.section--dark .card__price{color:var(--ivory)}
.section--dark .card__cat{color:rgba(255,255,255,.6)}
.section--dark .quote p{color:var(--ivory)}
.section--dark .quote__who{color:var(--gold-soft)}
.section--dark .quote__where{color:rgba(255,255,255,.55)}
.section--dark .value-card{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.12)}
.section--dark .value-card h4{color:var(--ivory)}
.section--dark .value-card p{color:rgba(255,255,255,.72)}
.section--dark .stat strong{color:var(--gold-soft)}
.section--dark .stat span{color:rgba(255,255,255,.7)}
.section--dark .faq,.section--dark .faq-item{border-color:rgba(255,255,255,.14)}
.section--dark .faq-q{color:var(--ivory)}
.section--dark .faq-a>div{color:rgba(255,255,255,.72)}
.section--dark .feature-list li{border-color:rgba(255,255,255,.12)}
.section--dark .feature-list strong{color:var(--ivory)}
.section--dark .feature-list span{color:rgba(255,255,255,.7)}
.section--dark .feature-list svg,.section--dark .usp__item svg{color:var(--gold-soft)}
.section--dark .rail-btn{color:var(--ivory);border-color:rgba(255,255,255,.3)}
.section--dark .usp,.section--dark .usp__item{border-color:rgba(255,255,255,.12)}
.section--dark .usp__item p{color:rgba(255,255,255,.7)}
.section--dark .rte a{color:var(--gold-soft)}
.section--dark .panel{background:rgba(255,255,255,.06)}
.section--dark .panel h4{color:var(--ivory);border-color:rgba(255,255,255,.2)}
.section--dark .panel__row,.section--dark .panel__note{color:rgba(255,255,255,.7)}
.section--dark .panel__row span:last-child{color:var(--ivory)}

/* The slideshow, and the banner: one slide that stays. */
.slideshow,.banner{position:relative;overflow:hidden;background:var(--sand)}
.ss-track{display:grid}
.slide{position:relative;display:flex;align-items:center;min-height:var(--ss-h,520px);grid-area:1 / 1}
.ss--fade .slide{opacity:0;visibility:hidden;transition:opacity .9s var(--ease),visibility 0s linear .9s}
.ss--fade .slide.is-on{opacity:1;visibility:visible;transition:opacity .9s var(--ease),visibility 0s}
.ss--slide .ss-track{display:flex;transition:transform .75s var(--ease)}
.ss--slide .slide{flex:0 0 100%;grid-area:auto}
.ss-h-small{--ss-h:clamp(300px,44vh,460px)}
.ss-h-medium{--ss-h:clamp(380px,60vh,620px)}
.ss-h-large{--ss-h:min(88vh,780px)}
.ss-h-full{--ss-h:calc(100vh - 116px)}
.c-light{--ov:24,24,24}
.c-dark{--ov:255,255,255}
.slide__media{position:absolute;inset:0;display:block}
.slide__media img{width:100%;height:100%;object-fit:cover;object-position:center 35%}
.slide::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,rgba(var(--ov),calc(var(--shade) * 1.35)) 0%,rgba(var(--ov),var(--shade)) 50%,rgba(var(--ov),calc(var(--shade) * .45)) 100%);
}
.slide.pos-center::after{background:rgba(var(--ov),var(--shade))}
.slide.pos-right::after{background:linear-gradient(270deg,rgba(var(--ov),calc(var(--shade) * 1.35)) 0%,rgba(var(--ov),var(--shade)) 50%,rgba(var(--ov),calc(var(--shade) * .45)) 100%)}
.slide--plain::after{display:none}
.focus-top .slide__media img{object-position:center top}
.focus-bottom .slide__media img{object-position:center bottom}
.slide__link{position:absolute;inset:0;z-index:3}
.slide__link ~ .slide__body{z-index:4;pointer-events:none}
.slide__link ~ .slide__body a,.slide__link ~ .slide__body button{pointer-events:auto}
.slide--plain.c-light{background:linear-gradient(120deg,var(--charcoal) 0%,rgba(var(--dark-rgb,58,58,58),.84) 100%)}
.slide--plain.c-dark{background:var(--cream)}
.slide__body{position:relative;z-index:2;width:100%}
.slide__inner{max-width:640px;padding-block:80px}
.pos-center .slide__inner{margin-inline:auto;text-align:center}
.pos-right .slide__inner{margin-left:auto;text-align:right}
.pos-center .hero__cta{justify-content:center}
.pos-right .hero__cta{justify-content:flex-end}
.slide__title{font-size:calc(clamp(2.4rem,5.4vw,4.5rem) * var(--h-scale,1));margin-bottom:18px}
.c-light .slide__title{color:#fff}
.c-light .eyebrow{color:var(--gold-soft)}
.slide__text{font-size:17px;line-height:1.8;max-width:500px;margin-bottom:32px}
.c-light .slide__text{color:rgba(255,255,255,.88)}
.c-dark .slide__text{color:var(--ink)}
.pos-center .slide__text{margin-inline:auto}
.pos-right .slide__text{margin-left:auto}
.ss-arrow{
  position:absolute;top:50%;z-index:4;width:48px;height:48px;margin-top:-24px;
  display:grid;place-items:center;border-radius:50%;cursor:pointer;
  background:rgba(20,20,20,.28);border:1px solid rgba(255,255,255,.35);color:#fff;
  backdrop-filter:blur(6px);opacity:.85;transition:background .3s var(--ease),opacity .3s;
}
.ss-arrow:hover{background:rgba(20,20,20,.5);opacity:1}
.ss-prev{left:20px}
.ss-next{right:20px}
.ss-dots{position:absolute;left:0;right:0;bottom:24px;z-index:4;display:flex;justify-content:center;gap:10px}
.ss-dot{width:30px;height:3px;padding:0;border:0;background:rgba(255,255,255,.5);cursor:pointer;
  box-shadow:0 0 0 1px rgba(0,0,0,.06);transition:background .3s,width .3s}
.ss-dot.is-on{background:#fff;width:44px}
@media (max-width:860px){
  .slide{min-height:var(--ss-hm,460px)}
  .ss-h-small{--ss-hm:300px}
  .ss-h-medium{--ss-hm:400px}
  .ss-h-large{--ss-hm:520px}
  .ss-h-full{--ss-hm:calc(100svh - 104px)}
  .slide__inner{padding-block:64px 84px}
  .ss-arrow{display:none}
  .slide::after,.slide.pos-center::after,.slide.pos-right::after{background:rgba(var(--ov),calc(var(--shade) * 1.1))}
}

/* Offer tiles. */
.promos.grid-1 .promo{min-height:400px}
.promo__ph{position:absolute;inset:0;background:linear-gradient(135deg,var(--charcoal),rgba(var(--dark-rgb,58,58,58),.72))}
.promo__eyebrow{color:var(--gold-soft)}

/* Promises. */
.usp--1{grid-template-columns:1fr}
.usp--2{grid-template-columns:repeat(2,1fr)}
.usp--3{grid-template-columns:repeat(3,1fr)}
.usp__item h5 a{color:inherit}
@media (max-width:1024px){
  .usp--3 .usp__item:nth-child(2){border-right:1px solid var(--line)}
  .usp--3 .usp__item:nth-child(-n+2){border-bottom:0}
}
@media (max-width:600px){.usp--2,.usp--3{grid-template-columns:1fr}}

/* Category tiles: how many in a row, and their shape. */
.cat-grid--2{grid-template-columns:repeat(2,1fr)}
.cat-grid--3{grid-template-columns:repeat(3,1fr)}
.cat-grid--square .cat{aspect-ratio:1 / 1}
.cat-grid--wide .cat{aspect-ratio:16 / 10}
@media (max-width:860px){.cat-grid--3,.cat-grid--4{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){
  .cat-grid--tall,.cat-grid--square{grid-template-columns:repeat(2,1fr);gap:12px}
  .cat-grid--wide{grid-template-columns:1fr}
  .cat-grid--tall .cat__body h4,.cat-grid--square .cat__body h4{font-size:18px}
  .cat-grid--tall .cat__body,.cat-grid--square .cat__body{padding:16px 10px}
}

/* A picture beside the words; with no picture, the words alone, centred. */
.split--noimg{grid-template-columns:1fr}
.split--noimg .split__body{max-width:760px;margin-inline:auto;text-align:center}
.split--noimg .feature-list{text-align:left}
.split__body .rte{color:var(--muted);margin-bottom:26px;font-size:15.5px}

/* Text. */
.rt--narrow{max-width:760px;margin-inline:auto}
.rt--center{text-align:center}
.rt__title{margin-bottom:22px}
.rt__cta{margin-top:30px}
.rte{font-size:17px;line-height:1.85;color:var(--ink)}
.rte p{margin:0 0 1.1em}
.rte>:first-child{margin-top:0}
.rte>:last-child{margin-bottom:0}
.rte h2{font-size:calc(1.9rem * var(--h-scale,1));margin:1.4em 0 .5em}
.rte h3{font-size:calc(1.5rem * var(--h-scale,1));margin:1.3em 0 .5em}
.rte h4{font-size:1.2rem;margin:1.2em 0 .4em}
.rte ul,.rte ol{margin:0 0 1.1em;padding-left:1.4em}
.rte ul{list-style:disc}
.rte ol{list-style:decimal}
.rte li{margin:.3em 0}
.rt--center .rte ul,.rt--center .rte ol{display:inline-block;text-align:left}
.rte a{color:var(--gold-deep);text-decoration:underline;text-underline-offset:3px}
.rte blockquote{margin:1.4em 0;padding:4px 0 4px 22px;border-left:2px solid var(--gold);font-family:var(--display);font-size:1.35em;font-style:italic;color:var(--charcoal)}
.rte hr{border:0;border-top:1px solid var(--line);margin:2em 0}

/* Testimonials, numbers, questions, pictures, a call to action, space. */
.quote__stars{display:flex;justify-content:center;gap:3px;color:var(--gold);margin-bottom:16px}
.quote__stars .off{color:var(--shell)}
.stat-grid--1{grid-template-columns:1fr}
.stat-grid--2{grid-template-columns:repeat(2,1fr)}
.stat-grid--3{grid-template-columns:repeat(3,1fr)}
@media (max-width:600px){.stat-grid--3{grid-template-columns:1fr}}
.faq{max-width:860px;margin-inline:auto;border-top:1px solid var(--line)}
button.faq-q{background:none;border:0;font-weight:400}
.faq-q span{flex:1}
.faq-q[aria-expanded="true"] svg{transform:rotate(45deg)}
.ig-grid--3{grid-template-columns:repeat(3,1fr)}
.ig-grid--4{grid-template-columns:repeat(4,1fr)}
@media (max-width:600px){.ig-grid--4{grid-template-columns:repeat(2,1fr)}}
.ig img{display:block}
.ig__ph{position:absolute;inset:0;background:linear-gradient(135deg,var(--cream),var(--sand))}
.cta__inner{max-width:680px;margin-inline:auto;text-align:center}
.cta__inner h2{margin-bottom:16px}
.cta__inner p{margin-bottom:28px;font-size:17px;color:var(--muted)}
.section--dark .cta__inner p{color:rgba(255,255,255,.75)}
.contact-intro{max-width:680px;margin:0 auto 36px}
.sx--contact .panel{position:static}
.spacer--small{padding-block:20px}
.spacer--medium{padding-block:44px}
.spacer--large{padding-block:84px}
.spacer .ornament{margin:0}

/* The list of products: how many to a row, with the filters or without. */
.shop-layout--wide{grid-template-columns:1fr}
.product-grid.product-grid--list{grid-template-columns:repeat(var(--lcols,3),1fr)}
@media (max-width:1200px){.product-grid.product-grid--list{grid-template-columns:repeat(var(--lcols-md,3),1fr)}}
@media (max-width:860px){.product-grid.product-grid--list{grid-template-columns:repeat(2,1fr)}}

/* A drawer out of sight casts no shadow on the edge of the page, and its links
   are not reached with the Tab key. Shown again the moment it opens. */
.drawer{visibility:hidden;transition:transform .45s var(--ease),visibility 0s linear .45s}
.drawer.is-open{visibility:visible;transition:transform .45s var(--ease)}
@media (max-width:860px){
  .filters{visibility:hidden;transition:transform .45s var(--ease),visibility 0s linear .45s}
  .filters.is-open{visibility:visible;transition:transform .45s var(--ease)}
}

/* A product page's note under the button. */
.pdp-note{margin:4px 0 0;padding:12px 16px;border-left:2px solid var(--gold);background:var(--gold-wash);color:var(--ink);font-size:14px;line-height:1.6}
