/* LENAVITA V5 — sticky campaign storytelling + Pandora-inspired product UX */
:root{--lv5-header-offset:118px;--lv5-black:#151515;--lv5-grey:#6f6f6c;--lv5-line:#e5e5e3;--lv5-soft:#f7f7f6;--lv5-wine:#5a1d2b}

/* Hero: when video is selected and no poster image exists, stay neutral while it loads. */
.lv4-hero.has-video{background-color:#111;background-image:var(--lv4-hero-desktop,none)}
.lv4-hero-video{opacity:0;transition:opacity .28s ease}.lv4-hero-video.is-ready{opacity:1}

/* Three scroll chapters. Each new campaign naturally covers the previous one. */
.lv5-scroll-story{position:relative;background:#fff}
.lv5-story-panel{position:sticky;top:var(--lv5-header-offset);height:calc(100svh - var(--lv5-header-offset));min-height:610px;overflow:hidden;background:#1b1b1b;color:#fff;border-top:1px solid rgba(255,255,255,.08)}
.admin-bar .lv5-story-panel{top:calc(var(--lv5-header-offset) + 32px);height:calc(100svh - var(--lv5-header-offset) - 32px)}
.lv5-story-panel-1{z-index:11}.lv5-story-panel-2{z-index:12}.lv5-story-panel-3{z-index:13}
.lv5-story-media,.lv5-story-media img,.lv5-story-media video,.lv5-story-blank{position:absolute;inset:0;width:100%;height:100%}.lv5-story-media img,.lv5-story-media video{object-fit:cover}.lv5-story-blank{background:#181818}
.lv5-story-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,5,5,.52) 0%,rgba(5,5,5,.17) 48%,rgba(5,5,5,.04) 72%)}
.lv5-story-copy{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;padding-bottom:64px}
.lv5-story-copy>*{max-width:510px}.lv5-story-copy h2{font-family:var(--lv4-sans);font-size:clamp(31px,3.25vw,58px);font-weight:560;letter-spacing:-.038em;line-height:.98;margin:0 0 16px}.lv5-story-copy p{font-size:13px;line-height:1.55;margin:0 0 22px;max-width:430px}.lv5-story-copy .lv4-eyebrow{margin-bottom:12px}

/* Product page reset: contemporary interface, no default Woo serif presentation. */
.single-product .lv-main,.single-product .lv-commerce{padding:0}.single-product .woocommerce-notices-wrapper{max-width:1540px;margin:0 auto}
.lv5-product-page{background:#fff;color:var(--lv5-black);font-family:var(--lv4-sans)}
.lv5-product-breadcrumbs{padding-top:32px;padding-bottom:24px;color:#8a8a87;text-transform:uppercase;font-size:8px;letter-spacing:.06em}
.lv5-product-breadcrumbs .woocommerce-breadcrumb{margin:0!important;color:inherit!important;font-size:inherit!important}
.lv5-product-breadcrumbs .woocommerce-breadcrumb a{color:inherit}
.lv5-product-top{display:grid;grid-template-columns:minmax(0,1.56fr) minmax(360px,.72fr);gap:56px;align-items:start;padding-bottom:94px}

/* Gallery intentionally behaves like a campaign grid, not the default Woo slider. */
.lv5-product-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:clamp(330px,31vw,560px);gap:3px;background:#fff}
.lv5-gallery-cell{position:relative;margin:0;background:var(--lv5-soft);overflow:hidden}.lv5-gallery-cell.is-primary{grid-row:span 2}.lv5-gallery-cell img{width:100%;height:100%;object-fit:cover;display:block}.lv5-gallery-cell .woocommerce-placeholder{object-fit:contain;padding:18%}
.lv5-zoom{position:absolute;right:16px;top:16px;width:36px;height:36px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 1px 4px rgba(0,0,0,.06)}.lv5-zoom svg{width:17px;height:17px;fill:none;stroke:#171717;stroke-width:1.35;stroke-linecap:round}

.lv5-product-summary{position:relative}.lv5-product-summary-inner{position:sticky;top:146px;padding:12px 0 0;max-width:480px}
.admin-bar .lv5-product-summary-inner{top:178px}
.lv5-product-heading-row{display:grid;grid-template-columns:1fr 40px;gap:14px;align-items:start}.lv5-product-heading-row h1{font-family:var(--lv4-sans);font-size:clamp(26px,2.2vw,36px);font-weight:520;line-height:1.08;letter-spacing:-.032em;margin:0}.lv5-summary-heart{border:0;background:transparent;width:40px;height:40px;font-size:22px;line-height:1;cursor:pointer}
.lv5-price{font-size:14px;font-weight:500;margin-top:15px}.lv5-price del{color:#999;margin-right:6px}.lv5-price ins{text-decoration:none;color:var(--lv5-wine)}
.lv5-short-description{margin-top:17px;font-size:12px;line-height:1.55;color:#353535;max-width:470px}.lv5-short-description p{margin:0}
.lv5-rating{display:flex;align-items:center;gap:9px;margin-top:15px;font-size:10px}.lv5-rating .star-rating{font-size:11px!important;width:5.4em!important;margin:0!important}.lv5-rating a{text-decoration:underline;text-underline-offset:2px;color:#666}
.lv5-purchase{margin-top:25px;padding-top:2px}.lv5-purchase form.cart{margin:0!important}.lv5-purchase .quantity{margin-right:7px!important}.lv5-purchase .quantity .qty{height:48px;width:62px;border:1px solid #cfcfcd;background:#fff}.lv5-purchase .single_add_to_cart_button{min-height:48px!important;background:var(--lv5-black)!important;color:#fff!important;border:0!important;border-radius:0!important;padding:0 26px!important;text-transform:uppercase!important;letter-spacing:.075em!important;font-size:10px!important;font-weight:650!important}.lv5-purchase .single_add_to_cart_button:hover{background:var(--lv5-wine)!important}
.lv5-purchase table.variations{margin:0 0 16px!important;border:0!important}.lv5-purchase table.variations th,.lv5-purchase table.variations td{display:block;padding:0!important;border:0!important;background:none!important}.lv5-purchase table.variations label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.07em;margin:0 0 8px}.lv5-purchase table.variations select{width:100%;height:46px;border:1px solid #cfcfcd;background:#fff;padding:0 12px;margin:0 0 14px!important}.lv5-purchase .reset_variations{font-size:9px;color:#777}.lv5-purchase .woocommerce-variation-price{margin-bottom:12px}
.lv5-summary-actions{border-top:1px solid var(--lv5-line);margin-top:26px}.lv5-summary-actions button{width:100%;min-height:50px;border:0;border-bottom:1px solid var(--lv5-line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 2px;font-size:11px;cursor:pointer;text-align:left}.lv5-summary-actions button b{font-size:18px;font-weight:300}
.lv5-product-services{margin-top:22px;border-top:1px solid var(--lv5-line)}.lv5-product-services>div{display:flex;gap:12px;align-items:center;min-height:58px;border-bottom:1px solid var(--lv5-line)}.lv5-service-icon{width:30px;height:30px;display:grid;place-items:center;border:1px solid #ececea;border-radius:50%}.lv5-service-icon svg{width:16px;height:16px;fill:none;stroke:#222;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}.lv5-product-services>div>span:last-child{display:grid;gap:1px}.lv5-product-services strong{font-size:10px;font-weight:600}.lv5-product-services small{font-size:9px;color:#777}.lv5-product-summary .stock{font-size:10px;color:#555;margin-top:14px}

.lv5-product-section{padding-top:74px;padding-bottom:22px;border-top:1px solid var(--lv5-line)}.lv5-section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:24px}.lv5-section-heading span{font-size:12px;font-weight:650;text-transform:uppercase;letter-spacing:.055em}.lv5-product-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.lv5-rec-card{position:relative;min-width:0}.lv5-rec-image{display:block;background:var(--lv5-soft);aspect-ratio:1/1;overflow:hidden}.lv5-rec-image img{width:100%;height:100%;object-fit:cover}.lv5-rec-heart{position:absolute;right:12px;top:12px;width:32px;height:32px;border-radius:50%;background:#fff;border:0;font-size:17px;cursor:pointer}.lv5-rec-copy{display:flex;justify-content:space-between;gap:10px;padding:11px 2px 22px;font-size:10px}.lv5-rec-copy span{font-weight:500}.lv5-rec-copy strong{font-weight:500;white-space:nowrap}.lv5-complete-section{padding-bottom:86px}.lv5-product-reviews{padding:70px 0 90px;border-top:1px solid var(--lv5-line)}

/* Off-canvas product information. */
.lv5-offcanvas{position:fixed;inset:0;z-index:2200}.lv5-offcanvas[hidden]{display:none}.lv5-offcanvas-backdrop{position:absolute;inset:0;border:0;background:rgba(18,16,15,.62);backdrop-filter:blur(3px);cursor:default}.lv5-offcanvas-panel{position:absolute;right:0;top:0;bottom:0;width:min(520px,92vw);background:#fff;overflow:auto;box-shadow:-18px 0 50px rgba(0,0,0,.13);animation:lv5-drawer-in .28s cubic-bezier(.2,.7,.2,1)}@keyframes lv5-drawer-in{from{transform:translateX(100%)}to{transform:none}}
.lv5-offcanvas-head{height:78px;padding:0 34px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--lv5-line);position:sticky;top:0;background:#fff;z-index:2}.lv5-offcanvas-head h2{font-family:var(--lv4-sans);font-size:15px;text-transform:uppercase;letter-spacing:.045em;font-weight:520;margin:0}.lv5-offcanvas-head button{width:38px;height:38px;border:0;background:transparent;font-size:29px;font-weight:200;cursor:pointer}.lv5-offcanvas-body{padding:40px 36px 58px}.lv5-details-intro{font-size:15px;line-height:1.42;margin-bottom:34px}.lv5-details-intro p{margin:0}.lv5-detail-list{border-top:1px solid var(--lv5-line)}.lv5-detail-list>div{display:flex;align-items:flex-start;gap:14px;padding:17px 0;border-bottom:1px solid var(--lv5-line)}.lv5-detail-list p{display:grid;gap:2px;margin:0}.lv5-detail-list strong{font-size:10px;font-weight:600}.lv5-detail-list small{font-size:9px;color:#777;line-height:1.45}.lv5-detail-dot,.lv5-detail-icon{width:34px;height:34px;flex:0 0 34px;border-radius:50%;display:grid;place-items:center;border:1px solid #e8e8e6;font-size:13px}.lv5-detail-dot.is-gold{background:linear-gradient(145deg,#5b3608,#e9c46d,#8f5d13);border:0}.lv5-detail-dot.is-silver{background:linear-gradient(145deg,#777,#fafafa,#aaa);border:0}.lv5-detail-ref{font-size:8px;color:#999;margin-top:30px;letter-spacing:.04em}
.lv5-size-guide h3{font-size:11px;margin:0 0 7px;font-weight:650}.lv5-size-guide>p,.lv5-size-guide li{font-size:10px;color:#666;line-height:1.5}.lv5-size-illustration{background:#f7f7f6;margin:24px 0 30px;padding:20px;color:#8f8f8c}.lv5-size-illustration svg{display:block;width:100%;height:auto}.lv5-size-guide ul{padding-left:18px;margin:12px 0 34px}.lv5-size-guide table{width:100%;border-collapse:collapse;font-size:9px}.lv5-size-guide th,.lv5-size-guide td{padding:10px 8px;text-align:left;border-bottom:1px solid #ececea}.lv5-size-guide th{font-weight:650;background:#f7f7f6}

@media(max-width:980px){
  :root{--lv5-header-offset:58px}.admin-bar .lv5-story-panel{top:104px;height:calc(100svh - 104px)}
  .lv5-story-panel{top:58px;height:calc(100svh - 58px);min-height:560px}.lv5-story-copy{padding-bottom:38px}.lv5-story-copy h2{font-size:36px}.lv5-story-shade{background:linear-gradient(0deg,rgba(5,5,5,.55),rgba(5,5,5,.08) 70%)}
  .lv5-product-top{grid-template-columns:1.35fr .75fr;gap:30px}.lv5-product-summary-inner{top:82px}.admin-bar .lv5-product-summary-inner{top:128px}.lv5-product-gallery{grid-auto-rows:clamp(260px,34vw,420px)}.lv5-product-rail{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:700px){
  :root{--lv5-header-offset:56px}.admin-bar .lv5-story-panel{top:102px;height:calc(100svh - 102px)}
  .lv5-story-panel{top:56px;height:calc(100svh - 56px);min-height:520px}.lv5-story-copy{padding-bottom:28px}.lv5-story-copy>*{max-width:90%}.lv5-story-copy h2{font-size:29px;margin-bottom:10px}.lv5-story-copy p{font-size:11px;margin-bottom:16px}
  .lv5-product-breadcrumbs{padding-top:16px;padding-bottom:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .lv5-product-top{display:flex;flex-direction:column;padding-bottom:54px;gap:0}.lv5-product-gallery{width:calc(100% + 24px);margin-left:-12px;display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:1px;grid-auto-rows:auto}.lv5-gallery-cell,.lv5-gallery-cell.is-primary{flex:0 0 88vw;height:110vw;max-height:620px;grid-row:auto;scroll-snap-align:start}.lv5-product-summary{width:100%}.lv5-product-summary-inner{position:static;padding:30px 0 0;max-width:none}.lv5-product-heading-row h1{font-size:25px}.lv5-short-description{font-size:11px}.lv5-purchase .single_add_to_cart_button{width:calc(100% - 70px)}.lv5-product-services{margin-top:18px}
  .lv5-product-section{padding-top:52px}.lv5-product-rail{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:8px;margin-right:-12px}.lv5-rec-card{flex:0 0 70vw;scroll-snap-align:start}.lv5-section-heading{margin-bottom:17px}.lv5-offcanvas-panel{width:100%}.lv5-offcanvas-head{height:64px;padding:0 20px}.lv5-offcanvas-body{padding:28px 20px 42px}.lv5-details-intro{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.lv5-story-panel{position:relative;top:auto;height:auto;min-height:65vh}.lv5-offcanvas-panel{animation:none}}
