/* V5.0 legacy routine hard-hide: prevents stale HTML from displaying old section */
#sets{display:none!important}

:root{--red:#d71920;--red-dark:#a80f16;--ink:#17171b;--muted:#6e7078;--line:#e7e7eb;--soft:#f5f6f8;--warm:#fff7f7;--white:#fff;--shadow:0 20px 60px rgba(20,20,30,.10);--radius:22px;--container:min(1180px,calc(100% - 40px))}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Roboto,Inter,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.55}body.no-scroll{overflow:hidden}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}.container{width:var(--container);margin:auto}.hidden{display:none!important}
.topbar{background:#16171b;color:#fff;font-size:13px}.topbar-inner{display:flex;justify-content:space-between;gap:20px;padding:8px 0;opacity:.92}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.93);backdrop-filter:blur(18px);border-bottom:1px solid rgba(0,0,0,.06)}.header-inner{height:76px;display:flex;align-items:center;gap:28px}.brand{display:inline-flex;align-items:center;gap:10px;color:inherit;text-decoration:none}.brand-mark{display:grid;place-content:center;width:50px;height:50px;background:var(--red);color:white;font-weight:900;line-height:.76;font-size:15px;letter-spacing:-.8px}.brand-name{font-size:31px;font-weight:900;line-height:.9;letter-spacing:-1px}.brand-name small{display:block;font-size:8px;letter-spacing:.7px;font-weight:700;margin-top:5px}.header-inner nav{display:flex;align-items:center;gap:23px;margin-left:auto}.header-inner nav a{text-decoration:none;color:#333;font-weight:700;font-size:14px}.header-inner nav a:hover{color:var(--red)}.cart-button{border:0;background:var(--red);color:#fff;border-radius:999px;padding:11px 15px 11px 18px;display:flex;align-items:center;gap:10px;font-weight:800;cursor:pointer}.cart-button b{display:grid;place-content:center;min-width:24px;height:24px;background:#fff;color:var(--red);border-radius:50%;font-size:12px}.menu-button{display:none;background:none;border:0;font-size:25px;cursor:pointer}
.hero{overflow:hidden;background:radial-gradient(circle at 75% 20%,#ffe4e5 0,transparent 34%),linear-gradient(135deg,#fff 0%,#fff8f8 58%,#f5f6f8 100%)}.hero-grid{display:grid;grid-template-columns:1.03fr .97fr;align-items:center;min-height:610px;gap:70px;padding:68px 0}.eyebrow{display:block;color:var(--red);font-weight:900;font-size:12px;letter-spacing:2px;margin-bottom:13px}.eyebrow.light{color:#ffd7d9}.hero h1{font-size:58px;line-height:1.03;letter-spacing:-2.8px;margin:0 0 23px;max-width:650px}.hero h1 em{font-style:normal;color:var(--red)}.hero-copy>p{font-size:18px;color:#555861;max-width:600px}.hero-actions{display:flex;gap:12px;margin:31px 0}.button{border:1px solid transparent;border-radius:999px;padding:13px 22px;font-weight:850;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;cursor:pointer;transition:.2s}.button.primary{background:var(--red);color:#fff;box-shadow:0 10px 24px rgba(215,25,32,.22)}.button.primary:hover{background:var(--red-dark);transform:translateY(-1px)}.button.secondary{background:#fff;color:var(--ink);border-color:#d9d9de}.button.secondary:hover{border-color:var(--red);color:var(--red)}.button.white{background:#fff;color:var(--red)}.button.full{width:100%}.hero-notes{display:flex;flex-wrap:wrap;gap:10px 20px;color:#555861;font-size:13px;font-weight:700}.hero-visual{position:relative;min-height:470px;display:grid;place-items:center}.hero-visual:before{content:"";position:absolute;width:430px;height:430px;background:#fff;border-radius:50%;box-shadow:0 40px 90px rgba(50,0,5,.11)}.hero-visual img{position:relative;z-index:2;width:94%;max-height:420px;object-fit:contain;filter:drop-shadow(0 30px 26px rgba(60,10,14,.16))}.orb{position:absolute;border-radius:50%;filter:blur(1px)}.orb-1{width:78px;height:78px;background:#ffb9bd;top:45px;right:10px}.orb-2{width:44px;height:44px;background:#d71920;bottom:48px;left:20px}.floating-card{position:absolute;z-index:3;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.7);border-radius:18px;padding:13px 17px}.floating-card b{display:block;font-size:22px;color:var(--red)}.floating-card span{font-size:12px;color:var(--muted)}.fc-one{left:-5px;top:105px}.fc-two{right:-15px;bottom:72px}
.trust-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.trust-grid{display:grid;grid-template-columns:repeat(4,1fr)}.trust-grid>div{padding:25px;border-right:1px solid var(--line)}.trust-grid>div:first-child{padding-left:0}.trust-grid>div:last-child{border:0}.trust-grid b,.trust-grid span{display:block}.trust-grid b{font-size:15px}.trust-grid span{font-size:12px;color:var(--muted);margin-top:4px}
.section{padding:95px 0}.section.soft{background:var(--soft)}.section-heading{max-width:720px;margin-bottom:36px}.section-heading.split{max-width:none;display:flex;justify-content:space-between;align-items:end}.section-heading.centered{text-align:center;margin-left:auto;margin-right:auto}.section h2{font-size:40px;line-height:1.12;letter-spacing:-1.6px;margin:0 0 12px}.section-heading p{color:var(--muted);margin:0}.result-counter{width:112px;height:112px;border-radius:50%;border:1px solid #ffd4d6;background:var(--warm);display:grid;place-content:center;text-align:center}.result-counter b{font-size:28px;color:var(--red);line-height:1}.result-counter span{font-size:12px;color:var(--muted);margin-top:5px}
.catalog-toolbar{display:grid;grid-template-columns:2fr repeat(3,1fr) 1fr auto;gap:10px;margin-bottom:16px}.search-box{border:1px solid var(--line);border-radius:14px;padding:0 14px;display:flex;align-items:center;background:#fff}.search-box span{font-size:24px;color:var(--red)}.search-box input{border:0;outline:0;width:100%;padding:13px 10px;background:transparent}.catalog-toolbar select{border:1px solid var(--line);border-radius:14px;padding:12px;background:#fff;color:#333;min-width:0}.clear-filters{border:0;background:none;color:var(--red);font-weight:800;cursor:pointer;white-space:nowrap}.quick-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:30px}.quick-chips button{border:1px solid #f2c8ca;background:#fff;color:#b9141a;border-radius:999px;padding:8px 13px;font-weight:700;font-size:13px;cursor:pointer}.quick-chips button.active,.quick-chips button:hover{background:var(--red);color:#fff;border-color:var(--red)}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.product-card{position:relative;border:1px solid var(--line);border-radius:20px;background:#fff;overflow:hidden;transition:.22s;display:flex;flex-direction:column;min-width:0}.product-card:hover{transform:translateY(-5px);box-shadow:0 18px 42px rgba(25,25,35,.10);border-color:#efc8ca}.product-image{height:245px;position:relative;display:grid;place-items:center;background:linear-gradient(145deg,#f8f8fa,#fff)}.product-image img{width:82%;height:82%;object-fit:contain;transition:.25s}.product-card:hover .product-image img{transform:scale(1.04)}.product-placeholder{width:78%;height:78%;border-radius:24px;display:grid;place-content:center;text-align:center;padding:18px;background:linear-gradient(135deg,#fff,#f0f1f4);border:1px solid #ececf0;color:#444}.product-placeholder strong{font-size:20px;color:var(--red);letter-spacing:-.5px}.product-placeholder small{font-size:10px;letter-spacing:1.2px;margin-top:6px}.product-badge{position:absolute;left:13px;top:13px;background:#fff;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:900;color:var(--red);box-shadow:0 5px 14px rgba(0,0,0,.08)}.product-body{padding:18px;display:flex;flex-direction:column;flex:1}.product-meta{display:flex;gap:7px;align-items:center;color:var(--muted);font-size:11px;margin-bottom:8px;white-space:nowrap;overflow:hidden}.product-meta span{overflow:hidden;text-overflow:ellipsis}.product-body h3{font-size:16px;line-height:1.32;margin:0 0 8px;min-height:42px}.product-summary{font-size:12px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px}.price-row{display:flex;justify-content:space-between;align-items:end;margin-top:auto;padding-top:16px}.price-row b{font-size:19px;color:var(--red)}.price-row small{display:block;color:var(--muted);font-size:10px}.card-actions{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:14px}.card-actions button{border-radius:12px;padding:10px;border:1px solid var(--line);font-weight:800;cursor:pointer}.view-button{background:#fff;color:#333}.add-button{background:var(--red);color:#fff;border-color:var(--red)!important;min-width:48px;font-size:18px}.load-more-wrap{text-align:center;margin-top:36px}.empty-state{text-align:center;padding:60px 20px;border:1px dashed #d6d6dc;border-radius:22px}.empty-state b{font-size:22px}.empty-state p{color:var(--muted)}
.finder-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:60px;align-items:stretch}.finder-copy{padding:25px 0}.finder-copy h2{font-size:40px}.finder-copy>p{color:var(--muted)}.concern-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:28px 0}.concern-options label{display:block;cursor:pointer}.concern-options input{position:absolute;opacity:0}.concern-options span{display:block;border:1px solid #dcdde2;border-radius:14px;padding:13px;background:#fff;font-weight:750;font-size:14px}.concern-options input:checked+span{background:#fff0f1;border-color:var(--red);color:var(--red);box-shadow:inset 0 0 0 1px var(--red)}.finder-result{background:#fff;border-radius:28px;box-shadow:var(--shadow);min-height:420px;padding:28px}.finder-placeholder{height:100%;display:grid;place-content:center;text-align:center;color:var(--muted)}.finder-placeholder span{font-size:42px;color:var(--red)}.finder-placeholder b{font-size:20px;color:var(--ink)}.recommend-list{display:grid;gap:12px}.recommend-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.recommend-header h3{margin:0;font-size:23px}.recommend-header span{font-size:12px;color:var(--muted)}.recommend-item{display:grid;grid-template-columns:70px 1fr auto;gap:13px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:16px}.recommend-item .mini-image{width:70px;height:70px;background:var(--soft);border-radius:12px;display:grid;place-content:center;overflow:hidden}.recommend-item img{width:88%;height:88%;object-fit:contain}.recommend-item b{display:block;font-size:13px}.recommend-item small{color:var(--muted);font-size:11px}.recommend-item button{border:0;background:var(--red);color:#fff;width:35px;height:35px;border-radius:50%;cursor:pointer;font-weight:900}
.policy-section{background:linear-gradient(180deg,#fff8f8,#fff)}.discount-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;align-items:stretch}.discount-grid>div{position:relative;border:1px solid #efd4d5;background:#fff;border-radius:18px;padding:22px;text-align:center}.discount-grid b,.discount-grid strong{display:block}.discount-grid b{font-size:13px;color:#555}.discount-grid strong{font-size:34px;color:var(--red);margin-top:5px}.discount-grid .popular{border:2px solid var(--red);transform:scale(1.03);box-shadow:0 15px 35px rgba(215,25,32,.12)}.discount-grid .popular span{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:var(--red);color:#fff;border-radius:999px;padding:5px 12px;font-size:9px;font-weight:900;letter-spacing:1px}.policy-note{margin:34px auto 0;max-width:880px;background:#fff;border:1px solid var(--line);border-radius:17px;padding:18px 22px;display:flex;gap:18px}.policy-note b{color:var(--red)}.policy-note p{margin:0;color:var(--muted);font-size:13px}
.contact-section{background:var(--red);color:#fff;padding:75px 0}.contact-grid{display:grid;grid-template-columns:1.3fr .85fr .85fr;gap:22px;align-items:stretch}.contact-grid h2{font-size:40px;line-height:1.1;margin:0 0 12px}.contact-grid>div:first-child p{color:#ffd9da;max-width:540px}.contact-card{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.25);border-radius:20px;padding:23px;display:flex;flex-direction:column;align-items:flex-start}.contact-card>span{font-size:10px;letter-spacing:1.5px;font-weight:900;color:#ffd5d7}.contact-card>b{font-size:25px;margin:6px 0 16px}.address-card p{margin:0;color:#ffe3e4}.address-card small{margin-top:auto;color:#ffd4d6}footer{padding:35px 0;background:#16171b;color:#fff}.footer-grid{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:35px}.footer-brand .brand-name{font-size:24px}.footer-brand .brand-mark{width:43px;height:43px}.footer-grid p{color:#aeb0b7;font-size:12px}.footer-grid>a{color:#fff;font-weight:800;text-decoration:none}
.zalo-float{position:fixed;z-index:40;right:22px;bottom:22px;display:flex;align-items:center;gap:9px;background:#0876e8;color:#fff;text-decoration:none;border-radius:999px;padding:9px 14px 9px 9px;box-shadow:0 12px 30px rgba(8,118,232,.3)}.zalo-float span{display:grid;place-content:center;width:35px;height:35px;background:#fff;color:#0876e8;border-radius:50%;font-weight:900;font-size:20px}.zalo-float b{font-size:13px}
.drawer-overlay{position:fixed;inset:0;background:rgba(10,10,15,.44);z-index:79;opacity:0;pointer-events:none;transition:.25s}.drawer-overlay.open{opacity:1;pointer-events:auto}.cart-drawer{position:fixed;right:0;top:0;height:100%;width:min(480px,100%);background:#fff;z-index:80;transform:translateX(102%);transition:.28s;display:flex;flex-direction:column;box-shadow:-30px 0 80px rgba(0,0,0,.16)}.cart-drawer.open{transform:none}.drawer-header{display:flex;justify-content:space-between;align-items:start;padding:22px;border-bottom:1px solid var(--line)}.drawer-header span{font-size:10px;color:var(--red);font-weight:900;letter-spacing:1.3px}.drawer-header h2{margin:2px 0;font-size:25px}.drawer-header button,.modal-close{border:0;background:#f1f1f4;border-radius:50%;width:38px;height:38px;font-size:25px;cursor:pointer}.cart-items{padding:15px 20px;overflow:auto;flex:1}.cart-item{display:grid;grid-template-columns:70px 1fr auto;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.cart-thumb{width:70px;height:70px;background:var(--soft);border-radius:12px;display:grid;place-content:center;overflow:hidden}.cart-thumb img{width:88%;height:88%;object-fit:contain}.cart-item-info b{font-size:13px;display:block;line-height:1.3}.cart-item-info>span{color:var(--red);font-weight:900;font-size:13px}.quantity-control{display:flex;align-items:center;gap:8px;margin-top:7px}.quantity-control button{width:28px;height:28px;border:1px solid var(--line);background:#fff;border-radius:8px;cursor:pointer}.quantity-control input{width:42px;text-align:center;border:1px solid var(--line);border-radius:8px;height:28px}.remove-item{border:0;background:none;color:#aaa;cursor:pointer;font-size:18px}.cart-summary{padding:18px 22px;border-top:1px solid var(--line);background:#fff}.cart-summary>div:not(.tier-progress):not(.shipping-status){display:flex;justify-content:space-between;margin:7px 0;font-size:13px}.cart-summary .grand-total{font-size:18px!important;padding-top:9px;border-top:1px solid var(--line)}.cart-summary .grand-total b{color:var(--red);font-size:22px}.tier-progress{font-size:12px;color:var(--muted);margin:12px 0}.progress-track{height:7px;background:#eee;border-radius:999px;margin-top:7px;overflow:hidden}.progress-track i{display:block;height:100%;background:var(--red);width:0;transition:.25s}.shipping-status{font-size:12px;padding:10px 12px;border-radius:12px;background:#f3f7f3;color:#2e6c36;margin:10px 0}.shipping-status.pending{background:#fff7e8;color:#855c16}.cart-summary>small{display:block;text-align:center;color:var(--muted);font-size:10px;margin-top:9px}.cart-empty{flex:1;display:grid;place-content:center;text-align:center;padding:30px}.cart-empty span{font-size:44px}.cart-empty b{font-size:20px}.cart-empty p{color:var(--muted)}
.modal{position:fixed;inset:0;z-index:100;display:none;place-items:center;padding:20px}.modal.open{display:grid}.modal-backdrop{position:absolute;inset:0;background:rgba(10,10,15,.55);backdrop-filter:blur(4px)}.modal-dialog{position:relative;z-index:1;width:min(880px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:26px;padding:30px;box-shadow:var(--shadow)}.modal-close{position:absolute;right:16px;top:16px;z-index:2}.product-modal-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:36px}.modal-product-image{min-height:410px;background:var(--soft);border-radius:22px;display:grid;place-content:center}.modal-product-image img{width:90%;height:370px;object-fit:contain}.modal-product-copy{padding:20px 10px}.modal-product-copy h2{font-size:33px;line-height:1.1;margin:8px 0}.modal-meta{color:var(--muted);font-size:12px}.modal-price{font-size:28px;color:var(--red);font-weight:900;margin:18px 0}.modal-summary{color:#555}.detail-block{border-top:1px solid var(--line);padding-top:16px;margin-top:16px}.detail-block h4{margin:0 0 7px}.ingredient-tags{display:flex;flex-wrap:wrap;gap:7px}.ingredient-tags span{background:#fff1f2;color:#a91218;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:700}.modal-actions{display:flex;gap:10px;margin-top:22px}.checkout-dialog{width:min(760px,100%)}.checkout-dialog h2{font-size:32px;margin:0 0 20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-grid label{font-size:12px;font-weight:800;color:#444}.form-grid input,.form-grid select,.form-grid textarea{width:100%;margin-top:5px;border:1px solid #dcdde2;border-radius:12px;padding:11px 12px;outline:none}.form-grid input:focus,.form-grid textarea:focus,.form-grid select:focus{border-color:var(--red);box-shadow:0 0 0 3px #fff0f1}.full-field{grid-column:1/-1}.checkout-preview{background:var(--soft);border-radius:15px;padding:14px;margin-top:18px;font-size:12px;white-space:pre-wrap;max-height:220px;overflow:auto}.checkout-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.form-status{font-size:12px;text-align:right;color:#26783b}.toast{position:fixed;left:50%;bottom:25px;z-index:200;transform:translate(-50%,30px);background:#16171b;color:#fff;border-radius:999px;padding:11px 18px;font-size:13px;opacity:0;pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1050px){.catalog-toolbar{grid-template-columns:2fr repeat(2,1fr)}.catalog-toolbar>*:nth-child(n+4){grid-row:2}.product-grid{grid-template-columns:repeat(3,1fr)}.hero-grid{gap:25px}.hero h1{font-size:49px}.contact-grid{grid-template-columns:1fr 1fr}.contact-grid>div:first-child{grid-column:1/-1}.discount-grid{grid-template-columns:repeat(3,1fr)}.header-inner nav{gap:13px}.header-inner nav a{font-size:12px}}
@media(max-width:780px){:root{--container:min(100% - 28px,1180px)}.topbar-inner{display:block;text-align:center;font-size:11px}.topbar-inner span{display:block}.header-inner{height:67px;gap:12px}.brand-mark{width:40px;height:40px;font-size:12px}.brand-name{font-size:23px}.menu-button{display:block;margin-left:auto}.header-inner nav{position:absolute;top:67px;left:0;right:0;background:#fff;padding:15px 20px;display:none;flex-direction:column;align-items:stretch;border-bottom:1px solid var(--line);box-shadow:0 16px 30px rgba(0,0,0,.08)}.header-inner nav.open{display:flex}.header-inner nav a{padding:9px 4px;font-size:14px}.cart-button span{display:none}.cart-button{padding:8px}.hero-grid{grid-template-columns:1fr;padding:55px 0;min-height:auto}.hero h1{font-size:43px}.hero-visual{min-height:360px}.hero-visual:before{width:330px;height:330px}.hero-visual img{max-height:310px}.fc-one{left:0;top:50px}.fc-two{right:0;bottom:35px}.trust-grid{grid-template-columns:1fr 1fr}.trust-grid>div{border-bottom:1px solid var(--line);padding:18px}.trust-grid>div:nth-child(2){border-right:0}.section{padding:70px 0}.section h2,.finder-copy h2,.contact-grid h2{font-size:33px}.section-heading.split{align-items:start}.result-counter{width:80px;height:80px}.catalog-toolbar{grid-template-columns:1fr 1fr}.search-box{grid-column:1/-1}.catalog-toolbar>*:nth-child(n){grid-row:auto}.clear-filters{grid-column:1/-1}.product-grid{grid-template-columns:repeat(2,1fr);gap:12px}.product-image{height:205px}.product-body{padding:14px}.finder-grid{grid-template-columns:1fr}.finder-result{min-height:350px}.discount-grid{grid-template-columns:1fr 1fr}.discount-grid .popular{transform:none}.contact-grid{grid-template-columns:1fr}.contact-grid>div:first-child{grid-column:auto}.footer-grid{grid-template-columns:1fr;text-align:center}.footer-brand{justify-content:center}.product-modal-grid{grid-template-columns:1fr}.modal-product-image{min-height:280px}.modal-product-image img{height:250px}.form-grid{grid-template-columns:1fr}.full-field{grid-column:auto}.zalo-float b{display:none}.zalo-float{padding:8px}.modal-dialog{padding:23px}}
@media(max-width:480px){.hero h1{font-size:36px}.hero-copy>p{font-size:16px}.hero-actions{flex-direction:column}.hero-actions .button{width:100%}.hero-visual{min-height:315px}.hero-visual:before{width:285px;height:285px}.floating-card{padding:9px 12px}.floating-card b{font-size:18px}.trust-grid{grid-template-columns:1fr}.trust-grid>div{border-right:0}.catalog-toolbar{grid-template-columns:1fr}.search-box{grid-column:auto}.quick-chips{flex-wrap:nowrap;overflow:auto;padding-bottom:5px}.quick-chips button{white-space:nowrap}.product-grid{grid-template-columns:1fr 1fr}.product-image{height:170px}.product-body h3{font-size:14px}.product-summary{display:none}.price-row b{font-size:15px}.card-actions{grid-template-columns:1fr auto}.concern-options{grid-template-columns:1fr}.discount-grid{grid-template-columns:1fr}.section-heading.split{display:block}.result-counter{margin-top:20px}.recommend-item{grid-template-columns:55px 1fr auto}.recommend-item .mini-image{width:55px;height:55px}.checkout-actions{flex-direction:column}.checkout-actions .button{width:100%}}


/* ===== V2: ảnh sản phẩm ổn định + khu liệu trình PDF ===== */
.product-image{
  overflow:hidden;
  padding:20px;
  isolation:isolate;
}
.product-image img{
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center;
  transform:none;
}
.product-card:hover .product-image img{transform:scale(1.025)}
.product-image .product-placeholder{max-width:100%;max-height:100%}

.spa-protocol-section{background:linear-gradient(180deg,#f7f8fa 0%,#fff 100%)}
.spa-heading{align-items:center}
.pdf-badge{width:112px;height:112px;border-radius:24px;background:var(--red);color:#fff;display:grid;place-content:center;text-align:center;box-shadow:0 18px 36px rgba(215,25,32,.2)}
.pdf-badge b{font-size:28px;line-height:1}.pdf-badge span{font-size:10px;margin-top:6px;opacity:.85}
.spa-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 250px;gap:12px;margin-bottom:28px}
.spa-toolbar select{border:1px solid var(--line);border-radius:14px;padding:12px;background:#fff;color:#333}
.spa-protocol-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.spa-protocol-card{border:1px solid var(--line);background:#fff;border-radius:20px;padding:20px;display:flex;flex-direction:column;min-height:258px;transition:.22s;position:relative;overflow:hidden}
.spa-protocol-card:before{content:"";position:absolute;width:120px;height:120px;border-radius:50%;background:#fff0f1;right:-45px;top:-45px}
.spa-protocol-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(25,25,35,.09);border-color:#efc8ca}
.pdf-icon{width:54px;height:62px;border-radius:10px;background:var(--red);color:#fff;display:grid;place-content:center;font-size:13px;font-weight:900;letter-spacing:.7px;box-shadow:0 8px 18px rgba(215,25,32,.2);position:relative}
.pdf-icon:after{content:"";position:absolute;right:0;top:0;border-left:12px solid transparent;border-bottom:12px solid rgba(255,255,255,.8)}
.spa-protocol-card .protocol-category{display:inline-block;margin:17px 0 7px;color:var(--red);font-size:10px;font-weight:900;letter-spacing:1.2px;text-transform:uppercase}
.spa-protocol-card h3{font-size:19px;line-height:1.3;margin:0 0 8px}
.spa-protocol-card p{font-size:12px;color:var(--muted);margin:0 0 18px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.protocol-meta{font-size:10px;color:#999;margin-top:auto;margin-bottom:13px}
.protocol-actions{display:grid;grid-template-columns:1fr auto;gap:8px}
.protocol-actions a{border-radius:12px;padding:10px 13px;text-decoration:none;text-align:center;font-weight:850;font-size:13px}
.protocol-open{background:var(--red);color:#fff}
.protocol-download{border:1px solid var(--line);color:var(--ink);background:#fff}
.spa-public-note{margin-top:24px;padding:16px 18px;border-radius:16px;background:#fff7e8;border:1px solid #f2dfb5}
.spa-public-note b{font-size:13px}.spa-public-note p{margin:3px 0 0;color:#765a25;font-size:12px}

@media(max-width:1050px){.spa-protocol-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:780px){.spa-toolbar{grid-template-columns:1fr}.spa-heading{display:block}.pdf-badge{width:auto;height:auto;display:inline-flex;gap:7px;align-items:center;padding:10px 14px;margin-top:18px;border-radius:999px}.pdf-badge b{font-size:18px}.pdf-badge span{margin:0}.product-image{padding:16px}}
@media(max-width:560px){.spa-protocol-grid{grid-template-columns:1fr}.product-image{padding:12px}.product-card:hover .product-image img{transform:none}}

/* V4: logo thương hiệu gốc */
.brand-logo{display:block;width:255px;max-width:32vw;height:auto;object-fit:contain}
.footer-brand .brand-logo{width:220px;max-width:100%}
@media(max-width:780px){.brand-logo{width:185px;max-width:48vw}.footer-brand .brand-logo{width:210px}}
@media(max-width:480px){.brand-logo{width:155px;max-width:52vw}}

/* V4.3: liên kết ngoài cho liệu trình Spa và chính sách bán hàng */
.protocol-actions.external{grid-template-columns:1fr}
.protocol-actions.external .protocol-open{display:block}
.policy-external-button{margin-top:14px;width:max-content;max-width:100%}
.header-inner nav a[target="_blank"]:after{content:"↗";font-size:9px;margin-left:4px;opacity:.55}


/* V4.4: hiển thị trọn ảnh sản phẩm, không crop */
.product-image{
  height:270px;
  padding:0;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(145deg,#fafafd,#fff);
}
.product-image img{
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  object-fit:contain;
  object-position:center;
  padding:28px;
  box-sizing:border-box;
  transform:none;
}
.product-card:hover .product-image img{transform:scale(1.012)}
@media(max-width:780px){
  .product-image{height:225px;padding:0}
  .product-image img{padding:20px}
}
@media(max-width:480px){
  .product-image{height:190px;padding:0}
  .product-image img{padding:14px}
  .product-card:hover .product-image img{transform:none}
}

/* V5.1 - Link video hướng dẫn trong chi tiết sản phẩm */
.instruction-video-link{display:inline-flex;align-items:center;gap:7px;margin-top:10px;padding:10px 14px;border:1px solid #ffd0d3;border-radius:999px;background:#fff6f6;color:#d71920;font-weight:850;text-decoration:none;transition:.18s ease}
.instruction-video-link:hover{background:#d71920;color:#fff;border-color:#d71920;transform:translateY(-1px)}


/* V5.2 - Công bố sản phẩm + nhãn Giỏ hàng trên mobile */
.declaration-link{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:8px;
  padding:10px 14px;
  border:1px solid #d9dadd;
  border-radius:999px;
  background:#fff;
  color:#17171b;
  font-weight:850;
  text-decoration:none;
  transition:.18s ease;
}
.declaration-link:hover{
  border-color:#d71920;
  color:#d71920;
  transform:translateY(-1px);
}
.cart-label-mobile{display:none}

@media(max-width:780px){
  .cart-button{
    padding:7px 8px 7px 12px;
    gap:7px;
    min-width:auto;
  }
  .cart-button span.cart-label-desktop{display:none}
  .cart-button span.cart-label-mobile{
    display:inline;
    font-size:11px;
    line-height:1;
    white-space:nowrap;
    font-weight:900;
  }
  .cart-button b{
    min-width:25px;
    width:25px;
    height:25px;
    font-size:11px;
  }
}

@media(max-width:390px){
  .cart-button{
    padding:7px 7px 7px 9px;
    gap:5px;
  }
  .cart-button span.cart-label-mobile{font-size:10px}
}


/* V5.3 - Thành phần dạng đoạn văn + ẩn/hiện */
.ingredients-detail{
  position:relative;
}
.ingredients-copy-wrap{
  position:relative;
}
.ingredients-copy{
  margin:0;
  color:#393a3f;
  font-size:13px;
  line-height:1.75;
  font-weight:500;
  word-break:break-word;
}
.ingredients-copy-wrap.is-collapsed .ingredients-copy{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:5;
  overflow:hidden;
}
.ingredients-copy-wrap.is-collapsed::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:28px;
  pointer-events:none;
  background:linear-gradient(to bottom,rgba(255,255,255,0),#fff);
}
.ingredients-copy-wrap.is-expanded .ingredients-copy{
  display:block;
  overflow:visible;
}
.ingredients-copy-wrap.is-expanded::after{
  display:none;
}
.ingredients-toggle{
  margin-top:9px;
  border:0;
  padding:0;
  background:transparent;
  color:var(--red);
  font:inherit;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
}
.ingredients-toggle:hover{
  text-decoration:underline;
}
@media(max-width:780px){
  .ingredients-copy{
    font-size:12px;
    line-height:1.7;
  }
  .ingredients-copy-wrap.is-collapsed .ingredients-copy{
    -webkit-line-clamp:4;
  }
}


/* V5.5 - Chính sách chiết khấu chuyển lên trước danh mục và compact hơn */
.policy-section{
  padding:44px 0 42px;
  background:linear-gradient(180deg,#fff8f8 0%,#fff 100%);
  border-bottom:1px solid var(--line);
}
.policy-section .section-heading{
  margin-bottom:22px;
  max-width:660px;
}
.policy-section .section-heading .eyebrow{
  font-size:10px;
}
.policy-section .section-heading h2{
  font-size:30px;
  line-height:1.12;
  letter-spacing:-1px;
  margin-bottom:8px;
}
.policy-section .section-heading p{
  font-size:13px;
  line-height:1.55;
}
.policy-section .discount-grid{
  gap:10px;
}
.policy-section .discount-grid>div{
  min-height:96px;
  padding:16px 12px;
  border-radius:15px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.policy-section .discount-grid b{
  font-size:11px;
  line-height:1.35;
}
.policy-section .discount-grid strong{
  font-size:28px;
  line-height:1;
  margin-top:7px;
}
.policy-section .discount-grid .popular span{
  top:-10px;
  padding:4px 9px;
  font-size:8px;
}
.policy-section .policy-note{
  margin-top:20px;
  max-width:900px;
  padding:14px 16px;
  align-items:center;
}
.policy-section .policy-note p{
  font-size:11.5px;
  line-height:1.5;
  flex:1;
}
.policy-section .policy-note .policy-external-button{
  flex:none;
  padding:10px 14px;
  font-size:11px;
  min-height:auto;
}

@media(max-width:780px){
  .policy-section{
    padding:30px 0 28px;
  }
  .policy-section .section-heading{
    margin-bottom:16px;
    text-align:left;
  }
  .policy-section .section-heading h2{
    font-size:24px;
    letter-spacing:-.6px;
  }
  .policy-section .section-heading p{
    font-size:11.5px;
  }
  .policy-section .discount-grid{
    display:flex;
    gap:9px;
    overflow-x:auto;
    scroll-snap-type:x proximity;
    padding:7px 2px 8px;
    scrollbar-width:thin;
  }
  .policy-section .discount-grid>div{
    flex:0 0 128px;
    min-height:82px;
    padding:13px 9px;
    scroll-snap-align:start;
  }
  .policy-section .discount-grid b{
    font-size:10px;
  }
  .policy-section .discount-grid strong{
    font-size:24px;
    margin-top:5px;
  }
  .policy-section .discount-grid .popular{
    transform:none;
    box-shadow:0 8px 22px rgba(215,25,32,.10);
  }
  .policy-section .discount-grid .popular span{
    top:-8px;
    font-size:7px;
    padding:3px 7px;
  }
  .policy-section .policy-note{
    margin-top:14px;
    display:grid;
    grid-template-columns:auto 1fr;
    gap:5px 10px;
    padding:12px 13px;
  }
  .policy-section .policy-note b{
    font-size:11px;
  }
  .policy-section .policy-note p{
    font-size:10.5px;
  }
  .policy-section .policy-note .policy-external-button{
    grid-column:1/-1;
    justify-self:start;
    margin-top:5px;
    padding:8px 11px;
    font-size:10px;
  }
}

@media(max-width:480px){
  .policy-section{
    padding:25px 0 23px;
  }
  .policy-section .section-heading h2{
    font-size:21px;
  }
  .policy-section .discount-grid>div{
    flex-basis:116px;
    min-height:76px;
  }
  .policy-section .discount-grid strong{
    font-size:22px;
  }
}


/* V5.6 - Hero tối giản + Zalo topbar + nhãn mẹ bầu */
.topbar-zalo{color:#fff;text-decoration:none;font-weight:850}
.topbar-zalo:hover{text-decoration:underline}
.hero-grid{grid-template-columns:1fr!important}
.hero-copy{max-width:860px}
.hero-visual,.hero-notes,.trust-strip{display:none!important}
.pregnancy-badge-card{display:inline-flex;align-items:center;margin-top:8px;padding:6px 9px;border-radius:999px;background:#fff4f4;border:1px solid #f3cfd2;color:#b2151b;font-size:10px;font-weight:900;line-height:1.15}
.pregnancy-detail{margin:12px 0 6px;padding:11px 13px;border:1px solid #f0d7d9;background:#fff8f8;border-radius:12px}
.pregnancy-detail b{display:block;color:#b2151b;font-size:12px;margin-bottom:4px}
.pregnancy-detail span{display:block;color:#5d5f66;font-size:10.5px;line-height:1.45}

@media(max-width:780px){
  .topbar-inner{display:grid!important;grid-template-columns:1fr;justify-items:center;gap:2px;padding-top:7px;padding-bottom:7px;text-align:center}
  .topbar-inner span,.topbar-zalo{font-size:9.5px;line-height:1.35}
  .hero{padding-top:38px!important;padding-bottom:34px!important}
  .hero-copy{max-width:none}
  .hero-copy h1{font-size:42px!important;line-height:1.02!important}
}
@media(max-width:480px){.hero-copy h1{font-size:36px!important}}


/* V5.7 - Cost/dung tích mỗi lần chỉ hiện khi Admin có nhập */
.pregnancy-badge-card{
  display:none !important;
}
.per-use-card{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
  margin-top:8px;
}
.per-use-card>div{
  min-width:0;
  padding:7px 8px;
  border:1px solid #ececef;
  border-radius:9px;
  background:#f8f8f9;
}
.per-use-card small{
  display:block;
  color:#74767d;
  font-size:8px;
  line-height:1.2;
  margin-bottom:3px;
}
.per-use-card b{
  display:block;
  color:#17171b;
  font-size:10px;
  line-height:1.2;
  overflow-wrap:anywhere;
}
.per-use-detail{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin:12px 0 6px;
}
.per-use-detail>div{
  padding:10px 12px;
  border:1px solid #ececef;
  border-radius:11px;
  background:#f8f8f9;
}
.per-use-detail span{
  display:block;
  color:#74767d;
  font-size:10px;
  line-height:1.25;
  margin-bottom:3px;
}
.per-use-detail b{
  display:block;
  color:#17171b;
  font-size:12px;
}
@media(max-width:560px){
  .per-use-card,
  .per-use-detail{
    grid-template-columns:1fr;
  }
}


/* V5.9 - Thu gọn khoảng trắng ở phần hero sau khi bỏ hình minh họa */
.hero{
  min-height:0 !important;
  height:auto !important;
  padding-top:54px !important;
  padding-bottom:42px !important;
}
.hero .container,
.hero .hero-grid{
  min-height:0 !important;
  height:auto !important;
}
.hero-grid{
  align-items:start !important;
}
.hero-copy{
  padding-bottom:0 !important;
  margin-bottom:0 !important;
}
.hero-actions{
  margin-bottom:0 !important;
}
.hero + .policy-section{
  margin-top:0 !important;
}

@media(max-width:780px){
  .hero{
    padding-top:34px !important;
    padding-bottom:28px !important;
  }
  .hero-copy h1{
    margin-bottom:16px !important;
  }
  .hero-copy p{
    margin-bottom:20px !important;
  }
  .hero-actions{
    margin-top:0 !important;
  }
}

@media(max-width:480px){
  .hero{
    padding-top:28px !important;
    padding-bottom:24px !important;
  }
}


/* V6.0 - Bỏ mục tình trạng da và đổi tiêu đề đầu trang */
.hero-copy h1{max-width:920px}
.hero-copy p{max-width:760px}
.hero-actions{margin-top:18px!important}
@media(max-width:780px){
  .hero-copy h1{font-size:38px!important;line-height:1.04!important}
}
@media(max-width:480px){
  .hero-copy h1{font-size:32px!important}
}


/* V6.2 - Giá cost trong giỏ hàng */
.cart-item-cost{
  display:block;
  margin-top:3px;
  color:#66686f;
  font-size:10px;
  line-height:1.3;
}
.cart-item-cost b{
  color:#d71920;
  font-size:10px;
}
.cart-item-cost em{
  color:#8b8d93;
  font-style:normal;
  font-size:9px;
}
.cart-cost-total{
  padding-top:5px;
  margin-top:3px;
  border-top:1px dashed #e5e5e8;
}
.cart-cost-total span{color:#55575e}
.cart-cost-total b{color:#17171b}
.cart-cost-total.after b{color:#d71920}
.cart-cost-warning{
  display:block;
  margin:4px 0 2px;
  color:#8a6a32;
  font-size:9px;
  line-height:1.35;
}
.cart-cost-warning.hidden,
.cart-cost-total.hidden{
  display:none!important;
}


/* V6.3 - Thêm Số lần sử dụng + ghi chú giá cost */
.per-use-block{
  margin:12px 0 6px;
}
.per-use-detail{
  grid-template-columns:repeat(auto-fit,minmax(120px,1fr)) !important;
  margin:0 !important;
}
.cost-reference-note{
  display:block;
  margin-top:6px;
  color:#7b7d84;
  font-size:9.5px;
  line-height:1.4;
  font-style:italic;
}
@media(max-width:560px){
  .per-use-detail{
    grid-template-columns:repeat(auto-fit,minmax(105px,1fr)) !important;
  }
  .cost-reference-note{
    font-size:9px;
  }
}


/* V6.5 - nút Xuất đơn trong giỏ hàng */
.cart-export-actions{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:8px;
  margin-top:8px;
}
.cart-export-actions .button{
  width:100%;
}
@media(max-width:430px){
  .cart-export-actions{
    grid-template-columns:1fr;
  }
}

/* V6.7 - Nút Xuất đơn dạng ô vuông nhỏ */
.cart-export-actions{
  grid-template-columns:40px 1fr !important;
  align-items:center;
}
.export-order-square{
  width:40px;height:40px;min-width:40px;padding:0;
  border:1px solid #d9dadd;border-radius:10px;background:#fff;
  color:#d71920;font-size:18px;font-weight:950;line-height:1;
  display:grid;place-items:center;cursor:pointer;transition:.18s ease;
}
.export-order-square:hover{
  border-color:#d71920;background:#fff5f5;transform:translateY(-1px);
}
.export-order-square:active{transform:translateY(0)}
@media(max-width:430px){
  .cart-export-actions{grid-template-columns:38px 1fr !important}
  .export-order-square{
    width:38px;height:38px;min-width:38px;border-radius:9px;font-size:17px;
  }
}
