:root{
  --ink:#17244d;--ink-2:#28365f;--muted:#6f789a;--line:rgba(113,128,205,.14);
  --white:rgba(255,255,255,.82);--blue:#6f8cff;--cyan:#76dfff;--pink:#ef76cd;--violet:#9a83ff;
  --shadow:0 20px 60px rgba(77,89,157,.12),inset 0 1px 0 rgba(255,255,255,.95);
  --shadow-soft:0 9px 25px rgba(82,94,162,.10),inset 0 1px 0 rgba(255,255,255,.9);
  --font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;font-family:var(--font);color:var(--ink);background:linear-gradient(135deg,#eef8ff 0%,#f8f4ff 45%,#fff5fb 100%);font-size:14px;overflow-x:hidden}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}.container{width:min(1536px,calc(100% - 56px));margin-inline:auto}.page-atmosphere{position:fixed;inset:0;z-index:-5;overflow:hidden;pointer-events:none}.page-atmosphere i{position:absolute;border-radius:50%;filter:blur(12px);opacity:.5;animation:ambient 14s ease-in-out infinite alternate}.page-atmosphere i:nth-child(1){width:420px;height:420px;left:-170px;bottom:40px;background:#b9e6ff}.page-atmosphere i:nth-child(2){width:380px;height:380px;right:-130px;top:130px;background:#ffd3f1;animation-delay:-5s}.page-atmosphere i:nth-child(3){width:300px;height:300px;left:38%;top:-170px;background:#d8d1ff;animation-delay:-9s}@keyframes ambient{to{transform:translate3d(35px,-24px,0) scale(1.08)}}

/* HEADER — same proportions as approved mockup */
.site-header{padding-top:8px;position:relative;z-index:40}.navbar{height:82px;display:flex;align-items:center;gap:17px;padding:6px 14px 6px 24px;border:1px solid rgba(255,255,255,.92);border-radius:27px;background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(249,250,255,.72));box-shadow:var(--shadow);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}.brand{width:158px;height:66px;display:flex;align-items:center;border-right:1px solid rgba(103,116,181,.13);flex:0 0 auto}.brand-logo{width:120px;height:76px;object-fit:contain;filter:drop-shadow(0 10px 14px rgba(103,119,216,.24))}.nav-links{display:flex;align-items:center;gap:30px;margin-right:auto}.nav-links a{font-weight:750;color:#253259;white-space:nowrap;transition:.2s ease}.nav-links a:hover,.nav-links a.is-active{color:#6f78df}.search{width:254px;height:43px;display:flex;align-items:center;padding-left:16px;border:1px solid rgba(116,129,201,.15);border-radius:17px;background:rgba(255,255,255,.72);box-shadow:0 5px 18px rgba(88,96,156,.07),inset 0 1px 0 #fff}.search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#27335b}.search input::placeholder{color:#9299b5}.search button{width:42px;height:42px;border:0;background:transparent;display:grid;place-items:center}.search svg{width:21px;height:21px;fill:none;stroke:#27335b;stroke-width:1.8}.nav-actions{display:flex;align-items:center;gap:10px}.nav-action{height:43px;position:relative;display:flex;align-items:center;gap:8px;padding:0 14px;border:1px solid rgba(116,129,201,.12);border-radius:16px;background:rgba(255,255,255,.67);box-shadow:0 5px 16px rgba(86,99,168,.07);font-weight:700;white-space:nowrap}.nav-icon{font-size:25px;line-height:1;font-weight:400}.user-icon{font-size:22px}.icon-badge{position:absolute;right:5px;top:-8px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;display:grid;place-items:center;background:#f17fc8;color:#fff;font-size:11px}.login-link .icon-badge{display:none}.burger{display:none;border:0;background:transparent;width:42px;height:42px;flex-direction:column;justify-content:center;gap:5px}.burger span{width:24px;height:2px;background:#26345d;border-radius:2px}
main{display:block}

/* HOME */
.home-wrap{padding-top:0}.home-hero{height:302px;display:grid;grid-template-columns:430px 1fr;overflow:hidden;border:1px solid rgba(255,255,255,.95);border-radius:0 28px 28px 28px;background:linear-gradient(110deg,rgba(255,255,255,.91),rgba(248,244,255,.76));box-shadow:var(--shadow);position:relative}.hero-copy{padding:28px 0 24px 51px;position:relative;z-index:2}.hero-chip{display:inline-flex;align-items:center;gap:8px;height:25px;padding:0 12px;border:1px solid rgba(255,255,255,.95);border-radius:999px;background:rgba(255,255,255,.72);box-shadow:var(--shadow-soft);font-size:12px;font-weight:800}.hero-chip span{color:#ffc538}.hero-copy h1{margin:15px 0 12px;font-size:29px;line-height:1.14;letter-spacing:-.035em;font-weight:850;color:#16244d}.hero-copy h1 em,.hero-copy h1 strong{font-style:normal;font-weight:850;background:linear-gradient(90deg,#638cf8 0%,#9c8bee 55%,#ee7cc9 100%);-webkit-background-clip:text;background-clip:text;color:transparent}.hero-copy p{margin:0;color:#596589;font-size:13.5px;line-height:1.55}.hero-actions{display:flex;align-items:center;gap:25px;margin-top:20px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:43px;padding:0 24px;border:1px solid rgba(113,127,207,.13);border-radius:16px;font-weight:800;transition:transform .2s ease,box-shadow .2s ease}.btn:hover{transform:translateY(-2px)}.btn-primary{color:#fff;background:linear-gradient(120deg,#6e7cff 0%,#758ffd 48%,#ec78d0 100%);box-shadow:0 11px 24px rgba(101,112,229,.25),inset 0 1px 0 rgba(255,255,255,.32)}.btn-primary span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.2)}.video-button{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:700;color:#263359}.video-button i{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#6c7cff;font-style:normal;box-shadow:var(--shadow-soft)}.hero-visual{min-width:0;height:100%;position:relative;overflow:hidden}.hero-visual:before{content:"";position:absolute;left:-40px;top:0;bottom:0;width:130px;background:linear-gradient(90deg,#f8f6ff 0%,rgba(248,246,255,.82) 28%,rgba(248,246,255,0) 100%);z-index:2}.hero-visual img{width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.97) brightness(1.01);transition:transform 8s ease}.home-hero:hover .hero-visual img{transform:scale(1.025)}

.home-market-grid{display:grid;grid-template-columns:minmax(0,1fr) 302px;gap:8px;margin-top:7px}.home-left-column{min-width:0;display:grid;gap:7px}.feature-row{height:82px;display:grid;grid-template-columns:repeat(4,1fr);border:1px solid rgba(255,255,255,.94);border-radius:20px;background:rgba(255,255,255,.72);box-shadow:var(--shadow-soft);backdrop-filter:blur(18px);overflow:hidden}.feature{display:flex;align-items:center;gap:15px;padding:10px 22px;border-right:1px solid rgba(118,129,190,.13)}.feature:last-child{border-right:0}.feature-icon{width:55px;height:55px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;color:#7184ff;font-size:31px;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(241,245,255,.66));box-shadow:0 8px 18px rgba(92,105,178,.11),inset 0 0 0 1px rgba(255,255,255,.9)}.feature b{display:block;font-size:13.5px;margin-bottom:4px}.feature p{margin:0;color:#77809f;font-size:10.5px;line-height:1.35}.product-showcase{height:235px;padding:11px 14px 12px;border:1px solid rgba(255,255,255,.95);border-radius:20px;background:rgba(255,255,255,.72);box-shadow:var(--shadow-soft);backdrop-filter:blur(18px)}.showcase-head{height:31px;display:flex;align-items:center;justify-content:space-between;padding:0 11px}.showcase-head h2{margin:0;font-size:17px;letter-spacing:-.02em}.showcase-head a{display:flex;align-items:center;gap:11px;padding:7px 12px;border:1px solid rgba(119,131,197,.12);border-radius:14px;background:rgba(255,255,255,.74);font-size:10px;font-weight:700}.showcase-head a span{font-size:18px;color:#7b68d8}.home-product-grid{height:179px;display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:3px}.product-card{position:relative;min-width:0;overflow:hidden;border:1px solid rgba(255,255,255,.95);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.91),rgba(245,246,255,.76));box-shadow:0 6px 18px rgba(91,100,158,.08);transition:transform .25s ease,box-shadow .25s ease}.product-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(91,100,158,.15)}.product-image{height:105px;display:block;overflow:hidden;border-radius:17px 17px 0 0;background:#f5f4fa}.product-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.product-card:hover .product-image img{transform:scale(1.04)}.badge{position:absolute;left:8px;top:8px;z-index:2;padding:3px 8px;border-radius:10px;background:linear-gradient(90deg,#ef75c2,#f49bd6);color:#fff;font-size:9px;font-weight:800}.product-card:nth-child(even) .badge{background:linear-gradient(90deg,#65c9f5,#74bfff)}.wishlist{position:absolute;right:8px;top:8px;z-index:2;width:23px;height:23px;border:1px solid rgba(120,130,194,.14);border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.88);color:#68729b;font-size:15px}.product-body{padding:7px 9px 8px}.product-body h3{margin:0;min-height:26px;font-size:10.5px;line-height:1.22;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-body>p{display:none}.rating{margin-top:3px;color:#f3ad35;font-size:9.3px;font-weight:800}.rating span{color:#969eb9;font-weight:500}.price-row{display:flex;align-items:flex-end;justify-content:space-between;gap:4px;margin-top:4px}.price{font-size:14px;font-weight:900}.old-price{display:none}.add-mini{width:31px;height:25px;border:0;border-radius:8px;display:grid;place-items:center;color:#fff;background:linear-gradient(120deg,#ef76c3,#f39bd3);box-shadow:0 5px 13px rgba(229,101,188,.22);font-size:16px}.product-card:nth-child(even) .add-mini{background:linear-gradient(120deg,#6bbaf3,#758bff)}.home-promo{height:324px;overflow:hidden;border:1px solid rgba(255,255,255,.95);border-radius:21px;background:#f7e7fa;box-shadow:var(--shadow-soft)}.home-promo img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}.home-promo:hover img{transform:scale(1.025)}

.home-reviews{height:101px;display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:10px;margin-top:8px;padding:28px 19px 9px;position:relative;border:1px solid rgba(255,255,255,.95);border-radius:20px;background:rgba(255,255,255,.72);box-shadow:var(--shadow-soft)}.reviews-title{position:absolute;left:26px;top:10px;font-size:12px;font-weight:800}.review-arrow{width:34px;height:28px;border-radius:12px;display:grid;place-items:center;background:rgba(255,255,255,.8);color:#8293d3;box-shadow:0 4px 13px rgba(88,101,165,.08)}.home-review-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.home-review-card{height:54px;display:grid;grid-template-columns:36px 1fr;align-items:center;gap:9px;padding:5px 10px;border:1px solid rgba(255,255,255,.95);border-radius:13px;background:rgba(255,255,255,.68)}.review-avatar{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:900;background:linear-gradient(135deg,#d8a57f,#774837)}.avatar-2{background:linear-gradient(135deg,#6f90ae,#24384f)}.avatar-3{background:linear-gradient(135deg,#d29b88,#6b3c39)}.avatar-4{background:linear-gradient(135deg,#9b8a77,#40372d)}.review-name{font-size:9px;font-weight:800;white-space:nowrap}.review-name span{float:right;color:#ffb930;letter-spacing:1px}.home-review-card p{margin:3px 0 0;max-width:100%;font-size:8.3px;line-height:1.22;color:#5c6688;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* FOOTER */
.site-footer{margin-top:6px;padding-bottom:8px}.footer-shell{min-height:94px;position:relative;display:grid;grid-template-columns:300px 140px 120px 180px 300px 1fr;gap:22px;align-items:start;padding:13px 28px 24px;border:1px solid rgba(255,255,255,.95);border-radius:20px;background:rgba(255,255,255,.72);box-shadow:var(--shadow-soft);backdrop-filter:blur(18px)}.footer-brand-block{display:flex;align-items:center;gap:9px}.footer-brand{width:112px;height:54px;border:0}.footer-brand .brand-logo{width:95px;height:64px}.footer-brand-block p{margin:0;color:#596486;font-size:9.5px;line-height:1.45}.footer-column h3,.footer-subscribe h3{margin:3px 0 5px;font-size:9.5px}.footer-column a{display:block;margin:2px 0;color:#626d90;font-size:8.5px}.footer-subscribe{padding-top:0}.subscribe{height:29px;display:flex;border:1px solid rgba(115,128,192,.13);border-radius:12px;background:rgba(255,255,255,.78);overflow:hidden}.subscribe input{min-width:0;flex:1;border:0;outline:0;background:transparent;padding:0 11px;font-size:8.5px}.subscribe button{width:36px;border:0;background:transparent;color:#637cff;font-size:18px}.socials{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding-top:12px}.socials a{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.82);box-shadow:0 5px 14px rgba(91,103,170,.09);font-size:9px;font-weight:800;color:#6c7ee9}.footer-legal{position:absolute;left:28px;right:28px;bottom:7px;display:flex;align-items:center;justify-content:space-between;padding-top:5px;border-top:1px solid rgba(116,128,190,.10);font-size:7.5px;color:#8a91aa}.footer-legal a{color:inherit}.float-chat{position:fixed;right:22px;bottom:22px;z-index:50;display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;color:#fff;background:linear-gradient(135deg,#76dfff,#7984ff,#ef79ce);box-shadow:0 14px 32px rgba(95,110,216,.28);font-weight:800}.float-chat span{font-size:18px}

/* INNER STORE PAGES */
.page-hero{padding:24px 0 10px}.page-title,.glass-card,.product-main-image,.product-detail{border:1px solid rgba(255,255,255,.95);border-radius:26px;background:rgba(255,255,255,.76);box-shadow:var(--shadow);backdrop-filter:blur(20px)}.page-title{padding:34px 38px}.page-title h1{margin:0 0 8px;font-size:clamp(34px,5vw,58px);letter-spacing:-.05em}.page-title p{margin:0;color:var(--muted);font-size:16px;line-height:1.6}.section{padding:24px 0}.section-tight{padding:12px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:18px}.section-head h2{margin:4px 0 0;font-size:28px}.section-kicker{font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.1em;color:#7380ad}.glass-card{padding:26px}.glass-card p{color:#596487;line-height:1.65}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.product-grid .product-card{min-height:350px}.product-grid .product-image{height:230px}.product-grid .product-body{padding:14px 15px}.product-grid .product-body h3{min-height:auto;font-size:16px}.product-grid .product-body>p{display:block;margin:6px 0;color:#727c9b;font-size:13px}.product-grid .rating{font-size:12px}.product-grid .price{font-size:19px}.product-grid .add-mini{width:40px;height:36px}.filters{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 18px}.filter-pill{padding:10px 14px;border:1px solid rgba(255,255,255,.95);border-radius:999px;background:rgba(255,255,255,.72);box-shadow:var(--shadow-soft);font-weight:750}.filter-pill.is-active{color:#fff;background:linear-gradient(120deg,#75dcff,#7188ff,#e77bce)}.layout-two{display:grid;grid-template-columns:1.08fr .92fr;gap:22px}.product-page{display:grid;grid-template-columns:.95fr 1.05fr;gap:24px;align-items:start}.product-main-image{position:sticky;top:20px;padding:20px}.product-main-image img{width:100%;border-radius:21px}.product-detail{padding:30px}.product-detail h1{font-size:clamp(34px,5vw,55px);line-height:1.05;letter-spacing:-.04em;margin:7px 0 12px}.product-detail .price{font-size:30px}.tabs{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.qty{display:flex;align-items:center;gap:12px;margin:18px 0}.qty input{width:90px}.field{display:grid;gap:7px;margin-bottom:14px}.field label{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:#69749b}.field input,.field textarea,.field select,.qty input,.cart-table input,.admin-table select{width:100%;border:1px solid rgba(111,126,198,.15);outline:0;border-radius:15px;background:rgba(255,255,255,.78);padding:12px 13px}.field textarea{min-height:120px;resize:vertical}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.check-list{list-style:none;padding:0;margin:18px 0}.check-list li{position:relative;padding-left:29px;margin:11px 0;color:#4f5b81}.check-list li:before{content:"✓";position:absolute;left:0;top:0;width:20px;height:20px;border-radius:7px;display:grid;place-items:center;background:linear-gradient(135deg,#75ddff,#7588ff);color:#fff;font-size:12px}.btn-outline{background:rgba(255,255,255,.78);color:#43517e}.btn-small{min-height:36px;padding:0 16px}.notice{padding:13px 15px;border-radius:15px;background:rgba(255,255,255,.74);border:1px solid rgba(112,127,199,.15);margin:12px 0}.notice.success{background:#ecfff5;color:#187447}.notice.error{background:#fff0f6;color:#9d275d}.cart-table{width:100%;border-collapse:separate;border-spacing:0 10px}.cart-table th{text-align:left;color:#7a83a1;font-size:11px;text-transform:uppercase;letter-spacing:.08em;padding:0 12px}.cart-table td{padding:14px 12px;background:rgba(255,255,255,.78);border-top:1px solid #fff;border-bottom:1px solid #fff}.cart-table td:first-child{border-radius:17px 0 0 17px}.cart-table td:last-child{border-radius:0 17px 17px 0}.cart-product{display:flex;align-items:center;gap:12px}.cart-product img{width:76px;height:76px;border-radius:16px;object-fit:cover}.review-card{padding:17px;border:1px solid rgba(255,255,255,.95);border-radius:18px;background:rgba(255,255,255,.73)}.review-head{display:flex;align-items:center;gap:11px}.avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#75dfff,#7d84ff,#ee7acd);font-weight:900}.media-preview img,.media-preview video{max-width:260px;border-radius:17px;margin-top:12px}.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.category{padding:18px;border-radius:17px;background:rgba(255,255,255,.76);text-align:center}.category span{display:block;font-size:28px}.guarantee{display:grid;grid-template-columns:1fr 260px;gap:20px;align-items:center}.guarantee-art img{width:190px;margin:auto}

/* ADMIN */
.admin-shell{min-height:100vh;background:#f4f7ff}.admin-layout{display:grid;grid-template-columns:250px 1fr}.admin-sidebar{position:sticky;top:0;height:100vh;padding:24px;background:linear-gradient(180deg,#17214f,#29346d);color:#fff}.admin-sidebar .brand{border:0}.admin-sidebar a{display:block;padding:12px 13px;border-radius:13px;margin:5px 0;color:#eef1ff}.admin-sidebar a:hover{background:rgba(255,255,255,.12)}.admin-main{padding:26px}.admin-card{padding:22px;margin-bottom:16px;border-radius:22px;background:#fff;box-shadow:var(--shadow-soft);overflow:auto}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{padding:12px;border-bottom:1px solid #edf0fa;text-align:left}.admin-actions{display:flex;gap:7px;flex-wrap:wrap}.mini-img{width:68px;height:52px;border-radius:12px;object-fit:cover}.login-page{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#eef9ff,#f7f3ff,#fff2fa)}.login-box{width:min(430px,calc(100% - 30px));padding:30px;border-radius:28px;background:rgba(255,255,255,.84);box-shadow:var(--shadow)}

@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:1380px){.container{width:min(100% - 30px,1536px)}.nav-links{gap:18px}.nav-links a:nth-last-child(2){display:none}.search{width:220px}.home-hero{grid-template-columns:400px 1fr}.hero-copy{padding-left:38px}.feature{padding-inline:15px}.feature-icon{width:48px;height:48px}.footer-shell{grid-template-columns:260px 120px 110px 160px 280px 1fr}}
@media(max-width:1120px){.navbar{height:auto;min-height:76px}.nav-links,.search,.nav-label{display:none}.burger{display:flex;margin-left:auto}.navbar.is-open{flex-wrap:wrap}.navbar.is-open .nav-links{order:10;width:100%;display:flex;flex-wrap:wrap;padding:10px}.navbar.is-open .search{order:11;width:100%;display:flex}.home-hero{height:auto;grid-template-columns:1fr}.hero-copy{padding:40px}.hero-visual{height:330px}.hero-visual:before{display:none}.home-market-grid{grid-template-columns:1fr}.home-promo{height:260px}.feature-row{height:auto;grid-template-columns:repeat(2,1fr)}.feature{min-height:90px}.feature:nth-child(2){border-right:0}.home-product-grid{grid-template-columns:repeat(3,1fr);height:auto}.product-showcase{height:auto}.home-product-grid .product-card:nth-child(n+4){display:none}.home-reviews{height:auto;padding:35px 15px 12px}.home-review-grid{grid-template-columns:repeat(2,1fr)}.footer-shell{grid-template-columns:repeat(3,1fr);padding-bottom:45px}.footer-brand-block{grid-column:1/-1}.footer-legal{flex-wrap:wrap}.product-grid{grid-template-columns:repeat(3,1fr)}.layout-two,.product-page{grid-template-columns:1fr}.product-main-image{position:relative;top:auto}}
@media(max-width:720px){.container{width:calc(100% - 18px)}.site-header{padding-top:6px}.navbar{border-radius:22px;padding:5px 8px 5px 13px}.brand{width:104px}.brand-logo{width:88px}.nav-action{padding:0 10px}.nav-action:nth-child(1),.login-link{display:none}.home-hero{border-radius:0 22px 22px 22px}.hero-copy{padding:28px 22px}.hero-copy h1{font-size:31px}.hero-copy p br{display:none}.hero-actions{align-items:stretch;flex-direction:column;gap:11px}.video-button{justify-content:center}.hero-visual{height:255px}.feature-row{grid-template-columns:1fr}.feature{border-right:0;border-bottom:1px solid var(--line)}.feature:last-child{border-bottom:0}.home-product-grid{grid-template-columns:repeat(2,1fr)}.home-product-grid .product-card:nth-child(3){display:none}.home-promo{height:240px}.home-review-grid{grid-template-columns:1fr}.home-review-card:nth-child(n+3){display:none}.review-arrow{display:none}.home-reviews{grid-template-columns:1fr}.footer-shell{grid-template-columns:1fr 1fr;padding:16px 18px 62px}.footer-brand-block,.footer-subscribe,.socials{grid-column:1/-1}.footer-legal{left:18px;right:18px;align-items:flex-start;flex-direction:column}.product-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.page-title{padding:25px 22px}.glass-card,.product-detail{padding:20px}.cart-table,.cart-table tbody,.cart-table tr,.cart-table td,.cart-table th{display:block}.cart-table thead{display:none}.float-chat{width:54px;height:54px;justify-content:center;padding:0}.float-chat b{display:none}.admin-layout{grid-template-columns:1fr}.admin-sidebar{position:relative;height:auto}.admin-main{padding:14px}}
.home-page .float-chat{display:none}.hero-actions .btn-primary{min-width:205px;white-space:nowrap}.review-avatar{overflow:hidden;background:#eef1ff}.review-avatar img{width:100%;height:100%;object-fit:cover}

/* DESKTOP SIZE UPDATE — standard web proportions */
@media (min-width:1121px){
  body{font-size:16px}
  .container{width:min(1720px,calc(100% - 64px))}

  .site-header{padding-top:14px}
  .navbar{height:96px;gap:20px;padding:8px 18px 8px 28px;border-radius:31px}
  .brand{width:174px;height:78px}
  .brand-logo{width:138px;height:86px}
  .nav-links{gap:clamp(19px,1.55vw,31px)}
  .nav-links a{font-size:15px}
  .search{width:clamp(245px,17vw,310px);height:50px;padding-left:19px;border-radius:18px}
  .search input{font-size:14px}
  .search button{width:48px;height:48px}
  .search svg{width:23px;height:23px}
  .nav-actions{gap:11px}
  .nav-action{height:50px;padding:0 16px;border-radius:18px;font-size:14px}
  .nav-icon{font-size:27px}

  .home-hero{height:440px;grid-template-columns:clamp(500px,31vw,570px) 1fr;border-radius:0 32px 32px 32px}
  .hero-copy{padding:48px 0 40px 58px}
  .hero-chip{height:32px;padding:0 15px;font-size:13px}
  .hero-copy h1{margin:21px 0 18px;font-size:clamp(38px,2.45vw,47px);line-height:1.12}
  .hero-copy p{font-size:16px;line-height:1.62}
  .hero-actions{gap:30px;margin-top:29px}
  .btn{min-height:52px;padding:0 29px;border-radius:18px;font-size:15px}
  .btn-primary span{width:29px;height:29px}
  .video-button{gap:13px;font-size:13px}
  .video-button i{width:48px;height:48px;font-size:16px}
  .hero-visual:before{left:-52px;width:165px}

  .home-market-grid{grid-template-columns:minmax(0,1fr) clamp(330px,21.5vw,380px);gap:14px;margin-top:14px}
  .home-left-column{gap:14px}
  .feature-row{height:112px;border-radius:24px}
  .feature{gap:18px;padding:14px 24px}
  .feature-icon{width:64px;height:64px;font-size:35px}
  .feature b{font-size:15px;margin-bottom:6px}
  .feature p{font-size:12.5px;line-height:1.45}

  .product-showcase{height:360px;padding:15px 18px 17px;border-radius:24px}
  .showcase-head{height:44px;padding:0 9px}
  .showcase-head h2{font-size:22px}
  .showcase-head a{gap:13px;padding:9px 15px;border-radius:15px;font-size:12px}
  .showcase-head a span{font-size:21px}
  .home-product-grid{height:280px;gap:12px;margin-top:3px}
  .product-card{border-radius:21px}
  .product-image{height:178px;border-radius:20px 20px 0 0}
  .badge{left:10px;top:10px;padding:4px 10px;font-size:10px}
  .wishlist{right:10px;top:10px;width:29px;height:29px;font-size:17px}
  .product-body{padding:11px 12px 12px}
  .product-body h3{min-height:36px;font-size:13px;line-height:1.35;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  .rating{margin-top:5px;font-size:11px}
  .price-row{margin-top:7px}
  .price{font-size:18px}
  .add-mini{width:38px;height:33px;border-radius:10px;font-size:18px}
  .home-promo{height:486px;border-radius:24px}

  .home-reviews{height:150px;grid-template-columns:50px 1fr 50px;gap:14px;margin-top:14px;padding:43px 23px 15px;border-radius:24px}
  .reviews-title{left:31px;top:15px;font-size:15px}
  .review-arrow{width:42px;height:36px;border-radius:14px;font-size:17px}
  .home-review-grid{gap:16px}
  .home-review-card{height:83px;grid-template-columns:48px 1fr;gap:12px;padding:9px 12px;border-radius:16px}
  .review-avatar{width:47px;height:47px}
  .review-name{font-size:11px}
  .home-review-card p{margin-top:6px;font-size:10.5px;line-height:1.35;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}

  .site-footer{margin-top:14px;padding-bottom:14px}
  .footer-shell{min-height:174px;grid-template-columns:330px 155px 135px 190px 340px 1fr;gap:28px;padding:24px 34px 48px;border-radius:24px}
  .footer-brand-block{gap:14px}
  .footer-brand{width:130px;height:70px}
  .footer-brand .brand-logo{width:112px;height:75px}
  .footer-brand-block p{font-size:12px;line-height:1.55}
  .footer-column h3,.footer-subscribe h3{margin:4px 0 9px;font-size:12px}
  .footer-column a{margin:4px 0;font-size:11px}
  .subscribe{height:41px;border-radius:14px}
  .subscribe input{padding:0 14px;font-size:11px}
  .subscribe button{width:44px;font-size:21px}
  .socials{gap:10px;padding-top:17px}
  .socials a{width:39px;height:39px;font-size:10px}
  .footer-legal{left:34px;right:34px;bottom:11px;padding-top:8px;font-size:9px}

  .page-hero{padding:34px 0 14px}
  .page-title{padding:44px 48px;border-radius:30px}
  .page-title h1{font-size:clamp(42px,4.4vw,66px)}
  .page-title p{font-size:17px}
  .section{padding:32px 0}
  .section-head{margin-bottom:23px}
  .section-head h2{font-size:32px}
  .glass-card{padding:32px;border-radius:29px}
  .product-grid{gap:22px}
  .product-grid .product-card{min-height:430px}
  .product-grid .product-image{height:282px}
  .product-grid .product-body{padding:17px 18px 18px}
  .product-grid .product-body h3{font-size:18px}
  .product-grid .product-body>p{font-size:14px}
  .product-grid .rating{font-size:13px}
  .product-grid .price{font-size:22px}
  .product-grid .add-mini{width:45px;height:40px}
  .layout-two{gap:28px}
  .product-page{gap:30px}
  .product-main-image{padding:26px;border-radius:30px}
  .product-detail{padding:38px;border-radius:30px}
  .field input,.field textarea,.field select,.qty input,.cart-table input,.admin-table select{padding:14px 15px;font-size:15px}
}

@media (min-width:1121px) and (max-width:1390px){
  .container{width:calc(100% - 36px)}
  .navbar{gap:12px;padding-inline:18px}
  .brand{width:132px}
  .brand-logo{width:110px}
  .nav-links{gap:15px}
  .nav-links a{font-size:13px}
  .search{width:210px}
  .nav-action{padding:0 11px;font-size:12px}
  .home-hero{grid-template-columns:455px 1fr;height:405px}
  .hero-copy{padding-left:43px}
  .hero-copy h1{font-size:36px}
  .home-market-grid{grid-template-columns:minmax(0,1fr) 320px}
  .feature{padding-inline:15px;gap:12px}
  .feature-icon{width:54px;height:54px}
  .feature b{font-size:13px}
  .feature p{font-size:11px}
  .product-showcase{height:335px}
  .home-product-grid{height:255px}
  .product-image{height:155px}
  .home-promo{height:461px}
  .footer-shell{grid-template-columns:265px 125px 115px 155px 270px 1fr;gap:17px}
}

/* Desktop hero balance after enlargement */
@media (min-width:1391px){
  .home-hero{height:480px;grid-template-columns:clamp(590px,35vw,640px) 1fr}
  .hero-copy{padding:55px 0 45px 60px}
  .hero-copy h1{font-size:clamp(40px,2.35vw,46px)}
}
@media (min-width:1121px) and (max-width:1390px){
  .home-hero{height:440px;grid-template-columns:500px 1fr}
  .hero-copy{padding:44px 0 38px 43px}
  .hero-copy h1{font-size:35px}
}

/* Keep review cards inside the viewport on phones */
@media (max-width:720px){
  .home-review-grid,.home-review-card,.home-review-card>div{min-width:0;width:100%}
  .review-name{display:flex;align-items:center;justify-content:space-between;gap:6px;overflow:hidden}
  .review-name span{float:none;flex:0 0 auto}
  .home-review-card p{max-width:100%;overflow:hidden;text-overflow:ellipsis}
}

/* V3.2.1 — Popular products price clearance fix */
.home-product-grid .product-card{
  display:flex;
  flex-direction:column;
}
.home-product-grid .product-body{
  flex:1 1 auto;
  min-height:0;
  display:flex;
  flex-direction:column;
}
.home-product-grid .price-row{
  margin-top:auto;
  padding-top:7px;
  padding-bottom:3px;
  align-items:center;
}
.home-product-grid .price-row form{
  flex:0 0 auto;
  margin:0;
}

@media (min-width:1121px){
  .product-showcase{height:372px}
  .home-product-grid{height:292px}
  .home-product-grid .product-body{padding:11px 12px 18px}
  .home-promo{height:498px}
}

@media (min-width:1121px) and (max-width:1390px){
  .product-showcase{height:347px}
  .home-product-grid{height:267px}
  .home-promo{height:473px}
}

/* v3.2.2 — high-resolution hero banner */
.hero-visual picture{
  display:block;
  width:100%;
  height:100%;
}
.hero-visual picture img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  image-rendering:auto;
  backface-visibility:hidden;
  transform:translateZ(0);
}
@media (min-width:1121px){
  .hero-visual picture img{
    object-position:center center;
  }
}
@media (max-width:720px){
  .hero-visual picture img{
    object-position:42% center;
  }
}


/* v3.2.3 — rounded top-right corner for hero banner */
.home-hero{
  border-radius:0 30px 30px 30px;
  overflow:hidden;
  isolation:isolate;
}
.hero-visual,
.hero-visual picture,
.hero-visual picture img{
  border-radius:0 30px 30px 0;
}
@media (max-width:720px){
  .home-hero{border-radius:0 22px 22px 22px}
  .hero-visual,
  .hero-visual picture,
  .hero-visual picture img{border-radius:0 0 22px 22px}
}
