/*
Theme Name: HamZa’s Beauty Winter Store
Version: 1.9.0
Text Domain: rupkotha
Requires PHP: 7.4
*/
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fcfdff;color:#152e4c;font:15px/1.5 "Noto Sans Bengali",system-ui,sans-serif}button,input,select,textarea{font:inherit;color:inherit}button,a{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0;background:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #4b9ad9;outline-offset:2px}img{display:block;max-width:100%}.wrap{width:min(1180px,94%);margin:auto}.notice{background:linear-gradient(105deg,#0d2e5b,#236ca6);color:white;text-align:center;padding:7px;font-size:13px}.notice a{margin-left:10px;font-weight:bold}.bar{background:white;border-bottom:1px solid #dfebf5}.top{height:65px;display:flex;align-items:center;justify-content:space-between}.top>button{color:#a63d60}.wordmark{font:600 25px Georgia,serif;color:#12375c;display:flex;align-items:center;gap:9px}.mark{color:#b44e74;font:33px Georgia}.tools{display:flex;align-items:center;gap:6px}.chip{background:#c73460;color:white;border-radius:50px;padding:1px 6px;font:700 12px system-ui}.search{display:flex;gap:10px;background:#f5f9fc;border:1px solid #79a6c8;border-radius:30px;align-items:center;padding:7px 16px;margin-bottom:13px}.search input{width:100%;border:0;background:transparent;outline:none}.page{padding:20px 0 75px}.banner img,.delivery img{width:100%;border-radius:14px}.banner,.delivery{display:block;width:100%;padding:0}.delivery{margin:0 0 18px}.dots{text-align:center;line-height:1;margin:6px 0 12px}.dots button{display:inline-block;width:13px;height:6px;padding:0;margin:4px;background:#d6e2ed;border-radius:9px}.dots button.on{background:#c53962;width:24px}.cats{display:flex;justify-content:space-between;gap:18px;overflow:auto;padding:3px 2px 12px}.cat{flex:none;text-align:center;font-size:14px}.cat img{border-radius:50%;width:clamp(51px,7vw,85px);height:auto;margin:0 auto 5px}.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0 30px}.tiles a{text-align:center;font-weight:650}.tiles img{width:100%;border-radius:12px;margin-bottom:6px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:30px 0 12px}.section-head a{font-size:13px;color:#195787}.section-head h2,h1{margin:0;line-height:1.35}.grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.card{background:white;border:1px solid #d8e4ed;border-radius:13px;overflow:hidden;display:flex;flex-direction:column;padding:11px;position:relative;box-shadow:0 3px 10px #18416808}.card .pic{display:grid;place-items:center;aspect-ratio:1.12;background:white}.pic img{width:100%;height:100%;max-height:100%;object-fit:contain;min-height:0}.sale{position:absolute;top:9px;left:8px;background:#c93659;color:white;padding:2px 7px;font-size:11px;font-weight:700;border-radius:20px}.brand{font-size:11px;letter-spacing:.045em;color:#667a8f;margin-top:10px}.name{font:650 14px/1.4 system-ui,sans-serif;margin:4px 0 9px}.prices{margin-top:auto}.price{font-size:19px;font-weight:750;color:#bd355c}del{font-size:12px;color:#718090;margin-left:6px}.qty{display:inline-flex;align-items:center;justify-content:space-between;border:1px solid #d4e0e8;border-radius:25px;min-width:94px;align-self:center;margin:10px 0}.qty button{color:#b82f58;padding:3px 12px;font-weight:bold}.buy,.primary,.woocommerce a.button,.woocommerce button.button.alt,.woocommerce #payment #place_order{display:inline-block;background:linear-gradient(110deg,#317db6,#123a70);color:white;border-radius:24px;padding:9px 14px;font-weight:650;text-align:center}.buy{font-size:14px}.buy:disabled{opacity:.6}.foot{border-radius:18px;background:#eaf3fb;padding:23px;text-align:center;margin:40px 0 12px}.dock{display:flex;justify-content:space-around;position:fixed;z-index:8;bottom:6px;left:50%;transform:translateX(-50%);width:min(700px,97%);background:white;border:1px solid #d8e6ee;box-shadow:0 3px 24px #17375922;border-radius:18px;padding:6px}.dock a,.dock button{display:grid;text-align:center;justify-items:center;align-content:center;font-size:11px;min-width:48px}.ico{width:21px;height:21px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.dock .active{color:#135e9a;font-weight:800}.shade{position:fixed;inset:0;z-index:20;background:#06162785}.panel{position:fixed;z-index:21;top:0;bottom:0;width:min(385px,91%);background:white;padding:18px;overflow:auto;box-shadow:0 0 40px #17375920}.panel.right{right:0}.panel.left{left:0}.panel header,.row{display:flex;align-items:center;justify-content:space-between;gap:10px}.panel header{padding-bottom:12px;border-bottom:1px solid #d9e6ef}.panel nav a{display:block;padding:13px 5px;border-bottom:1px solid #e5edf3}.line{display:grid;grid-template-columns:58px 1fr auto;gap:10px;padding:15px 0;border-bottom:1px solid #e5edf3}.line img{width:58px;height:70px;object-fit:contain}.line strong{font-size:14px}.panel .primary{width:100%;margin-top:14px}.detail,.checkout-layout{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start;margin:20px 0}.detail>img{width:100%;background:white;max-height:440px;object-fit:contain;border-radius:16px}.box{background:white;border:1px solid #dae6ef;border-radius:15px;padding:20px}.box label{display:block;margin:12px 0}.box input,.box select,.woocommerce input.input-text,.woocommerce textarea{width:100%;padding:10px;border:1px solid #ccdce6;border-radius:7px}.kicker{color:#47748d;font-size:13px}.articles{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.articles img{width:100%;border-radius:10px}.tags{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.tags a{padding:8px 15px;border:1px solid #cdddeb;border-radius:20px;background:white}#msg{position:fixed;z-index:30;bottom:84px;left:50%;transform:translateX(-50%);background:#173b58;color:white;border-radius:9px;padding:10px 15px;max-width:90vw}#msg:empty{display:none}[hidden]{display:none!important}.wc-wrap{padding:24px 0 88px}.woocommerce form.checkout{background:white;padding:18px;border-radius:16px}.woocommerce table{width:100%}.woocommerce form .form-row label{display:block}.woocommerce .product img{max-width:100%}.empty{padding:30px 0;color:#527188}body.frozen{overflow:hidden}@media(max-width:760px){.top{height:50px}.wordmark{font-size:20px}.page{padding-top:12px}.notice{font-size:11px}.tiles{gap:7px;margin:12px 0 18px}.tiles a{font-size:11px}.tiles img{border-radius:7px}.cats{gap:13px}.cat{font-size:11px}.section-head h2{font-size:20px}.section-head{margin-top:20px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.rail{display:grid;grid-auto-flow:column;grid-auto-columns:43%;grid-template-columns:none;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:6px}.rail .card{scroll-snap-align:start}.card{padding:9px}.detail,.checkout-layout{grid-template-columns:1fr;gap:12px}.detail>img{max-height:260px}.articles{grid-template-columns:1fr 1fr}.box{padding:14px}.name{font-size:13px}.dock{bottom:3px}.banner img,.delivery img{border-radius:8px}.delivery{margin-bottom:9px}.hero-title{font-size:24px}.top button{padding:4px}.tools{gap:2px}}
.campaign{display:grid;place-content:center;justify-items:center;gap:10px;text-align:center;min-height:clamp(130px,29vw,385px);border-radius:14px;color:white;background:radial-gradient(ellipse at 50% 110%,#4a98c6,#1c568d 55%,#112e56)}.campaign small{letter-spacing:.25em;color:#d3eafd}.campaign h1{font-size:clamp(24px,5vw,62px)}.campaign .primary{background:white;color:#185383}.buy .ico{width:15px;height:15px}
.wc-wrap .woocommerce form.checkout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:28px;align-items:start}.wc-wrap .woocommerce #customer_details{grid-row:1/4;grid-column:1;width:100%}.wc-wrap .woocommerce #customer_details .col-1,.wc-wrap .woocommerce #customer_details .col-2{width:100%;float:none}.wc-wrap .woocommerce #order_review_heading,.wc-wrap .woocommerce #order_review{grid-column:2}.wc-wrap .woocommerce #order_review{padding:15px;background:#f3f7fb;border-radius:14px}.wc-wrap .woocommerce form.checkout:before,.wc-wrap .woocommerce form.checkout:after{display:none}.wc-wrap .woocommerce .form-row input,.wc-wrap .woocommerce .form-row textarea{min-height:42px}.wc-wrap .woocommerce #payment #place_order{float:none;width:100%;background:#ba355b}.wc-wrap .woocommerce .shop_table{background:white}.wc-wrap .woocommerce #payment{background:#eaf1f7}@media(max-width:760px){.wc-wrap .woocommerce form.checkout{display:block;padding:10px}.wc-wrap .woocommerce #order_review{padding:8px}}
.wordmark img{width:clamp(138px,19vw,208px);height:56px;object-fit:contain}.notice{background:#8b2048}.dots button.on{background:#aa2451}.buy .ico{flex-shrink:0}.card .pic{aspect-ratio:1}.pic img{object-fit:contain}.detail>img{aspect-ratio:1;object-fit:contain}.dock{padding-bottom:max(6px,env(safe-area-inset-bottom))}@media(max-width:640px){.wordmark img{height:42px}.hb-foot{margin-bottom:7px}}
.catalog-tools,.pager{display:flex;align-items:center;gap:10px;margin:12px 0 18px}.catalog-tools{justify-content:space-between;color:#725964;font-size:14px}.catalog-tools select,.pager button{background:white;border:1px solid #dacbd1;border-radius:8px;padding:7px}.pager{justify-content:center;flex-wrap:wrap;margin-top:24px}.pager button{min-width:40px}.pager [aria-current]{background:#923554;color:white}
.contact-footer{margin:30px 0 20px;color:#153952}.contact-box{text-align:center;border:1px solid #dae6f0;border-radius:16px;background:linear-gradient(180deg,#f7fbff,#e6f1fb);padding:clamp(16px,2.8vw,32px)}.contact-box h2{margin:0;font-size:clamp(18px,2.1vw,26px)}.contact-box>p{margin:5px 0 17px;font-size:14px;color:#536b7e}.social-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.social-card{display:flex;align-items:center;gap:10px;background:white;border:1px solid #dce6ed;border-radius:12px;padding:13px 10px;text-align:left}.social-card strong,.social-card small{display:block}.social-card strong{font-size:15px}.social-card small{font-size:12px;color:#5a6877}.social-icon{color:#1671cc;background:#e9f3ff;border-radius:10px;padding:8px;display:grid;place-items:center}.social-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.facebook svg{fill:currentColor;stroke:none}.whatsapp .social-icon{color:#197848;background:#e5f7ee}.review .social-icon{color:#a9476f;background:#f9edf3}.contact-box .contact-meta{margin:18px 0}.contact-meta a{color:#b3325b;font-weight:650}.contact-box nav{border-top:1px solid #dae5ef;padding-top:14px;display:flex;gap:7px;justify-content:center;flex-wrap:wrap}.contact-box nav a{font-size:12px;background:white;padding:5px 12px;border-radius:20px}.contact-base{margin-top:16px;background:linear-gradient(100deg,#102e58,#205797);color:white;text-align:center;padding:12px;border-radius:6px;font-size:13px}@media(max-width:760px){.social-cards{grid-template-columns:1fr 1fr;gap:8px}.social-card{gap:7px;padding:9px 7px}.social-icon{padding:5px}.social-card strong{font-size:13px}.social-card small{font-size:11px}.contact-box{padding:14px 9px}}
.support-lines{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.support-line{background:white;padding:14px;border:1px solid #dce6ed;border-radius:12px;text-align:left}.support-line strong{display:block;font:650 21px/1.5 system-ui;color:#233d54;font-variant-numeric:tabular-nums}.support-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.support-actions>*{font-size:13px;font-weight:600;padding:7px 11px;border-radius:9px;background:#eef4fa;color:#194c71}.support-actions a:nth-child(2){color:#176843;background:#e6f5eb}.imo-note:not(:empty){display:block;margin-top:8px}.order-item{display:grid;grid-template-columns:50px 1fr auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #dce5ec}.order-item img{width:50px;height:54px;object-fit:contain}.order-item small{display:block;color:#586c7e}.checkout-layout .primary,.wc-wrap #place_order{width:100%;min-height:46px}.checkout-layout #sum h3,.wc-wrap .order-total{background:#eff6f8;padding:12px;border-radius:8px}.card .pic{overflow:hidden;border-radius:8px}.card:focus-within{border-color:#8facbf}.buy{min-height:40px}.wc-wrap #order_review table td,.wc-wrap #order_review table th{padding:12px 9px}.wc-wrap form.checkout .form-row{margin-bottom:14px}@media(max-width:640px){.support-lines{grid-template-columns:1fr}.card .buy{min-height:44px}.checkout-layout .box{padding:17px}}

.support-lines{display:block}.support-lines .support-line{text-align:center}.hb-numbers{border:0;margin:0;padding:0;min-width:0}.hb-numbers legend{width:100%;font-weight:650;margin-bottom:6px}.hb-numbers label{display:inline-flex;align-items:center;gap:4px;cursor:pointer;padding:6px;font:600 clamp(14px,4vw,19px)/1.5 system-ui;font-variant-numeric:tabular-nums}.hb-numbers input{accent-color:#963355}.hb-numbers input:checked+span{color:#923554}.support-line .support-actions{justify-content:center}

.panel.left header img{height:40px;width:auto;max-width:170px;object-fit:contain}.shop-menu{padding-top:15px}.shop-menu .search{padding:7px 12px}.menu-quick{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 18px}.menu-quick a{background:#163d65;color:#fff;border-radius:10px;padding:12px 6px;text-align:center;font-weight:650}.menu-quick a+a{background:#f9eaf0;color:#8e3153}.menu-group{border-bottom:1px solid #e2e8ed}.menu-group summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:14px 4px;font-weight:650;list-style:none}.menu-group summary::-webkit-details-marker{display:none}.menu-group summary:after{content:'+';color:#986078}.menu-group[open] summary:after{content:'−'}.menu-group>div{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:0 0 12px}.menu-group a{display:flex;align-items:center;min-height:42px;padding:8px 10px;background:#f4f7fa;border-radius:8px}.panel nav.menu-extra{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}

.header-actions{display:flex;align-items:center}

.footer-details, .footer-details .hotline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
}
.footer-details { margin: 14px 0; gap: 2px 18px; color: #485c6d; font-size: 15px; }
.footer-details .hotline { gap: 0 7px; color: #a32051; font-weight: 700; }
.hotline a { padding: 6px 0; color: inherit; font-variant-numeric: tabular-nums; }
.hotline a:hover, .hotline a:focus-visible { text-decoration: underline; }

.buy:disabled{opacity:.55;cursor:default}.pager{flex-wrap:wrap}.wish{border:1px solid #ddd;border-radius:8px;padding:6px}.banner img{height:auto;object-fit:contain}.hb-check-thumb{width:46px;height:46px;object-fit:contain;vertical-align:middle;margin-inline-end:8px}

/* Minimal additive header contacts; existing layout, products and banners preserved. */
.hb-header-links{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end;margin-right:10px}
.hb-header-links a{font:600 12px/1.2 system-ui,sans-serif;border:1px solid #e6d8e1;background:#fff8fb;color:#792749;border-radius:20px;padding:8px 10px;white-space:nowrap}
.hb-header-links a:hover,.hb-header-links a:focus-visible{background:#f9e8f0}
@media(max-width:760px){.top{height:auto;min-height:62px;flex-wrap:wrap;padding:7px 0}.hb-header-links{gap:4px;margin-right:4px}.hb-header-links a{font-size:10px;padding:6px}.hb-header-links a span{display:none}.header-actions{max-width:100%}.wordmark img{max-width:135px;height:42px}}
@media(max-width:420px){.hb-header-links{width:100%;justify-content:center;order:3;margin:5px 0 0}.header-actions{display:contents}.header-actions>button{margin-left:auto}.hb-header-links a span{display:inline}.top{justify-content:space-between}}

/* 1.8.3: additive motion and crisp category imagery; existing layout retained. */
.tiles a,.cat,.card,.tags a,.dock a,.dock button,.header-actions a,.banner,.buy,.primary{transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease,filter .28s ease,opacity .28s ease;will-change:transform}
.tiles a:hover,.cat:hover,.card:hover{transform:translateY(-5px);filter:saturate(1.07)}
.tiles a:active,.cat:active,.tags a:active,.dock a:active,.banner:active{transform:scale(.965)}
.tiles img{aspect-ratio:1/1;object-fit:cover;box-shadow:0 3px 12px #18345416}
.tiles a:hover img{box-shadow:0 12px 26px #1834542b}
.cat img{aspect-ratio:1/1;object-fit:contain;background:#fff;image-rendering:auto;box-shadow:0 2px 12px #132e4617}
.cat:hover img{box-shadow:0 8px 22px #132e462c}
.banner:hover{filter:brightness(1.035)}
#hero{transition:opacity .18s ease,transform .25s ease}
#hero.hb-hero-leave{opacity:.15;transform:translateY(5px)}
#hero.hb-hero-enter{animation:hbHeroIn .48s ease both}
#view.hb-view-enter{animation:hbViewIn .38s ease both}
@keyframes hbHeroIn{from{opacity:.2;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes hbViewIn{from{opacity:.4;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.tiles a,.cat,.card,.tags a,.dock a,.dock button,.header-actions a,.banner,.buy,.primary,#hero{transition:none!important;animation:none!important}#view.hb-view-enter,#hero.hb-hero-enter{animation:none!important}}

/* v1.8.4: additive winter campaign, section outlines, improved blog imagery */
.hb-seasonal-feature{margin:22px 0 26px;border:1px solid #b9d7f5;border-radius:18px;overflow:hidden;background:linear-gradient(120deg,#0c2c60,#226bb9 65%,#2e92ca);box-shadow:0 10px 26px #0a41731a;color:#fff}
.hb-seasonal-title{padding:22px 24px 12px;position:relative;background-image:radial-gradient(#ffffff50 1px,transparent 1px);background-size:26px 26px}
.hb-seasonal-title>span{font-size:11px;font-weight:800;letter-spacing:.18em;color:#d8edff}.hb-seasonal-title h2{font-size:clamp(23px,3vw,35px);margin:6px 0}.hb-seasonal-title p{margin:0;font-size:14px;color:#e6f3ff}
.hb-seasonal-links{padding:13px 20px 18px;display:flex;flex-wrap:wrap;gap:9px}.hb-seasonal-links a{background:#ffffffed;color:#143d75;padding:9px 15px;border-radius:999px;font-weight:750;font-size:13px;transition:transform .25s,box-shadow .25s}.hb-seasonal-links a:hover{transform:translateY(-3px);box-shadow:0 5px 16px #001b4960}
.section-head.hb-winter-heading{border:1px solid #c8dff3;border-left:5px solid #2178c2;background:linear-gradient(90deg,#eef7ff,#fff);padding:12px 16px;border-radius:12px;box-shadow:0 5px 15px #173b6510}.section-head.hb-winter-heading h2{margin:0}
.articles .box{overflow:hidden;transition:transform .25s,box-shadow .25s}.articles .box:hover{transform:translateY(-4px);box-shadow:0 12px 25px #1942671b}.articles img{display:block;width:100%;height:220px;object-fit:cover;border-radius:10px;background:#edf5fc;image-rendering:auto}
.hb-snow-layer{position:fixed;inset:0;z-index:9;pointer-events:none;overflow:hidden}.hb-snow-layer span{position:absolute;left:var(--x);top:-30px;font-size:var(--size);color:#d9efff;text-shadow:0 0 3px #3674b680;opacity:.7;animation:hbSnowFall var(--duration) linear var(--delay) infinite}@keyframes hbSnowFall{from{transform:translate3d(0,-30px,0) rotate(0deg)}to{transform:translate3d(42px,110vh,0) rotate(180deg)}}
@media(max-width:640px){.hb-seasonal-title{padding:18px 15px 10px}.hb-seasonal-links{padding:10px 12px 15px;gap:6px}.hb-seasonal-links a{font-size:11px;padding:8px 10px}.articles img{height:170px}.hb-snow-layer span:nth-child(2n){display:none}}
@media(prefers-reduced-motion:reduce){.hb-snow-layer{display:none}.hb-seasonal-links a,.articles .box{transition:none!important}}

/* v1.8.6: refined catalogue headers, genuine bestseller badges and HD editorial cards */
.hb-heading-186{background:linear-gradient(105deg,#fff3f7 0%,#f4efff 55%,#effafa 100%)!important;border:1px solid #e7d6ed!important;border-left:5px solid #b63e78!important;box-shadow:0 6px 22px #663c7a12!important;min-height:58px}
.hb-head-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.hb-head-icon{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:10px;color:#a72b68;background:#ffe0ed}.hb-section-count{font-size:12px;font-weight:700;color:#86476c;background:#fff;border:1px solid #f0cfe1;border-radius:30px;padding:4px 10px}.hb-heading-186 h2{font-size:clamp(17px,2.2vw,24px)}
.hb-best-badge{position:absolute;right:8px;top:9px;z-index:2;background:linear-gradient(105deg,#5d2b91,#b13e83);color:#fff;border-radius:30px;padding:3px 8px;font-size:10px;font-weight:800;box-shadow:0 3px 9px #4a275a26}.hb-price-ribbon{margin-top:8px;border-radius:9px;background:linear-gradient(100deg,#e7f3ff,#f6e9fa);color:#244d82;font-weight:750;font-size:11px;padding:5px 8px;text-align:center}
.articles .box{overflow:hidden;transition:transform .25s ease,box-shadow .25s ease;border:1px solid #e4dce9;box-shadow:0 6px 18px #384d6710}.articles .box:hover{transform:translateY(-5px);box-shadow:0 14px 28px #384d6720}.articles .box img{width:100%;height:210px;object-fit:cover;border-radius:12px}.articles .box h3{font-size:17px;line-height:1.55;margin:13px 0;color:#263e5d}
@media(max-width:760px){.hb-heading-186{padding:10px!important}.hb-head-title{gap:6px}.hb-head-icon{width:25px;height:25px}.hb-best-badge{font-size:9px;top:29px;right:5px}.articles .box img{height:150px}}
@media(prefers-reduced-motion:reduce){.articles .box{transition:none}.articles .box:hover{transform:none}}

/* v1.8.7: product ribbon and verified price difference */
.card .hb-corner-ribbon{position:absolute;right:-31px;top:19px;transform:rotate(45deg);width:126px;text-align:center;background:linear-gradient(100deg,#ff436d,#c8275b);color:#fff;font-size:10px;font-weight:800;padding:5px 0;z-index:3;box-shadow:0 3px 8px #8b21413d;pointer-events:none}
.card .hb-best-badge{top:9px;right:8px;left:auto;background:#6e3a91;z-index:4}
.card:has(.hb-corner-ribbon) .hb-best-badge{top:48px;right:5px;font-size:9px;padding:3px 5px}
.card .hb-price-ribbon{background:#e5f1ff;color:#18538b;border-radius:15px;padding:3px 7px;font-size:11px;font-weight:700;line-height:1.4;margin-top:5px}
@media(max-width:760px){.card .hb-corner-ribbon{right:-36px;top:17px;font-size:9px}.card:has(.hb-corner-ribbon) .hb-best-badge{top:43px}}

/* v1.8.8 responsive refinements: desktop remains unchanged */
@media(max-width:760px){
 .grid{gap:8px}.rail{grid-auto-columns:40%;gap:8px}
 .card{padding:7px;border-radius:11px}.card .pic{aspect-ratio:1.28;max-height:155px}
 .card .pic img{width:100%;height:100%;object-fit:contain}
 .card .brand{margin-top:5px;font-size:10px}.card .name{font-size:12px;line-height:1.35;margin:3px 0 6px}
 .card .price{font-size:15px}.card del{font-size:10px}.card .qty{margin:6px auto;min-width:82px}
 .card .buy{font-size:12px;min-height:36px;padding:7px 5px}
 .card .hb-winter-save{font-size:10px}
}
@media(max-width:390px){.rail{grid-auto-columns:44%}.card .pic{max-height:135px}}
.hb-info-hero{padding:24px;border-radius:17px;background:linear-gradient(115deg,#fff1f6,#eaf5ff);border:1px solid #e7dce8;margin-bottom:18px}
.hb-info-hero h2{margin:0 0 8px}.hb-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hb-info-grid .box{box-shadow:0 5px 18px #163e6210}.hb-info-grid a{color:#145e9b;font-weight:700}
@media(max-width:640px){.hb-info-grid{grid-template-columns:1fr}.hb-info-hero{padding:17px}}

/* v1.9.0 mobile compact 4-up product grid. Desktop unchanged. */
@media(max-width:760px){
  .grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
  .grid.rail{grid-auto-flow:unset;grid-auto-columns:auto;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible;scroll-snap-type:none;padding-bottom:0}
  .grid .card{min-width:0;padding:4px;border-radius:8px;box-shadow:none}
  .grid .card .pic{aspect-ratio:1/1;min-width:0}
  .grid .card .pic img{width:100%;height:100%;object-fit:contain}
  .grid .card .brand{font-size:8px;margin-top:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
  .grid .card .name{font-size:9px;line-height:1.25;margin:3px 0 5px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.5em;overflow-wrap:anywhere}
  .grid .card .price{font-size:11px}
  .grid .card del{font-size:8px;margin-left:2px}
  .grid .card .qty{min-width:0;width:100%;margin:5px 0;font-size:10px}
  .grid .card .qty button{padding:2px 4px;min-width:17px}
  .grid .card .buy{font-size:9px;line-height:1.2;min-height:28px;padding:5px 1px;border-radius:7px;overflow-wrap:anywhere}
  .grid .card .sale{font-size:8px;top:4px;left:3px;padding:1px 3px}
  .grid .card .hb-best-seller,.grid .card .hb-winter-badge{font-size:8px}
  .grid .card .hb-corner-ribbon{font-size:8px}
}
@media(max-width:350px){.grid{gap:3px}.grid .card{padding:3px}.grid .card .name{font-size:8px}.grid .card .buy{font-size:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
