/* Shared storefront layout and typography. */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets_client/frontend/common/fonts/roboto/KFOmCnqEu92Fr1Mu7WxMKTU1Kvnz.woff') format('woff');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets_client/frontend/common/fonts/roboto/KFOmCnqEu92Fr1Mu7GxMKTU1Kvnz.woff') format('woff');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets_client/frontend/common/fonts/roboto/KFOmCnqEu92Fr1Mu4mxMKTU1Kg.woff') format('woff');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets_client/frontend/common/fonts/roboto/KFOlCnqEu92Fr1MmEU9fCxc-AMP6lbBP.woff') format('woff');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets_client/frontend/common/fonts/roboto/KFOlCnqEu92Fr1MmEU9fChc-AMP6lbBP.woff') format('woff');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets_client/frontend/common/fonts/roboto/KFOlCnqEu92Fr1MmEU9fBBc-AMP6lQ.woff') format('woff');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets_client/frontend/common/fonts/roboto/KFOlCnqEu92Fr1MmWUlfCxc-AMP6lbBP.woff') format('woff');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets_client/frontend/common/fonts/roboto/KFOlCnqEu92Fr1MmWUlfChc-AMP6lbBP.woff') format('woff');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets_client/frontend/common/fonts/roboto/KFOlCnqEu92Fr1MmWUlfBBc-AMP6lQ.woff') format('woff');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
body { font-family: Roboto, Arial, sans-serif; }
body :is(.ms-root, .ss-page, .pd-page, .store-header-root, .store-footer-root, .store-support, .qv-overlay, .palette-overlay) :not(i):not([class*="fa-"]),
body :is(button, input, select, textarea) { font-family: Roboto, Arial, sans-serif !important; }
body :is(a, button, input, select, summary):focus-visible { outline: 2px solid #1240f7; outline-offset: 4px; }
.mc-home .ms-section, .mc-editorial-stack, .home-catalog, .mc-home-blog { max-width: 1320px; margin: 64px auto; padding: 0 32px; }
.mc-hero { height: min(640px, calc(100svh - var(--mc-header-height))); min-height: 400px; }
.mc-hero-cta { bottom: 76px; min-height: 44px; }
.mc-hero-controls { bottom: 20px; }
body .mc-home #modern-categories { margin-top: 28px; margin-bottom: 56px; }
body .mc-home #modern-categories .ms-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
body .mc-home #modern-categories .ms-category-card { height: 190px; min-height: 0; aspect-ratio: auto; border-radius: 16px; padding: 20px; }
body .mc-home #modern-categories .ms-category-name { width: 100%; }
body .mc-home #modern-categories .ms-category-name b { font-family: Roboto, Arial, sans-serif !important; font-size: 20px; }
body .mc-home #modern-categories .ms-gear-cta { display: none; }
.home-catalog { background: #fff; overflow: hidden; }
.home-catalog-heading h2 { font-family: Roboto, Arial, sans-serif !important; font-size: clamp(26px, 3vw, 34px); font-weight: 700; margin-bottom: 12px; letter-spacing: -.02em; }
.home-catalog-heading p { color: #647084; }
.home-catalog-tabs { padding: 24px 0 28px; gap: 8px; }
.home-catalog-tabs button { padding: 10px 18px; background: #f2f4f8; }
.home-catalog-tabs button.is-active { background: #182abb; }
.home-catalog-track { gap: 20px; }
.home-catalog-card { flex-basis: calc((100% - 60px) / 4); border: 1px solid #edf0f5; border-radius: 16px; overflow: hidden; background: #fff; }
.home-catalog-image { border-radius: 0; background: #f7f8fa; }
.home-catalog-image img, body :is(.ss-image, .ms-flash-image) img { padding: 12px; object-fit: contain; }
.home-catalog-body { padding: 16px; }
.home-catalog-name { font-size: 16px; line-height: 23px; min-height: 46px; }
.home-catalog-price { font-size: 19px; }
.home-catalog-controls { margin-top: 28px; }
.home-catalog-arrows button { width: 44px; height: 44px; }
.mc-home .ms-flash { border-radius: 20px; padding: 28px; background: #101d58 !important; box-shadow: none; }
.mc-home .ms-flash-kicker, .mc-home .ms-flash-heading p { display: none; }
.mc-home .ms-flash-heading { margin-bottom: 24px; }
.mc-home .ms-flash-heading h2 { font-size: 30px; margin: 0; }
body :is(.ss-card, .ms-flash-card) { border: 1px solid #edf0f5; border-radius: 16px; }
body :is(.ss-name, .ms-flash-body > a) { font-size: 16px !important; line-height: 23px !important; min-height: 46px; }
body .ms-flash-body { padding: 16px; }
.mc-editorial-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mc-editorial-stack .mc-editorial { max-width: none; width: auto; margin: 0; padding: 32px; border-radius: 20px; }
.mc-editorial-stack :is(.mc-layout-split, .mc-layout-faq, .mc-layout-cards) { grid-column: 1 / -1; }
.mc-editorial-stack .mc-layout-split { background: #f5f7fb; gap: 40px; }
.mc-editorial-stack .mc-layout-split .mc-editorial-image { max-height: 340px; object-fit: contain; }
.mc-editorial-stack .mc-layout-banner { min-height: 240px; background: #101d58; }
.mc-editorial-stack .mc-layout-banner .mc-editorial-copy { width: 100%; }
.mc-editorial-stack .mc-layout-banner h2 { font-size: 28px; }
.mc-editorial-stack .mc-layout-faq { padding: 28px 0; gap: 48px; }
.mc-layout-faq .mc-editorial-items { background: #f5f7fb; }
.mc-home-blog .mc-blog-grid { gap: 24px; }
.mc-home-blog h3 { font-size: 18px; line-height: 1.5; }
.ss-container { max-width: 1320px; padding: 0 32px 64px; }
.ss-breadcrumb { padding: 24px 0; }
.ss-heading { margin: 8px 0 32px; gap: 24px; }
.ss-heading h1 { font-size: clamp(26px, 3vw, 36px); line-height: 1.25; max-width: 620px; }
.ss-controls { flex-wrap: wrap; justify-content: flex-end; }
.ss-controls :is(input, select) { min-height: 44px; border-radius: 12px; font-size: 14px !important; min-width: 0; }
.ss-layout { grid-template-columns: 224px minmax(0, 1fr); gap: 28px; align-items: start; }
.ss-layout aside { position: sticky; top: 96px; background: #f7f8fb; border: 0; border-radius: 16px; padding: 20px; }
.ss-filter-heading { display: flex; align-items: center; justify-content: space-between; }
.ss-layout aside h2 { font-size: 17px; margin-bottom: 12px; font-weight: 700; }
.ss-layout aside h3 { font-size: 12px !important; color: #647084; margin-top: 24px; }
.ss-layout aside :is(button, label) { font-size: 14px !important; line-height: 1.5; padding: 9px 0; }
.ss-layout aside label { display: flex; gap: 8px; align-items: baseline; }
.ss-layout aside input { accent-color: #182abb; }
.ss-grid { gap: 24px; }
body .ss-card-bottom { flex-direction: column; align-items: stretch; gap: 12px; }
body .ss-card-bottom strong { font-size: 19px !important; }
body .ss-card-bottom button { width: 100%; height: 42px; padding: 8px 12px; border-radius: 10px; background: #eef1ff !important; color: #182abb !important; }
body .ss-card-bottom button:hover { background: #182abb !important; color: #fff !important; }
.ss-filter-toggle, .ss-filter-backdrop, .ss-layout aside .ss-filter-close { display: none; }
#product-page .wrap { max-width: 1256px; }
#product-page .tabs-card { border-radius: 18px; overflow: hidden; margin-top: 40px; }
#product-page .tab-pane { padding: 32px; line-height: 1.75; }
#product-page .tab-pane img { border-radius: 12px; }
#product-page .gallery { border-radius: 18px; }
#product-page .rel-grid { gap: 20px; }
#product-page .store-cart { background: transparent !important; }
@media (max-width: 1000px) {
    body .mc-home #modern-categories .ms-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-catalog-card { flex-basis: calc((100% - 40px) / 2.5); }
    .ss-heading { flex-direction: column; align-items: stretch; }
    .ss-controls { justify-content: flex-start; }
    .ss-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; }
    .ss-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 800px) {
    .ss-filter-toggle { display: inline-flex; padding: 12px 18px; margin-bottom: 20px; min-height: 44px; border: 1px solid #dfe4ee; border-radius: 12px; background: #fff; font-weight: 600; }
    .ss-layout { grid-template-columns: minmax(0, 1fr); }
    .ss-layout aside { display: none; position: fixed; top: 0; bottom: 0; left: 0; width: min(88vw, 340px); height: 100dvh; overflow-y: auto; z-index: 1001; border-radius: 0; padding: 24px; }
    .ss-layout aside.is-open { display: block; }
    .ss-layout aside :is(button, label) { width: 100%; }
    .ss-layout aside .ss-filter-close { display: block; width: 44px; height: 44px; font-size: 28px !important; padding: 0; text-align: center; }
    .ss-filter-backdrop { display: block; position: fixed; inset: 0; z-index: 1000; background: #101d5866; }
    .mc-editorial-stack { grid-template-columns: minmax(0, 1fr); }
    .mc-editorial-stack .mc-layout-banner { grid-column: 1; }
}
@media (max-width: 600px) {
    .mc-home .ms-section, .mc-editorial-stack, .home-catalog, .mc-home-blog { margin: 36px auto; padding: 0 16px; }
    .mc-hero { height: 360px; min-height: 0; }
    .mc-hero-slide { padding-top: 0; padding-bottom: 56px; }
    .mc-hero-slide img { height: 236px; }
    .mc-hero-cta { margin-top: 12px; }
    body .mc-home #modern-categories { margin: 20px auto 36px; }
    body .mc-home #modern-categories .ms-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    body .mc-home #modern-categories .ms-category-card { height: 140px; padding: 14px; }
    body .mc-home #modern-categories .ms-category-name b { font-size: 17px; line-height: 1.3; }
    .home-catalog-heading h2 { font-size: 27px; }
    .home-catalog-heading p { font-size: 14px; }
    .home-catalog-track { gap: 12px; }
    .home-catalog-card { flex-basis: 72%; }
    .home-catalog-body { padding: 14px; }
    .home-catalog-tabs { padding: 20px 0; }
    .home-catalog-tabs button { font-size: 13px; padding: 10px 15px; }
    .mc-home .ms-flash { padding: 18px; border-radius: 18px; }
    .mc-home .ms-flash-heading { align-items: flex-start; gap: 12px; flex-direction: column; }
    .mc-home .ms-flash-heading h2 { font-size: 25px; }
    .mc-home .ms-flash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    body :is(.ms-flash-body, .ss-card-bottom) { padding: 12px; }
    body :is(.ss-name, .ms-flash-body > a) { font-size: 14px !important; line-height: 21px !important; min-height: 42px; }
    body :is(.ms-flash-body strong, .ss-card-bottom strong) { font-size: 16px !important; }
    .mc-editorial-stack { gap: 16px; }
    .mc-editorial-stack .mc-editorial { padding: 24px; }
    .mc-editorial-stack .mc-layout-split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .mc-editorial-stack .mc-layout-faq { padding: 16px 0; grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .mc-editorial-stack .mc-layout-banner { min-height: 210px; }
    .mc-home-blog .mc-blog-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .ss-container { padding: 0 16px 40px; }
    .ss-heading { margin-bottom: 20px; }
    .ss-heading h1 { font-size: 28px; }
    .ss-controls { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .ss-controls :is(input, select) { width: 100%; padding: 10px; font-size: 13px !important; }
    .ss-grid { gap: 12px; }
    body .ss-name { margin: 12px 12px 0; }
    body .ss-card-bottom { gap: 10px; }
    body .ss-card-bottom button { font-size: 12px !important; padding: 8px 4px; }
    #product-page .tab-pane { padding: 20px 16px; }
    #product-page .tabs-card { margin-top: 28px; }
    #product-page .opt-grid.models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #product-page .sticky-bar { padding-bottom: env(safe-area-inset-bottom, 0px); }
}
@media (prefers-reduced-motion: reduce) {
    .home-catalog-image img { transition: none; }
}

body .ss-name { margin-left: 16px; margin-right: 16px; }
@media(max-width:600px) { body .ss-name { margin-left:12px; margin-right:12px; } }
@media (max-width: 800px) {
    body:has(.ss-layout aside.is-open) { overflow: hidden; }
    body:has(.ss-layout aside.is-open) :is(#gt_float_wrapper, .store-support) { visibility: hidden; }
}
/* Attribute groups stay compact; full variant names use wider rows. */
.store-option-picker .step-label { gap: 10px; flex-wrap: wrap; }
.store-option-picker .picked { max-width: 100%; white-space: normal; overflow-wrap: normal; word-break: normal; }
.store-option-picker .opt .on { word-break: normal; overflow-wrap: normal; line-height: 1.45; }
.store-option-picker .pd-options-compact { display: flex; flex-wrap: wrap; gap: 10px; }
.store-option-picker .pd-options-compact .opt { display: flex; align-items: center; min-height: 44px; padding: 10px 16px; flex: 0 1 auto; max-width: 100%; text-align: left; }
.store-option-picker .pd-options-compact .opt-copy { display: flex; flex-direction: column; gap: 3px; }
.store-option-picker .pd-options-color { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.store-option-picker .pd-options-color .opt.has-thumb { grid-template-columns: 44px minmax(0, 1fr); min-height: 64px; }
.store-option-picker .pd-options-color .opt-thumb { width: 44px; height: 44px; object-fit: contain; }
.store-option-picker .opt.sel::after { display: none; }
.store-option-picker .opt.sel { border-color: #182abb; box-shadow: inset 0 0 0 1px #182abb; background: #eef1ff; }
.store-option-picker .opt:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
#product-page .pd-variant-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#product-page .pd-variant-list .opt.has-thumb { grid-template-columns: 44px minmax(0, 1fr); padding: 12px; min-height: 84px; }
#product-page .pd-variant-list .opt-thumb { width: 44px; height: 44px; object-fit: contain; }
#product-page .pd-variant-list .opt-copy { gap: 6px; }
#product-page .pd-variant-list .op { white-space: nowrap; }
@media (max-width: 640px) {
    #product-page .pd-variant-list { grid-template-columns: minmax(0, 1fr); }
    #product-page .pd-variant-list .opt.has-thumb { grid-template-columns: 52px minmax(0, 1fr); }
    .store-option-picker .pd-options-compact { gap: 8px; }
    .store-option-picker .pd-options-compact .opt { padding: 10px 12px; }
    .store-option-picker .step-label .picked { margin-left: 0; }
}
.store-option-picker { margin-top: 16px; min-width: 0; }
.store-option-picker .step { margin-top: 18px; }
.store-option-picker .step-label { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; font-size: 14px; line-height: 1.5; }
.store-option-picker .picked { color: #182abb; font-size: 12px; }
.store-option-picker .opt { border: 1px solid #dfe4ee; border-radius: 10px; background: #fff; color: #18202f; cursor: pointer; font-size: 14px; }
.store-option-picker .opt-copy { min-width: 0; }
.store-option-picker .opt .on { display: block; font-weight: 600; }
.store-option-picker .opt .oos { font-size: 11px; line-height: 1.4; color: #647084; }
.store-option-picker .pd-options-color { display: grid; }
.store-option-picker .pd-options-color .has-thumb { display: grid; align-items: center; column-gap: 10px; padding: 8px 10px; text-align: left; }
.store-option-picker .opt-thumb { display: block; border-radius: 8px; background: #f6f7fa; }
.store-option-picker .opt:focus-visible { outline: 2px solid #182abb; outline-offset: 3px; }
body :is(.qv-variants, .ms-preview-variants) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; min-width: 0; }
body :is(.qv-variants, .ms-preview-variants) button { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; width: 100%; min-width: 0; gap: 12px; padding: 10px 12px; border-radius: 10px; text-align: left; }
body :is(.qv-variants, .ms-preview-variants) button > span { min-width: 0; white-space: normal; word-break: normal; overflow-wrap: break-word; line-height: 1.5; font-size: 14px; }
body :is(.qv-variants, .ms-preview-variants) button > img { width: 44px; height: 44px; object-fit: contain; }
body :is(.qv-variants, .ms-preview-variants) button:not(:has(> img)) { grid-template-columns: minmax(0, 1fr); }
body :is(.qv-variants, .ms-preview-variants) small { margin-top: 4px; }
body :is(.qv-actions, .ms-preview-actions) { position: sticky; bottom: -1px; background: #fff; padding-top: 12px; padding-bottom: 12px; z-index: 2; }
.store-option-picker .step { padding: 0; margin: 18px 0 0; }
#product-page .store-option-picker .opt.has-thumb .opt-thumb { width: 44px; height: 44px; }
.store-option-picker .pd-options-color .opt { min-height: 44px; padding: 10px 12px; }
.store-option-picker .opt .on { overflow-wrap: break-word; }
/* Blog cards follow the supplied three-column editorial reference. */
.babu-blog-page, .babu-blog-section { color: #242426; font-family: Roboto, Arial, sans-serif; }
.babu-blog-section, .babu-blog-section * { box-sizing: border-box; }
.babu-blog-section { width: 100%; max-width: 1256px; margin: 64px auto; padding: 0 32px; }
.babu-blog-section a { color: inherit; text-decoration: none; }
.babu-blog-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.babu-blog-heading :is(h1, h2) { position: relative; margin: 0; padding-bottom: 12px; font-size: 23px; font-weight: 700; line-height: 1.25; }
.babu-blog-heading :is(h1, h2)::after { position: absolute; bottom: 0; left: 0; width: 58px; height: 2px; background: #242426; content: ''; }
.babu-blog-heading > a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 13px; white-space: nowrap; }
.babu-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 44px; row-gap: 48px; padding: 0 12px; }
.babu-blog-card { min-width: 0; }
.babu-blog-image { position: relative; display: block; aspect-ratio: 1.6; border-radius: 10px; overflow: hidden; background: #f2f3f6; }
.babu-blog-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.babu-blog-image:hover img { transform: scale(1.025); }
.babu-blog-label { position: absolute; top: 12px; left: 12px; max-width: calc(100% - 24px); padding: 4px 10px; border-radius: 3px; background: #242426ed; color: #fff; font-size: 11px; font-weight: 700; line-height: 1.3; text-transform: uppercase; }
.babu-blog-title { margin: 24px 0 8px; font-size: 16px; font-weight: 500; line-height: 1.4; }
.babu-blog-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.babu-blog-title a:hover { color: #182abb; }
.babu-blog-read { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; font-size: 13px; line-height: 1.4; }
.babu-blog-read:hover { color: #182abb; }
.babu-blog-placeholder { display: grid; place-items: center; height: 100%; color: #647084; font-size: 20px; font-weight: 700; }
.babu-blog-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 32px; color: #647084; font-size: 13px; }
.babu-blog-page .babu-blog-section { margin-top: 32px; }
.babu-blog-pagination { margin-top: 48px; padding: 0 12px; }
.babu-blog-empty { padding: 48px 0; color: #647084; }
@media (max-width: 900px) {
    .babu-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; padding: 0; }
}
@media (max-width: 600px) {
    .babu-blog-section { margin: 40px auto; padding: 0 20px; }
    .babu-blog-heading { margin-bottom: 28px; }
    .babu-blog-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .babu-blog-title { margin-top: 18px; }
    .babu-blog-pagination { padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .babu-blog-image img { transition: none; }
}

.mc-editorial-stack .mc-editorial-linked { position:relative; border:1px solid #e9e5f3; background:linear-gradient(110deg,#f1edfb,#f7f8fc); }
.mc-editorial-full-link { position:absolute; inset:0; z-index:2; border-radius:inherit; }
.mc-editorial-linked .mc-button { background:#341eb5; border-color:#341eb5; color:#fff; }
.mc-editorial-linked:hover .mc-button { background:#26158f; }
.mc-editorial-linked:focus-within { outline:3px solid #6578e0; outline-offset:4px; }

.mc-editorial-stack .mc-layout-catalog { position:relative; grid-column:1/-1; min-height:320px; display:flex; align-items:center; padding:48px; overflow:hidden; border:0; border-radius:16px; background:#0d0d12; color:#fff; }
.mc-layout-catalog .mc-editorial-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 26%; border-radius:0; }
.mc-layout-catalog::before { content:''; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg,#08080df5 0%,#08080de6 30%,#08080d70 68%,#08080d45 100%); }
.mc-layout-catalog .mc-editorial-copy { position:relative; z-index:1; max-width:520px; }
.mc-layout-catalog .mc-editorial-copy h2 { color:#fff; font-size:clamp(27px,3vw,38px); font-weight:800; line-height:1.12; letter-spacing:-.025em; text-transform:uppercase; margin:0 0 14px; }
.mc-layout-catalog .mc-editorial-copy p { color:#c6c5ca; font-size:14px; line-height:1.6; }
.mc-layout-catalog .mc-editorial-copy .mc-catalog-eyebrow { color:#b8b6bf; font-size:11px; letter-spacing:.14em; font-weight:700; margin:0 0 14px; }
.mc-layout-catalog .mc-button { margin-top:20px; background:#fff; color:#341eb5; border:0; border-radius:5px; padding:14px 22px; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.mc-layout-catalog:hover .mc-button { background:#eee8ff; }
@media(max-width:760px) { .mc-editorial-stack .mc-layout-catalog { padding:28px 24px; min-height:330px; } .mc-layout-catalog .mc-editorial-copy { max-width:100%; } .mc-layout-catalog::before { background:linear-gradient(90deg,#08080df0,#08080d99); } .mc-layout-catalog .mc-editorial-copy h2 { font-size:28px; } }

/* Keep header search focus on one simple outer frame. */
body .store-header-root .store-inline-search .store-search input,
body .store-header-root .store-inline-search .store-search input:focus,
body .store-header-root .store-inline-search .store-search input:focus-visible {
    border: 0;
    outline: none;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
}
body .store-header-root.store-search-active .store-inline-search .store-search {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #f9fafb;
    box-shadow: none;
    cursor: text;
}
body .store-header-root.store-search-active .store-inline-search:focus-within .store-search {
    border-color: #9ca3af;
    box-shadow: none;
}
/* Subtle hover feedback on the original navigation. */
body .store-header-root .store-nav a {
    transition: color .18s ease;
}
body .store-header-root .store-nav a::after {
    content: '';
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    height: 2px;
    background: #1240f7;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .18s ease;
}
body .store-header-root .store-nav a:hover,
body .store-header-root .store-nav a:focus-visible {
    color: #1240f7!important;
}
body .store-header-root .store-nav a:hover::after,
body .store-header-root .store-nav a:focus-visible::after,
body .store-header-root .store-nav a[aria-expanded="true"]::after {
    transform: scaleX(1);
}
@media(prefers-reduced-motion:reduce) {
    body .store-header-root .store-nav a,
    body .store-header-root .store-nav a::after { transition:none; }
}
/* Reference header: utility strip, search masthead and category row. */
body .store-header-root.store-reference-header.store-reference-header.store-reference-header { position:sticky; top:-36px; z-index:60; background:#fff; --header-accent:#1240f7; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-promo { display:flex; justify-content:space-between; gap:16px; height:36px; padding:0 clamp(18px,3.6vw,72px); background:#f1f6ff; color:#172b55; font-size:12px; }
.store-utility-links { display:flex; gap:22px; color:#66748d; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-header { display:flex!important; max-width:none; height:76px; min-height:76px; padding:0 clamp(18px,3.6vw,72px); gap:22px; flex-wrap:nowrap; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-logo { flex:none; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-brand-image { width:180px; height:44px; object-fit:contain; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-header > .store-products-trigger { align-self:center; height:44px; flex:none; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-products-trigger > a { padding:0 18px; border-radius:13px; color:white!important; background:var(--header-accent); gap:10px; font-size:14px; font-weight:600; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-products-trigger > a > svg { display:none; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-header-actions { display:flex!important; flex:1; min-width:0; gap:24px; position:static; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-header-links { display:none; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-inline-search,
body .store-header-root.store-reference-header.store-reference-header.store-reference-header.store-search-active .store-inline-search { position:relative; top:auto; left:auto; right:auto; order:0; flex:1; min-width:100px; padding:0; border:0; background:none; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-inline-search .store-search,
body .store-header-root.store-reference-header.store-reference-header.store-reference-header.store-search-active .store-inline-search .store-search { width:100%; height:44px; padding:4px 4px 4px 20px; border:1px solid #dfe8ff; border-radius:99px; background:#f1f6ff; box-shadow:none; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-inline-search input { display:block; font-size:13px!important; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-inline-search .store-search button { width:36px; height:36px; flex:none; border-radius:50%; background:var(--header-accent); color:#fff; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-inline-search svg { width:19px; height:19px; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-header-actions :is(.store-account,.store-order-lookup,.store-cart) { display:flex; align-items:center; gap:10px; width:auto; height:44px; padding:0!important; background:transparent!important; border-radius:0; flex:none; color:#181524!important; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-header-actions :is(.store-account,.store-order-lookup,.store-cart) > span { display:block; font-size:13px; font-weight:600; line-height:17px; white-space:nowrap; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-header-actions small { display:block; font-size:11px; font-weight:400; color:#868194; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-cart > svg { width:25px; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-cart-count { left:15px; right:auto; top:0; background:#ef4444; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header > .store-nav { display:flex; height:48px; align-items:center; justify-content:flex-start; gap:24px; padding:0 clamp(18px,3.6vw,72px); border-top:1px solid #dfe8ff; border-bottom:1px solid #dfe8ff; overflow:visible; background:white; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-nav > a { display:flex; align-items:center; height:34px; position:relative; font-family:Roboto,Arial,sans-serif!important; font-size:14px!important; font-weight:500!important; gap:0; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-nav > a[aria-controls]::before { display:none; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-nav > a::after { bottom:0; background:var(--header-accent); }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-nav .store-nav-all,
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-nav > a.is-active { padding:0 14px; border-radius:99px; background:#f1f6ff; color:var(--header-accent)!important; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-nav .store-nav-guide { margin-left:auto; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-nav > a:hover { color:var(--header-accent)!important; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header.store-header-scrolled { top:0; box-shadow:0 3px 14px #20134b0c; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header.store-header-scrolled > .store-promo { display:none; }
body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-mega-panel { max-height:calc(100svh - 76px); }
@media(min-width:851px) { body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-menu-toggle { display:none; } }
@media(max-width:1200px) and (min-width:851px) {
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-header { gap:16px; }
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-brand-image { width:160px; }
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-header-actions { gap:18px; }
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-products-trigger > a { padding:0 14px; }
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header > .store-nav { gap:22px; }
}
@media(max-width:1000px) and (min-width:851px) {
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-header-actions :is(.store-account,.store-order-lookup) > span { display:none; }
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-header-actions { gap:16px; }
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header > .store-nav { gap:18px; }
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-nav > a { font-size:13px!important; }
}
@media(max-width:850px) {
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-promo { justify-content:center; font-size:12px; }
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-utility-links { display:none; }
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-header { display:flex!important; justify-content:flex-start; height:auto!important; min-height:112px; padding:12px 18px; flex-wrap:wrap; gap:10px 14px; }
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-menu-toggle { display:block; position:static; padding:0; line-height:30px; color:var(--header-accent); }
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-brand-image { width:150px; height:32px; }
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-header > .store-products-trigger { display:none; }
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-header-actions { display:contents!important; }
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-inline-search,
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header.store-search-active .store-inline-search { order:5; flex:0 0 100%; }
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-header-actions :is(.store-account,.store-order-lookup) { display:none; }
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-header-actions .store-cart { margin-left:auto; height:32px; }
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-header-actions .store-cart > span { display:none; }
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header > .store-nav { gap:22px; height:44px; padding:0 18px; overflow-x:auto; scrollbar-width:none; }
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-nav > a { flex:none; font-size:13px!important; }
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-nav .store-nav-guide { margin-left:0; }
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-search-dropdown { position:absolute; top:calc(100% + 8px); width:100%; right:0; }
 body .store-header-root.store-reference-header.store-reference-header.store-reference-header .store-mega-panel { position:absolute; top:100%; }
}body .store-reference-header.store-reference-header.store-reference-header::before { display:none!important; }
body .store-reference-header.store-reference-header.store-reference-header .store-header { width:100%; margin:0; }
body .store-reference-header.store-reference-header.store-reference-header .store-header-links { display:none; }
body .store-reference-header.store-reference-header.store-reference-header .store-inline-search .store-search { padding:4px 4px 4px 20px!important; }
body .store-reference-header.store-reference-header.store-reference-header .store-header-actions .store-account > span,
body .store-reference-header.store-reference-header.store-reference-header .store-header-actions .store-cart > span { display:block; }
body .store-reference-header.store-reference-header.store-reference-header .store-inline-search { grid-column:auto; grid-row:auto; }
@media(max-width:1000px) { body .store-reference-header.store-reference-header.store-reference-header .store-header-actions .store-account > span { display:none; } }
@media(max-width:850px) {
body .store-reference-header.store-reference-header.store-reference-header .store-header { height:auto!important; }
body .store-reference-header.store-reference-header.store-reference-header .store-header-actions .store-cart > span { display:none; }
}
body .store-reference-header.store-reference-header.store-reference-header .store-logo { width:auto; }
body .store-reference-header.store-reference-header.store-reference-header .store-nav a::after { display:block; }

/* Variant thumbnails on shop cards, matching the homepage options. */
body .ss-page .ss-card-bottom .ss-variant-options { display:flex; align-items:center; flex-wrap:wrap; gap:7px; width:100%; }
body .ss-page .ss-card-bottom .ss-variant-options .ss-variant-option { display:grid; place-items:center; flex:0 0 30px; width:30px; height:30px; min-height:30px; padding:2px; border:1px solid #dfe2e8; border-radius:50%; background:#fff!important; color:#66748d!important; cursor:pointer; }
body .ss-page .ss-card-bottom .ss-variant-options .ss-variant-option img { display:block; width:24px; height:24px; padding:0; object-fit:contain; border-radius:50%; }
body .ss-page .ss-card-bottom .ss-variant-options .ss-variant-option.is-selected { border:2px solid #171717; padding:1px; }
body .ss-page .ss-card-bottom .ss-variant-options .ss-variant-option:hover { border-color:#a9afb9; }
body .ss-page .ss-card-bottom .ss-variant-options .ss-variant-more { font-size:11px!important; padding:0; }
body .ss-page .ss-card-bottom .ss-variant-options .ss-variant-option:focus-visible { outline:2px solid #3d2bd6; outline-offset:3px; }
/* Selected variant uses a black circular ring. */
body .home-catalog-variants button.is-selected,
body .ss-page .ss-card-bottom .ss-variant-options .ss-variant-option.is-selected {
    border:2px solid #171717;
    border-radius:50%;
    padding:1px;
    box-shadow:none;
}
/* Shared purchase validation: preserve the existing action and variant layouts. */
.purchase-message,.purchase-variant-meta { font-size:13px; line-height:1.5; margin:10px 0; color:#66748d; }
.purchase-error,.purchase-low-stock { color:#b91c1c; margin:10px 0; font-size:13px; }
.purchase-quantity input { width:64px; min-width:0; height:34px; padding:4px 6px; text-align:center; border:1px solid #ddd; border-radius:6px; background:#fff; }
.purchase-quantity button:disabled,.purchase-actions button:disabled { opacity:.45; cursor:not-allowed; }
.store-option-picker .opt:disabled { opacity:.4; cursor:not-allowed; }
.purchase-toast { position:fixed; z-index:10010; right:20px; bottom:24px; display:flex; align-items:center; gap:16px; max-width:calc(100vw - 40px); padding:14px 18px; border-radius:12px; background:#171717; color:#fff; box-shadow:0 6px 24px #0003; }
.purchase-toast button { border:0; background:none; color:#fff; font-size:20px; cursor:pointer; }
.purchase-toast[x-cloak] { display:none!important; }

/* Shop reference layout: promotional row, horizontal filters and five-column catalog. */
body .ss-page { background:#f5f6f8; }
body .ss-page .ss-container.ss-catalog-layout { width:calc(100% - 40px); max-width:1280px; margin:0 auto; padding:0 20px 48px; background:#fff; }
body .ss-page .ss-breadcrumb { padding:18px 0; font-size:12px; }
body .ss-page .ss-promo-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-bottom:22px; }
body .ss-page .ss-promo-grid a { display:block; aspect-ratio:3/1; overflow:hidden; border-radius:8px; background:#f1f0f7; }
body .ss-page .ss-promo-grid img { display:block; width:100%; height:100%; object-fit:cover; }
body .ss-page .ss-heading { margin:0 0 20px; align-items:center; gap:16px; }
body .ss-page .ss-heading h1 { font-size:24px; }
body .ss-page .ss-heading p { margin:6px 0 0; font-size:13px; }
body .ss-page .ss-controls input { border-radius:8px; height:40px; }
body .ss-page .ss-controls select { display:none; }
body .ss-page .ss-layout { display:flex; flex-direction:column; gap:16px; }
body .ss-page .ss-layout > aside { display:block; position:static; width:100%; max-width:none; max-height:none; height:auto; padding:0; margin:0; border:0; border-radius:0; background:#fff; box-shadow:none; transform:none; overflow:visible; }
body .ss-page .ss-category-tabs { display:flex; align-items:stretch; gap:8px; overflow-x:auto; padding:0 0 12px; border-bottom:1px solid #eef0f4; }
body .ss-page .ss-layout aside .ss-category-tabs button { display:flex; align-items:center; justify-content:center; gap:8px; flex:none; width:auto; min-height:44px; padding:8px 14px; border:1px solid #e2e5ed; border-radius:7px; color:#343047; white-space:nowrap; font-size:13px; background:#fff; }
body .ss-page .ss-category-tabs img { width:24px; height:24px; object-fit:contain; }
body .ss-page .ss-layout aside .ss-category-tabs button.active { border-color:#3d2bd6; background:#f4f1ff; color:#3d2bd6; font-weight:600; }
body .ss-page .ss-filter-tools { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding-top:12px; }
body .ss-page .ss-price-filter { position:relative; }
body .ss-page .ss-price-filter summary { display:flex; align-items:center; gap:14px; padding:7px 12px; border:1px solid #e2e5ed; border-radius:6px; font-size:12px; cursor:pointer; list-style:none; }
body .ss-page .ss-price-filter summary::-webkit-details-marker { display:none; }
body .ss-page .ss-price-options { position:absolute; top:calc(100% + 8px); left:0; z-index:30; min-width:230px; padding:12px 16px; border:1px solid #e2e5ed; border-radius:10px; background:#fff; box-shadow:0 8px 24px #1c14351a; }
body .ss-page .ss-layout aside .ss-price-options label { width:100%; font-size:13px; padding:8px 0; }
body .ss-page .ss-layout aside .ss-brand-chip { position:relative; display:block; width:auto; padding:0; margin:0; cursor:pointer; }
body .ss-page .ss-brand-chip input { position:absolute; opacity:0; width:1px; height:1px; }
body .ss-page .ss-brand-chip span { display:block; padding:7px 10px; border:1px solid #e2e5ed; border-radius:6px; background:#f7f8fa; color:#5c6270; font-size:12px; }
body .ss-page .ss-brand-chip input:checked + span { color:#3d2bd6; border-color:#3d2bd6; background:#f4f1ff; }
body .ss-page .ss-brand-chip input:focus-visible + span { outline:2px solid #3d2bd6; outline-offset:2px; }
body .ss-page .ss-sortbar { display:flex; align-items:center; gap:18px; min-height:32px; flex-wrap:wrap; color:#7b8190; font-size:12px; }
body .ss-page .ss-sortbar button { padding:6px 0; border:0; background:none; color:#66748d; font-size:13px; cursor:pointer; }
body .ss-page .ss-sortbar button.active { color:#3d2bd6; font-weight:600; }
body .ss-page .ss-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
body .ss-page .ss-card { padding:10px; border:1px solid #e1e5ed; border-radius:8px; box-shadow:none; }
body .ss-page .ss-image { border-radius:6px; background:#fff; }
body .ss-page .ss-image img { padding:0; object-fit:contain; }
body .ss-page .ss-card:hover .ss-image img { filter:none; }
body .ss-page .ss-name { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:38px; margin:10px 0 6px; font-size:14px!important; line-height:19px; }
body .ss-page .ss-card-bottom { padding:6px 0 0; gap:10px; border-top:0; }
body .ss-page .ss-card-bottom strong { font-size:17px!important; line-height:22px; color:#e11d2e; }
body .ss-page .ss-card-bottom > button { height:36px; min-height:36px; padding:7px 8px; border-radius:7px; font-size:12px!important; }
body .ss-page .ss-card-bottom > button span { font-size:12px!important; }
body .ss-page .ss-card-bottom .ss-variant-options { gap:5px; }
body .ss-page .ss-card-bottom .ss-variant-options .ss-variant-option { width:27px; height:27px; min-height:27px; flex-basis:27px; }
body .ss-page .ss-card-bottom .ss-variant-options .ss-variant-option img { width:21px; height:21px; }
@media(max-width:1100px) and (min-width:900px) { body .ss-page .ss-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:899px) { body .ss-page .ss-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:600px) {
 body .ss-page .ss-container.ss-catalog-layout { width:100%; padding:0 14px 32px; }
 body .ss-page .ss-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
 body .ss-page .ss-promo-grid { gap:8px; margin-bottom:18px; }
 body .ss-page .ss-promo-grid a { aspect-ratio:1.8; }
 body .ss-page .ss-heading h1 { font-size:20px; }
 body .ss-page .ss-controls { width:100%; }
 body .ss-page .ss-controls input { width:100%; }
 body .ss-page .ss-heading { flex-direction:column; align-items:stretch; }
 body .ss-page .ss-sortbar { gap:12px; }
 body .ss-page .ss-card { padding:8px; }
}

/* Shared product detail layout: large gallery and a separate purchase panel. */
body #product-page { background:#f2f4f7; padding-bottom:96px; --babu-blue:#3d2bd6; --babu-blue-dark:#3020b3; --babu-blue-light:#efecff; }
body #product-page .pd-container { width:100%; max-width:1280px; margin:0 auto; padding:0 20px 40px; }
body #product-page .pd-breadcrumb { margin:0; padding:18px 0; font-size:13px; }
body #product-page .pd-product-heading { display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; margin:0 0 28px; }
body #product-page .pd-product-heading .title { margin:0; font-size:22px; font-weight:700; line-height:1.35; }
body #product-page .pd-product-heading .pd-rating { margin:0; font-size:13px; }
body #product-page .pd-heading-specs { font-size:13px; color:#3d2bd6; text-decoration:none; }
body #product-page .pd-grid { display:grid; grid-template-columns:minmax(0,1.56fr) minmax(0,1fr); align-items:start; gap:20px; margin:0 0 28px; }
body #product-page .pd-gallery { padding:16px; border:0; border-radius:14px; background:white; box-shadow:none; position:sticky; top:160px; }
body #product-page .pd-main-image { position:relative; width:100%; height:auto; aspect-ratio:3/2; padding:0; border:0; border-radius:4px; background:white; overflow:hidden; }
body #product-page .pd-main-image > img { display:block; width:100%; height:100%; object-fit:contain; }
body #product-page .pd-main-image .photo-nav { top:50%; width:30px; height:54px; border:0; border-radius:4px; background:rgba(255,255,255,.8); color:#68707d; transform:translateY(-50%); }
body #product-page .pd-main-image .photo-nav.prev { left:0; }
body #product-page .pd-main-image .photo-nav.next { right:0; }
body #product-page .pd-image-count { position:absolute; bottom:8px; right:8px; padding:2px 8px; border-radius:99px; font-size:12px; color:#4b5563; background:#ffffffdc; }
body #product-page .pd-thumbnails { display:flex; justify-content:flex-start; gap:8px; margin:14px auto 0; padding:2px; overflow-x:auto; }
body #product-page .pd-thumbnails button { flex:0 0 52px; width:52px; height:48px; padding:2px; border:1px solid #e3e6ed; border-radius:5px; background:#fff; }
body #product-page .pd-thumbnails button.active { border:1px solid #3d2bd6; }
body #product-page .pd-thumbnails img { width:100%; height:100%; object-fit:contain; }
body #product-page .gallery-cap { margin:12px 0 0; color:#8a919e; text-align:center; font-size:12px!important; }
body #product-page .pd-details { padding:16px; border:0; border-radius:14px; background:white; box-shadow:none; }
body #product-page .pd-purchase-banner { display:block; width:100%; height:116px; margin:0 0 14px; border-radius:9px; overflow:hidden; background:#efecff; }
body #product-page .pd-purchase-banner img { display:block; width:100%; height:100%; object-fit:cover; }
body #product-page .cat-row { margin-bottom:10px; }
body #product-page .price-panel { margin:0 0 18px; padding:0 0 16px; border:0; border-bottom:1px solid #e4e7ed; border-radius:0; background:#fff; box-shadow:none; }
body #product-page .pd-price { color:#e11d2e; font-size:28px; font-weight:700; }
body #product-page .price-note { color:#7b8190; }
body #product-page .price-sub { padding:10px 0 0; background:transparent; color:#7b8190; }
body #product-page .pd-promotion-card { margin:0 0 20px; padding:14px 16px; border:1px solid #e2e5ed; border-radius:12px; background:#fafbfc; }
body #product-page .pd-promotion-card h3 { margin:0 0 8px; font-size:15px; }
body #product-page .pd-promotion-card p { margin:0; color:#66748d; }
body #product-page .pd-promotion-card a { display:inline-block; margin-top:10px; color:#3d2bd6; }
body #product-page .pd-classification { padding:0; margin-top:0; border:0; background:none; }
body #product-page .pd-actions .btn { min-height:44px; border-radius:8px; }
body #product-page .pd-details .trust { margin-top:20px; border-top:1px solid #e4e7ed; padding-top:16px; }
body #product-page .tabs-card,body #product-page .pd-related { border-radius:14px; background:white; }
body #product-page .pd-purchase-sticky { display:block; position:fixed; bottom:0; left:0; right:0; z-index:90; width:100%; max-width:none; padding:12px 20px calc(12px + env(safe-area-inset-bottom)); border-top:1px solid #e4e7ed; background:#fff; box-shadow:0 -4px 18px #17223b08; }
body #product-page .pd-purchase-sticky-inner { display:grid; grid-template-columns:minmax(0,1fr) auto 144px 144px; align-items:center; gap:12px; width:100%; max-width:1240px; margin:auto; }
body #product-page .pd-sticky-product { display:flex; align-items:center; gap:12px; min-width:0; }
body #product-page .pd-sticky-product > img { width:48px; height:48px; flex:none; object-fit:contain; }
body #product-page .pd-sticky-product strong { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:16px; line-height:1.35; }
body #product-page .pd-sticky-product small { display:block; color:#7b8190; font-size:12px; }
body #product-page .pd-sticky-subtotal { display:flex; flex-direction:column; align-items:flex-end; padding:0 12px; white-space:nowrap; }
body #product-page .pd-sticky-subtotal small { color:#66748d; font-size:12px; }
body #product-page .pd-sticky-subtotal b { color:#e11d2e; font-size:17px; }
body #product-page .pd-purchase-sticky .btn { display:flex; align-items:center; justify-content:center; min-height:48px; margin:0; padding:10px 16px; border-radius:8px; font-weight:600; }
body #product-page .pd-purchase-sticky .btn-outline { border:1px solid #3d2bd6; color:#3d2bd6; background:#fff; }
body #product-page .pd-purchase-sticky .btn-solid { border:1px solid #3d2bd6; color:#fff; background:#3d2bd6; }
body #product-page .pd-purchase-sticky .btn:disabled { opacity:.45; cursor:not-allowed; }
@media(max-width:899px) {
 body #product-page .pd-grid { grid-template-columns:1fr; }
 body #product-page .pd-gallery { position:static; }
 body #product-page .pd-product-heading { margin-bottom:20px; }
 body #product-page .pd-purchase-sticky-inner { grid-template-columns:minmax(0,1fr) 120px 120px; }
 body #product-page .pd-sticky-product { display:none; }
 body #product-page .pd-sticky-subtotal { align-items:flex-start; padding:0; }
}
@media(max-width:600px) {
 body #product-page .pd-container { padding-left:14px; padding-right:14px; }
 body #product-page .pd-product-heading .title { font-size:20px; }
 body #product-page .pd-gallery,body #product-page .pd-details { padding:12px; }
 body #product-page .pd-main-image { aspect-ratio:1; }
 body #product-page .pd-purchase-sticky { padding:10px 12px calc(10px + env(safe-area-inset-bottom)); }
 body #product-page .pd-purchase-sticky-inner { grid-template-columns:minmax(0,1fr) 104px 104px; gap:8px; }
 body #product-page .pd-purchase-sticky .btn { min-height:44px; padding:8px; font-size:12px!important; }
 body #product-page .pd-sticky-subtotal b { font-size:15px; }
}

/* Product reference refinement: compact options above the price. */
body #product-page .pd-details .pd-classification { margin:18px 0 20px; padding:0; }
body #product-page .pd-details .picker-head { display:none; }
body #product-page .pd-details .step { margin:0 0 12px; padding:0; border:0; }
body #product-page .pd-details .step-label { margin:0 0 8px; padding:0; border:0; font-size:12px; color:#6b7280; }
body #product-page .pd-details .step-num,body #product-page .pd-details .step-label .picked { display:none; }
body #product-page .pd-details .opt-grid { display:flex; flex-wrap:wrap; gap:8px; }
body #product-page .pd-details .opt { display:inline-flex; align-items:center; justify-content:center; gap:6px; width:auto; min-height:36px; padding:8px 12px; border:1px solid #dfe3ec; border-radius:6px; background:#fff; text-align:center; }
body #product-page .pd-details .opt.sel { border-color:#3d2bd6; background:#f5f2ff; box-shadow:none; }
body #product-page .pd-details .opt-copy { display:block; }
body #product-page .pd-details .opt .on { font-size:13px!important; font-weight:500; line-height:18px; }
body #product-page .pd-details .opt .op { display:none; }
body #product-page .pd-details .pd-variant-list .opt-thumb { display:none; }
body #product-page .pd-details .pd-options-color .opt { border-radius:99px; padding:5px 10px 5px 6px; min-height:32px; }
body #product-page .pd-details .pd-options-color .opt-thumb { display:block; width:20px; height:20px; min-width:20px; border-radius:50%; object-fit:contain; }
body #product-page .pd-details .pd-options-compact .opt-thumb { display:none; }
body #product-page .pd-details .compare-link { margin-top:4px; font-size:12px; }
body #product-page .pd-details .price-panel { margin-top:12px; }
body #product-page .pd-details .purchase-variant-meta { font-size:12px; }
body #product-page .pd-details .store-option-picker .pd-variant-list .opt.has-thumb,
body #product-page .pd-details .store-option-picker .pd-options-compact .opt { display:inline-flex; grid-template-columns:none; min-height:36px; height:auto; padding:8px 12px; }
body #product-page .pd-details .store-option-picker .pd-options-color .opt.has-thumb { display:inline-flex; grid-template-columns:none; min-height:32px; height:auto; padding:5px 10px 5px 6px; }
body #product-page .pd-details .store-option-picker .pd-options-color .opt.has-thumb .opt-thumb { width:20px; height:20px; }
/* Colour option header: retain thumbnail and visible option name. */
body .store-option-picker .purchase-color-group .step-label { display:flex; align-items:center; justify-content:flex-start; gap:8px; }
body .store-option-picker .purchase-color-group .purchase-picked-color { color:#171717; font-weight:600; }

/* All shared colour pickers: thumbnails only; selected colour stays in the heading. */
body .store-option-picker .purchase-color-group .pd-options-color .opt.has-thumb,
body #product-page .pd-details .store-option-picker .purchase-color-group .pd-options-color .opt.has-thumb { position:relative; display:grid; grid-template-columns:none; place-items:center; flex:0 0 60px; width:60px; height:60px; min-height:60px; padding:5px; border-radius:6px; background:#fff; }
body .store-option-picker .purchase-color-group .pd-options-color .opt.has-thumb .opt-thumb,
body #product-page .pd-details .store-option-picker .purchase-color-group .pd-options-color .opt.has-thumb .opt-thumb { display:block; width:48px; height:48px; min-width:0; padding:0; border:0; border-radius:3px; object-fit:contain; }
body .store-option-picker .purchase-color-group .pd-options-color .opt.has-thumb .opt-copy,
body #product-page .pd-details .store-option-picker .purchase-color-group .pd-options-color .opt.has-thumb .opt-copy { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
body .store-option-picker .purchase-color-group .pd-options-color .opt.has-thumb.sel,
body #product-page .pd-details .store-option-picker .purchase-color-group .pd-options-color .opt.has-thumb.sel { border:2px solid #3d2bd6; padding:4px; }
/* Reference-sized image and text option frames; keep actual option names and stock. */
body .store-option-picker .pd-classification-group .step-label,
body #product-page .pd-details .store-option-picker .pd-classification-group .step-label { display:flex; align-items:center; justify-content:flex-start; gap:7px; margin:0 0 10px; font-size:13px; color:#66748d; }
body .store-option-picker .purchase-picked-value,body .store-option-picker .purchase-picked-color { font-weight:600; color:#171717; }
body .store-option-picker .pd-classification-group + .pd-classification-group,
body #product-page .pd-details .store-option-picker .pd-classification-group + .pd-classification-group { margin-top:16px; padding-top:16px; border-top:1px solid #e1e4eb; }
body .store-option-picker .purchase-color-group .pd-options-color { gap:6px; }
body .store-option-picker .purchase-color-group .pd-options-color .opt.has-thumb,
body #product-page .pd-details .store-option-picker .purchase-color-group .pd-options-color .opt.has-thumb { flex-basis:56px; width:56px; height:56px; min-height:56px; padding:5px; border:1px solid #dfe3e9; border-radius:4px; }
body .store-option-picker .purchase-color-group .pd-options-color .opt.has-thumb .opt-thumb,
body #product-page .pd-details .store-option-picker .purchase-color-group .pd-options-color .opt.has-thumb .opt-thumb { width:44px; height:44px; border-radius:2px; }
body .store-option-picker .purchase-color-group .pd-options-color .opt.has-thumb.sel,
body #product-page .pd-details .store-option-picker .purchase-color-group .pd-options-color .opt.has-thumb.sel { border:2px solid #3d2bd6; padding:4px; box-shadow:0 0 0 1px #3d2bd61a; }
body .store-option-picker .pd-options-compact { display:flex; flex-wrap:wrap; gap:8px; }
body .store-option-picker .pd-options-compact .opt,
body #product-page .pd-details .store-option-picker .pd-options-compact .opt { position:relative; display:flex; align-items:center; justify-content:center; grid-template-columns:none; width:auto; min-width:72px; height:44px; min-height:44px; padding:0 20px; border:1px solid #dfe3e9; border-radius:8px; background:white; }
body .store-option-picker .pd-options-compact .opt.sel,
body #product-page .pd-details .store-option-picker .pd-options-compact .opt.sel { border-color:#3d2bd6; background:white; box-shadow:0 0 0 1px #3d2bd6; }
body .store-option-picker .pd-options-compact .opt:disabled,
body #product-page .pd-details .store-option-picker .pd-options-compact .opt:disabled { opacity:.45; background:linear-gradient(to bottom right,transparent calc(50% - .6px),#9ca3af 50%,transparent calc(50% + .6px)); }
body .store-option-picker .pd-options-compact .opt .oos { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
body .purchase-low-stock { display:inline-flex; align-items:center; gap:7px; padding:5px 10px; border-radius:99px; color:#b91c1c; background:#fceced; font-weight:600; font-size:12px; }
body .purchase-low-stock::before { content:''; width:7px; height:7px; flex:none; border-radius:50%; background:currentColor; }

/* Vertical product gallery: thumbnails on the left, full image on the right. */
body #product-page .pd-gallery { display:grid; grid-template-columns:56px minmax(0,1fr); grid-template-rows:auto auto; align-items:start; gap:12px 16px; padding:16px; background:#fff; }
body #product-page .pd-gallery .pd-main-image { grid-column:2; grid-row:1; width:100%; height:auto; aspect-ratio:1; min-height:0; padding:12px; border:1px solid #e6e8ee; border-radius:12px; overflow:hidden; }
body #product-page .pd-gallery .pd-main-image > img { display:block; width:100%; height:100%; max-width:100%; max-height:100%; object-fit:contain; object-position:center; }
body #product-page .pd-gallery .pd-thumbnails { grid-column:1; grid-row:1; display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:10px; width:56px; max-width:56px; max-height:600px; margin:0; padding:2px; overflow-x:hidden; overflow-y:auto; scrollbar-width:thin; }
body #product-page .pd-gallery .pd-thumbnails button { flex:0 0 56px; width:52px; height:56px; min-width:0; padding:2px; border:1px solid transparent; border-radius:6px; background:#f7f7f8; }
body #product-page .pd-gallery .pd-thumbnails button.active { border:2px solid #3d2bd6; padding:1px; }
body #product-page .pd-gallery .pd-thumbnails img { display:block; width:100%; height:100%; object-fit:contain; border-radius:3px; }
body #product-page .pd-gallery .gallery-cap { grid-column:2; grid-row:2; margin:0; }
@media(max-width:600px) {
 body #product-page .pd-gallery { grid-template-columns:44px minmax(0,1fr); gap:10px; padding:10px; }
 body #product-page .pd-gallery .pd-main-image { padding:6px; border-radius:8px; }
 body #product-page .pd-gallery .pd-thumbnails { width:44px; max-width:44px; max-height:360px; gap:8px; }
 body #product-page .pd-gallery .pd-thumbnails button { width:40px; height:44px; flex-basis:44px; }
}
/* Product columns stay in normal page flow and scroll together. */
body #product-page .pd-grid > .pd-gallery,
body #product-page .pd-grid > .pd-details { position:static; top:auto; bottom:auto; }
/* One product frame: both columns share the same normal page flow. */
body #product-page .pd-product-frame { margin:0 0 28px; padding:20px; border:1px solid #eceef3; border-radius:14px; background:#fff; }
body #product-page .pd-product-frame .pd-product-heading { margin:0 0 22px; }
body #product-page .pd-product-frame .pd-grid { grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:24px; margin:0; }
body #product-page .pd-product-frame .pd-grid > .pd-gallery,
body #product-page .pd-product-frame .pd-grid > .pd-details { position:static; top:auto; bottom:auto; border-radius:0; background:transparent; box-shadow:none; }
body #product-page .pd-product-frame .pd-gallery { padding:0; }
body #product-page .pd-product-frame .pd-details { padding:0 0 0 22px; border:0; border-left:1px solid #eceef3; }
body #product-page .pd-product-frame .pd-main-image { border-radius:10px; }
body #product-page .pd-product-frame .pd-purchase-banner { height:100px; }
body #product-page .pd-product-frame .pd-details .price-panel { margin-bottom:14px; padding-bottom:14px; }
body #product-page .pd-product-frame .pd-promotion-card { margin-bottom:16px; padding:12px 14px; }
body #product-page .pd-product-frame .purchase-quantity { margin:14px 0; }
body #product-page .pd-product-frame .purchase-actions { margin-bottom:0; }
body #product-page .pd-content { margin-top:0; overflow:hidden; border:1px solid #eceef3; }
body #product-page .pd-content .tab-pane { padding:24px 28px; }
body #product-page .pd-content .tab-pane img { display:block; width:auto; max-width:100%; height:auto; max-height:560px; object-fit:contain; margin:20px auto; }
body #product-page .pd-content .pd-section-text { line-height:1.7; }
@media(max-width:899px) {
 body #product-page .pd-product-frame .pd-grid { grid-template-columns:1fr; gap:24px; }
 body #product-page .pd-product-frame .pd-details { padding:20px 0 0; border-left:0; border-top:1px solid #eceef3; }
}
@media(max-width:600px) {
 body #product-page .pd-product-frame { padding:12px; border-radius:12px; }
 body #product-page .pd-product-frame .pd-product-heading { margin-bottom:18px; }
 body #product-page .pd-content .tab-pane { padding:18px 14px; }
 body #product-page .pd-content .tab-pane img { max-height:420px; }
}

/* Compact purchase frame with a clear price and fewer repeated rows. */
body #product-page .pd-product-frame { padding:20px; }
body #product-page .pd-product-frame .pd-product-heading { margin-bottom:20px; }
body #product-page .pd-product-frame .pd-grid { grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:22px; }
body #product-page .pd-product-frame .pd-details { padding-left:22px; }
body #product-page .pd-product-frame .pd-purchase-banner { height:78px; margin-bottom:16px; }
body #product-page .pd-product-frame .pd-details .pd-classification { margin:0 0 16px; }
body #product-page .pd-details .store-option-picker .pd-options-compact { gap:6px; }
body #product-page .pd-details .store-option-picker .pd-options-compact .opt { min-width:64px; height:36px; min-height:36px; padding:0 12px; border-radius:6px; }
body #product-page .pd-product-frame .cat-row { margin:0 0 10px; padding-top:14px; border-top:1px solid #eceef3; }
body #product-page .pd-product-frame .price-panel { margin:0 0 14px; padding:0 0 14px; }
body #product-page .pd-product-frame .price-top { align-items:baseline; }
body #product-page .pd-product-frame .price-note { font-size:12px; }
body #product-page .pd-product-frame .pd-promotion-card { padding:0; margin:0 0 14px; border-radius:8px; background:#faf9ff; }
body #product-page .pd-promotion-card summary { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; color:#3d2bd6; cursor:pointer; list-style:none; font-size:13px; font-weight:600; }
body #product-page .pd-promotion-card summary::-webkit-details-marker { display:none; }
body #product-page .pd-promotion-card[open] summary span { transform:rotate(180deg); }
body #product-page .pd-promotion-card > p { padding:0 14px; }
body #product-page .pd-promotion-card > a { margin:10px 14px 12px; }
body #product-page .pd-product-frame .purchase-validation p { margin:8px 0; }
body #product-page .pd-product-frame .purchase-quantity { margin:12px 0; }
body #product-page .pd-product-frame .purchase-actions { padding-top:12px; border-top:1px solid #eceef3; }
body #product-page .pd-product-frame .pd-gallery .gallery-cap { font-size:11px!important; }
@media(max-width:899px) {
 body #product-page .pd-product-frame .pd-grid { grid-template-columns:1fr; }
 body #product-page .pd-product-frame .pd-details { padding:18px 0 0; }
}
@media(max-width:600px) {
 body #product-page .pd-product-frame { padding:12px; }
 body #product-page .pd-product-frame .pd-purchase-banner { height:74px; }
}

/* Center labels within every text-based variant option. */
body .store-option-picker .pd-options-compact .opt,
body #product-page .pd-details .store-option-picker .pd-options-compact .opt { justify-content:center; text-align:center; }
body .store-option-picker .pd-options-compact .opt .opt-copy,
body #product-page .pd-details .store-option-picker .pd-options-compact .opt .opt-copy { display:flex; flex-direction:column; align-items:center; justify-content:center; width:100%; text-align:center; }
body .store-option-picker .pd-options-compact .opt .on { display:block; width:100%; text-align:center; }
/* Separate the thumbnail rail from the main image and reserve scrollbar space. */
body #product-page .pd-product-frame .pd-gallery { grid-template-columns:76px minmax(0,1fr); column-gap:18px; }
body #product-page .pd-product-frame .pd-gallery .pd-thumbnails { box-sizing:border-box; width:76px; max-width:76px; padding:8px 10px 8px 6px; gap:9px; border:1px solid #e7e9f0; border-radius:9px; background:#f7f8fa; scrollbar-gutter:stable; scrollbar-width:thin; scrollbar-color:#b5bac5 transparent; }
body #product-page .pd-product-frame .pd-gallery .pd-thumbnails button { box-sizing:border-box; flex:0 0 56px; width:52px; height:56px; min-width:52px; margin:0; padding:3px; border:1px solid #e3e6ed; border-radius:5px; background:#fff; }
body #product-page .pd-product-frame .pd-gallery .pd-thumbnails button.active { padding:2px; border:2px solid #3d2bd6; }
body #product-page .pd-product-frame .pd-gallery .pd-thumbnails::-webkit-scrollbar { width:6px; }
body #product-page .pd-product-frame .pd-gallery .pd-thumbnails::-webkit-scrollbar-thumb { border-radius:99px; background:#b5bac5; }
body #product-page .pd-product-frame .pd-gallery .pd-main-image { margin:0; isolation:isolate; }
@media(max-width:600px) {
 body #product-page .pd-product-frame .pd-gallery { grid-template-columns:58px minmax(0,1fr); column-gap:10px; }
 body #product-page .pd-product-frame .pd-gallery .pd-thumbnails { width:58px; max-width:58px; padding:6px 7px 6px 3px; gap:8px; border-radius:7px; }
 body #product-page .pd-product-frame .pd-gallery .pd-thumbnails button { width:40px; min-width:40px; height:44px; flex-basis:44px; padding:2px; }
 body #product-page .pd-product-frame .pd-gallery .pd-thumbnails button.active { padding:1px; }
}