/* Public storefront only. Admin continues to load its own stylesheet. */
.storefront-refresh {
  --store-coral: #f43f3f;
  --store-action: #c72c31;
  --store-orange: #ff8a35;
  --store-bg: #fff9f5;
  --store-white: #fff;
  --store-ink: #20242d;
  --store-muted: #555e6c;
  --store-border: #eadfd8;
  --store-tint: #fff0e9;
  --store-radius: 16px;
  --store-shadow: 0 10px 30px #4023190c;
  --cyan: var(--store-action);
  --green: var(--store-action);
  --red: var(--store-action);
  --orange: var(--store-action);
  --ink: var(--store-ink);
  background: var(--store-bg);
  color: var(--store-ink);
  font: 400 15px/1.55 Inter, system-ui, sans-serif;
}
.storefront-refresh [hidden] { display: none !important; }
.storefront-refresh .wrap { width: min(calc(100% - 32px), var(--home-width, 1280px)); margin-inline: auto; }
.storefront-refresh :is(h1,h2,h3) { color: var(--store-ink); letter-spacing: -.035em; }
.storefront-refresh h1 { font-size: clamp(1.85rem, 5vw, 3rem); line-height: 1.13; }
.storefront-refresh h2 { font-size: clamp(1.35rem, 3.5vw, 2rem); line-height: 1.22; }
.storefront-refresh .muted { color: var(--store-muted); }
.storefront-refresh :is(a,button,summary,input:is([type=checkbox],[type=radio]),[tabindex]:not(input,select,textarea,[contenteditable])):focus-visible { outline: 2px solid #9b3532 !important; outline-offset: 3px !important; }
.storefront-refresh :is(input:not([type=checkbox],[type=radio]),textarea,select,[contenteditable=true]):focus { background-color: var(--store-bg); }
.storefront-refresh .section { padding-block: 28px; }
.storefront-refresh .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--store-action); border-radius: 12px; background: var(--store-action); color: #fff; font-weight: 700; font-size: .9rem; line-height: 1.25; text-align: center; text-decoration: none; }
.storefront-refresh .btn:hover { background: #a91f28; border-color: #a91f28; color: #fff; }
.storefront-refresh .btn.outline { background: #fff; color: var(--store-action); border-color: #ecc9c3; }
.storefront-refresh .btn.outline:hover { background: var(--store-tint); color: var(--store-action); }
.storefront-refresh .btn:disabled { opacity: .67; cursor: wait; }
.storefront-refresh :is(.panel,.empty-state) { border: 1px solid var(--store-border); border-radius: var(--store-radius); background: #fff; box-shadow: var(--store-shadow); }
.storefront-refresh .breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--store-muted); font-size: .83rem; margin: 0 0 18px; overflow-wrap: anywhere; }
.storefront-refresh .breadcrumb a { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; color: var(--store-action); }
.storefront-refresh .breadcrumb svg { width: 16px; height: 16px; }
.skip-store { position: fixed; z-index: 9000; left: 16px; top: 8px; transform: translateY(-150%); background: white; padding: 12px; border-radius: 8px; }
.skip-store:focus { transform: none; }
#store-content { scroll-margin-top: 138px; }
.store-header { position: sticky; top: 0; z-index: 25; background: #fff; box-shadow: 0 3px 22px #40231910; }
.store-header-main { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; align-items: center; padding-block: 9px 5px; }
.store-logo { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-size: clamp(1rem, 5vw, 1.55rem); letter-spacing: -.06em; white-space: nowrap; }
.store-logo > span { display: grid; place-items: center; width: 35px; height: 35px; background: var(--store-coral); border-radius: 10px; color: #242026; }
.store-logo svg { width: 21px; height: 21px; }
.store-logo strong span { color: var(--store-action); }
.store-header-actions { display: flex; gap: 10px; align-items: center; }
.store-header-actions a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: var(--store-ink); }
.store-header-actions .store-account { width: 44px; justify-content: center; background: var(--store-tint); border-radius: 12px; }
.store-hotline span { display: none; }
.store-search { display: flex; align-items: stretch; min-width: 0; margin: 0; height: 48px; grid-column: 1 / -1; grid-row: 2; }
.store-search :is(input[type=search],button) { height: 100%; box-sizing: border-box; margin: 0; }
.storefront-refresh .store-header form.store-search input[type=search] { flex: 1; min-width: 0; min-height: 0; width: 100%; padding: 0 12px; border-radius: 12px 0 0 12px; border: 1px solid var(--store-border); border-inline-end: 0; background: var(--store-bg); }
.store-search button { flex: 0 0 48px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 0 12px 12px 0; background: var(--store-action); color: white; cursor: pointer; }
.store-search button svg { display: block; width: 20px; height: 20px; }
.store-navigation { display: none; }
.store-mobile-categories { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; padding: 2px 0 6px; }
.store-mobile-categories a { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; min-height: 44px; padding: 0 10px; font-size: .8rem; border-radius: 10px; color: var(--store-ink); white-space: nowrap; }
.store-mobile-categories a:first-child { background: var(--store-tint); color: var(--store-action); font-weight: 700; }
.store-mobile-categories svg { width: 16px; height: 16px; }
@media(min-width:800px) {
  .store-header-main { grid-template-columns: auto minmax(0,1fr) auto; gap: 26px; padding-block: 15px 10px; }
  .store-search { grid-column: auto; grid-row: auto; }
  .store-logo > span { width: 43px; height: 43px; }
  .store-hotline span { display: grid; line-height: 1.3; }
  .store-hotline small { color: var(--store-muted); }
  .store-mobile-categories { display: none; }
  .store-navigation { display: block; }
  .store-nav-inner { display: flex; gap: 22px; align-items: center; }
  .store-nav-group { position: relative; }
  .store-header :is(.main-navigation,.menu-toggle) { display: flex; align-items: center; }
  .store-header .main-navigation { flex-wrap: wrap; gap: 18px; padding: 0; }
  .store-header :is(.main-navigation > a,.policy-toggle,.menu-toggle) { min-height: 44px; padding: 8px; color: var(--store-ink); display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; }
  .store-header .menu-toggle {
    border: 0;
    border-radius: 10px;
    width: auto;
    min-width: 150px;
    padding-inline: 13px;
    gap: 8px;
    background: var(--store-tint);
    white-space: nowrap;
  }
  .store-header .menu-toggle > svg { width: 18px; height: 18px; flex: none; }
  .store-header .menu-toggle > svg:last-child { width: 14px; height: 14px; margin-inline-start: auto; }
  .store-header .menu-toggle:is(:hover,[aria-expanded=true]) { color: var(--store-action); background: #fbe4da; }
  .store-header .menu-toggle[aria-expanded=true] > svg:last-child { transform: rotate(180deg); }
  .store-header .site-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: auto;
    width: 240px;
    padding-block: 4px;
  }
  .store-header .nav-dropdown .policy-menu { top: calc(100% + 5px); right: 0; left: auto; }
  .store-header :is(.site-menu,.policy-menu) {
    max-height: min(65vh, max(100px, calc(100dvh - 170px)));
    overflow: auto;
    overscroll-behavior: contain;
    background: white;
    color: var(--store-ink);
    border-radius: 12px;
    box-shadow: var(--store-shadow);
    border: 1px solid var(--store-border);
    z-index: 2;
  }
  .store-header :is(.site-menu,.policy-menu) a { color: var(--store-ink); white-space: normal; overflow-wrap: anywhere; }
}
.home-hero { display: grid; gap: 22px; margin-block: 18px 0; padding: clamp(20px,4vw,56px); border-radius: 24px; background: var(--store-tint); border: 1px solid var(--store-border); overflow: hidden; }
.home-hero-copy { min-width: 0; align-self: center; }
.store-kicker { display: inline-flex; gap: 7px; align-items: center; color: #96282a; font-size: .72rem; font-weight: 750; letter-spacing: .05em; }
.store-kicker svg { width: 17px; height: 17px; }
.home-hero h1 { font-size: clamp(2rem,6.5vw,4.15rem); margin: 12px 0; overflow-wrap: anywhere; }
.home-hero p { color: var(--store-muted); max-width: 45ch; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.home-hero-product { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px; min-width: 0; border-radius: var(--store-radius); background: white; box-shadow: var(--store-shadow); padding: 10px 14px; }
.home-hero-product img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; grid-column: 1/-1; background: #fffaf7; border-radius: 12px; }
.home-hero-product strong { display: block; overflow-wrap: anywhere; }
.home-hero-product span { color: var(--store-action); font-weight: 750; }
.store-services { padding-block: clamp(24px,4vw,46px); }
.store-services > h2 { margin: 0 0 16px; text-align: center; font-size: clamp(1.25rem,3vw,1.75rem); }
.store-services-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(8px,2vw,20px); }
.store-services-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: clamp(12px,2vw,24px);
  border-radius: 12px;
  background: var(--store-tint);
  text-align: center;
}
.store-services-grid a:hover { background: #fbe4da; }
.store-service-icon { display: grid; place-items: center; color: var(--store-action); }
.store-service-icon svg { width: 34px; height: 34px; }
.store-services-grid h3 { margin: 0; font-size: clamp(.9375rem,2vw,1.125rem); }
.store-services-grid p { margin: 0; font-size: clamp(.8125rem,1.4vw,.9375rem); color: var(--store-muted); overflow-wrap: anywhere; }
.store-collections .section-heading,.home-shelf .section-heading { margin-bottom: 16px; }
.storefront-refresh .section-heading h2 { margin: 0; }
.collection-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(132px, 46%); overflow-x: auto; gap: 10px; padding: 4px 3px 9px; scrollbar-width: thin; }
.collection-tile { display: grid; align-items: center; gap: 7px; grid-template-columns: minmax(0,1fr) auto; min-width: 0; background: white; padding: 10px; border-radius: 14px; border: 1px solid var(--store-border); font-size: .86rem; }
.collection-tile img { grid-column: 1/-1; width: 100%; height: 74px; object-fit: contain; background: var(--store-bg); border-radius: 10px; }
.collection-tile strong { overflow-wrap: anywhere; }
.collection-tile svg,.store-see-all svg { width: 17px; height: 17px; color: var(--store-action); }
.store-see-all { display: inline-flex; min-height: 44px; align-items: center; gap: 5px; color: var(--store-action); font-size: .81rem; font-weight: 700; white-space: nowrap; }
.storefront-refresh .product-grid:not(.recommendation-track) { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.storefront-refresh .product-card { display: flex; flex-direction: column; min-width: 0; height: 100%; padding: 7px; margin: 0; overflow: hidden; border-radius: var(--store-radius); border: 1px solid var(--store-border); background: #fff; box-shadow: var(--store-shadow); text-align: left; transition: transform .2s, box-shadow .2s; }
.storefront-refresh .product-image { display: block; position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 11px; background: #fff8f3; }
.storefront-refresh .product-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.storefront-refresh .sale-badge { top: 6px; left: 6px; padding: 3px 6px; border-radius: 8px; background: #a3252a; color: #fff; font-size: .68rem; }
.storefront-refresh .product-copy { padding: 8px 3px; flex: 1; text-align: left; min-width: 0; }
.storefront-refresh .product-category { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .72rem; color: var(--store-muted); }
.storefront-refresh .product-copy h3 { font-size: clamp(.83rem,2.6vw,1rem); line-height: 1.4; margin: 4px 0 8px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.storefront-refresh .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 8px; color: var(--store-action); font-weight: 800; font-size: clamp(.9rem,3vw,1.2rem); line-height: 1.35; }
.storefront-refresh .price del { color: var(--store-muted); font-size: .72rem; font-weight: 500; }
.storefront-refresh .product-detail-link { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; padding: 6px; background: var(--store-tint); border: 0; border-radius: 10px; color: var(--store-action); font-size: .77rem; font-weight: 750; text-align: center; }
@media(hover:hover) {
  .storefront-refresh .product-card:hover { transform: translateY(-3px); box-shadow: 0 13px 28px #40231916; }
  .storefront-refresh .product-detail-link:hover { background: var(--store-action); color: #fff; }
}
.storefront-refresh .product-detail-link:active { background: var(--store-action); color: #fff; }
@media(min-width:640px) {
  .home-hero { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: center; }
  .home-hero-product img { aspect-ratio: 4/3; }
  .store-services-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .collection-grid { grid-auto-columns: minmax(145px, 23%); }
  .storefront-refresh .product-grid:not(.recommendation-track) { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
}
@media(min-width:1024px) {
  .storefront-refresh .wrap { width: min(calc(100% - 48px), var(--home-width, 1320px)); }
  .storefront-refresh .store-home .section { padding-block: var(--home-spacing,42px) 0; }
  .storefront-refresh .product-grid:not(.recommendation-track) { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .storefront-refresh.homepage-theme .store-home .product-grid { grid-template-columns: repeat(var(--home-columns,4),minmax(0,1fr)); }
  .storefront-refresh .product-card { padding: 10px; }
  .storefront-refresh .product-copy { padding: 13px 4px; }
}
@media(min-width:1300px) { .storefront-refresh .catalog-grid:not(.recommendation-track) { grid-template-columns: repeat(5,minmax(0,1fr)); } }
.catalog-mast { border-radius: 20px; background: var(--store-tint); border: 1px solid var(--store-border); padding: clamp(18px,3vw,32px); margin-bottom: 14px; }
.catalog-mast h1,.catalog-mast p { margin: 0; overflow-wrap: anywhere; }
.catalog-mast p { color: var(--store-muted); margin-top: 8px; }
.catalog-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 12px; margin-bottom: 18px; background: white; border: 1px solid var(--store-border); border-radius: var(--store-radius); align-items: end; }
.catalog-filters label { display: grid; gap: 5px; min-width: 0; line-height: 1.3; font-size: .79rem; font-weight: 650; margin: 0; }
.catalog-filters label:first-of-type { grid-column: 1/-1; }
.catalog-filters :is(input,select) { min-width: 0; width: 100%; min-height: 44px; margin: 0; }
@media(min-width:850px) {
  .catalog-filters { grid-template-columns: 1.4fr 1fr 1fr 1fr auto; }
  .catalog-filters label:first-of-type { grid-column: auto; }
}
.storefront-refresh :is(input:not([type=hidden]):not([type=radio]):not([type=checkbox]),textarea,select) { border-color: var(--store-border); border-radius: 10px; font-size: max(16px,.92rem); }
.storefront-refresh .product-detail { display: grid; gap: 15px; grid-template-columns: minmax(0,1fr); max-width: none; }
.storefront-refresh .native-product .product-gallery { width: 100%; min-width: 0; max-width: none; margin: 0; }
.storefront-refresh .gallery-stage { width: 100%; max-width: none; border-radius: 18px; background: #fff; border: 1px solid var(--store-border); overflow: hidden; }
.storefront-refresh .gallery-main { width: 100%; max-width: none; aspect-ratio: 1; display: grid; place-items: center; background: white; }
.storefront-refresh .gallery-main img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
.storefront-refresh .gallery-prev,.storefront-refresh .gallery-next { height: 44px; width: 44px; border-radius: 50%; background: #fff; color: var(--store-ink); box-shadow: var(--store-shadow); }
.storefront-refresh .gallery-thumbs { display: flex; overflow-x: auto; flex-wrap: nowrap; min-width: 0; gap: 8px; padding: 5px; }
.storefront-refresh .gallery-thumbs button { flex: 0 0 56px; border-radius: 10px; }
.storefront-refresh .gallery-thumbs button[aria-current=true] { border-color: var(--store-action); }
.storefront-refresh .product-information { border: 1px solid var(--store-border); border-radius: var(--store-radius); background: #fff; padding: clamp(14px,3vw,34px); min-width: 0; box-shadow: var(--store-shadow); }
.storefront-refresh .product-information h1 { font-size: clamp(1.45rem,4vw,2.5rem); font-weight: 800; text-transform: none; overflow-wrap: anywhere; margin: 12px 0 15px; }
.storefront-refresh .product-meta { margin: 0; color: var(--store-muted); border: 0; gap: 8px; flex-wrap: wrap; }
.storefront-refresh .product-meta a { color: var(--store-action); text-decoration: none; }
.detail-price-box { padding: 12px 15px; background: var(--store-tint); border-radius: 12px; }
.detail-price-label { color: #754943; font-size: .77rem; font-weight: 700; }
.storefront-refresh .detail-price-box .price { border: 0; padding: 0; margin: 4px 0 0; font-size: clamp(1.5rem,5vw,2.2rem); }
.storefront-refresh .detail-price-box .price del { font-size: .91rem; }
.detail-comparison { display: inline-flex; gap: 8px; align-items: center; }
.detail-discount { background: var(--store-coral); color: #23181a; font-size: .74rem; padding: 3px 6px; border-radius: 7px; }
.detail-packages { margin: 16px 0; padding: 0; border: 0; min-width: 0; }
.detail-packages legend { font-weight: 750; margin-bottom: 9px; }
.detail-packages > div { display: grid; gap: 8px; }
.detail-package { min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 7px; width: 100%; padding: 9px 12px; border: 1px solid var(--store-border); border-radius: 10px; background: #fff; color: var(--store-ink); font: inherit; font-size: .86rem; text-align: left; cursor: pointer; }
.detail-package[aria-pressed=true] { border-color: var(--store-action); box-shadow: inset 0 0 0 1px var(--store-action); background: var(--store-tint); }
.detail-package span { overflow-wrap: anywhere; }
.detail-package strong { color: var(--store-action); flex: 0 0 auto; }
.detail-package small { display: block; color: var(--store-muted); }
.detail-totals { margin-block: 13px; padding-top: 8px; border-top: 1px solid var(--store-border); }
.detail-totals > div { display: flex; gap: 7px; justify-content: space-between; margin: 3px 0; font-size: .86rem; }
.detail-totals > div:last-child strong { color: var(--store-action); }
.storefront-refresh .product-buy { width: 100%; min-height: 48px; }
.detail-service-links { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.detail-service-links a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; font-size: .78rem; color: var(--store-muted); }
.detail-service-links svg { width: 17px; height: 17px; color: var(--store-action); }
.storefront-refresh .product-content-layout { max-width: none; margin-top: 20px; }
.storefront-refresh :is(.product-tabs,.product-recommendations) { border: 1px solid var(--store-border); border-radius: var(--store-radius); background: white; overflow: hidden; }
.storefront-refresh :is(.product-tab-list,.recommendation-tabs) { justify-content: flex-start; background: #fff5ed; gap: 4px; padding: 5px; }
.storefront-refresh :is(.product-tab-list,.recommendation-tabs) button { min-height: 44px; height: auto; padding: 6px 9px; font-size: .82rem; border-radius: 9px; white-space: normal; color: var(--store-ink); }
.storefront-refresh :is(.product-tab-list,.recommendation-tabs) button[aria-selected=true] { background: var(--store-action); color: white; }
.storefront-refresh .shop-promises {
  box-sizing: border-box;
  width: 100%;
  max-width: 560px;
  min-width: 0;
  justify-self: center;
  padding: 18px 16px;
  border: 1px solid #f0e3dc;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 18px #4023190a;
}
.storefront-refresh .shop-promises > h2 {
  margin: 0 0 16px;
  color: #c92532;
  font-size: clamp(20px, calc(17px + .65vw), 26px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: normal;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.shop-promise-list {
  display: grid;
  gap: 16px;
}
.shop-promise-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  text-align: left;
}
.shop-promise-icon {
  display: grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  color: #c92532;
}
.shop-promise-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.storefront-refresh .shop-promise-row h3 {
  margin: 0 0 3px;
  font-size: clamp(15px, 1.4vw, 16px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: normal;
}
.shop-promise-row p {
  margin: 0;
  color: #4b5563;
  font-size: clamp(13px, 1.2vw, 14px);
  line-height: 1.55;
  overflow-wrap: break-word;
}
@media (min-width: 800px) {
  .storefront-refresh .shop-promises { padding-inline: 20px; }
}
.storefront-refresh .recommendation-carousel { padding: 10px 4px; }
.storefront-refresh .recommendation-track { grid-auto-columns: calc((100% - 10px)/2); gap: 10px; }
.storefront-refresh .product-rich-content { overflow-wrap: anywhere; overflow-x: auto; }
.storefront-refresh .product-rich-content img { max-width: 100%; height: auto; }
.storefront-refresh .product-rich-content img[data-rich-align="left"] { margin-inline: 0 auto; }
.storefront-refresh .product-rich-content img[data-rich-align="center"] { margin-inline: auto; }
.storefront-refresh .product-rich-content img[data-rich-align="right"] { margin-inline: auto 0; }
.mobile-buy-bar { display: flex; gap: 10px; align-items: center; justify-content: space-between; position: fixed; inset: auto 0 0; z-index: 35; min-height: 64px; padding: 8px 14px calc(8px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 28px #40231920; }
.mobile-buy-bar > div { display: grid; min-width: 0; line-height: 1.25; font-size: .72rem; }
.mobile-buy-bar strong { color: var(--store-action); font-size: clamp(.88rem,4vw,1.12rem); overflow-wrap: anywhere; }
.mobile-buy-bar .btn { flex: 0 0 auto; padding-inline: 10px; }
.mobile-buy-bar svg { width: 16px; height: 16px; }
.storefront-refresh.checkout-open .mobile-buy-bar,.storefront-refresh.checkout-open .chat-widget { visibility: hidden; }
@media(max-width:799px){
  .storefront-refresh .native-product .product-detail { grid-template-columns: minmax(0,1fr); }
  .storefront-refresh.page-product { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .storefront-refresh.page-product .chat-widget { --chat-launcher-bottom: calc(77px + env(safe-area-inset-bottom)); }
  .storefront-refresh.page-product .chat-window { bottom: calc(137px + env(safe-area-inset-bottom)); height: min(570px,calc(100dvh - 160px)); }
  .storefront-refresh .native-product .product-content-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; }
}
@media(min-width:800px){
  .mobile-buy-bar { display: none; }
  .storefront-refresh .native-product .product-detail { grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 24px; align-items: start; }
  .storefront-refresh .native-product.layout-centered .product-detail { grid-template-columns: minmax(0,1fr); }
  .storefront-refresh .native-product.layout-editorial .product-detail { grid-template-columns: minmax(0,1.36fr) minmax(0,1fr); }
  .storefront-refresh .native-product.layout-centered .product-gallery { max-width: 680px; margin-inline: auto; }
  .storefront-refresh .native-product.layout-editorial .gallery-main { aspect-ratio: 16/9; }
  .storefront-refresh .native-product.layout-editorial .product-information { max-width: 780px; }
  .storefront-refresh .gallery-thumbs button { flex-basis: 74px; }
  .storefront-refresh .recommendation-track { grid-auto-columns: calc((100% - 42px)/4); gap: 14px; }
}
.storefront-refresh dialog.checkout-dialog { width: min(calc(100% - 20px),600px); max-width: none; max-height: min(92dvh,820px); padding: 0; border: 1px solid var(--store-border); border-radius: 20px; background: white; color: var(--store-ink); overflow-y: auto; }
.storefront-refresh .checkout-dialog-header { position: sticky; top: 0; z-index: 1; background: #fff5ee; padding: 13px 16px; border-bottom: 1px solid var(--store-border); }
.storefront-refresh .checkout-dialog-header h2 { font-size: 1.23rem; margin: 0; }
.storefront-refresh .checkout-dialog-header p { overflow-wrap: anywhere; margin: 4px 0 0; font-size: .85rem; color: var(--store-muted); }
.storefront-refresh .checkout-close { height: 44px; width: 44px; flex: 0 0 auto; font-size: 25px; }
.storefront-refresh .checkout-section { padding: 0; }
.storefront-refresh .reference-order-panel { border: 0; box-shadow: none; padding: 12px 14px 18px; }
.storefront-refresh .reference-checkout { display: grid; gap: 12px; }
.storefront-refresh .checkout-contact-fields { display: grid; gap: 10px; background: transparent; }
.storefront-refresh .checkout-contact { display: grid; gap: 5px; border: 0; color: var(--store-ink); font-weight: 650; font-size: .86rem; }
.storefront-refresh .checkout-contact :is(input,textarea) { margin: 0; background: var(--store-bg); border: 1px solid var(--store-border); min-height: 44px; padding: 10px; color: var(--store-ink); }
.storefront-refresh .purchase-packages { border: 0; padding: 0; margin: 0; min-width: 0; }
.storefront-refresh .purchase-packages legend { font-weight: 750; margin-bottom: 5px; }
.storefront-refresh .checkout-package { min-height: 46px; overflow-wrap: anywhere; border: 1px solid var(--store-border); border-radius: 10px; background: #fff; margin: 6px 0; }
.storefront-refresh .checkout-package.is-selected { border-color: var(--store-action); background: var(--store-tint); }
.storefront-refresh .checkout-package input { accent-color: var(--store-action); }
.storefront-refresh .order-summary { border: 1px solid var(--store-border); background: var(--store-bg); border-radius: 12px; }
.storefront-refresh .reference-checkout .muted { font-size: .78rem; }
.storefront-refresh .site-footer { margin-top: 36px; padding: 28px 0 0; border-top: 4px solid var(--store-coral); background: #292127; color: #fff; }
.storefront-refresh .site-footer-columns { grid-template-columns: minmax(0,1fr); gap: 18px; }
.storefront-refresh .site-footer :is(h3,summary) { letter-spacing: 0; color: #fff; font-size: .96rem; font-weight: 750; }
.storefront-refresh .site-footer p { color: #f2e5de; font-weight: 400; }
.storefront-refresh .site-footer a { color: #fff4ef; padding: 4px 0; }
.storefront-refresh .site-footer summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; border-bottom: 1px solid #ffffff35; list-style: none; }
.storefront-refresh .site-footer summary::-webkit-details-marker { display: none; }
.storefront-refresh .site-footer summary::after { content: '+'; font-size: 1.1rem; }
.storefront-refresh .site-footer details[open] summary::after { content: '−'; }
@media(min-width:640px){ .storefront-refresh .site-footer-columns { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width:640px) and (max-width:799px) {
  .storefront-refresh .site-footer-columns > details { margin: 0; }
  .storefront-refresh .site-footer-columns > section > h3 { display: flex; align-items: center; min-height: 44px; }
}
@media(min-width:800px){
  .storefront-refresh .site-footer-columns {
    grid-template-columns: 1.4fr 1fr .85fr 1fr;
    gap: 24px;
    padding-block-start: 28px;
  }
  .storefront-refresh .site-footer-columns > details { margin: 0; }
  .storefront-refresh .site-footer-columns > :is(section,details) > :is(h3,summary) { line-height: 1.5; }
  .storefront-refresh .site-footer summary { cursor: default; border: 0; min-height: 0; margin-bottom: 18px; padding-block: 0; pointer-events: none; }
  .storefront-refresh .site-footer summary::after { display: none; }
}
.storefront-refresh :is(.auth-panel,.account-layout > aside) { border: 1px solid var(--store-border); border-radius: var(--store-radius); background: #fff; box-shadow: var(--store-shadow); min-width: 0; overflow-wrap: anywhere; }
.storefront-refresh:is(.page-contact,.page-about,.page-policy,.page-thanks) #store-content {
  background: var(--store-white);
}
.storefront-refresh:is(.page-contact,.page-about,.page-policy,.page-thanks) #store-content > main.wrap {
  max-width: none;
  padding-block: clamp(20px,4vw,48px);
  overflow-wrap: anywhere;
}
.storefront-refresh :is(.contact-company,.policy-page-article,.receipt) {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.storefront-refresh .contact-company a,.storefront-refresh .prose a:not(.btn) { color: var(--store-action); }
.storefront-refresh .policy-page-layout {
  display: block;
  max-width: none;
}
.storefront-refresh :is(.policy-page-article,.about-article) > h1 {
  margin: 0 0 clamp(20px,3vw,32px);
  font-size: clamp(1.65rem,3.5vw,2.375rem);
  line-height: 1.2;
}
.storefront-refresh :is(.policy-page-article,.about-article) .product-rich-content {
  font-size: clamp(.9375rem,1.2vw,1rem);
  line-height: 1.75;
}
.storefront-refresh :is(.policy-page-article,.about-article) .product-rich-content :is(h2,h3) {
  margin: 1.4em 0 .55em;
  line-height: 1.35;
}
.storefront-refresh :is(.policy-page-article,.about-article) .product-rich-content :is(h2,h3) { font-size: clamp(1.125rem,2vw,1.25rem); }
.storefront-refresh :is(.policy-page-article,.about-article) .product-rich-content :is(p,ul,ol) { margin: 0 0 1em; }
.storefront-refresh :is(.policy-page-article,.about-article) .product-rich-content > :first-child { margin-block-start: 0; }
.storefront-refresh :is(.policy-page-article,.about-article) .product-rich-content > :last-child { margin-block-end: 0; }
.storefront-refresh .about-article .product-rich-content a {
  color: var(--store-action);
  text-decoration: underline;
  text-underline-offset: .15em;
}
.storefront-refresh .receipt :is(dd,dt) { min-width: 0; overflow-wrap: anywhere; }
.storefront-refresh .account-layout > aside { padding: 20px; }
.storefront-refresh .account-layout { min-width: 0; }
.storefront-refresh .table-scroll { max-width: 100%; overflow-x: auto; }
.storefront-refresh .chat-widget .chat-launcher { width: 54px; height: 54px; background: var(--store-action); --store-chat-pulse: #f43f3f40; animation: store-chat-pulse 3s ease-out infinite; }
.storefront-refresh .chat-widget { --chat-launcher-size: 54px; --zalo-launcher-size: 43px; }
.storefront-refresh .chat-widget .chat-launcher svg { width: 26px; height: 26px; }
.storefront-refresh .chat-window { bottom: 84px; width: min(385px,calc(100vw - 25px)); border-radius: 18px; border-color: var(--store-border); }
.storefront-refresh .chat-window header { background: var(--store-action); padding: 10px 14px; }
.storefront-refresh .chat-window header button { min-height: 44px; min-width: 44px; }
.storefront-refresh .chat-window .chat-messages { background: var(--store-bg); }
.storefront-refresh .chat-window .chat-send { color: var(--store-action); }
.storefront-refresh .chat-window .chat-intro { color: var(--store-muted); }
.storefront-refresh .chat-window .chat-composer { border-color: var(--store-border); }
.storefront-refresh .chat-window .chat-conversation-state { background: var(--store-tint); color: #86312c; }
.storefront-refresh .chat-window .chat-bubble.is-incoming { border: 1px solid var(--store-border); }
@keyframes store-chat-pulse { 0% { box-shadow: 0 4px 16px #40231930,0 0 0 0 var(--store-chat-pulse); } 75%,100% { box-shadow: 0 4px 16px #40231930,0 0 0 10px #f43f3f00; } }
@media(max-width:799px){
 .storefront-refresh .store-header { position: sticky; }
 .storefront-refresh .chat-composer-actions button { width: 33px; height: 44px; }
 .storefront-refresh .account-layout { grid-template-columns: minmax(0,1fr); }
 .storefront-refresh .chat-window .chat-identity :is(input,button) { min-height: 44px; }
}
@media(prefers-reduced-motion:reduce) {
 .storefront-refresh .chat-widget .chat-launcher { animation: none; }
 .storefront-refresh .product-card { transition: none; }
}

.storefront-refresh .checkout-contact :is(input,textarea)::placeholder { color: #767079; font-weight: 400; }
.storefront-refresh .gallery-main img { animation: store-image-enter .22s ease-out; }
@keyframes store-image-enter { from { opacity: .7; } to { opacity: 1; } }
@media(prefers-reduced-motion:reduce) { .storefront-refresh .gallery-main img { animation: none; } }

.storefront-refresh.homepage-theme {
  --store-coral: var(--home-primary,#f43f3f);
  --store-action: var(--home-action,#c72c31);
  --store-bg: var(--home-bg,#fff9f5);
  --store-ink: var(--home-ink,#20242d);
  font-family: var(--home-font,Inter,system-ui,sans-serif);
}
.storefront-refresh.homepage-theme .store-home :is(.price,.home-hero-product span) { color: var(--home-price,var(--store-action)); }
.storefront-refresh.homepage-theme .store-home .product-card { border-color: var(--home-card-border,var(--store-border)); box-shadow: var(--home-card-shadow,var(--store-shadow)); }
.collection-left .collection-tile { grid-template-columns: 52px minmax(0,1fr) auto; }
.collection-left .collection-tile img { grid-column: auto; height: 52px; }
.collection-grid { scrollbar-color: #dec9c0 transparent; }
.collection-grid.collection-static { grid-auto-flow: row; grid-template-columns: repeat(auto-fit,minmax(132px,1fr)); }
@media(max-width:639px) {
 .storefront-refresh.homepage-theme .store-home .product-grid { grid-template-columns: repeat(var(--home-mobile-columns,2),minmax(0,1fr)); }
}
