* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Base typography */
:root { --hibo-font-family: "Google Sans Flex", Arial, sans-serif; }
html, body { font-family: var(--hibo-font-family); }
body { margin: 0; background: var(--theme-page-bg); color: var(--theme-text); font-family: var(--hibo-font-family); line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea, optgroup, option { font: inherit; font-family: inherit; }
.theme-container { width: min(calc(100% - 32px), var(--theme-container)); margin-inline: auto; }
.theme-preview-bar { position: sticky; top: 0; z-index: 200; display: flex; justify-content: center; align-items: center; gap: 24px; min-height: 42px; padding: 8px 16px; background: #fff4d6; color: #6c4b00; border-bottom: 1px solid #ead79f; font-size: 13px; }
.theme-preview-bar a { text-decoration: underline; }

.cart-count { display: inline-grid; place-items: center; min-width: 21px; height: 21px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--theme-primary); color: var(--theme-button-text); font-size: 11px; }

.home-section { margin-top: 42px; margin-bottom: 42px; }
.slideshow-section { margin: 0; position: relative; overflow: hidden; }
.slideshow-track { position: relative; height: var(--slide-height); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease; }
.slide.active { opacity: 1; visibility: visible; }
.slide picture, .slide picture img, .slide-placeholder { width: 100%; height: 100%; }
.slide picture img { object-fit: cover; }
.slide-placeholder { background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary)); }
.slide-content { position: absolute; z-index: 2; inset: 0; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.48); }
.slide-content.position-center { align-items: center; text-align: center; }
.slide-content.position-right { align-items: flex-end; text-align: right; }
.slide-content h2 { max-width: 720px; margin: 0; font-size: clamp(32px, 5vw, 62px); line-height: 1.08; }
.slide-content p { max-width: 620px; margin: 18px 0 24px; font-size: clamp(16px, 2vw, 20px); }
.theme-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 20px; border: 0; border-radius: 9px; background: var(--theme-primary); color: var(--theme-button-text); cursor: pointer; font-weight: 800; }
.theme-button:hover { background: var(--theme-secondary); }
.slide-content .theme-button { background: #fff; color: var(--theme-primary); text-shadow: none; }
.slide-arrow { position: absolute; z-index: 4; top: 50%; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: rgba(255,255,255,.86); color: #17212b; font-size: 28px; cursor: pointer; }
.slide-arrow.previous { left: 20px; }
.slide-arrow.next { right: 20px; }
.slide-dots { position: absolute; z-index: 4; left: 50%; bottom: 18px; display: flex; gap: 8px; transform: translateX(-50%); }
.slide-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; }
.slide-dots button.active { width: 28px; border-radius: 999px; background: #fff; }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 20px; }
.section-title h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); line-height: 1.2; }
.section-title p { margin: 7px 0 0; color: #66727e; }
.section-title > a { color: var(--theme-primary); font-weight: 700; white-space: nowrap; }
.banner-grid, .policy-grid, .product-grid, .collection-grid, .article-grid { display: grid; gap: 18px; }
.banner-grid.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.banner-grid.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.banner-card { position: relative; overflow: hidden; min-height: 220px; border-radius: var(--theme-card-radius); background: #eef2f5; }
.banner-card picture, .banner-card img, .banner-placeholder { width: 100%; height: 100%; min-height: inherit; }
.banner-card img { object-fit: cover; transition: transform .35s ease; }
.banner-card:hover img { transform: scale(1.035); }
.banner-placeholder { display: block; background: linear-gradient(135deg, #e5edf3, #cfdce5); }
.banner-card strong { position: absolute; left: 18px; bottom: 16px; padding: 7px 11px; border-radius: 7px; background: rgba(255,255,255,.92); color: #17212b; }
.policy-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 20px; border-radius: var(--theme-card-radius); }
.policy-grid.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.policy-grid.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.policy-item { display: flex; align-items: center; gap: 13px; min-width: 0; }
.policy-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--theme-primary); font-size: 21px; }
.policy-item strong, .policy-item small { display: block; }
.policy-item small { margin-top: 3px; color: #66727e; line-height: 1.35; }
.product-grid.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-grid.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.product-grid.columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.product-card { overflow: hidden; min-width: 0; border: 1px solid rgba(23,33,43,.11); border-radius: var(--theme-card-radius); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(16,24,40,.1); }
.product-card-image { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #f5f7f9; }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.product-card:hover .product-card-image img { transform: scale(1.035); }
.product-placeholder, .collection-placeholder, .article-placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, #f0f4f7, #dbe5ec); color: #7b8794; font-size: 42px; font-weight: 800; }
.sale-badge { position: absolute; top: 10px; left: 10px; padding: 4px 8px; border-radius: 999px; background: var(--theme-sale-price); color: #fff; font-size: 11px; font-weight: 800; }
.product-card-body { padding: 14px; }
.product-card h3 { min-height: 46px; margin: 6px 0 12px; font-size: 15px; line-height: 1.45; }
.product-card h3 a:hover { color: var(--theme-primary); }
.product-price-row { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.product-price-row strong { color: var(--theme-price); font-size: 18px; }
.product-price-row strong.sale-price { color: var(--theme-sale-price); }
.product-price-row del, .product-detail-price del { color: var(--theme-compare-price); font-size: 13px; }
.saving-text { display: block; margin-top: 6px; color: var(--theme-sale-price); }
.sale-section { padding: 38px 0; background: linear-gradient(180deg, color-mix(in srgb, var(--theme-primary) 8%, #fff), #fff); }
.collection-grid.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.collection-grid.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.collection-grid.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.collection-grid.columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.collection-card { display: grid; gap: 10px; text-align: center; }
.collection-card img, .collection-placeholder { width: 100%; aspect-ratio: 1.35 / 1; object-fit: cover; border-radius: var(--theme-card-radius); }
.collection-grid.style-circle .collection-card img, .collection-grid.style-circle .collection-placeholder { width: min(160px, 100%); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; }
.collection-card strong { font-size: 15px; }
.article-grid.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.article-grid.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-grid.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.article-card { overflow: hidden; border: 1px solid rgba(23,33,43,.11); border-radius: var(--theme-card-radius); background: #fff; }
.article-card-image { display: block; aspect-ratio: 1.55 / 1; overflow: hidden; background: #f2f5f7; }
.article-card-image img { width: 100%; height: 100%; object-fit: cover; }
.article-placeholder { font-size: 18px; }
.article-card-body { padding: 15px; }
.article-card time { color: #7b8794; font-size: 12px; }
.article-card h3 { margin: 7px 0; font-size: 18px; line-height: 1.4; }
.article-card p { margin: 0; color: #66727e; font-size: 14px; }
.rich-text-inner { max-width: var(--rich-max-width); margin-inline: auto; }
.rich-text-inner h2 { font-size: clamp(24px, 3vw, 34px); }
.rich-text-content { line-height: 1.75; color: #4b5965; }
.rich-text-section.is-collapsed .rich-text-content { max-height: 170px; overflow: hidden; position: relative; }
.rich-text-section.is-collapsed .rich-text-content::after { content: ""; position: absolute; inset: auto 0 0; height: 80px; background: linear-gradient(transparent, var(--theme-page-bg)); }
.rich-text-section.is-collapsed.expanded .rich-text-content { max-height: none; }
.rich-text-section.is-collapsed.expanded .rich-text-content::after { display: none; }
.text-button { padding: 8px 0; border: 0; background: none; color: var(--theme-primary); cursor: pointer; font-weight: 800; }
.image-text-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 38px; }
.image-text-grid.image-right .image-text-media { order: 2; }
.image-text-media { overflow: hidden; min-height: 360px; border-radius: var(--theme-card-radius); background: #eef2f5; }
.image-text-media img, .image-text-media .banner-placeholder { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.image-text-content h2 { margin-top: 0; font-size: clamp(26px, 4vw, 42px); }
.image-text-content p { color: #5e6b76; line-height: 1.75; }
.section-empty { grid-column: 1 / -1; padding: 30px; border: 1px dashed #c8d1d8; border-radius: 10px; color: #7b8794; text-align: center; }
.site-footer { margin-top: 58px; padding-top: 42px; background: var(--theme-footer-bg); color: var(--theme-footer-text); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 38px; }
.footer-grid h2, .footer-grid h3 { margin-top: 0; }
.footer-grid p { opacity: .82; }
.footer-grid > div:last-child { display: grid; align-content: start; gap: 8px; }
.footer-bottom { margin-top: 32px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); opacity: .75; font-size: 13px; }
.page-shell { padding-top: 28px; padding-bottom: 34px; }
.narrow-page { max-width: 940px; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; margin-bottom: 24px; color: #6c7883; font-size: 13px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--theme-primary); }
.product-detail-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 42px; align-items: start; }
.product-main-image { overflow: hidden; aspect-ratio: 1 / 1; border: 1px solid rgba(23,33,43,.1); border-radius: var(--theme-card-radius); background: #f5f7f9; }
.product-main-image img { width: 100%; height: 100%; object-fit: contain; }
.product-thumbnails { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.product-thumbnails button { flex: 0 0 72px; width: 72px; height: 72px; padding: 3px; border: 1px solid rgba(23,33,43,.14); border-radius: 8px; background: #fff; cursor: pointer; }
.product-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.product-summary h1 { margin: 8px 0; font-size: clamp(29px, 4vw, 44px); line-height: 1.18; }
.product-sku { color: #7b8794; font-size: 13px; }
.product-detail-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 20px 0; }
.product-detail-price strong { color: var(--theme-sale-price); font-size: 32px; }
.product-detail-price span { color: var(--theme-sale-price); font-size: 13px; font-weight: 700; }
.product-short-description { color: #4e5b66; }
.variant-links { margin-top: 22px; }
.variant-links > div { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 9px; }
.variant-links a { padding: 8px 11px; border: 1px solid rgba(23,33,43,.16); border-radius: 7px; }
.variant-links a.active { border-color: var(--theme-primary); background: color-mix(in srgb, var(--theme-primary) 8%, #fff); color: var(--theme-primary); }
.promotion-box { margin-top: 20px; padding: 15px; border: 1px solid #f0c6c2; border-radius: 9px; background: #fff7f6; }
.promotion-box strong { color: var(--theme-sale-price); }
.promotion-box p { margin: 7px 0 0; font-size: 13px; }
.buy-box { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; margin-top: 22px; padding: 16px; border: 1px solid rgba(23,33,43,.12); border-radius: 10px; background: #fafbfc; }
.buy-box label { grid-column: 1 / -1; font-weight: 700; }
.buy-box input { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #cbd3da; border-radius: 8px; }
.buy-box small { grid-column: 1 / -1; color: #7b8794; }
.product-metafields { margin-top: 22px; }
.product-metafields h2 { font-size: 18px; }
.product-metafields dl { margin: 0; border: 1px solid rgba(23,33,43,.12); border-radius: 9px; overflow: hidden; }
.product-metafields dl > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 9px 12px; border-bottom: 1px solid rgba(23,33,43,.08); }
.product-metafields dl > div:last-child { border-bottom: 0; }
.product-metafields dt { color: #687580; }
.product-metafields dd { margin: 0; font-weight: 600; }
.product-description, .related-products, .related-articles { margin-top: 48px; }
.content-page { font-size: 16px; line-height: 1.8; }
.content-page h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.2; }
.content-page h2 { margin-top: 32px; font-size: 28px; line-height: 1.3; }
.content-page img { height: auto; border-radius: 9px; }
.content-featured-image { width: 100%; max-height: 560px; margin: 24px 0; object-fit: cover; }
.collection-header, .blog-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 28px; }
.collection-header h1, .blog-heading h1 { margin: 0; font-size: clamp(30px, 4vw, 48px); }
.collection-header form { display: grid; gap: 5px; min-width: 210px; }
.collection-header select, .page-search input { min-height: 42px; padding: 8px 11px; border: 1px solid #cbd3da; border-radius: 8px; background: #fff; }
.page-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin: 20px 0; }
.result-count { color: #687580; }
.storefront-pagination { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 32px; }
.storefront-pagination a { padding: 8px 12px; border: 1px solid rgba(23,33,43,.15); border-radius: 7px; }
.blog-heading nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.blog-heading nav a { padding: 7px 10px; border: 1px solid rgba(23,33,43,.12); border-radius: 999px; font-size: 13px; }
.blog-heading nav a.active { background: var(--theme-primary); color: var(--theme-button-text); }
.article-meta { display: flex; gap: 16px; color: #75818c; font-size: 13px; }
.article-excerpt { padding-left: 16px; border-left: 4px solid var(--theme-primary); color: #53616c; font-size: 18px; }
.empty-storefront { padding: 80px 0; text-align: center; }
@media (max-width: 1080px) {

    
    .product-grid.columns-5, .product-grid.columns-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .collection-grid.columns-5, .collection-grid.columns-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .product-detail-grid { gap: 26px; }
}
@media (max-width: 820px) {
    .theme-preview-bar { position: static; flex-direction: column; gap: 2px; }

    

    

    

    

    

    

    .slideshow-track { height: var(--slide-height-mobile); }
    .slide-content h2 { font-size: 34px; }
    .slide-arrow { display: none; }
    .policy-grid, .policy-grid.columns-3, .policy-grid.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-grid.columns-3, .product-grid.columns-4, .product-grid.columns-5, .product-grid.columns-6, .product-grid.mobile-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-grid.mobile-columns-1 { grid-template-columns: 1fr; }
    .collection-grid.columns-3, .collection-grid.columns-4, .collection-grid.columns-5, .collection-grid.columns-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-grid.columns-3, .article-grid.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .image-text-grid { grid-template-columns: 1fr; }
    .image-text-grid.image-right .image-text-media { order: 0; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .theme-container { width: min(calc(100% - 22px), var(--theme-container)); }
    .home-section { margin-top: 30px; margin-bottom: 30px; }
    .banner-grid.columns-2, .banner-grid.columns-3, .article-grid.columns-2, .article-grid.columns-3, .article-grid.columns-4 { grid-template-columns: 1fr; }
    .banner-card { min-height: 190px; }
    .policy-grid, .policy-grid.columns-2, .policy-grid.columns-3, .policy-grid.columns-4 { grid-template-columns: 1fr; }
    .product-card-body { padding: 11px; }
    .product-card h3 { min-height: 42px; font-size: 14px; }
    .product-price-row strong { font-size: 16px; }
    .collection-header, .blog-heading, .section-title { align-items: flex-start; flex-direction: column; }
    .collection-header form { width: 100%; }
    .page-search { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > div:first-child { grid-column: auto; }
    .buy-box { grid-template-columns: 80px minmax(0, 1fr); }
    .product-metafields dl > div { grid-template-columns: 110px minmax(0, 1fr); }
}

/* Theme API 1.0 contact buttons */
.floating-contact {
    position: fixed;
    bottom: 24px;
    z-index: 80;
    min-width: 58px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #0aa357;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}
.floating-contact-left { left: 20px; }
.floating-contact-right { right: 20px; }
.floating-contact-facebook { bottom: 78px; background: #1877f2; }

/* Mega menu danh mục V2 */
.mobile-catalog-mega>details{border:0}.mobile-catalog-mega>details>summary{padding-left:14px}.mobile-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:8px 12px 14px 22px}.mobile-catalog-grid>a{display:grid;gap:5px;text-align:center;font-size:12px}.mobile-catalog-grid img,.mobile-catalog-grid b{display:grid;place-items:center;width:100%;aspect-ratio:1;object-fit:contain;border-radius:8px;background:#f2f4f6;font-size:24px;color:#8793a0}
@media(max-width:980px){.mobile-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Collection hierarchy V5.16.1 */
.collection-child-section{margin:0 0 28px}.collection-child-section h2{margin:0 0 14px;font-size:22px}.collection-child-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.collection-child-card{display:flex;flex-direction:column;gap:10px;align-items:center;text-align:center;padding:12px;border:1px solid #e1e6eb;border-radius:var(--radius,10px);background:#fff;color:inherit;text-decoration:none}.collection-child-card:hover{border-color:var(--primary-color,#1769aa);box-shadow:0 6px 18px rgba(0,0,0,.08)}.collection-child-image{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1.5/1;border-radius:8px;overflow:hidden;background:#f4f6f8}.collection-child-image img{width:100%;height:100%;object-fit:contain}.collection-child-image b{font-size:32px;color:#8995a3}@media(max-width:767px){.collection-child-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.collection-child-card{padding:9px}.collection-child-section h2{font-size:19px}}

/* Blog category cards 4:3 — Theme 1.3.1 */
.blog-description { max-width: 760px; color: var(--theme-muted); }
.blog-category-section { margin: 0 0 34px; }
.section-title.compact { margin-bottom: 14px; }
.section-title.compact h2 { margin: 0; font-size: clamp(22px, 3vw, 30px); }
.blog-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.blog-category-card { overflow: hidden; border: 1px solid rgba(23,33,43,.12); border-radius: var(--theme-radius); background: #fff; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.blog-category-card:hover { transform: translateY(-3px); border-color: var(--theme-primary); box-shadow: 0 12px 30px rgba(15,23,42,.10); }
.blog-category-card.active { border-color: var(--theme-primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--theme-primary) 18%, transparent); }
.blog-category-image { aspect-ratio: 4 / 3; overflow: hidden; background: #edf2f7; display: grid; place-items: center; }
.blog-category-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .24s ease; }
.blog-category-card:hover .blog-category-image img { transform: scale(1.035); }
.blog-category-image span { font-size: clamp(34px, 6vw, 68px); font-weight: 900; color: #8291a3; }
.blog-category-body { padding: 15px 16px 17px; }
.blog-category-body h3 { margin: 0; font-size: 17px; }
.blog-category-body p { margin: 7px 0 0; color: var(--theme-muted); font-size: 13px; line-height: 1.55; }
.blog-articles { margin-top: 8px; }
@media (max-width: 1000px) { .blog-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .blog-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .blog-category-body { padding: 12px; } }
@media (max-width: 430px) { .blog-category-grid { grid-template-columns: 1fr 1fr; } .blog-category-body p { display: none; } }

/* V5.19 session cart */
.product-card-cart{margin-top:12px}.product-card-cart button{width:100%;padding:10px 12px;border:1px solid var(--theme-primary);border-radius:8px;background:#fff;color:var(--theme-primary);font:inherit;font-weight:800;cursor:pointer}.product-card-cart button:hover{background:var(--theme-primary);color:#fff}.buy-box-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.theme-button-secondary{border:1px solid var(--theme-primary)!important;background:#fff!important;color:var(--theme-primary)!important}.cart-drawer-open{overflow:hidden}.cart-drawer-backdrop{position:fixed;z-index:210;inset:0;background:rgba(15,23,42,.48)}.cart-drawer{position:fixed;z-index:220;top:0;right:0;width:min(92vw,430px);height:100vh;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;background:#fff;box-shadow:-16px 0 40px rgba(15,23,42,.18);transform:translateX(105%);transition:transform .22s ease}.cart-drawer.is-open{transform:translateX(0)}.cart-drawer>header{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid #e7ebef}.cart-drawer>header small,.cart-drawer>header strong{display:block}.cart-drawer>header small{color:#667085}.cart-drawer>header button{width:38px;height:38px;border:0;border-radius:50%;background:#eef2f5;font-size:25px;cursor:pointer}.cart-drawer-message{margin:12px 18px 0;padding:10px 12px;border-radius:8px;background:#ecfdf3;color:#027a48}.cart-drawer-message.is-error{background:#fef3f2;color:#b42318}.cart-drawer-lines{overflow:auto;padding:12px 18px}.cart-drawer-lines article{display:grid;grid-template-columns:86px minmax(0,1fr);gap:13px;padding:14px 0;border-bottom:1px solid #edf0f2}.cart-drawer-lines article>a>img,.cart-drawer-lines article>a>span{display:grid;place-items:center;width:86px;height:86px;object-fit:contain;border-radius:9px;background:#f3f5f7;font-size:32px;font-weight:900}.cart-drawer-lines article>div>a strong{display:block}.cart-drawer-lines article small{display:block;margin-top:3px;color:#667085}.cart-drawer-lines article p{margin:7px 0;font-weight:800;color:var(--theme-sale-price)}.cart-drawer-lines form{display:inline-flex;gap:6px;align-items:center;margin-right:5px}.cart-drawer-lines input{width:62px;padding:7px;border:1px solid #d0d5dd;border-radius:7px}.cart-drawer-lines button{padding:7px 9px;border:1px solid #d0d5dd;border-radius:7px;background:#fff;cursor:pointer}.cart-drawer-lines .cart-remove{border-color:transparent;color:#b42318}.cart-drawer-empty{display:grid;place-items:center;min-height:260px;text-align:center;color:#667085}.cart-drawer-empty strong{color:var(--theme-text);font-size:20px}.cart-drawer>footer{padding:18px 20px;border-top:1px solid #e7ebef;background:#fff}.cart-drawer>footer>div{display:flex;justify-content:space-between;gap:14px;margin:8px 0}.cart-drawer>footer .cart-discount{color:#067647}.cart-drawer>footer .cart-total{padding-top:10px;border-top:1px solid #e7ebef;font-size:18px}.cart-drawer>footer>a{display:block;margin-top:15px;text-align:center}.cart-page-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:20px}.cart-page-head h1{margin:0}.cart-kicker{margin:0 0 5px;color:var(--theme-primary);font-weight:800;text-transform:uppercase}.cart-clear-button{padding:9px 12px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:#b42318;cursor:pointer}.cart-empty-page{display:grid;place-items:center;min-height:380px;padding:40px;border:1px solid #e4e7ec;border-radius:var(--theme-card-radius);text-align:center}.cart-empty-page strong{font-size:26px}.cart-page-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start}.cart-page-lines{display:grid;gap:14px}.cart-page-line{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;padding:18px;border:1px solid #e4e7ec;border-radius:var(--theme-card-radius);background:#fff}.cart-page-image img,.cart-page-image>span{display:grid;place-items:center;width:150px;height:150px;object-fit:contain;border-radius:10px;background:#f3f5f7;font-size:52px;font-weight:900}.cart-page-info h2{margin:0 0 6px;font-size:20px}.cart-page-info>p{color:#667085}.cart-line-price{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:14px 0}.cart-line-price del{color:#98a2b3}.cart-line-price strong{color:var(--theme-sale-price);font-size:18px}.cart-line-actions{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.cart-line-actions form{display:flex;gap:8px;align-items:end}.cart-line-actions label{display:grid;gap:5px;font-size:12px;font-weight:700}.cart-line-actions input{width:80px;padding:9px;border:1px solid #d0d5dd;border-radius:8px}.cart-line-actions button{padding:9px 12px;border:1px solid var(--theme-primary);border-radius:8px;background:#fff;color:var(--theme-primary);cursor:pointer}.cart-line-actions .cart-remove{border-color:#fda29b;color:#b42318}.cart-order-summary{position:sticky;top:110px;padding:22px;border:1px solid #e4e7ec;border-radius:var(--theme-card-radius);background:#fff}.cart-order-summary h2{margin-top:0}.cart-order-summary>div{display:flex;justify-content:space-between;gap:12px;margin:12px 0}.cart-order-summary .cart-discount{color:#067647}.cart-order-summary .cart-order-total{padding-top:14px;border-top:1px solid #e4e7ec;font-size:20px}.cart-promotions{display:block!important;padding:12px;border-radius:8px;background:#f0f9ff}.cart-promotions p{margin:5px 0}.cart-promotions small{display:block;color:#667085}.cart-checkout-disabled{width:100%;margin:14px 0 8px;opacity:.55;cursor:not-allowed}.cart-order-summary>a{display:block;margin-top:14px;color:var(--theme-primary);font-weight:700}.cart-order-summary>small{display:block;color:#667085}
@media(max-width:900px){.cart-page-grid{grid-template-columns:1fr}.cart-order-summary{position:static}.cart-page-line{grid-template-columns:110px minmax(0,1fr)}.cart-page-image img,.cart-page-image>span{width:110px;height:110px}}
@media(max-width:560px){.buy-box-actions{grid-template-columns:1fr}.cart-page-head{align-items:start;flex-direction:column}.cart-page-line{grid-template-columns:82px minmax(0,1fr);padding:13px}.cart-page-image img,.cart-page-image>span{width:82px;height:82px}.cart-line-actions{align-items:stretch;flex-direction:column}.cart-line-actions form{justify-content:space-between}.cart-drawer{width:100vw}}

/* Checkout and order confirmation V5.20 */
.checkout-heading{margin:0 0 24px}.checkout-heading h1{margin:4px 0 8px;font-size:clamp(28px,4vw,42px)}.checkout-heading>p:last-child{margin:0;color:#687684}.checkout-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,.75fr);gap:24px;align-items:start}.checkout-main{display:grid;gap:18px}.checkout-card,.checkout-summary{border:1px solid #dfe5ea;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(23,33,43,.05)}.checkout-card{padding:22px}.checkout-card h2,.checkout-summary h2{margin:0 0 18px;font-size:19px}.checkout-card-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.checkout-card-heading h2{margin:0}.checkout-card-heading span{font-size:13px;color:#6d7b87}.checkout-fields{display:grid;gap:14px}.checkout-fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}.checkout-fields label{display:grid;gap:7px;font-size:13px;font-weight:700}.checkout-fields label.full{grid-column:1/-1}.checkout-fields label>small{font-weight:400;color:#7b8794}.checkout-fields input,.checkout-fields select,.checkout-fields textarea{width:100%;border:1px solid #cbd4dc;border-radius:9px;padding:11px 12px;background:#fff;color:#17212b}.checkout-fields input:focus,.checkout-fields select:focus,.checkout-fields textarea:focus{outline:3px solid rgba(23,105,170,.12);border-color:var(--theme-primary)}.checkout-fields .errorlist,.checkout-card>.errorlist{margin:0;padding-left:18px;color:#b42318;font-weight:500}.checkout-alert{margin-bottom:18px;padding:13px 15px;border:1px solid #bad9ed;border-radius:10px;background:#eef7fd}.checkout-alert.is-error,.checkout-submit-error{border-color:#f1b9b4;background:#fff3f2;color:#a61b13}.checkout-submit-error{margin:0 0 12px;padding:10px 12px;border:1px solid;border-radius:8px}.checkout-shipping-message{color:#6d7b87;font-size:14px}.checkout-shipping-message:empty{display:none}.checkout-shipping-options,.checkout-payment-options{display:grid;gap:10px;margin-top:14px}.checkout-option{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid #d9e0e6;border-radius:11px;padding:14px;cursor:pointer;transition:.16s ease}.checkout-option:hover{border-color:#8db5d2;background:#f8fbfd}.checkout-option:has(input:checked){border-color:var(--theme-primary);box-shadow:0 0 0 3px rgba(23,105,170,.1);background:#f5faff}.checkout-option.is-disabled{opacity:.62;cursor:not-allowed;background:#f6f7f8}.checkout-option input{width:18px;height:18px;accent-color:var(--theme-primary)}.checkout-option span{display:grid;gap:3px}.checkout-option small{color:#6d7b87}.checkout-option>b{white-space:nowrap;color:var(--theme-primary)}.checkout-bank-preview{display:grid;gap:4px;margin-top:14px;padding:13px;border-radius:10px;background:#f5f7f8}.checkout-summary{position:sticky;top:18px;padding:22px}.checkout-summary-lines{display:grid;gap:12px;padding-bottom:16px;border-bottom:1px solid #e3e8ec}.checkout-summary-lines article,.order-success-lines article{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px;align-items:center}.checkout-summary-lines img,.order-success-lines img{width:48px;height:48px;object-fit:cover;border-radius:8px;border:1px solid #e0e5e9}.checkout-summary-lines span,.order-success-lines span{display:grid;gap:3px}.checkout-summary-lines small,.order-success-lines small{color:#75818c}.checkout-summary-lines b,.order-success-lines b{font-size:14px;white-space:nowrap}.checkout-totals{display:grid;gap:10px;padding:18px 0}.checkout-totals p{display:flex;justify-content:space-between;gap:18px;margin:0}.checkout-totals p.is-total{padding-top:13px;border-top:1px solid #dfe5ea;font-size:19px}.checkout-totals p.is-total strong{color:var(--theme-sale-price)}.checkout-submit{width:100%;border:0}.checkout-submit:disabled{opacity:.55;cursor:not-allowed}.checkout-secure-note{display:block;margin-top:10px;color:#72808c;line-height:1.45;text-align:center}.checkout-back{display:block;margin-top:14px;text-align:center}.order-success-page{padding-top:34px}.order-success-hero{display:flex;gap:18px;align-items:center;margin-bottom:26px;padding:22px;border:1px solid #b8dec7;border-radius:14px;background:#effaf3}.order-success-hero>span{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#159447;color:#fff;font-size:28px;font-weight:800}.order-success-hero h1{margin:3px 0}.order-success-hero p{margin:3px 0}.order-success-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.7fr);gap:24px;align-items:start}.order-success-layout>div{display:grid;gap:18px}.order-success-lines{display:grid;gap:14px}.order-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.order-info-grid p{display:grid;gap:5px;margin:0;padding:14px;border-radius:10px;background:#f6f8f9}.order-info-grid span{line-height:1.55;color:#52616e}.order-bank-instructions{border-color:#c8ddeb;background:#f8fcff}.order-bank-instructions dl{display:grid;gap:8px}.order-bank-instructions dl div{display:flex;justify-content:space-between;gap:16px}.order-bank-instructions dt{color:#6c7984}.order-bank-instructions dd{margin:0;font-weight:700;text-align:right}.order-status-box{display:grid;gap:8px;margin:0 0 16px;padding:13px;border-radius:10px;background:#f5f7f8}.order-status-box p{display:flex;justify-content:space-between;gap:12px;margin:0}.cart-drawer-view{display:block;margin-top:9px;text-align:center}.order-admin-summary{display:grid;gap:8px}.order-admin-summary p{display:flex;justify-content:space-between;gap:12px;margin:0}.order-admin-summary p.is-total{padding-top:10px;border-top:1px solid #dfe4e8;font-size:17px}
@media(max-width:900px){.checkout-layout,.order-success-layout{grid-template-columns:1fr}.checkout-summary{position:static}.checkout-fields.two,.order-info-grid{grid-template-columns:1fr}.checkout-fields label.full{grid-column:auto}}
@media(max-width:560px){.checkout-card,.checkout-summary{padding:16px}.checkout-option{grid-template-columns:auto minmax(0,1fr)}.checkout-option>b{grid-column:2}.checkout-summary-lines article,.order-success-lines article{grid-template-columns:42px minmax(0,1fr)}.checkout-summary-lines article>b,.order-success-lines article>b{grid-column:2}.order-success-hero{align-items:flex-start}}

/* Combo products 1.9.0 */
.product-combo-box{margin:18px 0;padding:16px;border:1px solid var(--theme-border,#e5e7eb);border-radius:12px;background:#fafcff}.product-combo-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.product-combo-head span{font-size:12px;color:#667085}.product-combo-list{display:grid;gap:8px}.product-combo-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px;border-radius:9px;background:#fff;color:inherit;text-decoration:none}.product-combo-item img,.product-combo-placeholder{width:48px;height:48px;border-radius:8px;object-fit:cover;background:#eef2f6;display:grid;place-items:center;font-weight:800}.product-combo-item>span:nth-child(2){display:grid;gap:3px;min-width:0}.product-combo-item b,.product-combo-item small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-combo-item small,.cart-combo-summary,.order-combo-summary{color:#667085;font-size:12px;line-height:1.45}.product-combo-item>strong{white-space:nowrap}.cart-combo-summary{display:block;margin-top:5px}.order-combo-summary{display:block;max-width:520px}@media(max-width:560px){.product-combo-item{grid-template-columns:42px minmax(0,1fr)}.product-combo-item>strong{grid-column:2}.product-combo-item img,.product-combo-placeholder{width:42px;height:42px}}

.product-unavailable{display:grid;gap:6px;border-color:#f0b8b8;background:#fff8f8}.product-unavailable strong{color:#9b1c1c}

/* HIBO STOREFRONT V1 — 1.11.1 */
:root{--hibo-page:#f3f3f3;--hibo-surface:#fff;--hibo-text:#4c4c4c;--hibo-muted:#929292;--hibo-line:#ececec;--hibo-radius:10px}
html{scroll-behavior:smooth}body{background:var(--theme-page-bg,var(--hibo-page));color:var(--theme-text,var(--hibo-text));font-family:var(--hibo-font-family);font-size:15px}.theme-container{width:min(100%,calc(var(--theme-container) + 20px));max-width:none;margin-inline:auto;padding-inline:10px}.home-section{margin-block:16px}.hibo-surface{background:#fff;border-radius:10px;padding:12px;box-shadow:0 1px 4px rgba(20,20,20,.04)}.hibo-section-head,.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:6px 4px 14px}.hibo-section-head h2,.section-title h2{margin:0;font-size:20px;line-height:1.25;font-weight:800;text-transform:uppercase}.hibo-section-head>a,.section-title>a{font-weight:700;color:var(--theme-primary)}

.hibo-category-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:10px}.hibo-category-card{display:flex;flex-direction:column;align-items:center;padding:8px;border-radius:10px;color:inherit;text-align:center;text-decoration:none;transition:.18s}.hibo-category-card:hover{background:#fafafa;transform:translateY(-2px)}.hibo-category-card>span{display:grid;place-items:center;width:100%;aspect-ratio:1;border-radius:12px;background:#f6f6f6;overflow:hidden}.hibo-category-card img{width:100%;height:100%;object-fit:cover}.hibo-category-card>span>b{font-size:34px;color:#aaa}.hibo-category-card>strong{margin-top:8px;display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px;line-height:1.35}
.product-grid{gap:12px}.hibo-product-card{position:relative;border:0!important;border-radius:10px!important;background:#fff;box-shadow:0 1px 7px rgba(0,0,0,.08)!important;overflow:visible;transition:transform .18s,box-shadow .18s}.hibo-product-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(0,0,0,.12)!important}.product-card-image{padding:8px 8px 0}.product-image-square{display:block;position:relative;aspect-ratio:1;overflow:hidden;border-radius:9px;background:#fff}.product-image-square img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.hibo-product-card:hover .product-image-square img{transform:scale(1.035)}.sale-badge{top:8px;right:8px;padding:5px 8px;border-radius:7px;background:var(--theme-primary);font-size:12px}.product-card-body{padding:8px 10px 11px;position:relative}.product-card-body h3{margin:5px 0 0;font-size:14px;line-height:1.45;font-weight:700;min-height:61px}.product-card-body h3 a{display:-webkit-box;overflow:hidden;-webkit-line-clamp:3;-webkit-box-orient:vertical}.product-price-row{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap}.product-price-row strong{color:var(--theme-sale-price);font-size:17px}.product-price-row del{color:var(--theme-compare-price);font-size:12px}.discount-inline{color:var(--theme-sale-price);font-weight:700}.contact-price{color:var(--theme-primary)!important}.product-card-promo{margin-top:7px;padding:6px 8px;border-radius:7px;background:#fff3f3;color:#7f1d1d;font-size:12px;line-height:1.35;display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.product-card-cart{position:absolute;right:10px;bottom:10px;opacity:0;transform:translateY(5px);transition:.18s}.hibo-product-card:hover .product-card-cart{opacity:1;transform:none}.product-card-cart button{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;background:var(--theme-primary);color:#fff;cursor:pointer}.hibo-sale-progress{position:relative;height:18px;margin:8px 10px 0;border-radius:999px;background:#ffe1e1;overflow:hidden}.hibo-sale-progress>span{position:absolute;inset:0 auto 0 0;background:linear-gradient(90deg,#ff7b7b,var(--theme-primary))}.hibo-sale-progress>b{position:relative;z-index:1;display:block;text-align:center;color:#fff;font-size:10px;line-height:18px}
.hibo-flash-section{margin-block:16px}.hibo-flash-shell{border-radius:10px;padding:12px;background:linear-gradient(135deg,var(--flash-a),var(--flash-b))}.hibo-flash-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:3px 5px 12px;color:var(--flash-title)}.hibo-flash-head h2{margin:0;font-size:22px;font-weight:900}.hibo-flash-head a{color:inherit}.hibo-countdown{display:flex;gap:5px}.hibo-countdown span{display:flex;align-items:baseline;gap:3px;min-width:44px;padding:5px 7px;border-radius:6px;background:rgba(0,0,0,.16);color:#fff}.hibo-countdown b{font-size:15px}.hibo-countdown small{font-size:9px}.hibo-product-scroller{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(190px,1fr);gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 8px;scrollbar-width:thin}.hibo-product-scroller>.product-card{scroll-snap-align:start}
.hibo-tab-nav{display:flex;gap:8px;overflow-x:auto;padding:3px 3px 12px}.hibo-tab-button{white-space:nowrap;border:1px solid #ddd;border-radius:10px;padding:9px 14px;background:#fff;font-weight:800;cursor:pointer}.hibo-tab-button.active{border-color:var(--theme-primary);background:var(--theme-primary);color:#fff}.hibo-view-more{display:block;margin-top:14px;padding:10px;border-radius:10px;background:#fff;box-shadow:0 1px 7px rgba(0,0,0,.08);color:var(--theme-primary);font-weight:800;text-align:center}.hibo-product-banner-layout{display:grid;grid-template-columns:25% minmax(0,1fr);gap:10px;align-items:stretch}.hibo-product-banner-layout.banners-right{grid-template-columns:minmax(0,1fr) 25%}.hibo-product-banner-layout.banners-right .hibo-side-banners{order:2}.hibo-side-banners{display:grid;grid-template-columns:1fr;gap:10px}.hibo-side-banners a{display:block;aspect-ratio:1;border-radius:10px;overflow:hidden;background:#f4f4f4}.hibo-side-banners img{width:100%;height:100%;object-fit:cover}
.hibo-trending-shell{border-radius:10px;padding:12px;background:linear-gradient(135deg,var(--trend-a),var(--trend-b))}.hibo-trending-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.hibo-trending-card{padding:12px;border-radius:10px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 1px 4px rgba(0,0,0,.05)}.hibo-trending-images{display:grid;grid-template-columns:1fr 1fr;gap:6px}.hibo-trending-images span{display:grid;place-items:center;aspect-ratio:1;border-radius:9px;background:#f6f6f6;overflow:hidden}.hibo-trending-images img{width:100%;height:100%;object-fit:cover}.hibo-trending-card>div:last-child{position:relative;padding:9px 30px 0 0}.hibo-trending-card small,.hibo-trending-card strong{display:block}.hibo-trending-card small{color:var(--theme-primary)}.hibo-trending-card strong{font-size:15px}.trend-arrow{position:absolute;right:0;bottom:2px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--theme-primary);color:#fff}
.hibo-blog-split{display:grid;grid-template-columns:1fr 1fr;gap:20px}.hibo-blog-image{display:block;aspect-ratio:3/2;border-radius:10px;overflow:hidden;background:#f3f3f3}.hibo-blog-image img,.hibo-blog-thumb img{width:100%;height:100%;object-fit:cover}.hibo-blog-featured h3{margin:10px 0 5px;font-size:19px}.hibo-blog-featured p{margin:0;color:#666;display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hibo-blog-list{display:grid;gap:12px}.hibo-blog-compact{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px}.hibo-blog-thumb{display:block;aspect-ratio:3/2;border-radius:8px;overflow:hidden;background:#f3f3f3}.hibo-blog-compact h3{margin:0 0 4px;font-size:14px;line-height:1.35}.hibo-blog-compact h3 a{display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical}.hibo-blog-compact small{color:#999}.hibo-blog-compact p{margin:4px 0 0;color:#666;font-size:12px;display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.footer-logo img{max-width:215px;max-height:64px}.footer-bottom{padding-block:15px;border-top:1px solid #eee;color:#777}
@media(max-width:991px){body{padding-bottom:54px}.hibo-category-grid{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}.hibo-category-card{min-width:92px}.hibo-trending-row{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.hibo-trending-card{min-width:82%;scroll-snap-align:start}.hibo-product-banner-layout,.hibo-product-banner-layout.banners-right{grid-template-columns:1fr}.hibo-side-banners,.hibo-product-banner-layout.banners-right .hibo-side-banners{order:2;grid-template-columns:1fr 1fr}.hibo-product-scroller{grid-auto-columns:minmax(155px,47%)}.product-card-body h3{min-height:58px;font-size:13px}.product-price-row strong{font-size:15px}.product-card-cart{display:none}.hibo-blog-split{grid-template-columns:1fr}}

@media(max-width:575px){.theme-container{padding-inline:8px}.home-section,.hibo-flash-section{margin-block:12px}.hibo-surface,.hibo-flash-shell,.hibo-trending-shell{padding:8px}.hibo-section-head h2,.section-title h2,.hibo-flash-head h2{font-size:17px}.hibo-flash-head{align-items:flex-start;flex-direction:column}.hibo-countdown span{min-width:40px}.hibo-blog-compact{grid-template-columns:96px minmax(0,1fr)}}
/* Mobile bottom nav is defined once in the Footer V1.14.22+ block below. */

/* HIBO STOREFRONT V1.11.3 — visual normalization */
body{background:#f3f3f3;color:#4c4c4c}

.home-section{margin-block:16px}.hibo-section{margin-block:16px}.hibo-surface{padding:12px;border-radius:10px}
.hibo-section-head{padding:4px 2px 12px}.hibo-section-head h2{font-size:20px;color:#222}
.hibo-hero-section{margin:16px 0 0}.hibo-hero-frame{position:relative}.hibo-hero-frame .slideshow-track{overflow:hidden;border-radius:10px;background:#fff}.hibo-hero-frame .slide-content{left:10px;right:10px;width:auto;padding:28px 34px}.hibo-hero-frame .slide-content h2{font-size:clamp(30px,4vw,50px)}
.hibo-hero-fallback{min-height:360px;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);align-items:center;gap:32px;padding:42px 56px;border-radius:10px;overflow:hidden;background:radial-gradient(circle at 80% 40%,rgba(255,255,255,.22),transparent 24%),linear-gradient(135deg,var(--theme-primary),var(--theme-secondary));color:#fff;box-shadow:0 6px 24px rgba(215,0,24,.16)}
.hibo-hero-kicker{display:block;margin-bottom:10px;font-size:13px;font-weight:900;letter-spacing:.08em}.hibo-hero-fallback h1{max-width:720px;margin:0;font-size:clamp(38px,5vw,64px);line-height:1.02;letter-spacing:-.04em}.hibo-hero-fallback p{max-width:620px;margin:18px 0 24px;font-size:17px}.hibo-hero-fallback .theme-button{background:#fff;color:var(--theme-primary)}.hibo-hero-mark{display:grid;place-items:center;aspect-ratio:1;border:18px solid rgba(255,255,255,.18);border-radius:50%;font-size:clamp(46px,6vw,86px);font-weight:1000;letter-spacing:-.08em;color:rgba(255,255,255,.92)}
.policy-grid{gap:12px;padding:14px 18px;border:0;box-shadow:0 1px 4px rgba(0,0,0,.04)}.policy-item{padding:4px 8px}.policy-icon{width:40px;height:40px;flex-basis:40px;background:#fff3f3;color:var(--theme-primary)}
.hibo-category-grid{grid-template-columns:repeat(10,minmax(0,1fr));gap:8px}.hibo-category-card{padding:6px}.hibo-category-card>span{border-radius:10px}.hibo-category-card>strong{font-size:13px}
.hibo-product-grid-home{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.hibo-product-card{box-shadow:none!important;border:1px solid #ededed!important;overflow:hidden}.hibo-product-card:hover{box-shadow:0 8px 20px rgba(0,0,0,.08)!important}.product-image-square img{object-fit:cover}.sale-badge{left:auto!important;right:8px!important;top:8px!important;width:auto!important;max-width:calc(100% - 16px);white-space:nowrap;border-radius:6px;background:var(--theme-sale-price)!important}.product-card-body{padding:8px 9px 10px}.product-card-body h3{min-height:60px;margin-top:6px;font-size:13px}.product-price-row strong{font-size:16px}.product-price-row del{font-size:11px}.discount-inline{font-size:11px}
.hibo-product-scroller{grid-auto-columns:minmax(185px,190px);gap:10px}.hibo-flash-shell{padding:10px;border-radius:10px}.hibo-flash-head h2{font-size:20px}.hibo-tab-nav{padding:2px 2px 10px}.hibo-tab-button{padding:8px 12px;border-radius:8px;font-size:13px}.hibo-view-more{margin-top:10px;padding:9px}
.hibo-trending-row{gap:10px}.hibo-trending-card{padding:10px}.hibo-trending-card strong{font-size:14px}
.hibo-blog-split{gap:18px}.hibo-blog-featured h3{font-size:18px}.hibo-blog-compact{grid-template-columns:104px minmax(0,1fr)}
.footer-bottom{padding-block:12px}

.section-empty{grid-column:1/-1;margin:0;padding:22px;border:1px dashed #d8d8d8;border-radius:8px;background:#fff;color:#888;text-align:center}
@media(max-width:1199px){.hibo-product-grid-home{grid-template-columns:repeat(4,minmax(0,1fr))}.hibo-category-grid{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media(max-width:991px){.hibo-hero-section{margin-top:10px}.hibo-hero-fallback{min-height:250px;grid-template-columns:1fr;padding:28px}.hibo-hero-mark{display:none}.hibo-category-grid{display:flex}.hibo-product-grid-home{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}
@media(max-width:575px){.theme-container{width:100%;padding-inline:8px}.hibo-hero-fallback{min-height:220px;padding:24px 20px}.hibo-hero-fallback h1{font-size:34px}.hibo-hero-fallback p{margin:12px 0 18px;font-size:14px}.policy-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:10px}.policy-item{align-items:flex-start}.policy-item small{font-size:11px}.hibo-surface{padding:8px}.hibo-product-grid-home{gap:7px}.product-card-body h3{min-height:56px;font-size:12.5px}.product-price-row strong{font-size:15px}}

/* HIBO STOREFRONT V1.11.8 — preview polish */

.hibo-category-card>span>b{font-size:30px;font-weight:900;color:#b4b4b4}
.hibo-category-card>strong{min-height:36px;display:flex;align-items:flex-start;justify-content:center}

/* HIBO STOREFRONT V1.11.8 — taxonomy fallback + carousel polish */
.hibo-category-grid{align-items:start}
.hibo-category-card>span{overflow:hidden;background:#f7f7f7}
.hibo-category-card>span img{width:100%;height:100%;object-fit:contain;background:#fff}
.hibo-category-card>strong{line-height:1.3}
.hibo-scroller-wrap{position:relative}
.hibo-product-scroller{overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none}
.hibo-product-scroller::-webkit-scrollbar{display:none;width:0;height:0}
.hibo-scroll-button{position:absolute;z-index:4;top:50%;display:grid;place-items:center;width:34px;height:34px;margin-top:-17px;border:1px solid #e5e5e5;border-radius:50%;background:#fff;color:var(--theme-primary);font-size:25px;font-weight:800;line-height:1;box-shadow:0 3px 12px rgba(0,0,0,.12);cursor:pointer}
.hibo-scroll-button.prev{left:-5px}.hibo-scroll-button.next{right:-5px}
.hibo-scroll-button:hover{background:var(--theme-primary);color:#fff;border-color:var(--theme-primary)}
.is-flash-sale .discount-inline{display:none}
.hibo-tab-nav{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}.hibo-tab-nav::-webkit-scrollbar{display:none}
.hibo-trending-row{align-items:stretch}
.hibo-trending-card{min-width:0}
@media(min-width:992px){.hibo-trending-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:991px){.hibo-scroll-button{display:none}.hibo-trending-card{min-width:82%}}

/* HIBO STOREFRONT V1.11.8 — menu + storefront density */
@media(min-width:1200px){

  .hibo-category-grid{grid-template-columns:repeat(10,minmax(0,1fr));column-gap:12px;row-gap:10px}
  .hibo-product-grid-home{grid-template-columns:repeat(6,minmax(0,1fr))}
}

.hibo-category-card>span{border:1px solid #f1f1f1}
.hibo-category-card>span img{padding:4px}
.hibo-category-card:hover>span{border-color:#ffd6da}
.hibo-product-card .product-image-square img{object-fit:contain;padding:2px}
.hibo-trending-images img{object-fit:contain;padding:4px;background:#fff}
.hibo-trending-card{border:1px solid #f0f0f0;box-shadow:none}
.hibo-trending-card:hover{border-color:#ffd4d9;box-shadow:0 6px 18px rgba(0,0,0,.06)}
.hibo-view-more{border:1px solid #f0f0f0;box-shadow:none}
.hibo-view-more:hover{border-color:#ffd4d9;background:#fffafa}

/* HIBO STOREFRONT V1 — 1.11.8 catalog explorer polish */

/* HIBO STOREFRONT V1.11.11 — compact catalog mega menu */

/* HIBO Settings Wiring 1.12.3 */
.product-card-title a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--product-title-lines,3);overflow:hidden}

/* HIBO Menu Engine 1.13.8: long-scroll must never clip dropdowns/mega menus. */

/* HIBO search layer compatibility */

@media(max-width:991px){

}

html,body{max-width:100%}
img{max-width:100%}
.theme-container{min-width:0}
main{min-width:0}

@media (max-width: 991px) {
  html,
  body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-x: clip;
    overscroll-behavior-x: none;
  }
main,
  .theme-container,
  .hibo-product-document,
  .hibo-product-page {
    min-width: 0;
    max-width: 100%;
  }
}

/* =========================================================
   HIBO Product Card V1.14.65 — PROMO LINE REMOVED / COMPACT ADD TO CART
   - Ẩn / bỏ dòng giải thích khuyến mãi dưới tên sản phẩm trong card.
   - Nút thêm vào giỏ đổi từ icon tròn nhỏ sang pill button gọn đẹp,
     dễ bấm hơn trên mobile và dễ nhìn hơn trên desktop.
   ========================================================= */
.hibo-product-card .product-card-body,
.product-card .product-card-body {
  display: flex;
  flex-direction: column;
}

.hibo-product-card .product-card-promo,
.product-card .product-card-promo {
  display: none !important;
}

.hibo-product-card .product-card-cart,
.product-card .product-card-cart {
  position: static !important;
  right: auto !important;
  bottom: auto !important;
  margin-top: auto !important;
  padding-top: 10px !important;
  opacity: 1 !important;
  transform: none !important;
}

.hibo-product-card:hover .product-card-cart,
.product-card:hover .product-card-cart {
  opacity: 1 !important;
  transform: none !important;
}

.hibo-product-card .product-card-cart .hibo-card-add-to-cart,
.product-card .product-card-cart .hibo-card-add-to-cart {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 38px;
  padding: 10px 12px;
  border: 1px solid var(--theme-primary);
  border-radius: 999px;
  background: var(--theme-primary);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(15, 23, 42, .12);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.hibo-product-card .product-card-cart .hibo-card-add-to-cart:hover,
.product-card .product-card-cart .hibo-card-add-to-cart:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .16);
  filter: brightness(.98);
}

.hibo-product-card .product-card-cart .hibo-card-add-to-cart svg,
.product-card .product-card-cart .hibo-card-add-to-cart svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hibo-product-card .product-card-cart .product-card-cart-text,
.product-card .product-card-cart .product-card-cart-text {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .hibo-product-card .product-card-cart,
  .product-card .product-card-cart {
    display: block !important;
  }

  .hibo-product-card .product-card-cart .hibo-card-add-to-cart,
  .product-card .product-card-cart .hibo-card-add-to-cart {
    min-height: 36px;
    padding: 9px 11px;
    font-size: 12.5px;
  }
}

/* HIBO PRODUCT LABEL TAGS START */
.hibo-product-labels--card {
  position: static;
  z-index: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  gap: 3px 4px;
  width: 100%;
  max-width: 100%;
  margin: 4px 0 5px;
  padding: 0 2px;
  box-sizing: border-box;
}

.label_tag {
  font-size: 10px;
  line-height: 13px;
  flex: 0 1 auto !important;
  min-width: 0;
  max-width: 100%;
  width: auto !important;
  padding: 2px 6px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #fff;
  border-radius: 10px;
  box-sizing: border-box;
}

.label_tag > span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.label_tag img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
}

.label_tag.label1 { background: linear-gradient(to right, #c50f0f, #e70000); }
.label_tag.label2 { background: linear-gradient(to right, #e91f63, #db2663); }
.label_tag.label3 { background: linear-gradient(to right, #3bacf0, #1b6dc1); }
.label_tag.label4 { background: linear-gradient(to right, #3bacf0, #1b6dc1); }
.label_tag.label5 { background: linear-gradient(to right, #ef3006, #c60004); }

@media (max-width: 680px) {
  .hibo-product-labels--card {
    gap: 2px 3px;
    margin: 3px 0 4px;
  }
  .label_tag {
    font-size: 9px;
    line-height: 12px;
    padding: 2px 5px;
    gap: 3px;
  }
  .label_tag img {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }
}
/* HIBO PRODUCT LABEL TAGS END */

/* HIBO PRODUCT END TAGS START */
.hibo-product-end-tags {
  position: static;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  width: auto;
  max-width: 100%;
  margin: 2px 10px 10px;
  padding: 7px 44px 0 0;
  border-top: 1px solid #eef1f4;
  box-sizing: border-box;
}

.hibo-product-end-tags:empty {
  display: none;
}

.hibo-product-end-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 25px;
  padding: 3px 9px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  background: #fff;
  color: #667085;
  font-size: 11px;
  line-height: 17px;
  font-weight: 500;
  white-space: normal;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .hibo-product-end-tags {
    margin: 2px 8px 8px;
    padding-right: 0;
  }
  .hibo-product-end-tag {
    padding: 2px 7px;
    font-size: 10px;
    line-height: 16px;
  }
}
/* HIBO PRODUCT END TAGS END */

/* HIBO CARD PROMOTION METAFIELD START */
.hibo-card-promotion-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 8px 0 0;
  color: #4f5b66;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
@media (max-width: 767px) {
  .hibo-card-promotion-text {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.45;
  }
}
/* HIBO CARD PROMOTION METAFIELD END */

/* HIBO_CHECKOUT_SIDE_STACK_V2_2
   Phương thức giao hàng nằm trên Đơn hàng ở cột phải. */
.checkout-side-stack{
  display:grid;
  gap:18px;
  position:sticky;
  top:18px;
  align-self:start;
  min-width:0;
}
.checkout-side-stack .checkout-summary{
  position:static;
  top:auto;
}
.checkout-side-stack .checkout-card{
  min-width:0;
}
@media(max-width:900px){
  .checkout-side-stack{
    position:static;
    top:auto;
  }
}

/* Customer Accounts V1 — Theme 1 v1.11.0 */
.checkout-field-help{display:block;margin-top:5px;color:#667085;font-weight:400}.checkout-account-box,.checkout-account-note{margin-top:14px;padding:14px;border:1px solid #d9e2ec;border-radius:10px;background:#f8fbff}.checkout-account-note{display:grid;gap:4px}.checkout-account-toggle{display:flex;align-items:flex-start;gap:10px}.checkout-account-toggle>input{margin-top:3px}.checkout-account-toggle>span{display:grid;gap:3px}.checkout-account-toggle small{color:#667085;font-weight:400}.checkout-otp-panel{margin-top:12px}.checkout-otp-actions{display:grid;grid-template-columns:auto minmax(120px,1fr) auto;gap:8px}.checkout-otp-actions button,.checkout-otp-actions input{min-height:42px;border:1px solid #cbd5e1;border-radius:8px;padding:0 12px;background:#fff}.checkout-otp-actions button{cursor:pointer;font-weight:700}.checkout-otp-panel p{margin:8px 0 0;color:#1769aa}.checkout-otp-panel p.is-error{color:#b42318}.checkout-otp-panel p.is-success{color:#067647}.customer-page{max-width:1000px}.customer-auth-card{max-width:520px;margin:30px auto;padding:26px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;box-shadow:0 14px 40px rgba(15,23,42,.08)}.customer-auth-card form{display:grid;gap:14px}.customer-auth-card label{display:grid;gap:6px;font-weight:700}.customer-auth-card input{min-height:46px;border:1px solid #cbd5e1;border-radius:9px;padding:0 12px}.customer-auth-actions{display:flex;gap:10px;flex-wrap:wrap}.customer-heading{margin-bottom:20px}.customer-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.customer-panel{padding:20px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.customer-panel>p{display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid #eef2f6;padding:10px 0}.customer-panel article{padding:12px 0;border-bottom:1px solid #eef2f6}.customer-panel-head{display:flex;align-items:center;justify-content:space-between}.customer-orders{margin-top:18px}.customer-order-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #eef2f6}.customer-order-row span{display:grid;gap:3px}.customer-order-row small{color:#667085}.customer-order-back{padding-top:18px}
@media(max-width:700px){.checkout-otp-actions{grid-template-columns:1fr}.customer-grid{grid-template-columns:1fr}.customer-panel>p{display:grid}.customer-order-row{align-items:flex-start}}

/* HIBO_CHECKOUT_EMAIL_IDENTITY_V1 */
.checkout-email-rule{display:grid;gap:4px}.checkout-email-rule small{color:#667085;font-weight:400}
.customer-profile-form{display:grid;gap:12px}.customer-profile-form label{display:grid;gap:6px;font-weight:700}
.customer-profile-form input{min-height:42px;border:1px solid #cbd5e1;border-radius:8px;padding:0 11px;background:#fff}
.customer-profile-form p{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #eef2f6;padding:10px 0;margin:0}.customer-logout-form{margin-top:12px}
