/*
 * Xtreme'x Layout 3 — premium dark header + high-density light catalogue.
 * Loaded after the legacy theme so the existing commerce flows keep working.
 */
:root {
    --primary: #146df5;
    --primary-dark: #0a49bd;
    --primary-light: #5fa2ff;
    --primary-rgb: 20, 109, 245;
    --secondary: #e9323c;
    --xt-navy-950: #04111d;
    --xt-navy-900: #071c2c;
    --xt-navy-850: #0a2438;
    --xt-navy-800: #0d2e46;
    --xt-blue: #146df5;
    --xt-blue-soft: #eaf2ff;
    --xt-red: #e9323c;
    --xt-ink: #0d1b2a;
    --xt-muted: #66758a;
    --xt-surface: #ffffff;
    --xt-canvas: #f2f5f9;
    --xt-line: #dde4ed;
    --xt-success: #108a54;
    --footer-bg: #061725;
    --copyright-bg: #03101a;
    --border: #dde4ed;
    --text: #0d1b2a;
    --muted: #66758a;
    --container: 1320px;
}

html { scroll-behavior: smooth; }
body.layout3-store {
    background: var(--xt-canvas);
    color: var(--xt-ink);
    font-family: "Hind Siliguri", "Roboto", system-ui, -apple-system, sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.layout3-store a,
.layout3-store button,
.layout3-store input,
.layout3-store select,
.layout3-store textarea { -webkit-tap-highlight-color: transparent; }
.layout3-store :focus-visible {
    outline: 3px solid rgba(var(--primary-rgb), .3);
    outline-offset: 2px;
}
.layout3-store .container { width: min(var(--container), calc(100% - 32px)); }

/* Notice and header */
.layout3-store .notice-ticker {
    background: linear-gradient(90deg, #0d5ddb, #146df5 52%, #0b55cb);
    box-shadow: 0 1px 0 rgba(255,255,255,.12) inset;
}
.layout3-store .notice-badge { background: var(--xt-red); }
.layout3-store .notice-text { font-size: 14px; letter-spacing: .1px; }
.layout3-store .site-header {
    background: rgba(4, 17, 29, .97);
    border-bottom: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 10px 30px rgba(3,16,26,.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.layout3-store .header-inner {
    display: grid;
    grid-template-columns: 190px minmax(260px, 1fr) auto;
    gap: 14px 24px;
    padding: 13px 0 0;
}
.layout3-store .logo { grid-column: 1; align-self: center; }
.layout3-store .logo img {
    height: 52px;
    max-width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 6px 18px rgba(20,109,245,.18));
}
.layout3-store .mobile-search {
    grid-column: 2;
    display: block;
    position: relative;
    min-width: 0;
}
.layout3-store .mobile-search input {
    width: 100%;
    height: 46px;
    padding: 0 48px 0 18px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;
    background: rgba(255,255,255,.98);
    color: var(--xt-ink);
    font-size: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.layout3-store .mobile-search .search-icon {
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--xt-blue);
    font-size: 17px;
}
.layout3-store .mobile-search-results {
    top: calc(100% + 8px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(0,0,0,.2);
}
.layout3-store .header-actions { grid-column: 3; }
.layout3-store .cart-btn {
    height: 44px;
    border-radius: 11px;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.16);
    color: #fff;
    padding: 0 13px;
}
.layout3-store .cart-count,
.layout3-store .nav-badge { background: var(--xt-red); }
.layout3-store .profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 11px;
    color: #fff;
    background: rgba(255,255,255,.09);
}
.layout3-store .btn-track {
    height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 11px;
    color: #fff;
    background: var(--xt-blue);
    font-size: 14px;
    font-weight: 700;
}
.layout3-store .main-nav {
    grid-column: 1 / -1;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,.09);
    margin-top: 0;
    min-height: 45px;
}
.layout3-store .drawer-links,
.layout3-store .nav-cat-desktop {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.layout3-store .nav-cat-link {
    color: #dce9f5;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 10px;
    border-radius: 8px 8px 0 0;
}
.layout3-store .nav-cat-link:hover,
.layout3-store .nav-cat-link.active { color: #fff; background: rgba(20,109,245,.2); }
.layout3-store .nav-sub-dropdown,
.layout3-store .nav-child-dropdown {
    border: 1px solid var(--xt-line);
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(4,17,29,.2);
}
.layout3-store .menu-toggle { color: #fff; }
.layout3-store .mobile-category-scroll {
    background: #0a2438;
    border: 0;
    box-shadow: 0 7px 18px rgba(4,17,29,.15);
}
.layout3-store .category-chip { color: #d7e5f2; border-color: rgba(255,255,255,.14); }
.layout3-store .category-chip.active { background: var(--xt-blue); color: #fff; }

/* Home hero */
.layout3-store .app-main { overflow: hidden; }
.layout3-store .l3-hero {
    padding: 22px 0 14px;
    background:
        radial-gradient(circle at 15% 20%, rgba(20,109,245,.26), transparent 32%),
        radial-gradient(circle at 92% 5%, rgba(233,50,60,.15), transparent 25%),
        linear-gradient(180deg, #061725 0%, #0b2940 78%, var(--xt-canvas) 78%);
}
.layout3-store .l3-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
}
.layout3-store .hero-banner { padding: 0; background: transparent; }
.layout3-store .hero-banner .container { width: 100%; }
.layout3-store .hero-slider {
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 18px 45px rgba(0,0,0,.25);
    overflow: hidden;
    background: #0a2438;
}
.layout3-store .hero-slide,
.layout3-store .hero-img { aspect-ratio: 2.1 / 1; }
.layout3-store .hero-img { width: 100%; height: 100%; object-fit: cover; }
.layout3-store .l3-hero-fallback {
    min-height: 390px;
    padding: clamp(28px, 5vw, 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.layout3-store .l3-hero-fallback::after {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    border: 70px solid rgba(20,109,245,.24);
    border-radius: 50%;
    right: -80px;
    top: -95px;
    z-index: -1;
}
.layout3-store .l3-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 6px 11px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: #a8cbff;
    background: rgba(255,255,255,.06);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.layout3-store .l3-hero-fallback h1 {
    max-width: 720px;
    margin: 18px 0 10px;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -.03em;
}
.layout3-store .l3-hero-fallback p { max-width: 610px; color: #c3d5e5; font-size: 17px; }
.layout3-store .l3-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.layout3-store .l3-btn-primary,
.layout3-store .l3-btn-secondary {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 11px;
    padding: 0 20px;
    font-weight: 700;
}
.layout3-store .l3-btn-primary { color: #fff; background: var(--xt-blue); box-shadow: 0 9px 22px rgba(20,109,245,.3); }
.layout3-store .l3-btn-secondary { color: #fff; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); }
.layout3-store .l3-hero-side { display: grid; grid-template-rows: repeat(3, 1fr); gap: 10px; }
.layout3-store .l3-side-card {
    min-height: 110px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.045));
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform .2s ease, border-color .2s ease;
}
.layout3-store .l3-side-card:hover { transform: translateY(-2px); border-color: rgba(95,162,255,.7); }
.layout3-store .l3-side-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background: var(--xt-blue);
    font-size: 20px;
}
.layout3-store .l3-side-card:nth-child(2) .l3-side-icon { background: var(--xt-red); }
.layout3-store .l3-side-card:nth-child(3) .l3-side-icon { background: #0d9360; }
.layout3-store .l3-side-card strong { display: block; font-size: 16px; line-height: 1.2; }
.layout3-store .l3-side-card small { color: #bcd0e0; font-size: 13px; }

/* Generic sections */
.layout3-store .l3-section,
.layout3-store .product-section,
.layout3-store .flash-sale-section,
.layout3-store .hot-deal-section,
.layout3-store .brand-section,
.layout3-store .vendor-section,
.layout3-store .blog-section { padding: 28px 0; background: transparent; }
.layout3-store .l3-section-head,
.layout3-store .section-head,
.layout3-store .flash-sale-head,
.layout3-store .hot-deal-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.layout3-store .l3-section-title h2,
.layout3-store .section-head h2,
.layout3-store .flash-sale-heading h2,
.layout3-store .hot-deal-heading h2 {
    color: var(--xt-ink);
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0;
}
.layout3-store .l3-section-title p { margin: 5px 0 0; color: var(--xt-muted); font-size: 14px; }
.layout3-store .btn-view-all,
.layout3-store .flash-sale-viewall,
.layout3-store .hot-deal-viewall {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--xt-blue);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

/* Network tools */
.layout3-store .l3-tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.layout3-store .l3-tool-card {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 92px;
    padding: 15px;
    border: 1px solid var(--xt-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(14,35,54,.045);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.layout3-store .l3-tool-card:hover { transform: translateY(-3px); border-color: #a9c7fa; box-shadow: 0 12px 28px rgba(14,35,54,.1); }
.layout3-store .l3-tool-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--xt-blue);
    background: var(--xt-blue-soft);
    font-size: 20px;
}
.layout3-store .l3-tool-card:nth-child(4) .l3-tool-icon { color: var(--xt-red); background: #fff0f1; }
.layout3-store .l3-tool-card strong { display: block; font-size: 15px; line-height: 1.25; }
.layout3-store .l3-tool-card small { display: block; margin-top: 3px; color: var(--xt-muted); font-size: 12px; }

/* Featured categories: 8 desktop / 4 mobile */
.layout3-store .l3-category-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 11px;
}
.layout3-store .l3-category-card {
    min-height: 132px;
    padding: 16px 8px 12px;
    border: 1px solid var(--xt-line);
    border-radius: 14px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 11px;
    text-align: center;
    box-shadow: 0 5px 18px rgba(14,35,54,.04);
    transition: .2s ease;
}
.layout3-store .l3-category-card:hover { transform: translateY(-3px); border-color: #a9c7fa; box-shadow: 0 12px 25px rgba(14,35,54,.09); color: var(--xt-blue); }
.layout3-store .l3-category-media {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: var(--xt-blue);
    background: linear-gradient(145deg, #eef5ff, #f8fbff);
    font-size: 23px;
    overflow: hidden;
}
.layout3-store .l3-category-media img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.layout3-store .l3-category-media > i { color: var(--xt-blue); font-size: 30px; }
.layout3-store .l3-category-card span { font-size: 14px; line-height: 1.2; font-weight: 700; }

/* Compact products: 4 desktop / 2 mobile */
.layout3-store .product-grid,
.layout3-store .product-grid--shop {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.layout3-store .product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--xt-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(14,35,54,.045);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.layout3-store .product-card:hover { transform: translateY(-4px); border-color: #b3cdf5; box-shadow: 0 14px 32px rgba(14,35,54,.11); }
.layout3-store .product-thumb {
    position: relative;
    display: block;
    aspect-ratio: 1.28 / 1;
    background: linear-gradient(180deg, #fff, #f8fafc);
    overflow: hidden;
}
.layout3-store .product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 13px;
    transition: transform .28s ease;
}
.layout3-store .product-card:hover .product-thumb img { transform: scale(1.035); }
.layout3-store .deal-badge {
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 7px;
    background: var(--xt-red);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}
.layout3-store .deal-stockout { background: rgba(4,17,29,.88); }
.layout3-store .product-body { padding: 13px; }
.layout3-store .l3-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    color: var(--xt-muted);
    font-size: 12px;
}
.layout3-store .l3-stock { color: var(--xt-success); font-weight: 700; }
.layout3-store .l3-stock.is-out { color: var(--xt-red); }
.layout3-store .product-title {
    min-height: 43px;
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--xt-ink);
}
.layout3-store .product-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.layout3-store .l3-feature-list {
    list-style: none;
    margin: 0 0 9px;
    padding: 0;
    min-height: 37px;
}
.layout3-store .l3-feature-list li {
    position: relative;
    padding-left: 12px;
    color: #66758a;
    font-size: 12px;
    line-height: 1.45;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.layout3-store .l3-feature-list li::before { content: ""; position: absolute; left: 0; top: .58em; width: 5px; height: 5px; border-radius: 50%; background: var(--xt-blue); }
.layout3-store .product-price { margin: 0 0 10px; color: var(--xt-red); font-size: 19px; line-height: 1.2; font-weight: 800; }
.layout3-store .product-price del { margin-right: 6px; color: #97a2b1; font-size: 13px; font-weight: 500; }
.layout3-store .product-actions { display: grid; grid-template-columns: 1fr 44px; gap: 8px; }
.layout3-store .btn-order,
.layout3-store .btn-cart {
    min-height: 42px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
}
.layout3-store .btn-order { background: var(--xt-blue); color: #fff; border: 1px solid var(--xt-blue); }
.layout3-store .btn-cart { background: #fff; color: var(--xt-blue); border: 1px solid #a9c7fa; }
.layout3-store .btn-order:hover { background: var(--primary-dark); }
.layout3-store .btn-cart:hover { background: var(--xt-blue-soft); }
.layout3-store .product-actions button:disabled,
.layout3-store .product-detail-actions .is-disabled {
    opacity: .55;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(.25);
}

/* Promo and reassurance */
.layout3-store .promo-section { padding: 12px 0; background: transparent; }
.layout3-store .promo-banner { border-radius: 16px; overflow: hidden; box-shadow: 0 10px 28px rgba(14,35,54,.1); }
.layout3-store .l3-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,.11);
    border: 1px solid rgba(255,255,255,.13);
}
.layout3-store .l3-trust-item {
    min-height: 90px;
    padding: 16px;
    color: #fff;
    background: #071c2c;
    display: flex;
    align-items: center;
    gap: 12px;
}
.layout3-store .l3-trust-item i { width: 36px; color: #78afff; font-size: 22px; text-align: center; }
.layout3-store .l3-trust-item strong { display: block; font-size: 14px; }
.layout3-store .l3-trust-item small { color: #aabecf; font-size: 12px; }

/* Product detail */
.layout3-store .product-detail-page { background: var(--xt-canvas); padding-top: 20px; }
.layout3-store .breadcrumb { color: var(--xt-muted); }
.layout3-store .product-detail {
    border: 1px solid var(--xt-line);
    border-radius: 18px;
    background: #fff;
    padding: clamp(16px, 2vw, 28px);
    box-shadow: 0 10px 32px rgba(14,35,54,.07);
}
.layout3-store .gallery-main { border-radius: 14px; border-color: var(--xt-line); background: #fff; }
.layout3-store .gallery-thumb { border-radius: 10px; }
.layout3-store .gallery-thumb.active { border-color: var(--xt-blue); }
.layout3-store .product-detail-title { color: var(--xt-ink); font-size: clamp(24px, 3vw, 36px); line-height: 1.2; }
.layout3-store .product-detail-price #newPrice,
.layout3-store .product-detail-price { color: var(--xt-red); }
.layout3-store .product-key-features {
    margin: 18px 0;
    padding: 16px 18px;
    border: 1px solid #cfe0fb;
    border-radius: 13px;
    background: #f5f9ff;
}
.layout3-store .product-key-features h2 { margin: 0 0 9px; font-size: 17px; color: var(--xt-ink); }
.layout3-store .product-key-features ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.layout3-store .product-key-features li { position: relative; padding-left: 20px; color: #3d4f63; font-size: 14px; line-height: 1.45; }
.layout3-store .product-key-features li::before { content: "✓"; position: absolute; left: 0; color: var(--xt-success); font-weight: 900; }
.layout3-store .btn-add-cart,
.layout3-store .btn-buy-now { min-height: 52px; border-radius: 12px; font-size: 16px; }
.layout3-store .btn-add-cart { color: var(--xt-blue); border-color: var(--xt-blue); background: #fff; }
.layout3-store .btn-buy-now { background: var(--xt-blue); }
.layout3-store .product-expert-cta { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 10px; margin-top: 12px; padding: 12px; border: 1px solid #bde7d1; border-radius: 12px; background: #f0fff7; }
.layout3-store .product-expert-cta > i { color: #12a05c; font-size: 28px; }
.layout3-store .product-expert-cta strong,
.layout3-store .product-expert-cta small { display: block; line-height: 1.25; }
.layout3-store .product-expert-cta small { margin-top: 2px; color: var(--xt-muted); }
.layout3-store .product-expert-cta a { padding: 8px 12px; border-radius: 8px; color: #fff; background: #12a05c; font-weight: 700; }
.layout3-store .product-description,
.layout3-store .product-reviews,
.layout3-store .related-products { border-radius: 17px; border: 1px solid var(--xt-line); background: #fff; box-shadow: 0 7px 24px rgba(14,35,54,.05); }

/* Catalogue, cart, checkout and account reuse the same surface language */
.layout3-store .shop-page,
.layout3-store .cart-page,
.layout3-store .checkout-page,
.layout3-store .customer-auth-page,
.layout3-store .customer-account-page { background: var(--xt-canvas) !important; }
.layout3-store .shop-sidebar,
.layout3-store .cart-page-card,
.layout3-store .checkout-card,
.layout3-store .account-card,
.layout3-store .customer-card {
    border-color: var(--xt-line) !important;
    border-radius: 15px !important;
    box-shadow: 0 7px 24px rgba(14,35,54,.05);
}
.layout3-store .shop-filter-apply,
.layout3-store .cart-page-coupon-btn,
.layout3-store .cart-page-checkout-btn,
.layout3-store .checkout-submit,
.layout3-store .btn-submit { background: var(--xt-blue) !important; }

/* Footer */
.layout3-store .features-bar { background: #0b2940; color: #fff; border: 0; }
.layout3-store .feature-item i { color: #78afff; }
.layout3-store .site-footer { background: var(--footer-bg); border-top: 1px solid rgba(255,255,255,.08); }
.layout3-store .site-footer h4 { color: #fff; }
.layout3-store .site-footer p,
.layout3-store .site-footer li,
.layout3-store .site-footer a { color: #aebfce; }
.layout3-store .site-footer a:hover { color: #fff; }
.layout3-store .footer-logo { max-height: 64px; width: auto; }
.layout3-store .footer-contact-list { display: grid; gap: 8px; margin-top: 16px; }
.layout3-store .footer-contact-list a { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; }
.layout3-store .footer-contact-list i { color: #78afff; margin-top: 4px; }
.layout3-store .footer-bottom { background: var(--copyright-bg); color: #8fa4b6; }
.layout3-store .mobile-bottom-nav { background: rgba(4,17,29,.98); border-top: 1px solid rgba(255,255,255,.1); }
.layout3-store .mobile-bottom-nav a { color: #8fa4b6; }
.layout3-store .mobile-bottom-nav a.active { color: #74aaff; }

/* Tools page */
.layout3-store .network-tools-page { padding: 28px 0 64px; min-height: 68vh; }
.layout3-store .tools-hero {
    padding: clamp(24px, 4vw, 48px);
    border-radius: 20px;
    color: #fff;
    background: radial-gradient(circle at 80% 20%, rgba(20,109,245,.35), transparent 35%), linear-gradient(145deg, #04111d, #0b2940);
    margin-bottom: 18px;
}
.layout3-store .tools-hero h1 { margin: 8px 0; font-size: clamp(28px, 4vw, 44px); }
.layout3-store .tools-hero p { max-width: 680px; color: #bfd0df; }
.layout3-store .tools-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; }
.layout3-store .tools-nav,
.layout3-store .tool-workspace {
    border: 1px solid var(--xt-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(14,35,54,.05);
}
.layout3-store .tools-nav { padding: 10px; height: fit-content; }
.layout3-store .tools-nav a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; color: #4f6073; font-weight: 700; }
.layout3-store .tools-nav a.active,
.layout3-store .tools-nav a:hover { color: var(--xt-blue); background: var(--xt-blue-soft); }
.layout3-store .tool-workspace { padding: clamp(18px, 3vw, 32px); }
.layout3-store .tool-workspace h2 { margin: 0 0 6px; }
.layout3-store .tool-workspace > p { color: var(--xt-muted); margin-bottom: 22px; }
.layout3-store .tool-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.layout3-store .tool-field { display: grid; gap: 7px; }
.layout3-store .tool-field.full { grid-column: 1/-1; }
.layout3-store .tool-field label { font-size: 14px; font-weight: 700; }
.layout3-store .tool-field input,
.layout3-store .tool-field select,
.layout3-store .tool-field textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--xt-line);
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
    color: var(--xt-ink);
    font: inherit;
}
.layout3-store .tool-submit {
    min-height: 48px;
    border: 0;
    border-radius: 10px;
    padding: 11px 18px;
    color: #fff;
    background: var(--xt-blue);
    font: 700 15px inherit;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(20,109,245,.22);
}
.layout3-store .tool-submit:hover { background: var(--primary-dark); }
.layout3-store .tool-result { display: none; margin-top: 18px; padding: 18px; border: 1px solid #bfd4f8; border-radius: 12px; background: #f1f7ff; }
.layout3-store .tool-result.is-visible { display: block; }
.layout3-store .tool-result strong { color: var(--xt-blue); font-size: 20px; }
.layout3-store .l3-brand-fallback {
    width: 100%;
    min-height: 58px;
    display: grid;
    place-items: center;
    padding: 8px;
    border: 1px solid #dce7f2;
    border-radius: 10px;
    background: linear-gradient(145deg, #f7faff, #edf4ff);
    color: var(--xt-navy-900);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
}

@media (max-width: 1120px) {
    .layout3-store .header-inner { grid-template-columns: 165px minmax(220px, 1fr) auto; }
    .layout3-store .logo img { max-width: 155px; }
    .layout3-store .btn-track { display: none; }
    .layout3-store .nav-cat-link { font-size: 13px; padding-inline: 8px; }
    .layout3-store .l3-category-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .layout3-store .l3-hero-grid { grid-template-columns: 1fr; }
    .layout3-store .l3-hero-side { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; }
    .layout3-store .l3-side-card { min-height: 100px; }
    .layout3-store .l3-tools-grid { grid-template-columns: repeat(2, 1fr); }
    .layout3-store .l3-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .layout3-store .product-grid,
    .layout3-store .product-grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .layout3-store .l3-trust-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    body.layout3-store { font-size: 16px; padding-bottom: 68px; }
    .layout3-store .container { width: min(100% - 22px, var(--container)); }
    .layout3-store .notice-ticker { height: 32px; }
    .layout3-store .notice-badge { padding-left: 8px; font-size: 10px; }
    .layout3-store .notice-text { font-size: 12px; }
    .layout3-store .site-header { top: var(--notice-height); }
    .layout3-store .header-inner {
        display: grid;
        grid-template-columns: 42px minmax(0,1fr) auto;
        gap: 8px;
        padding: 9px 0;
    }
    .layout3-store .menu-toggle { display: inline-flex; grid-column: 1; width: 42px; height: 42px; align-items: center; justify-content: center; }
    .layout3-store .logo { grid-column: 2; justify-self: start; }
    .layout3-store .logo img { height: 40px; max-width: 145px; }
    .layout3-store .mobile-search { grid-column: 1 / -1; grid-row: 2; }
    .layout3-store .mobile-search input { height: 42px; border-radius: 10px; }
    .layout3-store .header-actions { grid-column: 3; gap: 5px; }
    .layout3-store .cart-btn { width: 42px; height: 42px; justify-content: center; padding: 0; }
    .layout3-store .cart-amount,
    .layout3-store .profile-btn { display: none; }
    .layout3-store .main-nav { grid-column: auto; border: 0; min-height: 0; }
    .layout3-store .main-nav .drawer-links { display: block; }
    .layout3-store .nav-cat-mobile { display: block; }
    .layout3-store .main-nav a { color: var(--xt-ink); }
    .layout3-store .mobile-category-scroll { display: flex; top: calc(var(--notice-height) + 101px); }
    .layout3-store .l3-hero { padding-top: 12px; background: linear-gradient(180deg, #061725 0%, #0b2940 72%, var(--xt-canvas) 72%); }
    .layout3-store .l3-hero-grid { gap: 10px; }
    .layout3-store .hero-slider { border-radius: 13px; }
    .layout3-store .hero-slide,
    .layout3-store .hero-img { aspect-ratio: 1.78 / 1; }
    .layout3-store .l3-hero-fallback { min-height: 300px; padding: 25px 20px; }
    .layout3-store .l3-hero-fallback h1 { font-size: 34px; }
    .layout3-store .l3-hero-fallback p { font-size: 15px; }
    .layout3-store .l3-hero-side { grid-template-columns: 1fr 1fr; }
    .layout3-store .l3-side-card { min-height: 86px; padding: 12px; }
    .layout3-store .l3-side-card:nth-child(3) { grid-column: 1/-1; }
    .layout3-store .l3-side-icon { width: 39px; height: 39px; flex-basis: 39px; border-radius: 10px; font-size: 17px; }
    .layout3-store .l3-side-card strong { font-size: 14px; }
    .layout3-store .l3-section,
    .layout3-store .product-section,
    .layout3-store .flash-sale-section,
    .layout3-store .hot-deal-section,
    .layout3-store .brand-section,
    .layout3-store .vendor-section,
    .layout3-store .blog-section { padding: 22px 0; }
    .layout3-store .l3-section-title h2,
    .layout3-store .section-head h2,
    .layout3-store .flash-sale-heading h2,
    .layout3-store .hot-deal-heading h2 { font-size: 22px; }
    .layout3-store .l3-tools-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .layout3-store .l3-tool-card { min-height: 78px; padding: 10px; gap: 9px; }
    .layout3-store .l3-tool-icon { width: 40px; height: 40px; flex-basis: 40px; border-radius: 10px; font-size: 17px; }
    .layout3-store .l3-tool-card strong { font-size: 13px; }
    .layout3-store .l3-tool-card small { display: none; }
    .layout3-store .l3-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
    .layout3-store .l3-category-card { min-height: 104px; padding: 10px 4px 8px; gap: 7px; border-radius: 11px; }
    .layout3-store .l3-category-media { width: 44px; height: 44px; border-radius: 11px; font-size: 19px; }
    .layout3-store .l3-category-card span { font-size: 12px; line-height: 1.15; }
    .layout3-store .product-grid,
    .layout3-store .product-grid--shop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .layout3-store .product-card { border-radius: 11px; }
    .layout3-store .product-thumb { aspect-ratio: 1.08 / 1; }
    .layout3-store .product-thumb img { padding: 8px; }
    .layout3-store .product-body { padding: 10px; }
    .layout3-store .l3-product-meta { font-size: 11px; }
    .layout3-store .product-title { min-height: 39px; font-size: 13px; line-height: 1.45; }
    .layout3-store .l3-feature-list { min-height: 34px; }
    .layout3-store .l3-feature-list li { font-size: 11px; }
    .layout3-store .product-price { font-size: 17px; }
    .layout3-store .product-price del { display: inline; font-size: 11px; }
    .layout3-store .product-actions { grid-template-columns: 1fr 39px; gap: 6px; }
    .layout3-store .btn-order,
    .layout3-store .btn-cart { min-height: 39px; font-size: 12px; border-radius: 8px; }
    .layout3-store .l3-trust-strip { grid-template-columns: 1fr 1fr; }
    .layout3-store .l3-trust-item { min-height: 82px; padding: 11px; gap: 8px; }
    .layout3-store .l3-trust-item i { width: 27px; font-size: 18px; }
    .layout3-store .l3-trust-item strong { font-size: 12px; }
    .layout3-store .l3-trust-item small { font-size: 11px; }
    .layout3-store .tools-layout { grid-template-columns: 1fr; }
    .layout3-store .tools-nav { display: flex; overflow-x: auto; }
    .layout3-store .tools-nav a { flex: 0 0 auto; }
    .layout3-store .tool-form-grid { grid-template-columns: 1fr; }
    .layout3-store .tool-field.full { grid-column: auto; }
}

@media (max-width: 390px) {
    .layout3-store .l3-category-card span { font-size: 11px; }
    .layout3-store .l3-tools-grid { grid-template-columns: 1fr; }
    .layout3-store .l3-tool-card small { display: block; }
}

@media (prefers-reduced-motion: reduce) {
    .layout3-store *,
    .layout3-store *::before,
    .layout3-store *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* Native independent-app bindings for the original Xtreme'x Layout 3. */
:root{--navy:#04111d;--blue:#146df5;--line:#dde4ed;--muted:#66758a;--radius:15px}
body.layout3-store{font-family:system-ui,-apple-system,"Segoe UI","Nirmala UI",sans-serif;line-height:1.55}
.layout3-store .container,.layout3-store .wrap{width:min(1320px,calc(100% - 32px));margin-inline:auto}
.layout3-store .ui-icon{width:22px;height:22px;flex:0 0 auto;vertical-align:middle}
.layout3-store a,.layout3-store button{transition:background .15s,color .15s,border-color .15s}
.layout3-store button,.layout3-store .button{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;top:-80px;left:20px;z-index:100;background:white;padding:12px 18px;color:#04111d}
.skip-link:focus{top:10px}
.layout3-store .notice-ticker{height:auto;color:#fff}
.layout3-store .notice-inner{display:flex;gap:16px;align-items:center;min-height:34px;font-size:12px}
.layout3-store .notice-label{background:#e9323c;padding:3px 8px;border-radius:4px;font-weight:800;letter-spacing:.06em}
.layout3-store .notice-copy{flex:1}
.layout3-store .notice-inner a{white-space:nowrap}
.layout3-store .site-header{position:relative;z-index:25}
.layout3-store .header-inner{align-items:center}
.layout3-store .logo{display:block}
.layout3-store .logo img{display:block;width:180px}
.layout3-store .header-actions{display:flex;align-items:center;gap:9px}
.layout3-store .cart-btn{display:inline-flex;position:relative;align-items:center;gap:8px}
.layout3-store .cart-badge{display:grid;place-items:center;background:#e9323c;color:#fff;min-width:21px;height:21px;border-radius:20px;padding:0 5px;font-size:11px;line-height:1}
.layout3-store .btn-track{gap:7px}
.layout3-store .main-nav{padding:0;overflow-x:auto;white-space:nowrap}
.layout3-store .main-nav .drawer-links{justify-content:space-between}
.layout3-store .nav-cat-link{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto}
.layout3-store .nav-cat-link .ui-icon{width:17px;height:17px}
.layout3-store .search-submit{position:absolute;right:4px;top:4px;bottom:4px;padding:0 12px;background:transparent;color:#146df5;border:0;min-height:0}
.layout3-store .search-submit:hover{background:#eaf2ff}
.layout3-store .mobile-menu{display:none}
.layout3-store .l3-hero-fallback{border:1px solid #31516a;border-radius:18px;background:linear-gradient(125deg,#0c2942,#071b2b);box-shadow:0 16px 40px #03101a30}
.layout3-store .l3-hero-fallback p{margin:8px 0}
.layout3-store .l3-hero-fallback:after{pointer-events:none}
.layout3-store .l3-eyebrow{font-size:11px}
.layout3-store .l3-eyebrow .ui-icon{width:17px;height:17px}
.layout3-store .l3-section{padding:23px 0}
.layout3-store .l3-section-title h2{font-size:clamp(22px,2.5vw,28px)}
.layout3-store .l3-category-media img{padding:2px}
.layout3-store .l3-category-media{width:68px;height:68px}
.layout3-store .l3-tool-icon .ui-icon,.layout3-store .l3-side-icon .ui-icon{width:25px;height:25px}
.layout3-store .l3-offer-banner{padding:24px 30px;margin-block:22px;background:linear-gradient(115deg,#061725,#12395b);border-radius:17px;color:white;display:flex;align-items:center;justify-content:space-between;gap:24px}
.layout3-store .l3-offer-banner span{font-size:11px;letter-spacing:.1em;color:#a8cbff;font-weight:700}
.layout3-store .l3-offer-banner h2{margin:7px 0;font-size:clamp(20px,2.5vw,28px);line-height:1.4}
.layout3-store .l3-offer-banner p{margin:0;font-size:13px;color:#bdd0e3}
.layout3-store .l3-offer-banner .l3-btn-primary{flex-shrink:0}
.layout3-store .catalogue-tabs{display:flex;align-items:center;gap:22px;border-bottom:1px solid #dbe3ee;margin:8px 0 20px;overflow-x:auto;white-space:nowrap}
.layout3-store .catalogue-tabs a{display:flex;gap:8px;align-items:center;padding:12px 0;font-size:14px;color:#66758a;border-bottom:3px solid transparent}
.layout3-store .catalogue-tabs a.active{color:#146df5;border-bottom-color:#146df5;font-weight:700}
.layout3-store .catalogue-tabs .tab-view-all{margin-left:auto;color:#146df5}
.layout3-store .result-count{font-size:13px;color:#66758a;white-space:nowrap}
.layout3-store .catalogue-filters{padding:15px;background:#fff;border:1px solid #dde4ed;border-radius:13px}
.layout3-store .product-card{display:flex;flex-direction:column}
.layout3-store .product-media{position:relative}
.layout3-store .product-thumb{height:auto}
.layout3-store .product-thumb .no-photo{height:100%;min-height:0;gap:8px;opacity:.9}
.layout3-store .no-photo .ui-icon{width:46px;height:46px;color:#b6c9dd}
.layout3-store .product-thumb .no-photo span{font-size:18px;color:#a1b4c8}
.layout3-store .product-thumb .no-photo small{font-size:11px;color:#7c8b9a}
.layout3-store .deal-badge{position:absolute;top:11px;left:11px;line-height:1.2}
.layout3-store .product-wishlist{position:absolute;right:10px;top:10px}
.layout3-store .product-wishlist button{width:32px;height:32px;min-height:0;padding:7px;border-radius:50%;border:1px solid #dce5ef;color:#647b91;background:#ffffffdd}
.layout3-store .product-wishlist button:hover{color:#e9323c;background:#fff}
.layout3-store .product-wishlist .ui-icon{width:17px;height:17px}
.layout3-store .l3-product-meta{line-height:1.4;flex-wrap:wrap}
.layout3-store .l3-product-meta>span:first-child{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.layout3-store .l3-stock{font-size:11px;white-space:nowrap}
.layout3-store .product-card .product-title{height:42px;min-height:42px}
.layout3-store .product-card .product-price{margin-top:auto;font-size:19px;min-height:24px;line-height:1.5}
.layout3-store .product-price del{display:inline-block;font-size:12px}
.layout3-store .btn-order,.layout3-store .btn-cart,.layout3-store .availability-link{display:flex;align-items:center;justify-content:center;gap:6px;font:inherit;font-weight:650;text-align:center}
.layout3-store .btn-order{background:#146df5;color:#fff;border:1px solid #146df5;padding:9px 6px}
.layout3-store .btn-cart{background:#eaf2ff;color:#146df5;border:1px solid #d1e1fb;padding:8px}
.layout3-store .btn-order:hover{background:#0a49bd}
.layout3-store .btn-cart:hover{background:#dbeafe}
.layout3-store .availability-link{font-size:13px;min-height:42px;padding:9px 8px;border:1px solid #cddcef;border-radius:10px;color:#146df5;background:#f3f7fe}
.layout3-store .availability-link .ui-icon{width:16px;height:16px}
.layout3-store .product-detail-page{padding-top:25px}
.layout3-store .detail-grid{gap:30px}
.layout3-store .detail-information{min-width:0}
.layout3-store .product-detail-title{margin:13px 0 17px;font-size:clamp(25px,2.8vw,36px)}
.layout3-store .product-detail-price{font-weight:800;font-size:30px;line-height:1.4}
.layout3-store .product-detail-price del{font-size:17px;color:#91a0af;font-weight:500;margin-left:10px}
.layout3-store .big-photo{min-height:430px;align-self:start}
.layout3-store .big-photo .no-photo{padding:60px 12px}
.layout3-store .big-photo .no-photo .ui-icon{width:75px;height:75px}
.layout3-store .product-purchase{display:grid;grid-template-columns:85px 1fr 1fr;align-items:end;gap:10px}
.layout3-store .product-purchase label{font-size:12px}
.layout3-store .product-purchase input{min-height:52px}
.layout3-store .btn-add-cart{border:1px solid #146df5!important}
.layout3-store .btn-buy-now{color:#fff}
.layout3-store .availability-notice{padding:17px;border:1px solid #ead8bc;border-radius:13px;background:#fff9ef;margin:18px 0;font-size:14px;color:#765326}
.layout3-store .availability-notice p{font-size:13px;margin:6px 0 13px}
.layout3-store .availability-notice .button{font-size:13px}
.layout3-store .delivery-box strong{display:flex;align-items:center;gap:8px;color:#223d55}
.layout3-store .delivery-box .ui-icon{width:20px;height:20px;color:#146df5}
.layout3-store .product-expert-cta>.ui-icon{color:#108a54;width:27px;height:27px}
.layout3-store .product-expert-cta strong{font-size:14px}
.layout3-store .product-expert-cta small{font-size:12px}
.layout3-store .product-expert-cta a{white-space:nowrap;font-size:12px}
.layout3-store .product-tabs{display:flex;gap:25px;border-bottom:1px solid #dce5ee;margin:25px 0 18px;overflow:auto;white-space:nowrap}
.layout3-store .product-tabs a{padding:13px 0;font-weight:650;font-size:14px;color:#146df5}
.layout3-store .spec-grid{display:grid;grid-template-columns:160px 1fr;font-size:14px;margin:0}
.layout3-store .spec-grid dt,.layout3-store .spec-grid dd{padding:12px 15px;margin:0;border-bottom:1px solid #e5ebf3}
.layout3-store .spec-grid dt{background:#f2f6fb;font-weight:650}
.layout3-store .l3-brands-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px}
.layout3-store .l3-isp-banner{background:#071c2c;border:1px solid #23425c;color:white;padding:32px;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-block:20px 30px}
.layout3-store .l3-isp-banner h2{font-size:26px;margin:14px 0 8px}
.layout3-store .l3-isp-banner p{font-size:14px;color:#bdd0e3}
.layout3-store .l3-isp-banner .l3-btn-primary{white-space:nowrap;flex-shrink:0}
.layout3-store .l3-trust-strip{margin-bottom:35px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid #dde4ed;border-radius:14px;overflow:hidden}
.layout3-store .l3-trust-item{display:flex;align-items:center;gap:12px;padding:20px 16px;border-right:1px solid #dde4ed}
.layout3-store .l3-trust-item:last-child{border:0}
.layout3-store .l3-trust-item>.ui-icon{width:28px;height:28px;color:#146df5}
.layout3-store .l3-trust-item strong,.layout3-store .l3-trust-item small{display:block}
.layout3-store .l3-trust-item strong{font-size:13px}
.layout3-store .l3-trust-item small{font-size:11px;color:#66758a;margin-top:3px}
.layout3-store .notice[role=status]{display:flex;align-items:center;gap:12px}
.layout3-store .notice{font-size:14px}
.layout3-store .footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.25fr;gap:36px;padding:35px 0}
.layout3-store .site-footer{padding:0;margin-top:30px}
.layout3-store .site-footer h4{font-size:15px;margin:5px 0 20px}
.layout3-store .site-footer a,.layout3-store .site-footer p{font-size:13px;overflow-wrap:anywhere}
.layout3-store .footer-about h3{font-size:15px;color:#fff;line-height:1.5}
.layout3-store .footer-logo{height:52px;width:180px;object-fit:contain}
.layout3-store .footer-bottom .container{padding:17px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px}
.layout3-store .mobile-bottom-nav,.layout3-store .mobile-purchase-bar{display:none}
.layout3-store .admin-topbar{height:74px;background:#04111d;color:#d9e7f3;display:flex;align-items:center;gap:24px;padding:10px 30px}
.layout3-store .admin-topbar .brand{flex:0 0 auto}
.layout3-store .admin-topbar .brand img{width:170px;height:50px;object-fit:contain}
.layout3-store .admin-topbar>span{font-size:13px;color:#a7bfd4}
.layout3-store .admin-view-store{margin-left:auto;color:#fff;border:1px solid #375269;border-radius:9px;padding:9px 12px;font-size:13px;display:flex;align-items:center;gap:9px}
.layout3-store.admin-interface{padding-bottom:0}
.layout3-store .admin-shell{width:calc(100% - 40px);max-width:1520px;grid-template-columns:230px minmax(0,1fr);gap:26px;padding-top:24px}
.layout3-store .admin-sidebar{position:sticky;top:18px;padding:23px 16px;background:#071c2c;max-height:calc(100vh - 36px);overflow-y:auto;border-radius:14px}
.layout3-store .admin-sidebar>a{display:flex;align-items:center;gap:10px;font-size:13px;padding:11px 13px;margin-bottom:3px}
.layout3-store .admin-sidebar>a .ui-icon{width:18px;height:18px}
.layout3-store .admin-sidebar>a.active{background:#146df5}
.layout3-store .admin-sidebar h2{font-size:18px;margin-bottom:23px}
.layout3-store .admin-work>h1{font-size:28px}
.layout3-store .stats .panel{border-radius:14px;border-top:3px solid #146df5}
.layout3-store .stats .panel:nth-child(2){border-top-color:#e7ad37}
.layout3-store .stats .panel:nth-child(3){border-top-color:#e9323c}
.layout3-store .stats .panel:nth-child(4){border-top-color:#108a54}
.layout3-store .stats strong{color:#142c44}
.layout3-store .inventory-help{background:#eef5ff;border:1px solid #c7dcfb;border-radius:12px;padding:16px 18px;margin-bottom:20px;font-size:13px;color:#2b4c72}
.layout3-store .inventory-help p{margin:4px 0}
.layout3-store .inventory-pill{display:inline-flex;align-items:center;border-radius:20px;padding:4px 9px;background:#e6f5ed;color:#17734d;font-size:11px;white-space:nowrap;font-weight:650}
.layout3-store .inventory-pill.needs-update{background:#fff2dc;color:#8b5c15}
.layout3-store .admin-work .form-grid h2{font-size:18px;padding:15px 0 8px;border-bottom:1px solid #e2e9f2;margin-bottom:3px}
@media(min-width:901px){.layout3-store .l3-category-grid{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media(max-width:1120px){.layout3-store .header-inner{gap:12px}.layout3-store .nav-cat-link{padding-inline:10px}.layout3-store .footer-grid{gap:22px}.layout3-store .l3-trust-item{padding:16px 10px}.layout3-store .product-purchase{grid-template-columns:75px 1fr}.layout3-store .product-purchase .btn-buy-now{grid-column:1/-1}.layout3-store .l3-brands-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:900px){.layout3-store .admin-shell{grid-template-columns:180px minmax(0,1fr);gap:17px}.layout3-store .l3-trust-strip{grid-template-columns:repeat(2,1fr)}.layout3-store .l3-trust-item:nth-child(2){border-right:0}.layout3-store .product-detail-title{font-size:27px}}
@media(max-width:767px){
    body.layout3-store{padding-bottom:74px}
    .layout3-store .wrap,.layout3-store .container{width:calc(100% - 22px)}
    .layout3-store .notice-inner{min-height:30px;font-size:10px;gap:9px}
    .layout3-store .notice-label{display:none}
    .layout3-store .notice-copy{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px}
    .layout3-store .notice-inner a{font-size:10px}
    .layout3-store .header-inner{grid-template-columns:34px minmax(0,1fr) auto;padding:10px 0 0;gap:9px}
    .layout3-store .mobile-menu{display:block;grid-column:1;grid-row:1}
    .layout3-store .mobile-menu summary{display:flex;align-items:center;justify-content:center;width:34px;height:42px;list-style:none;cursor:pointer;color:#fff}
    .layout3-store .mobile-menu summary::-webkit-details-marker{display:none}
    .layout3-store .mobile-menu-panel{position:absolute;left:11px;right:11px;top:61px;max-height:65vh;overflow-y:auto;background:#fff;border:1px solid #dde4ed;border-radius:12px;padding:18px;box-shadow:0 18px 40px #04111d40;z-index:40}
    .layout3-store .mobile-menu-panel strong{display:block;margin-bottom:12px;color:#04111d}
    .layout3-store .mobile-menu-panel a{display:block;padding:10px;border-bottom:1px solid #eef3f8;font-size:14px}
    .layout3-store .logo{grid-column:2;grid-row:1}
    .layout3-store .logo img{width:145px;max-width:100%;height:40px}
    .layout3-store .header-actions{grid-column:3;grid-row:1}
    .layout3-store .cart-btn{width:auto;min-width:50px;padding:0 8px;height:39px;gap:5px}
    .layout3-store .cart-btn .ui-icon{width:18px;height:18px}
    .layout3-store .cart-badge{height:18px;min-width:18px;font-size:10px}
    .layout3-store .mobile-search{grid-column:1/-1;grid-row:2;margin-bottom:0}
    .layout3-store .mobile-search input{font-size:13px;padding-left:13px}
    .layout3-store .main-nav{grid-column:1/-1;grid-row:3;width:100%;border-top:1px solid #ffffff10;margin-top:2px;display:block}
    .layout3-store .main-nav .drawer-links{display:flex;gap:7px;justify-content:flex-start;width:max-content}
    .layout3-store .main-nav .nav-cat-link{color:#dae8f4;font-size:11px;padding:10px 7px}
    .layout3-store .l3-hero-grid{gap:10px}
    .layout3-store .l3-hero-fallback{min-height:295px;border-radius:13px}
    .layout3-store .l3-hero-fallback h1{font-size:37px;line-height:1.08}
    .layout3-store .l3-hero-fallback p{font-size:13px;line-height:1.7}
    .layout3-store .l3-hero-actions{gap:8px;margin-top:18px}
    .layout3-store .l3-hero-actions a{min-height:40px;padding:0 10px;font-size:11px}
    .layout3-store .l3-eyebrow{font-size:9px;letter-spacing:.03em}
    .layout3-store .l3-hero-side{grid-template-columns:1fr 1fr;gap:8px}
    .layout3-store .l3-side-card:nth-child(3){grid-column:1/-1;min-height:68px}
    .layout3-store .l3-side-card strong{font-size:13px}
    .layout3-store .l3-side-card small{font-size:11px;line-height:1.5;display:block;margin-top:3px}
    .layout3-store .l3-section{padding:19px 0}
    .layout3-store .l3-section-head{gap:10px;margin-bottom:14px}
    .layout3-store .l3-section-title h2{font-size:21px}
    .layout3-store .l3-section-title p{font-size:12px;line-height:1.6}
    .layout3-store .btn-view-all{font-size:11px}
    .layout3-store .l3-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
    .layout3-store .l3-tool-card{padding:11px 9px;gap:8px;min-height:78px}
    .layout3-store .l3-tool-icon{width:32px;height:36px;flex-basis:32px;border-radius:9px}
    .layout3-store .l3-tool-icon .ui-icon{width:20px;height:20px}
    .layout3-store .l3-tool-card strong{font-size:12px}
    .layout3-store .l3-tool-card small{display:block;font-size:10px;line-height:1.4}
    .layout3-store .l3-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
    .layout3-store .l3-category-card{min-height:104px}
    .layout3-store .l3-category-media{width:53px;height:53px}
    .layout3-store .l3-category-card>span:last-child{font-size:11px;line-height:1.25}
    .layout3-store .l3-offer-banner{padding:19px 16px;gap:15px;margin-block:15px;align-items:start;flex-direction:column}
    .layout3-store .l3-offer-banner h2{font-size:21px}
    .layout3-store .l3-offer-banner p{font-size:12px}
    .layout3-store .l3-offer-banner .l3-btn-primary{min-height:39px;font-size:12px;padding:0 13px}
    .layout3-store .catalogue-tabs{gap:18px;margin-bottom:15px}
    .layout3-store .catalogue-tabs a{font-size:11px;padding:9px 0}
    .layout3-store .catalogue-tabs .tab-view-all{display:none}
    .layout3-store .result-count{font-size:11px}
    .layout3-store .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
    .layout3-store .product-card .product-title{font-size:13px;height:39px;min-height:39px;line-height:1.45}
    .layout3-store .product-card .product-price{font-size:16px;line-height:1.55}
    .layout3-store .product-price del{font-size:10px}
    .layout3-store .product-card .l3-stock{font-size:10px}
    .layout3-store .product-wishlist{top:7px;right:7px}
    .layout3-store .product-wishlist button{width:27px;height:27px;padding:6px}
    .layout3-store .product-wishlist .ui-icon{width:14px;height:14px}
    .layout3-store .product-thumb .no-photo span{font-size:14px}
    .layout3-store .product-thumb .no-photo small{font-size:9px}
    .layout3-store .product-thumb .no-photo .ui-icon{width:34px;height:34px}
    .layout3-store .deal-badge{font-size:10px;top:7px;left:7px;padding:4px 6px}
    .layout3-store .availability-link{font-size:10px;min-height:39px;padding:8px 5px;gap:4px}
    .layout3-store .availability-link .ui-icon{width:13px;height:13px}
    .layout3-store .btn-order,.layout3-store .btn-cart{font-size:12px}
    .layout3-store .big-photo{min-height:260px}
    .layout3-store .big-photo .no-photo{padding:35px 12px}
    .layout3-store .detail-grid{grid-template-columns:1fr;gap:22px}
    .layout3-store .product-detail-price{font-size:26px}
    .layout3-store .product-purchase{grid-template-columns:68px 1fr}
    .layout3-store .product-purchase .btn-buy-now{grid-column:1/-1}
    .layout3-store .product-key-features li{font-size:13px}
    .layout3-store .spec-grid{grid-template-columns:100px 1fr;font-size:12px}
    .layout3-store .spec-grid dt,.layout3-store .spec-grid dd{padding:10px}
    .layout3-store .l3-brands-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
    .layout3-store .l3-brand-fallback{font-size:12px;min-height:50px}
    .layout3-store .l3-isp-banner{padding:22px;flex-direction:column;align-items:start;gap:15px}
    .layout3-store .l3-isp-banner h2{font-size:24px}
    .layout3-store .l3-isp-banner p{font-size:12px}
    .layout3-store .l3-isp-banner .l3-btn-primary{font-size:12px;min-height:40px}
    .layout3-store .l3-trust-strip{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:25px}
    .layout3-store .l3-trust-item{padding:13px 10px;gap:8px;min-height:84px}
    .layout3-store .l3-trust-item strong{font-size:11px}
    .layout3-store .l3-trust-item small{font-size:10px}
    .layout3-store .l3-trust-item>.ui-icon{width:23px;height:23px}
    .layout3-store .footer-grid{grid-template-columns:1fr 1fr;padding:28px 0;gap:25px}
    .layout3-store .footer-about{grid-column:1/-1}
    .layout3-store .footer-grid>div:last-child{grid-column:1/-1}
    .layout3-store .site-footer h4{margin-bottom:13px;font-size:14px}
    .layout3-store .footer-bottom .container{align-items:start;flex-direction:column;gap:8px;font-size:10px}
    .layout3-store .mobile-bottom-nav{position:fixed;display:flex;bottom:0;left:0;right:0;z-index:40;justify-content:space-around;padding:10px 2px max(10px,env(safe-area-inset-bottom));min-height:65px}
    .layout3-store .mobile-bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;font-weight:600}
    .layout3-store .mobile-bottom-nav .ui-icon{width:20px;height:20px}
    .layout3-store .mobile-bottom-nav b{color:#fff}
    .layout3-store .mobile-purchase-bar{position:fixed;display:flex;align-items:center;justify-content:space-between;gap:20px;bottom:calc(65px + env(safe-area-inset-bottom));left:0;right:0;z-index:35;background:#fff;padding:9px 13px;border-top:1px solid #dce5ef;box-shadow:0 -3px 18px #04111d0d}
    .layout3-store .mobile-purchase-bar small,.layout3-store .mobile-purchase-bar strong{display:block;font-size:10px}
    .layout3-store .mobile-purchase-bar strong{color:#e9323c;font-size:18px}
    .layout3-store .mobile-purchase-bar button{font-size:13px;min-height:43px;padding:10px 21px}
    .layout3-store:has(.mobile-purchase-bar){padding-bottom:140px}
    .layout3-store .notice{font-size:12px}
    .layout3-store .admin-topbar{height:64px;padding:8px 12px;gap:10px}
    .layout3-store .admin-topbar .brand img{width:137px;height:43px}
    .layout3-store .admin-topbar>span{display:none}
    .layout3-store .admin-view-store{font-size:11px;padding:7px 9px}
    .layout3-store .admin-shell{grid-template-columns:1fr;width:calc(100% - 22px);gap:16px;padding-top:15px}
    .layout3-store .admin-sidebar{position:static;max-height:none;padding:10px;display:flex;flex-wrap:wrap;gap:3px}
    .layout3-store .admin-sidebar>a{font-size:11px;gap:5px;padding:8px 7px;margin-bottom:0}
    .layout3-store .admin-sidebar>a .ui-icon{width:15px;height:15px}
    .layout3-store .admin-sidebar form{margin:0}
    .layout3-store .admin-sidebar button{font-size:11px;padding:7px}
    .layout3-store .admin-work>h1{font-size:24px}
    .layout3-store .inventory-help{font-size:12px;padding:13px}
    .layout3-store.admin-interface{padding-bottom:0}
}
@media print{.layout3-store .admin-topbar,.layout3-store .mobile-bottom-nav,.layout3-store .mobile-purchase-bar,.layout3-store .notice-ticker,.skip-link{display:none!important}.layout3-store:has(.mobile-purchase-bar){padding-bottom:0}.layout3-store .wrap{width:100%}}
/* Payment instructions follow the final server-calculated order total. */
.layout3-store .payment-instructions{padding:22px;border:1px solid #c7dcf6;background:#f4f8ff;border-radius:10px;margin:24px 0}.layout3-store .payment-instructions h2{font-size:20px}.layout3-store .payment-instructions .stack{display:flex;flex-direction:column;gap:14px;margin-top:18px}
@media(max-width:700px){.layout3-store .payment-instructions{padding:17px}}
@media print{.payment-instructions form{display:none!important}}
