/* Storefront home layout. All surfaces inherit the selected store theme. */
html{scroll-behavior:smooth}#products,#special-offers,#quick-categories,#shopCategories{scroll-margin-top:110px}
body[class*="theme-"]{--showcase-utility:#142b38;--showcase-utility-text:#fff;--showcase-art:#fff}
body.theme-vesta{--showcase-utility:#111315;--showcase-art:#e0c17f}
body.theme-arka{--showcase-utility:#152f4a;--showcase-art:#bb303c}
body.theme-karen{--showcase-utility:#25343d;--showcase-art:#d36724}
body.theme-nila{--showcase-utility:#302947;--showcase-art:#7652bd}
.showcase-utility{background:var(--showcase-utility);color:var(--showcase-utility-text)}
.showcase-utility-inner{max-width:1280px;margin:auto;padding:8px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.68rem;font-weight:750}
.showcase-utility-inner span,.showcase-utility-inner a{display:inline-flex;align-items:center;gap:8px}
.showcase-utility-inner a{color:inherit;text-decoration:none}.showcase-utility-inner a:hover{text-decoration:underline}
.shop-top-inner{max-width:1320px}.shop-brand strong{font-size:1.05rem}.shop-search{min-height:48px;border-radius:15px}.shop-search input{font-size:.79rem}.shop-actions a{display:inline-flex;align-items:center;justify-content:center}
.showcase-nav{background:var(--surface,#fff);border-bottom:1px solid var(--line,#e2e8f0)}
.showcase-nav-inner{max-width:1280px;margin:auto;padding:0 20px;display:flex;align-items:center;gap:24px;min-height:47px}
.showcase-nav a,.showcase-nav .shop-categories-toggle{display:inline-flex;align-items:center;gap:7px;color:var(--ink,#173b37);text-decoration:none;font-size:.75rem;font-weight:850}
.showcase-nav a:hover,.showcase-nav .showcase-special-nav{color:var(--accent,#087d70)}
.showcase-nav .shop-categories-toggle{display:none}
.showcase-hero{max-width:1280px;min-height:338px;margin:24px auto 0;padding:42px 56px;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(240px,.75fr);align-items:center;gap:20px;position:relative;overflow:hidden;border:1px solid var(--line,#e2e8f0);border-radius:calc(var(--radius,22px) + 7px);background:linear-gradient(120deg,var(--hero1,#e7f8f1),var(--hero2,#eef5ff));box-shadow:0 24px 55px #0f172a0c}
.showcase-hero:before{content:"";position:absolute;width:340px;height:340px;left:-100px;bottom:-210px;border-radius:50%;background:var(--accent,#087d70);opacity:.08}
.showcase-hero-copy{position:relative;z-index:1;max-width:620px}.showcase-eyebrow{display:inline-flex;align-items:center;gap:8px;padding:6px 11px;border:1px solid var(--line,#e2e8f0);border-radius:999px;background:var(--surface,#fff);color:var(--accent,#087d70);font-size:.68rem;font-weight:900}
.showcase-hero h1{margin:18px 0 12px;color:var(--ink,#173b37);font-size:clamp(1.55rem,3vw,2.65rem);line-height:1.55;font-weight:950}.showcase-hero p{max-width:580px;margin:0;color:var(--muted,#607b75);font-size:.87rem;line-height:2.15;white-space:pre-line}
.showcase-hero-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:24px}.showcase-hero-actions a{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:9px 17px;border-radius:12px;text-decoration:none;font-size:.76rem;font-weight:900;transition:transform .2s,box-shadow .2s}.showcase-hero-actions a:hover{transform:translateY(-2px)}
.showcase-hero-primary{background:var(--action,#087d70);color:var(--action-text,#fff);box-shadow:0 10px 22px #0002}.showcase-hero-primary:hover{background:var(--action-hover,#06665b);color:var(--action-text,#fff)}.showcase-hero-secondary{border:1px solid var(--line,#e2e8f0);background:var(--surface,#fff);color:var(--ink,#173b37)}
.showcase-hero-art{position:relative;display:grid;place-items:center;min-height:250px}.showcase-orbit{position:absolute;display:block;border:1px solid var(--accent,#087d70);opacity:.18;border-radius:50%}.orbit-one{width:255px;height:255px}.orbit-two{width:195px;height:195px}
.showcase-art-icon{width:130px;height:130px;display:grid;place-items:center;border-radius:36px;background:var(--surface,#fff);color:var(--accent,#087d70);font-size:4.6rem;box-shadow:0 22px 40px #0002;transform:rotate(-8deg)}.showcase-art-icon i{transform:rotate(8deg)}
.showcase-art-spark{position:absolute;display:grid;place-items:center;width:46px;height:46px;border-radius:16px;background:var(--surface,#fff);color:var(--accent,#087d70);box-shadow:0 10px 20px #0001;font-size:1.3rem}.spark-one{right:8%;top:16%}.spark-two{left:6%;bottom:14%}
.showcase-categories{max-width:1280px;margin:34px auto 0;padding:0 20px}.showcase-section-title,.showcase-products-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:15px}.showcase-section-title span,.showcase-products-head span{display:block;margin-bottom:4px;color:var(--accent,#087d70);font-size:.68rem;font-weight:900}.showcase-section-title h2,.showcase-products-head h2{margin:0;color:var(--ink,#173b37);font-size:1.18rem;font-weight:950}.showcase-section-title>a{color:var(--muted,#607b75);text-decoration:none;font-size:.72rem;font-weight:800}.showcase-section-title>a:hover{color:var(--accent,#087d70)}
.showcase-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.showcase-category{min-width:0;display:flex;align-items:center;gap:11px;padding:13px;border:1px solid var(--line,#e2e8f0);border-radius:calc(var(--radius,22px) - 4px);background:var(--surface,#fff);color:var(--ink,#173b37);text-decoration:none;transition:transform .2s,box-shadow .2s,border-color .2s}.showcase-category:hover{transform:translateY(-3px);border-color:var(--accent,#087d70);box-shadow:0 12px 24px #0001;color:var(--ink,#173b37)}.showcase-category-icon{width:44px;height:44px;flex:none;display:grid;place-items:center;border-radius:13px;background:var(--pale,#e7f8f1);color:var(--accent,#087d70);font-size:1.15rem}.showcase-category-text{min-width:0;flex:1}.showcase-category-text strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem}.showcase-category-text small{display:block;margin-top:4px;color:var(--muted,#607b75);font-size:.65rem}.showcase-category>.bi{color:var(--accent,#087d70);font-size:1.1rem}
.showcase-assurances{max-width:1280px;margin:20px auto 0;padding:0 20px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.showcase-assurances span{display:flex;align-items:center;gap:9px;padding:11px 14px;border:1px solid var(--line,#e2e8f0);border-radius:13px;background:var(--surface,#fff);color:var(--muted,#607b75);font-size:.7rem;font-weight:800}.showcase-assurances i{color:var(--accent,#087d70);font-size:1.07rem}
.shop-shell{max-width:1280px;margin-top:30px}.shop-main-card{min-width:0}.showcase-products-head{padding-bottom:15px;border-bottom:1px solid var(--line,#e2e8f0)}.showcase-products-head small{color:var(--muted,#607b75);font-size:.7rem;font-weight:850}
.product-card .product-icon:has(.product-photo){height:180px}.product-card{min-height:360px}.product-card h3{line-height:1.8}.product-desc{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;max-height:3.8em}.product-card .prices{min-height:49px;align-items:flex-start;justify-content:center;flex-direction:column}
.product-card .prices .final-price:only-child{line-height:1.7}
@media(max-width:1320px){.showcase-hero{margin-right:20px;margin-left:20px}}
@media(max-width:900px){.showcase-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.showcase-hero{grid-template-columns:minmax(0,1fr) 200px;padding:34px}.showcase-hero-art{min-height:200px}.orbit-one{width:210px;height:210px}.orbit-two{width:160px;height:160px}.showcase-art-icon{width:105px;height:105px;font-size:3.7rem}.showcase-nav .showcase-desktop-categories{display:none}.showcase-nav .shop-categories-toggle{display:inline-flex;position:static;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--ink,#173b37)}.shop-shell{grid-template-columns:1fr}}
@media(max-width:640px){.showcase-utility-inner{padding:7px 13px;font-size:.59rem}.showcase-nav-inner{min-height:42px;padding:0 13px;gap:16px;overflow:auto;scrollbar-width:none}.showcase-nav-inner::-webkit-scrollbar{display:none}.showcase-nav a,.showcase-nav .shop-categories-toggle{white-space:nowrap;font-size:.68rem}.showcase-hero{display:block;min-height:240px;margin:14px 12px 0;padding:24px 22px}.showcase-hero h1{font-size:1.42rem;margin:14px 0 7px}.showcase-hero p{font-size:.74rem;line-height:2}.showcase-hero-art{position:absolute;left:-34px;bottom:-45px;min-height:140px;width:150px;opacity:.17;pointer-events:none}.showcase-orbit{display:none}.showcase-art-icon{width:115px;height:115px;font-size:3.5rem}.showcase-art-spark{display:none}.showcase-hero-copy{padding-left:12px}.showcase-hero-actions{margin-top:17px}.showcase-hero-actions a{min-height:39px;padding:7px 12px;font-size:.7rem}.showcase-categories{margin-top:24px;padding:0 12px}.showcase-section-title h2,.showcase-products-head h2{font-size:1rem}.showcase-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.showcase-category{gap:7px;padding:9px;border-radius:13px}.showcase-category-icon{width:35px;height:35px;border-radius:10px;font-size:.95rem}.showcase-category-text strong{font-size:.68rem}.showcase-category>.bi{display:none}.showcase-assurances{display:flex;overflow:auto;scrollbar-width:none;padding:0 12px;gap:6px;margin-top:14px}.showcase-assurances::-webkit-scrollbar{display:none}.showcase-assurances span{flex:0 0 auto;padding:8px 10px;font-size:.67rem}.shop-shell{margin-top:20px}.product-card{min-height:295px}.product-card .product-icon:has(.product-photo){height:135px}.product-card .prices{min-height:58px}.shop-main-card{padding:12px}.showcase-products-head{padding:4px 2px 12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.showcase-category,.showcase-hero-actions a{transition:none}}

/* The homepage keeps the ten most recently stocked categories in one horizontal row. */
.showcase-category-row{display:flex;align-items:center;gap:9px;min-width:0}
.showcase-category-grid{display:flex;flex:1;min-width:0;gap:10px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:var(--accent,#087d70) transparent;padding:4px 2px 10px}
.showcase-category{flex:0 0 clamp(175px,19vw,230px);scroll-snap-align:start}
.showcase-category-arrow{flex:none;width:35px;height:42px;border:1px solid var(--line,#e2e8f0);border-radius:11px;background:var(--surface,#fff);color:var(--accent,#087d70);cursor:pointer}
.showcase-category-arrow:hover{border-color:var(--accent,#087d70);background:var(--pale,#e7f8f1)}
.showcase-all-categories{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line,#e2e8f0);border-radius:10px;background:var(--surface,#fff);color:var(--accent,#087d70);padding:8px 11px;font:inherit;font-size:.72rem;font-weight:850;cursor:pointer}
.showcase-all-categories:hover{border-color:var(--accent,#087d70)}
/* All categories remain available in a drawer on desktop and mobile. */
.shop-shell{display:block}
.shop-side{position:fixed;top:0;right:0;bottom:0;z-index:71;width:min(350px,90vw);height:100dvh;overflow-y:auto;margin:0;border-radius:20px 0 0 20px;padding:22px 16px;transform:translateX(105%);visibility:hidden;transition:transform .28s ease,visibility .28s;box-shadow:-20px 0 45px rgba(8,38,54,.18)}
.shop-side-backdrop{display:block;position:fixed;inset:0;z-index:70;background:rgba(7,23,38,.55);opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s}
.shop-side-open .shop-side{transform:translateX(0);visibility:visible}
.shop-side-open .shop-side-backdrop{opacity:1;visibility:visible}
.shop-side-open{overflow:hidden}
.shop-side-close{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:10px;background:var(--pale,#eef4f3);color:var(--accent,#16453d);font-size:1.1rem;cursor:pointer}
.cat-list{display:block;overflow:visible}
.cat-link{display:block;white-space:normal}
.showcase-nav .shop-categories-toggle{display:inline-flex;position:static;align-items:center;gap:7px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--ink,#173b37);font:inherit;font-size:.75rem;font-weight:850;cursor:pointer}
/* Product cards open their dedicated detail page; purchase controls keep their own action. */
.product-card{cursor:pointer}
.product-card:focus-visible{outline:3px solid var(--accent,#087d70);outline-offset:3px}
.product-card .product-desc,.product-detail-link{display:none}
.product-card .prices{min-height:0;gap:4px;margin-top:auto;padding-top:12px;justify-content:flex-start}
.discount-percent{display:inline-flex;align-items:center;align-self:flex-start;border-radius:7px;padding:3px 7px;background:#dc2626;color:#fff;font-size:.7rem;font-weight:900;white-space:nowrap}
.price-original-row{display:flex;align-items:center;gap:6px;max-width:100%;flex-wrap:wrap}
.price-original-row .discount-percent{align-self:center;padding:2px 6px;font-size:.66rem}
.store-product-slide{cursor:pointer;text-decoration:none}
@media(max-width:640px){.showcase-category-grid{gap:8px}.showcase-category{flex-basis:155px}.showcase-category-arrow{width:30px;height:38px}.showcase-all-categories{font-size:.67rem;padding:7px}.product-card{min-height:0}.product-card .prices{min-height:0}}
/* Equal title height keeps adjacent buttons aligned without adding blank price space. */
.product-card h3{min-height:3.6em;max-height:3.6em;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
.product-card{min-height:0}
.product-card .product-icon{width:100%;height:180px;flex:none}
.product-card h3{margin:10px 0 3px}
body[class*="theme-"] .product-card .prices{min-height:0;margin:0 0 7px;padding:0;justify-content:flex-start}
@media(max-width:640px){.product-card h3{min-height:3.4em;max-height:3.4em;line-height:1.7}.product-card .product-icon{height:135px}}
