#lester-app-shell .lester-page__container{width:min(1200px,calc(100% - 48px));margin:0 auto;padding:54px 0 72px}#lester-app-shell .lester-eyebrow{margin:0 0 8px;color:#000080;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.8px}#lester-app-shell .lester-page h1,#lester-app-shell .lester-page h2{font-family:"Noto Serif",Georgia,serif;color:#000080;letter-spacing:-1.1px}#lester-app-shell .lester-page h1{font-size:44px;line-height:1.13;margin:0 0 14px}#lester-app-shell .lester-page h2{font-size:30px;line-height:1.2;margin:0 0 14px}#lester-app-shell .lester-page__heading{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:26px}#lester-app-shell .lester-page__intro{max-width:840px;margin:0;color:#4e5366;font-size:17px;line-height:1.62}#lester-app-shell .lester-button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:12px 24px;border:1px solid #000080;border-radius:12px;background:#000080;color:#fff;font:700 16px/1.2 "Noto Serif",Georgia,serif;cursor:pointer;transition:transform .16s ease,background .16s ease}#lester-app-shell .lester-button:hover{background:#000060;transform:translateY(-1px)}#lester-app-shell .lester-button--outline{background:#fff;color:#000080}#lester-app-shell .lester-button--outline:hover{background:#f4f5fb}#lester-app-shell .lester-button--light{background:#fff;color:#000080;border:2px solid #000080}#lester-app-shell .lester-breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 24px;color:#646980;font-size:14px;line-height:1.45}#lester-app-shell .lester-breadcrumbs a{color:#000080;text-decoration:underline;text-underline-offset:3px}#lester-app-shell .lester-theme-chips{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 28px}#lester-app-shell .lester-theme-chips a{padding:8px 12px;border:1px solid #d7daea;border-radius:999px;color:#000080;font-size:13px}#lester-app-shell .lester-theme-chips a.is-current,#lester-app-shell .lester-theme-chips a:hover{background:#000080;color:#fff;border-color:#000080}#lester-app-shell .lester-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}#lester-app-shell .lester-product-card{display:flex;flex-direction:column;border:1px solid #e4e6ee;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 25px rgba(11,20,74,.05)}#lester-app-shell .lester-product-card__image{display:flex;align-items:center;justify-content:center;height:280px;background:#f7f8fc;overflow:hidden}#lester-app-shell .lester-product-card__image img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .25s ease}#lester-app-shell .lester-product-card:hover .lester-product-card__image img{transform:scale(1.03)}#lester-app-shell .lester-product-card__body{display:flex;flex:1;flex-direction:column;padding:15px}#lester-app-shell .lester-product-card__category{margin:0 0 6px;color:#777d91;font-size:12px}#lester-app-shell .lester-product-card h2{font-size:18px;letter-spacing:-.35px;margin:0;line-height:1.28}#lester-app-shell .lester-product-card h2 a{color:#11172f}#lester-app-shell .lester-product-card__bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:9px;padding-top:16px;color:#000080;font-size:14px}#lester-app-shell .lester-product-card__bottom strong{font-size:17px}#lester-app-shell .lester-home-hero{height:clamp(390px,42vw,620px);position:relative;display:grid;place-items:center;overflow:hidden;background:#0b154d}#lester-app-shell .lester-home-hero__image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}#lester-app-shell .lester-home-hero__shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,30,.74) 0%,rgba(0,0,30,.30) 52%,rgba(0,0,30,.16) 100%)}#lester-app-shell .lester-home-hero__inner{position:relative;z-index:1;width:min(1150px,calc(100% - 48px));color:#fff;text-align:left}#lester-app-shell .lester-home-hero__inner .lester-eyebrow{color:#fff}#lester-app-shell .lester-home-hero__inner h1{max-width:650px;margin:0 0 25px;color:#fff;font-size:48px;letter-spacing:-1.5px;line-height:1.1}#lester-app-shell .lester-home-intro,#lester-app-shell .lester-home-products{background:#fff}#lester-app-shell .lester-home-intro .lester-page__container{max-width:940px;text-align:center}#lester-app-shell .lester-home-intro p{color:#4e5366;font-size:17px;line-height:1.7}#lester-app-shell .lester-home-products{background:#f8f9fd}#lester-app-shell .lester-home-products .lester-page__heading>a{color:#000080;text-decoration:underline;font-weight:700}#lester-app-shell .lester-source-copy{max-width:900px;margin:20px 0 32px;color:#33384a;font-size:17px;line-height:1.7}#lester-app-shell .lester-source-copy p{margin:0 0 15px}#lester-app-shell .lester-product-layout{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(420px,1.15fr);gap:56px;align-items:start}#lester-app-shell .lester-product-gallery__frame{min-height:520px;display:flex;align-items:center;justify-content:center;background:#f8f9fd;border-radius:18px;overflow:hidden}#lester-app-shell .lester-product-gallery__frame img{max-width:100%;max-height:520px;object-fit:contain}#lester-app-shell .lester-product-gallery__thumbs{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}#lester-app-shell .lester-product-gallery__thumbs img{width:68px;height:68px;object-fit:contain;border:1px solid #e4e6ee;border-radius:8px;background:#fff}#lester-app-shell .lester-product-copy h1{font-size:42px}#lester-app-shell .lester-product-price{margin:0 0 18px;color:#000080;font-size:33px;font-weight:800}#lester-app-shell .lester-product-description{font-size:18px;line-height:1.6;color:#4d5264;margin:0 0 22px}#lester-app-shell .lester-product-form{padding:24px;border:1px solid #e3e5ed;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(12,20,70,.06)}#lester-app-shell .lester-product-form h2{font-size:26px}#lester-app-shell .lester-product-form label{display:flex;flex-direction:column;gap:7px;color:#000080;font-weight:700;font-size:15px;margin:14px 0}#lester-app-shell .lester-product-form select{width:100%;padding:13px 14px;border:1px solid #cfd4e7;border-radius:10px;background:#fff;font:400 16px "Noto Serif",Georgia,serif;color:#1b2034}#lester-app-shell .lester-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}#lester-app-shell .lester-check-row{flex-direction:row!important;align-items:center;gap:9px!important;color:#262b3b!important;font-weight:400!important}#lester-app-shell .lester-check-row input{width:17px;height:17px}#lester-app-shell .lester-form-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}#lester-app-shell .lester-cart-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.75fr);gap:26px;align-items:start}#lester-app-shell .lester-cart-panel,#lester-app-shell .lester-cart-summary{background:#fff;border:1px solid #e4e6ee;border-radius:18px;padding:26px;box-shadow:0 10px 28px rgba(12,20,70,.05)}#lester-app-shell .lester-cart-panel__actions{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:20px}#lester-app-shell .lester-cart-panel__note{color:#6c7184;font-size:14px}#lester-app-shell .lester-cart-summary h2{font-size:24px}#lester-app-shell .lester-cart-summary__row{display:flex;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid #eceef5}#lester-app-shell .lester-cart-summary__row b{color:#000080}#lester-app-shell .lester-cart-item{padding:14px 0;border-bottom:1px solid #eceef5}#lester-app-shell .lester-cart-item p{margin:5px 0;color:#656a7c;font-size:14px}#lester-app-shell .lester-cart-empty{text-align:center;padding:32px 15px;border-radius:14px;background:#f6f7fb}#lester-app-shell .lester-thank-you{max-width:900px;margin:0 auto;text-align:center;padding:52px 40px;border-radius:24px;background:#fff;box-shadow:0 16px 40px rgba(12,20,70,.1)}#lester-app-shell .lester-thank-you>p{font-size:18px;color:#4d5264;line-height:1.6}#lester-app-shell .lester-thank-you__steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:30px 0;text-align:left}#lester-app-shell .lester-thank-you__steps span{padding:15px;border:1px solid #e2e5ef;border-radius:12px;color:#000080;font-weight:700;font-size:14px}#lester-app-shell .lester-content-copy{max-width:920px;margin:0 auto}#lester-app-shell .lester-empty-state{padding:28px;border:1px dashed #cbd0e1;border-radius:14px;color:#656a7c}@media(max-width:960px){#lester-app-shell .lester-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#lester-app-shell .lester-product-layout,#lester-app-shell .lester-cart-grid{grid-template-columns:1fr;gap:26px}#lester-app-shell .lester-product-gallery__frame{min-height:420px}#lester-app-shell .lester-home-hero__inner h1{font-size:40px}}@media(max-width:700px){#lester-app-shell .lester-page__container{width:min(100% - 32px,1200px);padding:38px 0 55px}#lester-app-shell .lester-page h1{font-size:34px}#lester-app-shell .lester-page h2{font-size:27px}#lester-app-shell .lester-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}#lester-app-shell .lester-product-card__image{height:220px}#lester-app-shell .lester-product-card__body{padding:12px}#lester-app-shell .lester-product-card h2{font-size:16px}#lester-app-shell .lester-product-card__bottom{font-size:12px}#lester-app-shell .lester-product-card__bottom strong{font-size:15px}#lester-app-shell .lester-home-hero{height:520px}#lester-app-shell .lester-home-hero__image{object-position:51% center}#lester-app-shell .lester-home-hero__inner{width:min(100% - 32px,1150px)}#lester-app-shell .lester-home-hero__inner h1{font-size:34px}#lester-app-shell .lester-page__heading{align-items:flex-start;flex-direction:column}#lester-app-shell .lester-form-grid,#lester-app-shell .lester-thank-you__steps{grid-template-columns:1fr}#lester-app-shell .lester-cart-panel__actions,#lester-app-shell .lester-form-actions{flex-direction:column;align-items:stretch}#lester-app-shell .lester-button{width:100%}#lester-app-shell .lester-product-copy h1{font-size:34px}}@media(max-width:420px){#lester-app-shell .lester-product-grid{grid-template-columns:1fr}#lester-app-shell .lester-product-card__image{height:300px}}


/* R4.3 — curated home sections and checkout body reconstructed from active cart-v17.
   Page styles remain isolated below #lester-app-shell; AppShell header/footer are untouched. */
#lester-app-shell .lester-home-catalog{background:#f8f9fd}
#lester-app-shell .lester-home-catalog .lester-page__container{padding-top:68px;padding-bottom:70px}
#lester-app-shell .lester-home-link{color:#000080;font-weight:800;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
#lester-app-shell .lester-theme-chips--home{margin-top:0}
#lester-app-shell .lester-home-about{background:#fff}
#lester-app-shell .lester-home-about__inner,#lester-app-shell .lester-home-material__inner{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);gap:58px;align-items:center}
#lester-app-shell .lester-home-about__inner>div{max-width:650px}
#lester-app-shell .lester-home-about h2,#lester-app-shell .lester-home-material h2{font-size:34px}
#lester-app-shell .lester-home-about p,#lester-app-shell .lester-home-material p{color:#4d5264;font-size:17px;line-height:1.72}
#lester-app-shell .lester-home-about img{display:block;width:100%;max-height:430px;object-fit:cover;border-radius:20px;box-shadow:0 18px 45px rgba(12,20,70,.12)}
#lester-app-shell .lester-home-material{background:#f8f9fd}
#lester-app-shell .lester-home-material__inner{grid-template-columns:minmax(290px,.88fr) minmax(0,1.12fr)}
#lester-app-shell .lester-home-material__visual{display:flex;align-items:center;justify-content:center;min-height:360px}
#lester-app-shell .lester-home-material__visual img{display:block;max-width:100%;max-height:500px;object-fit:contain}

/* Active cart v17 visual language, rebuilt inside the unified AppShell. */
#lester-app-shell .lester-checkout-page{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#151515;padding-top:36px}
#lester-app-shell .lester-checkout-page h1,#lester-app-shell .lester-checkout-page h2,#lester-app-shell .lester-checkout-page h3{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;letter-spacing:0;color:#000080}
#lester-app-shell .lester-checkout-title-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
#lester-app-shell .lester-checkout-title-row h1{margin:0;font-size:34px;line-height:1.15}
#lester-app-shell .lester-checkout-secure{font-size:13px;font-weight:900;color:#000080;background:#f7f7fb;border-radius:999px;padding:9px 12px;white-space:nowrap}
#lester-app-shell .lester-checkout-shell{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:26px;align-items:start}
#lester-app-shell .lester-checkout-main,#lester-app-shell .lester-checkout-summary{border:1px solid #e8e8f0;border-radius:28px;background:#fff;box-shadow:0 18px 50px rgba(0,0,80,.08)}
#lester-app-shell .lester-checkout-main{padding:26px}
#lester-app-shell .lester-checkout-summary{padding:22px;position:sticky;top:24px}
#lester-app-shell .lester-checkout-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 0 22px}
#lester-app-shell .lester-checkout-step{border:1px solid #e8e8f0;border-radius:16px;padding:12px 10px;background:#fff;color:#6b6b7a;font:900 13px/1.2 Inter,system-ui,sans-serif;text-align:center;cursor:pointer}
#lester-app-shell .lester-checkout-step.is-active{background:#000080;border-color:#000080;color:#fff}
#lester-app-shell .lester-checkout-step.is-done{background:#eef9f1;border-color:#cfeeda;color:#137842}
#lester-app-shell .lester-checkout-alert{display:none;align-items:flex-start;gap:10px;margin:0 0 18px;padding:13px 15px;border:1px solid #f2d4d7;border-radius:18px;background:#fff7f8;color:#7d1e2c;font-weight:700;font-size:14px}
#lester-app-shell .lester-checkout-alert.is-show{display:flex}
#lester-app-shell .lester-checkout-screen{display:none}
#lester-app-shell .lester-checkout-screen.is-active{display:block}
#lester-app-shell .lester-checkout-screen>h2{margin:0 0 16px;font-size:25px}
#lester-app-shell .lester-checkout-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:22px}
#lester-app-shell .lester-checkout-actions .lester-button{font-family:Inter,system-ui,sans-serif;font-size:16px;border-radius:14px}
#lester-app-shell .lester-checkout-item{display:grid;grid-template-columns:88px minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px 0;border-bottom:1px solid #e8e8f0}
#lester-app-shell .lester-checkout-item:last-child{border-bottom:0}
#lester-app-shell .lester-checkout-item img{width:88px;height:88px;object-fit:contain;user-select:none;-webkit-user-drag:none}
#lester-app-shell .lester-checkout-item__title{font-weight:900;color:#171721;margin:0 0 5px;line-height:1.35}
#lester-app-shell .lester-checkout-item__meta{font-size:13px;color:#6b6b7a;line-height:1.4}
#lester-app-shell .lester-checkout-item__price{margin-top:8px;font-size:18px;font-weight:900;color:#000080}
#lester-app-shell .lester-checkout-quantity{display:flex;align-items:center;gap:8px;justify-content:flex-end}
#lester-app-shell .lester-checkout-qty-btn,#lester-app-shell .lester-checkout-remove{border:1px solid #e8e8f0;background:#fff;border-radius:999px;width:32px;height:32px;cursor:pointer;font:900 18px/1 Inter,system-ui,sans-serif;color:#000080}
#lester-app-shell .lester-checkout-remove{color:#a00;font-size:17px}
#lester-app-shell .lester-checkout-empty{padding:34px;border-radius:22px;background:#f7f7fb;text-align:center}
#lester-app-shell .lester-checkout-empty h3{margin:0 0 8px;font-size:22px}
#lester-app-shell .lester-checkout-grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#lester-app-shell .lester-checkout-screen label{display:block;color:#000080;font-family:Inter,system-ui,sans-serif;font-weight:800;margin:13px 0 7px}
#lester-app-shell .lester-checkout-screen label em{display:inline-flex;margin-left:7px;padding:2px 8px;border-radius:999px;background:#f7f7fb;color:#6b6b7a;font-style:normal;font-size:11px;vertical-align:middle}
#lester-app-shell .lester-checkout-screen input,#lester-app-shell .lester-checkout-screen textarea{width:100%;border:1px solid #cfcfe6;border-radius:13px;padding:13px 14px;font:400 16px/1.45 Inter,system-ui,sans-serif;background:#fff;color:#151515}
#lester-app-shell .lester-checkout-screen textarea{min-height:94px;resize:vertical}
#lester-app-shell .lester-checkout-screen input.is-invalid,#lester-app-shell .lester-checkout-screen textarea.is-invalid{border-color:#bd3348;background:#fff7f8}
#lester-app-shell .lester-checkout-screen small{display:block;margin-top:6px;color:#6b6b7a;font:400 13px/1.35 Inter,system-ui,sans-serif}
#lester-app-shell .lester-delivery-types{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:4px 0 16px}
#lester-app-shell .lester-delivery-type{border:1px solid #e8e8f0;border-radius:15px;background:#fff;padding:13px;text-align:left;cursor:pointer;color:#151515;font-family:Inter,system-ui,sans-serif}
#lester-app-shell .lester-delivery-type b{display:block;color:#000080;margin-bottom:4px}
#lester-app-shell .lester-delivery-type span{color:#6b6b7a;font-size:12px;line-height:1.35}
#lester-app-shell .lester-delivery-type.is-active{border-color:#000080;box-shadow:0 0 0 2px rgba(0,0,128,.08)}
#lester-app-shell .lester-payment-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}
#lester-app-shell .lester-payment-option{border:1px solid #e8e8f0;border-radius:15px;background:#fff;padding:15px;text-align:left;cursor:pointer;font-family:Inter,system-ui,sans-serif}
#lester-app-shell .lester-payment-option b{display:block;color:#000080;margin-bottom:4px}.lester-payment-option span{color:#6b6b7a;font-size:13px}
#lester-app-shell .lester-payment-option.is-active{border-color:#000080;box-shadow:0 0 0 2px rgba(0,0,128,.08)}
#lester-app-shell .lester-checkout-review{border-radius:15px;background:#f7f7fb;padding:15px;color:#333;font:400 14px/1.5 Inter,system-ui,sans-serif}
#lester-app-shell .lester-checkout-preview-note{font:400 13px/1.45 Inter,system-ui,sans-serif;color:#6b6b7a;margin:8px 0 0}
#lester-app-shell .lester-checkout-summary h2{margin:0 0 16px;font-size:24px}
#lester-app-shell .lester-checkout-summary-row{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #e8e8f0;font-family:Inter,system-ui,sans-serif}
#lester-app-shell .lester-checkout-summary-row b{color:#151515}
#lester-app-shell .lester-checkout-summary-row--total{font-size:17px;border-bottom:0;padding-top:14px}.lester-checkout-summary-row--total b{font-size:28px;color:#000080}
#lester-app-shell .lester-free-shipping{margin:16px 0;padding:14px;border-radius:14px;background:#f7f7fb;color:#151515;font-family:Inter,system-ui,sans-serif}
#lester-app-shell .lester-free-shipping p{margin:0 0 10px;line-height:1.35}.lester-free-shipping>div{height:8px;border-radius:99px;background:#e4e6ee;overflow:hidden}.lester-free-shipping i{display:block;width:0;height:100%;border-radius:inherit;background:#000080;transition:width .2s ease}
#lester-app-shell .lester-checkout-summary-note{color:#6b6b7a;font:400 13px/1.45 Inter,system-ui,sans-serif;margin:12px 0 0}
@media(max-width:950px){#lester-app-shell .lester-checkout-shell{grid-template-columns:1fr}#lester-app-shell .lester-checkout-summary{position:static;order:-1}#lester-app-shell .lester-checkout-main{padding:18px}#lester-app-shell .lester-checkout-title-row{display:block}#lester-app-shell .lester-checkout-secure{display:inline-block;margin-top:10px}#lester-app-shell .lester-checkout-steps{grid-template-columns:1fr 1fr}.lester-checkout-item{grid-template-columns:72px 1fr;align-items:start}.lester-checkout-item img{width:72px;height:72px}.lester-checkout-quantity{grid-column:1/-1;justify-content:flex-start}.lester-checkout-grid2,.lester-delivery-types,.lester-payment-options{grid-template-columns:1fr}.lester-checkout-actions{flex-direction:column}.lester-checkout-actions .lester-button{width:100%}}
@media(max-width:850px){#lester-app-shell .lester-home-about__inner,#lester-app-shell .lester-home-material__inner{grid-template-columns:1fr;gap:28px}#lester-app-shell .lester-home-about img{max-height:360px}#lester-app-shell .lester-home-material__visual{order:2;min-height:260px}}
@media(max-width:560px){#lester-app-shell .lester-home-catalog .lester-page__container{padding-top:46px;padding-bottom:48px}#lester-app-shell .lester-home-about h2,#lester-app-shell .lester-home-material h2{font-size:28px}#lester-app-shell .lester-checkout-page{padding-top:25px}#lester-app-shell .lester-checkout-title-row h1{font-size:30px}#lester-app-shell .lester-checkout-main,#lester-app-shell .lester-checkout-summary{border-radius:20px}}


/* R4.4 — white canvas for all page-level sections.
   The site-wide canvas must be white. Cards, inputs, checkout summary and hero overlays
   retain their own local contrast; only broad page/section backdrops are normalized. */
#lester-app-shell,
#lester-app-shell #lester-page-content,
#lester-app-shell .lester-page,
#lester-app-shell .lester-home-catalog,
#lester-app-shell .lester-home-about,
#lester-app-shell .lester-home-material,
#lester-app-shell .lester-page--catalog,
#lester-app-shell .lester-page--product,
#lester-app-shell .lester-page--cart,
#lester-app-shell .lester-page--thank-you,
#lester-app-shell .lester-page--content,
#lester-app-shell .lester-page--not-found,
#lester-app-shell .lester-checkout-page {
  background: #fff !important;
}


/* LESTER_NEXT_R5_STAGE_TOOLS */
#lester-app-shell .lester-stage-tools{margin:16px 0 0;padding:16px;border:1px dashed #8d96bd;border-radius:16px;background:#fffdf1;color:#252a48;font-family:Inter,system-ui,sans-serif}
#lester-app-shell .lester-stage-tools p{margin:0 0 12px;font-size:13px;line-height:1.5}
#lester-app-shell .lester-stage-tools>div{display:flex;gap:10px;flex-wrap:wrap}
#lester-app-shell .lester-stage-tools .lester-button{font-family:Inter,system-ui,sans-serif;font-size:14px;padding:11px 14px}
#lester-app-shell .lester-stage-tools__result{margin-top:12px!important;font-weight:800;color:#147044}
#lester-app-shell .lester-stage-tools__result.is-error{color:#9d2634}

#lester-app-shell .lester-product-form__status{min-height:20px;margin:4px 0 0;color:#62687b;font-size:14px}#lester-app-shell .lester-product-form__toast{margin:14px 0 0;padding:11px 13px;border-radius:10px;background:#edf9f0;color:#14743d;font-weight:700}#lester-app-shell [data-border-color-wrap][hidden],#lester-app-shell [data-glass-wrap][hidden],#lester-app-shell [data-product-added-toast][hidden]{display:none!important}

/* R5.5_SOURCE_FAITHFUL_PRODUCT_CONTROLS */
#lester-app-shell .lester-product-form__fixed{
  width:100%;padding:13px 14px;border:1px solid #cfd4e7;border-radius:10px;background:#f7f8fc;
  font:400 16px "Noto Serif",Georgia,serif;color:#1b2034;cursor:default;opacity:1;
}
#lester-app-shell .lester-product-gallery__frame[data-product-photo-zoom]{cursor:zoom-in}
#lester-app-shell .lester-product-gallery__frame[data-product-photo-zoom] [data-product-photo]{
  transition:transform .22s ease;will-change:transform;
}
@media (hover:hover) and (min-width:850px){
  #lester-app-shell .lester-product-gallery__frame[data-product-photo-zoom].is-zoomed [data-product-photo]{transform:scale(1.55)}
}

/* R5.6_PRODUCT_DETAIL_FIXES */
#lester-app-shell .lester-product-gallery__frame[data-product-photo-zoom]{min-height:0!important;height:600px;aspect-ratio:1 / 1;background:#fff!important;border-radius:0!important;overflow:hidden;position:relative;cursor:zoom-in}
#lester-app-shell .lester-product-gallery__frame[data-product-photo-zoom] [data-product-photo]{display:block;width:100%;height:100%;max-width:none!important;max-height:none!important;object-fit:contain;background:#fff;transition:transform .22s ease;will-change:transform}
@media (hover:hover) and (min-width:850px){#lester-app-shell .lester-product-gallery__frame[data-product-photo-zoom]:hover [data-product-photo],#lester-app-shell .lester-product-gallery__frame[data-product-photo-zoom].is-zoomed [data-product-photo]{transform:scale(1.32)!important}}
#lester-app-shell .lester-product-description-block{margin:0 0 24px}
#lester-app-shell .lester-product-description-more{margin:14px 0 0;color:#4d5264;font-size:18px;line-height:1.6}
#lester-app-shell .lester-product-description-more p{margin:0 0 12px}
#lester-app-shell .lester-product-description-toggle{appearance:none;border:0;border-bottom:1px solid #000080;background:transparent;color:#000080;padding:0 0 2px;cursor:pointer;font:700 16px "Noto Serif",Georgia,serif}
#lester-app-shell .lester-product-description-toggle:hover{opacity:.72}
#lester-app-shell [data-product-description-more][hidden]{display:none!important}
#lester-app-shell .lester-product-form__status{min-height:22px;margin:12px 0 0;color:#4d5264;font-size:15px}
@media(max-width:960px){#lester-app-shell .lester-product-gallery__frame[data-product-photo-zoom]{height:480px}}
@media(max-width:700px){#lester-app-shell .lester-product-gallery__frame[data-product-photo-zoom]{height:min(92vw,460px)}}



/* R5.8_RUNTIME_CART_SOURCEFIX
   Exact legacy zoom geometry: the photo grows only inside its own white frame.
   This supersedes the R5.6 forced square-image rule. */
#lester-app-shell .lester-product-layout{
  align-items:start;
}
#lester-app-shell .lester-product-gallery{
  position:relative;
  z-index:0;
  min-width:0;
}
#lester-app-shell .lester-product-copy{
  position:relative;
  z-index:1;
  min-width:0;
}
#lester-app-shell .lester-product-gallery__frame[data-product-photo-zoom]{
  width:100%;
  min-height:560px!important;
  height:auto!important;
  aspect-ratio:auto!important;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff!important;
  overflow:hidden!important;
  position:relative;
  isolation:isolate;
  cursor:zoom-in;
}
#lester-app-shell .lester-product-gallery__frame[data-product-photo-zoom] [data-product-photo]{
  display:block;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:670px!important;
  object-fit:contain;
  background:transparent!important;
  pointer-events:none;
  user-select:none;
  -webkit-user-drag:none;
  filter:drop-shadow(0 18px 30px rgba(0,0,0,.10));
  transform-origin:center center;
  transition:transform .16s ease;
  will-change:transform;
}
@media (hover:hover) and (min-width:850px){
  #lester-app-shell .lester-product-gallery__frame[data-product-photo-zoom].is-zoomed [data-product-photo]{
    transform:scale(1.62)!important;
  }
}
#lester-app-shell .lester-product-description-block{margin:0 0 24px}
#lester-app-shell .lester-product-description-toggle{display:inline-flex;align-items:center;gap:7px}
#lester-app-shell .lester-product-form__status{min-height:22px}
@media(max-width:960px){
  #lester-app-shell .lester-product-gallery__frame[data-product-photo-zoom]{min-height:440px!important}
  #lester-app-shell .lester-product-gallery__frame[data-product-photo-zoom] [data-product-photo]{max-height:540px!important}
}
@media(max-width:700px){
  #lester-app-shell .lester-product-gallery__frame[data-product-photo-zoom]{min-height:360px!important}
  #lester-app-shell .lester-product-gallery__frame[data-product-photo-zoom] [data-product-photo]{max-height:470px!important}
}

/* R5.9_CART_BEHAVIOR_MEDIA_FIX
   The source JPG is an opaque rectangular canvas. R5.8's min-height plus a
   drop-shadow around that rectangle visibly created pale horizontal bands.
   The frame now follows the actual image size; there is no synthetic canvas
   or shadow around it. Zoom remains clipped inside the image frame. */
#lester-app-shell .lester-product-gallery__frame[data-product-photo-zoom]{
  min-height:0!important;
  height:auto!important;
  aspect-ratio:auto!important;
  display:block!important;
  line-height:0;
  background:transparent!important;
  overflow:hidden!important;
}
#lester-app-shell .lester-product-gallery__frame[data-product-photo-zoom] [data-product-photo]{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:none!important;
  margin:0 auto;
  background:transparent!important;
  filter:none!important;
  box-shadow:none!important;
}
#lester-app-shell .lester-product-form__toast{margin:14px 0 0}

/* R5.10_CART_PAYMENT_SOURCEFAITHFUL
   Cart step 4 and the requisites page follow the audited legacy
   cart-v17 / payment-details-v17 structure, while remaining inside
   the unified LESTER Next shell. */
#lester-app-shell .lester-checkout-order-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  max-width:100%;
  margin:0 0 14px;
  padding:10px 15px;
  border-radius:999px;
  background:#eef9f1;
  color:#138a43;
  font-weight:800;
}
#lester-app-shell .lester-checkout-review{
  margin:14px 0;
  padding:18px 16px;
  border:1px solid var(--lester-line,#e5e8f2);
  border-radius:20px;
  background:#fff;
  color:#30313b;
  line-height:1.55;
}
#lester-app-shell .lester-checkout-review h3{
  margin:0 0 8px;
  color:#000080;
  font-size:20px;
}
#lester-app-shell .lester-checkout-review-empty{color:#73778a}
#lester-app-shell .lester-checkout-payment-actions{
  display:grid;
  gap:10px;
  margin:14px 0 20px;
}
#lester-app-shell .lester-payment-action{
  min-height:51px;
  border-radius:16px;
  padding:13px 18px;
  border:1px solid #000080;
  background:#fff;
  color:#000080;
  font:inherit;
  font-weight:800;
  cursor:pointer;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}
#lester-app-shell .lester-payment-action:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(0,0,128,.10)}
#lester-app-shell .lester-payment-action--primary{background:#000080;color:#fff}
#lester-app-shell .lester-payment-action--soft{background:#f8f8fd}
#lester-app-shell .lester-checkout-payment-error{
  margin:12px 0;
  padding:12px 14px;
  border-radius:14px;
  background:#fff0f0;
  color:#a00;
  font-weight:700;
}
#lester-app-shell .lester-manual-payment-page{
  max-width:1020px;
  padding-top:32px;
  padding-bottom:70px;
}
#lester-app-shell .lester-manual-payment-card{
  padding:28px;
  border:1px solid var(--lester-line,#e5e8f2);
  border-radius:28px;
  background:#fff;
  box-shadow:0 18px 50px rgba(0,0,80,.08);
}
#lester-app-shell .lester-manual-payment-card h1{
  margin:0 0 10px;
  color:#000080;
  font-size:34px;
  line-height:1.12;
}
#lester-app-shell .lester-manual-payment-intro{
  max-width:800px;
  margin:0 0 18px;
  color:#444756;
  line-height:1.6;
}
#lester-app-shell .lester-manual-payment-switch{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:18px 0;
}
#lester-app-shell .lester-manual-payment-switch button{
  min-height:54px;
  padding:14px;
  border:1px solid #000080;
  border-radius:16px;
  background:#fff;
  color:#000080;
  font:inherit;
  font-weight:800;
  cursor:pointer;
}
#lester-app-shell .lester-manual-payment-switch button.is-active{
  background:#000080;
  color:#fff;
}
#lester-app-shell .lester-manual-requisites{
  display:grid;
  gap:10px;
  margin:20px 0;
}
#lester-app-shell .lester-manual-requisite{
  display:grid;
  grid-template-columns:180px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:13px;
  border:1px solid var(--lester-line,#e5e8f2);
  border-radius:16px;
  background:#fff;
}
#lester-app-shell .lester-manual-requisite b{color:#000080}
#lester-app-shell .lester-manual-requisite span{overflow-wrap:anywhere}
#lester-app-shell .lester-manual-requisite i{display:block;width:1px;height:1px}
#lester-app-shell .lester-manual-requisite button{
  border:0;
  border-radius:12px;
  padding:9px 12px;
  background:#f7f7fb;
  color:#000080;
  font:inherit;
  font-weight:800;
  cursor:pointer;
}
#lester-app-shell .lester-manual-upload{
  margin-top:22px;
  padding:20px;
  border:1px solid var(--lester-line,#e5e8f2);
  border-radius:20px;
  background:#fff;
}
#lester-app-shell .lester-manual-upload h2{
  margin:0 0 8px;
  color:#000080;
  font-size:24px;
}
#lester-app-shell .lester-manual-upload p{line-height:1.55;color:#55596b}
#lester-app-shell .lester-manual-upload input,
#lester-app-shell .lester-manual-upload textarea{
  width:100%;
  margin-top:10px;
  border:1px solid #cfd4e8;
  border-radius:14px;
  padding:13px 14px;
  background:#fff;
  color:#222534;
  font:inherit;
}
#lester-app-shell .lester-manual-upload textarea{min-height:92px;resize:vertical}
#lester-app-shell .lester-manual-upload .lester-button{margin-top:14px}
#lester-app-shell .lester-manual-payment-notice{
  margin:13px 0 0;
  padding:12px 14px;
  border-radius:14px;
  font-weight:700;
}
#lester-app-shell .lester-manual-payment-notice.is-error{background:#fff0f0;color:#a00}
#lester-app-shell .lester-manual-payment-notice.is-success{background:#eef9f1;color:#137842}
#lester-app-shell .lester-manual-back{margin:20px 0 0}
@media(max-width:760px){
  #lester-app-shell .lester-manual-payment-card{padding:20px}
  #lester-app-shell .lester-manual-payment-card h1{font-size:29px}
  #lester-app-shell .lester-manual-payment-switch,
  #lester-app-shell .lester-manual-requisite{grid-template-columns:1fr}
  #lester-app-shell .lester-manual-requisite{gap:7px}
  #lester-app-shell .lester-manual-requisite button{justify-self:start}
}

/* LESTER cart checkout patch 1 */
.lester-cart-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100vw - 36px);
  padding: 14px 16px;
  border: 1px solid rgba(17, 74, 78, .18);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(17, 74, 78, .18);
  color: #11383c;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.lester-cart-toast.is-show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.lester-cart-toast a {
  white-space: nowrap;
  padding: 10px 12px;
  border-radius: 999px;
  background: #2aa9a1;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
@media (max-width: 640px) {
  .lester-cart-toast {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-content: space-between;
  }
}

/* LESTER checkout review patch 2 */
.lester-review-block {
  padding: 18px;
  border: 1px solid rgba(17, 74, 78, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
}
.lester-review-block h3 {
  margin: 0 0 12px;
  font-size: 18px;
}
.lester-review-block p {
  margin: 5px 0;
}
.lester-review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.lester-review-item {
  display: grid;
  gap: 5px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(17, 74, 78, .1);
}
.lester-review-item:last-child {
  border-bottom: 0;
}
.lester-review-item span {
  color: rgba(17, 56, 60, .76);
}
.lester-review-item em {
  font-style: normal;
  font-weight: 700;
}
.lester-review-total,
.lester-review-pay {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #11383c;
  color: #fff;
}
.lester-review-pay {
  background: #2aa9a1;
}
@media (max-width: 760px) {
  .lester-review-grid,
  .lester-review-total,
  .lester-review-pay {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* LESTER_NEXT_NOVA_POSHTA_PATCH_5 */
#lester-app-shell .lester-checkout-screen label {
  position: relative;
}
#lester-app-shell .lester-np-suggest {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
  max-height: 320px;
  overflow: auto;
  border: 1px solid #dfe3f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(0,0,80,.13);
  padding: 8px;
}
#lester-app-shell .lester-np-suggest.is-open {
  display: grid;
  gap: 6px;
}
#lester-app-shell .lester-np-suggest button {
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 12px;
  background: #fff;
  padding: 11px 12px;
  cursor: pointer;
  color: #151515;
}
#lester-app-shell .lester-np-suggest button:hover {
  background: #f3f7fb;
}
#lester-app-shell .lester-np-suggest b {
  display: block;
  color: #000080;
}
#lester-app-shell .lester-np-suggest small,
#lester-app-shell .lester-np-empty {
  display: block;
  color: #6b6b7a;
  font-size: 13px;
  padding-top: 3px;
}
#lester-app-shell .lester-np-empty {
  padding: 12px;
}

/* LESTER_NEXT_NP_COURIER_FIX_8 */
#lester-app-shell [data-checkout].is-courier-delivery [data-warehouse-label] {
  display: none !important;
}
#lester-app-shell [data-checkout].is-courier-delivery [data-courier-label] {
  display: block !important;
}
