:root {
    --ink: #171c24;
    --muted: #697386;
    --line: #e7ebf0;
    --soft: #f6f8fb;
    --soft-green: #eaf8ef;
    --soft-blue: #eaf4ff;
    --soft-mint: #e6f8f7;
    --orange: #ff9d00;
    --orange-dark: #ed7d00;
    --green: #16a06f;
    --blue: #2477ff;
    --coral: #ef4d45;
    --navy: #071d3b;
    --white: #ffffff;
    --shadow: 0 14px 32px rgba(15, 23, 42, .08);
    --font-ui: "Outfit", ui-sans-serif, sans-serif;
    --font-display: "Playfair Display", Georgia, serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-ui);
    color: var(--ink);
    background: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.25;
}

.page-wrap {
    min-height: 100vh;
    padding-bottom: 0;
}

.container {
    width: min(var(--theme-container-width, 1180px), calc(100% - 32px));
    margin: 0 auto;
}

.top-strip {
    background: #1f1f1f;
    color: #edf7f3;
    font-size: 12px;
    padding: 7px 0;
}

.top-strip .container,
.top-strip span,
.top-strip-links,
.nav-row .container,
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.top-strip-links {
    gap: 18px;
    font-weight: 700;
}

.main-header {
    background: var(--theme-header, var(--white));
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 30;
}

.header-inner {
    min-height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 21px;
    white-space: nowrap;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--orange);
    color: var(--white);
    overflow: hidden;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.brand.has-logo {
    min-height: 58px;
}

.brand-logo {
    width: min(190px, 42vw);
    min-height: 54px;
    display: inline-flex;
    align-items: center;
}

.brand-logo img {
    max-width: 100%;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.footer-brand.has-logo {
    align-items: flex-start;
}

.footer-brand.has-logo .brand-logo {
    width: min(180px, 100%);
}

.search-bar {
    flex: 1;
    max-width: 585px;
    min-width: 220px;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: visible;
    background: var(--white);
    position: relative;
}

.search-bar select,
.search-bar input {
    min-width: 0;
    border: 0;
    padding: 13px 14px;
    font: inherit;
    outline: 0;
    background: #fff;
}

.search-bar select {
    border-right: 1px solid var(--line);
    color: var(--muted);
    font-weight: 700;
}

.search-bar button,
.btn {
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: var(--theme-button-radius, 8px);
    font-weight: 900;
    font-size: 14px;
    white-space: nowrap;
}

.search-bar button,
.btn-primary {
    background: var(--orange);
    color: #241800;
}

.search-bar button:hover,
.btn-primary:hover {
    background: var(--orange-dark);
    color: #fff;
}

.btn-dark {
    background: var(--ink);
    color: var(--white);
}

.btn-soft {
    background: var(--soft);
    color: var(--ink);
    border: 1px solid var(--line);
}

.btn-danger {
    background: #fff1ef;
    color: #c63d2d;
    border: 1px solid #ffd4cc;
}

.header-support {
    color: var(--muted);
}

.header-support a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.header-support > span,
.header-support a > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--soft-blue);
    color: var(--blue);
}

.header-support small,
.header-support strong {
    display: block;
}

.header-support strong {
    color: var(--ink);
    font-size: 13px;
}

.header-actions {
    display: flex;
    gap: 8px;
}

.icon-link {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    place-items: center;
    position: relative;
    background: #fff;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: var(--coral);
    color: var(--white);
    font-size: 12px;
    display: grid;
    place-items: center;
    padding: 0 5px;
}

.nav-row {
    background: #edf5ff;
    border-bottom: 1px solid #dfeaf7;
}

.department-trigger {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 0 0 8px 8px;
    background: var(--orange);
    color: #241800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
}

.department-wrap {
    position: relative;
    flex: 0 0 auto;
}

.department-dropdown,
.header-submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 30;
    width: 260px;
    padding: 8px;
    border: 1px solid rgba(155, 174, 199, .55);
    border-radius: 8px;
    display: none;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(22, 32, 51, .14);
}

.department-wrap:hover .department-dropdown,
.department-wrap:focus-within .department-dropdown,
.header-menu-item:hover .header-submenu,
.header-menu-item:focus-within .header-submenu {
    display: grid;
}

.department-dropdown a,
.header-submenu a {
    min-height: 38px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    color: #172033;
    font-weight: 800;
    white-space: normal;
}

.department-dropdown a:hover,
.header-submenu a:hover {
    background: #fff8ed;
    color: #a74900;
}

.department-dropdown a.is-child {
    min-height: 34px;
    margin-left: 22px;
    color: #53627a;
    font-size: 13px;
}

.category-nav {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    overflow: visible;
    scrollbar-width: none;
    padding: 11px 0;
    font-size: 14px;
    font-weight: 800;
    color: #334155;
}

.category-nav a,
.header-menu-item > a {
    white-space: nowrap;
}

.header-menu-item {
    position: relative;
}

.header-menu-item.has-children > a::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.commerce-hero {
    background: #fff;
    padding: 18px 0 8px;
}

.hero-commerce-grid {
    display: grid;
    grid-template-columns: 238px minmax(0, 1fr) 250px;
    gap: 18px;
    align-items: stretch;
}

.department-menu,
.side-offer,
.hero-billboard,
.service-tile,
.product-card,
.vendor-card,
.info-card,
.filter-panel,
.cart-box,
.checkout-box,
.brand-tile,
.article-card,
.mini-product {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.department-menu {
    overflow: hidden;
    box-shadow: var(--shadow);
}

.department-title {
    min-height: 45px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: #241800;
    font-weight: 900;
}

.department-menu a {
    min-height: 43px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--line);
    color: #485568;
    font-size: 13px;
    font-weight: 800;
}

.department-menu a span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.hero-billboard {
    min-height: 320px;
    padding: 38px;
    border: 0;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(240px, .75fr);
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 45%, rgba(255, 196, 90, .45), transparent 29%),
        linear-gradient(135deg, #f9fafc 0%, #fff4e0 54%, #f2f8ff 100%);
    position: relative;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-block;
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 10px 0 12px;
    max-width: 520px;
    font-size: 42px;
    line-height: 1.06;
}

.hero-copy p {
    max-width: 470px;
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.hero-device-stack {
    align-self: stretch;
    display: grid;
    place-items: center;
    position: relative;
}

.hero-device-stack img {
    width: min(320px, 100%);
    height: 260px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 22px 50px rgba(15, 23, 42, .16);
}

.floating-deal {
    position: absolute;
    right: 10px;
    bottom: 16px;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.side-offer {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.side-offer strong {
    font-size: 19px;
    line-height: 1.25;
}

.side-offer small {
    color: var(--muted);
}

.side-offer img {
    width: 100%;
    height: 138px;
    object-fit: contain;
    background: var(--soft);
    border-radius: 8px;
}

.service-section {
    padding: 16px 0 8px;
}

.service-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.service-tile {
    min-height: 82px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 13px;
}

.service-tile:nth-child(1) {
    background: #fff5df;
}

.service-tile:nth-child(2) {
    background: var(--soft-blue);
}

.service-tile:nth-child(3) {
    background: var(--soft-green);
}

.service-tile:nth-child(4) {
    background: var(--soft-mint);
}

.service-tile > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--orange);
    color: #241800;
    flex: 0 0 auto;
}

.service-tile strong,
.service-tile small {
    display: block;
}

.service-tile small {
    margin-top: 4px;
    color: var(--muted);
}

.section {
    padding: 34px 0;
}

.soft-band {
    background: var(--soft);
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.inline-head {
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
}

.section-head h1,
.section-head h2 {
    margin: 0;
    font-size: 25px;
    line-height: 1.15;
}

.section-head p {
    margin: 6px 0 0;
    color: var(--muted);
}

.section-head > a,
.section-tabs a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.section-tabs {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.section-tabs a.active {
    color: var(--orange-dark);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.shop-layout .product-grid,
.product-detail + .section .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform .18s ease, box-shadow .18s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.product-media {
    aspect-ratio: 1 / .82;
    background: #f7f8fa;
    position: relative;
    display: block;
    overflow: hidden;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

.product-media .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--coral);
    color: #fff;
}

.product-tools {
    position: absolute;
    right: 10px;
    top: 10px;
    display: grid;
    gap: 6px;
    opacity: 0;
    transform: translateX(8px);
    transition: .18s ease;
}

.product-card:hover .product-tools {
    opacity: 1;
    transform: translateX(0);
}

.product-tools svg {
    width: 32px;
    height: 32px;
    padding: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .12);
}

.product-body {
    padding: 13px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.rating {
    color: #e29700;
    font-size: 12px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.rating svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.rating span {
    color: var(--muted);
}

.product-title {
    min-height: 40px;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.38;
}

.product-meta {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 7px;
    flex-wrap: wrap;
}

.price {
    font-size: 17px;
    font-weight: 900;
}

.compare {
    color: var(--muted);
    text-decoration: line-through;
    font-size: 12px;
}

.card-foot {
    min-height: 23px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.color-dots {
    display: flex;
    gap: 5px;
}

.color-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--coral);
}

.color-dots span:nth-child(2) {
    background: var(--green);
}

.color-dots span:nth-child(3) {
    background: var(--blue);
}

.discount-pill {
    min-height: 20px;
    padding: 0 7px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    background: #eaf8f1;
    color: #0d6f4d;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 40px;
    gap: 8px;
    margin-top: auto;
}

.product-actions .btn {
    min-height: 38px;
    padding: 0 10px;
}

.category-carousel-section {
    padding-top: 20px;
}

.round-category-row {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 15px;
}

.round-category {
    display: grid;
    justify-items: center;
    gap: 10px;
    text-align: center;
    color: #243044;
    font-size: 12px;
    font-weight: 900;
}

.round-category span {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: block;
    background-size: cover;
    background-position: center;
    border: 8px solid var(--soft);
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 350px minmax(0, 1fr);
    gap: 18px;
}

.promo-panel {
    min-height: 360px;
    border-radius: 8px;
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.promo-panel h2 {
    max-width: 250px;
    margin: 8px 0 10px;
    font-size: 25px;
    line-height: 1.2;
}

.promo-panel p {
    max-width: 245px;
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.6;
}

.promo-panel img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 72%;
    height: 58%;
    object-fit: cover;
    border-radius: 8px 0 0 0;
}

.promo-peach {
    background: #ffe2df;
}

.promo-lilac {
    background: #efe4ff;
}

.mini-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mini-product {
    min-height: 98px;
    padding: 10px;
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    position: relative;
}

.mini-product img {
    width: 78px;
    height: 78px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--soft);
}

.mini-product strong,
.mini-product small,
.mini-product b {
    display: block;
}

.mini-product strong {
    font-size: 13px;
    line-height: 1.35;
}

.mini-product b {
    margin-top: 4px;
    color: var(--orange-dark);
    font-size: 13px;
}

.mini-product em {
    min-height: 21px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--coral);
    color: #fff;
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.best-seller-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(300px, 1.35fr);
    gap: 16px;
}

.wide-offer-card {
    border-radius: 8px;
    padding: 25px;
    min-height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 12px;
    align-items: center;
    background: #eaf2ff;
    overflow: hidden;
}

.wide-offer-card h3 {
    margin: 8px 0;
    font-size: 23px;
    line-height: 1.2;
}

.wide-offer-card p {
    color: var(--muted);
    line-height: 1.6;
}

.wide-offer-card img {
    width: 190px;
    height: 190px;
    object-fit: cover;
    border-radius: 8px;
}

.favorite-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

.compact-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.brand-tile {
    min-height: 64px;
    padding: 10px;
    display: grid;
    place-items: center;
    text-align: center;
}

.brand-tile strong {
    font-size: 18px;
    font-weight: 900;
}

.brand-tile small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.article-card {
    overflow: hidden;
}

.article-card img {
    width: 100%;
    aspect-ratio: 1 / .72;
    object-fit: cover;
    background: var(--soft);
}

.article-card div {
    padding: 14px;
}

.article-card h3 {
    margin: 8px 0;
    font-size: 15px;
    line-height: 1.35;
}

.article-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.category-tile,
.vendor-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.category-tile {
    min-height: 150px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.category-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 32, 42, .1), rgba(20, 32, 42, .78));
}

.category-tile > * {
    position: relative;
}

.category-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .18);
}

.vendor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.vendor-card {
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
}

.vendor-card img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 8px;
}

.shop-layout,
.checkout-layout,
.product-detail {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
}

.filter-panel,
.cart-box,
.checkout-box,
.info-card {
    padding: 18px;
}

.form-grid {
    display: grid;
    gap: 12px;
}

.input,
.select,
.textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 13px;
    font: inherit;
    background: #fff;
}

.textarea {
    min-height: 116px;
    resize: vertical;
}

.filter-panel label,
.checkout-box label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.product-detail {
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    align-items: start;
}

.product-photo {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--soft);
}

.product-photo img {
    width: 100%;
    aspect-ratio: 1 / .9;
    object-fit: contain;
    padding: 22px;
}

.product-gallery {
    display: grid;
    gap: 12px;
}

.product-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.product-thumbs a {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
    overflow: hidden;
}

.product-thumbs img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 8px;
}

.spec-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.spec-list div {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.table-wrap {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

.table th {
    color: var(--muted);
    font-size: 13px;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 260px;
}

.cart-product img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--soft);
}

.summary-list {
    display: grid;
    gap: 10px;
    margin: 16px 0;
}

.summary-list div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.alert {
    width: min(1180px, calc(100% - 32px));
    margin: 16px auto 0;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 800;
}

.alert-success {
    background: #eaf8f1;
    color: #0d6f4d;
    border: 1px solid #bce9d3;
}

.alert-error {
    background: #fff1ef;
    color: #b42318;
    border: 1px solid #ffd4cc;
}

footer {
    margin-top: 0;
}

.footer-newsletter {
    background: #f0ebe5;
    color: var(--ink);
}

.newsletter-inner {
    min-height: 150px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    align-items: center;
    gap: 24px;
}

.newsletter-inner h2 {
    margin: 6px 0 0;
    font-size: 24px;
}

.newsletter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.newsletter-form input {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 14px;
    font: inherit;
    min-height: 42px;
}

.footer-main {
    background: var(--navy);
    color: #dce4ea;
    padding: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 24px;
}

.footer-brand {
    color: #fff;
    margin-bottom: 12px;
}

footer h4 {
    color: #fff;
    margin: 0 0 12px;
}

footer p,
footer a {
    color: #dce4ea;
    margin: 0 0 8px;
    line-height: 1.6;
}

.mobile-bottom {
    display: none;
}

@media (max-width: 1120px) {
    .hero-commerce-grid {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .side-offer {
        display: none;
    }

    .product-grid,
    .compact-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .best-seller-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .wide-offer-card {
        grid-column: 1 / -1;
    }

    .brand-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .header-support {
        display: none;
    }

    .hero-commerce-grid,
    .spotlight-grid,
    .favorite-grid,
    .shop-layout,
    .checkout-layout,
    .product-detail {
        grid-template-columns: 1fr;
    }

    .department-menu {
        display: none;
    }

    .hero-billboard {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 24px;
    }

    .hero-device-stack img {
        height: 220px;
    }

    .service-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .round-category-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .product-grid,
    .shop-layout .product-grid,
    .compact-grid,
    .product-detail + .section .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vendor-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .top-strip,
    .nav-row {
        display: none;
    }

    .header-inner {
        flex-wrap: wrap;
        padding: 12px 0;
        min-height: auto;
    }

    .brand {
        flex: 1;
    }

    .header-actions {
        order: 2;
    }

    .search-bar {
        order: 3;
        width: 100%;
        max-width: none;
        grid-template-columns: minmax(0, 1fr) 48px;
    }

    .search-bar select {
        display: none;
    }

    .commerce-hero {
        padding-top: 14px;
    }

    .hero-billboard {
        padding: 24px;
    }

    .hero-copy h1 {
        font-size: 31px;
    }

    .hero-copy p {
        font-size: 14px;
    }

    .service-strip,
    .mini-product-grid,
    .article-grid,
    .newsletter-inner,
    .newsletter-form {
        grid-template-columns: 1fr;
    }

    .product-grid,
    .shop-layout .product-grid,
    .compact-grid,
    .product-detail + .section .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .best-seller-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wide-offer-card {
        grid-template-columns: 1fr;
    }

    .wide-offer-card img {
        width: 100%;
        height: 160px;
    }

    .round-category-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .round-category span {
        width: 78px;
        height: 78px;
        border-width: 6px;
    }

    .section-head {
        align-items: start;
        flex-direction: column;
    }

    .brand-grid,
    .category-grid,
    .spec-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .page-wrap {
        padding-bottom: 62px;
    }

    .mobile-bottom {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        background: #fff;
        border-top: 1px solid var(--line);
        box-shadow: 0 -8px 24px rgba(15, 23, 42, .08);
    }

    .mobile-bottom a {
        display: grid;
        place-items: center;
        gap: 4px;
        min-height: 62px;
        font-size: 12px;
        color: var(--muted);
        font-weight: 900;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .brand {
        font-size: 18px;
    }

    .hero-copy h1 {
        font-size: 28px;
    }

    .hero-device-stack img {
        height: 190px;
    }

    .product-grid,
    .shop-layout .product-grid,
    .compact-grid,
    .product-detail + .section .product-grid,
    .best-seller-grid {
        grid-template-columns: 1fr;
    }

    .brand-grid,
    .round-category-row,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mini-product {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .mini-product em {
        grid-column: 2;
        justify-self: start;
    }

    .promo-panel {
        min-height: 330px;
        padding: 22px;
    }
}

/* Next-level storefront refresh */
:root {
    --radius-xl: 24px;
    --shadow-strong: 0 28px 80px rgba(17, 24, 39, .16);
}

body {
    font-family: var(--font-ui);
    background:
        radial-gradient(circle at 7% 4%, rgba(255, 157, 0, .10), transparent 24rem),
        radial-gradient(circle at 92% 2%, rgba(37, 99, 235, .09), transparent 22rem),
        linear-gradient(180deg, #fffdf9 0%, #ffffff 40%, #f7f8fb 100%);
}

button,
input,
select,
textarea {
    font-family: var(--font-ui);
}

.container,
.alert {
    width: min(1540px, calc(100% - 48px));
}

.brand,
.product-title,
.brand-tile strong {
    font-family: var(--font-display);
    letter-spacing: .01em;
}

.hero-copy h1,
.section-head h1,
.section-head h2,
.promo-panel h2,
.wide-offer-card h3,
.category-feature-card h3,
.article-card h3 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: .01em;
}

.main-header {
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 82px;
}

.brand {
    font-size: 24px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: radial-gradient(circle at 30% 20%, #ffe2a9, transparent 38%), linear-gradient(135deg, var(--orange), #ff7b00);
    color: #231500;
    box-shadow: 0 12px 26px rgba(255, 157, 0, .28);
}

.search-bar {
    max-width: 720px;
    grid-template-columns: 178px minmax(0, 1fr) 54px;
    border-radius: 999px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .05);
}

.search-bar select,
.search-bar input {
    padding: 14px 17px;
}

.search-bar button,
.btn {
    border-radius: 999px;
    min-height: 44px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.search-bar button,
.btn-primary {
    background: linear-gradient(135deg, var(--orange), #ffb02e);
    box-shadow: 0 10px 24px rgba(255, 157, 0, .26);
}

.search-bar button:hover,
.btn-primary:hover {
    background: linear-gradient(135deg, var(--orange-dark), #ff9d00);
    transform: translateY(-1px);
}

.btn-dark {
    background: #121826;
    color: #fff;
    box-shadow: 0 12px 28px rgba(17, 24, 39, .16);
}

.icon-link {
    border-radius: 50%;
}

.nav-row {
    background: linear-gradient(90deg, #fff4dd, #edf7ff 56%, #f2fff9);
}

.department-trigger {
    min-height: 48px;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 12px 30px rgba(255, 157, 0, .22);
}

.category-nav {
    gap: 24px;
    padding: 13px 0;
}

.hero-stage {
    position: relative;
}

.hero-stage::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 460px;
    background: linear-gradient(115deg, rgba(255, 247, 232, .92), rgba(232, 245, 255, .86)), radial-gradient(circle at 20% 20%, rgba(255, 157, 0, .22), transparent 22rem);
    z-index: -1;
}

.hero-commerce-grid {
    grid-template-columns: 264px minmax(620px, 1fr) 280px;
    gap: 20px;
}

.department-menu,
.side-offer,
.hero-billboard,
.service-tile,
.product-card,
.brand-tile,
.article-card,
.mini-product,
.category-feature-card,
.mini-campaign-card {
    border-radius: var(--radius-xl);
}

.mega-department {
    overflow: visible;
    align-self: start;
    position: relative;
    z-index: 20;
}

.department-title {
    min-height: 54px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    background: linear-gradient(135deg, var(--orange), #ffbc46);
}

.department-list {
    padding: 8px;
    background: #fff;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.department-item {
    position: relative;
}

.department-link {
    min-height: 48px;
    padding: 0 11px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 16px;
    align-items: center;
    gap: 9px;
    border-radius: 15px;
    color: #485568;
    font-size: 13px;
    font-weight: 900;
    transition: .18s ease;
}

.department-link > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.department-link small {
    color: var(--muted);
    font-size: 11px;
    white-space: nowrap;
}

.department-item:hover .department-link {
    color: #111827;
    background: #fff7e8;
}
.department-flyout {
    position: absolute;
    top: 0;
    left: calc(100% + 14px);
    width: 330px;
    min-height: 255px;
    padding: 18px;
    border: 1px solid #f0e2cb;
    border-radius: 22px;
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--shadow-strong);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-8px) scale(.98);
    transition: .18s ease;
    z-index: 80;
}

.department-item:hover .department-flyout {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
}

.department-flyout strong {
    display: block;
    margin-top: 5px;
    font-size: 21px;
}

.department-flyout p {
    color: var(--muted);
    line-height: 1.55;
    margin: 7px 0 14px;
    font-size: 13px;
}

.subcategory-cloud,
.subcategory-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.subcategory-cloud a,
.subcategory-pills a {
    min-height: 32px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f7fafc;
    border: 1px solid #e8edf4;
    color: #334155;
    font-size: 12px;
    font-weight: 900;
    transition: .18s ease;
}

.subcategory-cloud a:hover,
.subcategory-pills a:hover {
    background: #fff2d8;
    border-color: #ffd38a;
    color: #7a4500;
}

.flyout-banner {
    min-height: 88px;
    margin-top: 16px;
    padding: 15px;
    display: flex;
    align-items: flex-end;
    border-radius: 18px;
    overflow: hidden;
    color: #fff;
    background-size: cover;
    background-position: center;
    position: relative;
}

.flyout-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 20, 34, .08), rgba(12, 20, 34, .68));
}

.flyout-banner span {
    position: relative;
    font-weight: 900;
}

.hero-billboard {
    min-height: 480px;
    display: block;
    padding: 0;
    border: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
    background:
        radial-gradient(circle at 80% 45%, rgba(255, 204, 103, .35), transparent 15rem),
        radial-gradient(circle at 98% 0%, rgba(180, 225, 255, .34), transparent 18rem),
        linear-gradient(135deg, #fffaf1 0%, #f9fbff 54%, #edf8ff 100%);
}

.hero-billboard::before {
    content: "";
    position: absolute;
    inset: 22px;
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: calc(var(--radius-xl) - 6px);
    pointer-events: none;
}

.hero-slider-track {
    height: 100%;
    display: flex;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.hero-slider-track::-webkit-scrollbar,
.product-slider::-webkit-scrollbar {
    display: none;
}

.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    scroll-snap-align: start;
    min-height: 480px;
    padding: 52px 56px;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(270px, .88fr);
    align-items: center;
    gap: 34px;
    position: relative;
}

.hero-slide::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -70px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 157, 0, .13);
}

.hero-copy,
.hero-device-stack {
    min-width: 0;
    max-width: 100%;
    position: relative;
    z-index: 2;
}

.hero-copy h1 {
    max-width: 560px;
    margin: 12px 0 14px;
    font-size: clamp(40px, 3.05vw, 56px);
    line-height: 1.03;
    color: #101722;
    text-wrap: balance;
}

.hero-copy p {
    max-width: 500px;
    font-size: 16px;
    line-height: 1.72;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    min-width: 0;
    max-width: 100%;
}

.hero-device-stack img {
    width: min(360px, 100%);
    height: 330px;
    object-fit: cover;
    border: 9px solid rgba(255, 255, 255, .82);
    border-radius: 34px;
    box-shadow: 0 34px 70px rgba(15, 23, 42, .18);
    transform: rotate(1.5deg);
}

.orb {
    position: absolute;
    border-radius: 50%;
}

.orb-one {
    width: 168px;
    height: 168px;
    right: 0;
    top: 14px;
    background: linear-gradient(135deg, #ffe7b5, #ffd179);
    opacity: .9;
}

.orb-two {
    width: 92px;
    height: 92px;
    left: 4px;
    bottom: 38px;
    background: #c7f5e3;
    opacity: .9;
}

.floating-deal {
    right: 4px;
    bottom: 34px;
    min-height: 40px;
    padding: 0 16px;
    background: #121826;
    box-shadow: 0 14px 32px rgba(17, 24, 39, .22);
}

.hero-slider-controls,
.slider-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-slider-controls {
    position: absolute;
    right: 26px;
    bottom: 24px;
    z-index: 5;
}

.hero-slider-controls button,
.slider-controls button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid #dfe6ef;
    background: #fff;
    color: #1f2937;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(17, 24, 39, .08);
    transition: .18s ease;
}

.hero-slider-controls button:hover,
.slider-controls button:hover {
    background: var(--orange);
    border-color: var(--orange);
    transform: translateY(-1px);
}

.hero-metrics {
    position: absolute;
    left: 28px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    z-index: 6;
}

.hero-metrics span {
    min-height: 40px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(226, 232, 240, .88);
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    backdrop-filter: blur(8px);
}

.hero-side-stack {
    display: grid;
    grid-template-rows: auto auto;
    align-content: start;
    gap: 16px;
}

.glass-offer {
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 248, 235, .94)), radial-gradient(circle at 88% 0%, rgba(255, 157, 0, .28), transparent 14rem);
}

.side-offer strong {
    font-size: 24px;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.side-offer img {
    height: 202px;
    object-fit: cover;
    border-radius: 20px;
}

.mini-campaign-card {
    min-height: 104px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #101827;
    color: #fff;
    box-shadow: var(--shadow);
}

.mini-campaign-card small {
    display: block;
    margin-top: 4px;
    color: #b9c4d3;
}
.service-tile {
    min-height: 92px;
    padding: 16px;
    border-radius: 22px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .06);
}

.service-sun { background: #fff5df; }
.service-blue { background: #edf6ff; }
.service-green { background: #edf9f1; }
.service-mint { background: #eafbf9; }

.service-tile > span {
    width: 48px;
    height: 48px;
    border-radius: 16px;
}

.section {
    padding: 46px 0;
}

.soft-band {
    background: linear-gradient(180deg, rgba(246, 247, 251, .96), rgba(255, 255, 255, .98)), radial-gradient(circle at 10% 10%, rgba(255, 157, 0, .08), transparent 18rem);
}

.section-head {
    margin-bottom: 24px;
}

.inline-head {
    padding-bottom: 16px;
}

.section-head h1,
.section-head h2 {
    font-size: clamp(28px, 2.4vw, 42px);
    line-height: 1.04;
}

.section-head p {
    line-height: 1.6;
}

.section-head > a,
.section-tabs a,
.flash-right > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.section-tabs a {
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
}

.section-tabs a.active {
    color: #211600;
    background: var(--orange);
    border-color: var(--orange);
}

.category-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.category-feature-card {
    padding: 14px;
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 16px;
    min-height: 172px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .06);
    transition: transform .18s ease, box-shadow .18s ease;
}

.category-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.category-image {
    min-height: 144px;
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 10px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
}

.category-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 20, 34, .05), rgba(12, 20, 34, .34));
}

.category-image span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(255, 255, 255, .92);
    color: var(--orange-dark);
    position: relative;
    z-index: 2;
}

.category-feature-card h3 {
    margin: 3px 0 5px;
    font-size: 21px;
    line-height: 1.05;
}

.category-feature-card p {
    margin: 0 0 11px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.flash-section {
    padding-top: 54px;
}

.flash-head {
    align-items: center;
}

.flash-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.deal-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.deal-timer span {
    min-height: 40px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    background: var(--orange);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 11px 24px rgba(255, 157, 0, .24);
}

.deal-timer strong {
    font-size: 18px;
}

.product-slider {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 4px 4px 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.product-slider > .product-card {
    flex: 0 0 clamp(260px, 18.5vw, 318px);
    scroll-snap-align: start;
}

.product-grid {
    gap: 20px;
}

.product-grid-wide,
.compact-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.product-card {
    border-radius: var(--theme-card-radius, 24px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .055);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.product-card:hover {
    transform: translateY(-7px);
    border-color: #ffd28a;
    box-shadow: var(--shadow-strong);
}

.product-media-wrap {
    position: relative;
    margin: 14px 14px 0;
    border-radius: 20px;
    overflow: hidden;
    background: radial-gradient(circle at 20% 15%, rgba(255, 255, 255, .85), transparent 42%), linear-gradient(135deg, #f5f6f8, #eef3f8);
}

.product-media {
    aspect-ratio: 1 / .86;
    background: transparent;
}

.product-media img {
    padding: 20px;
    transition: transform .28s ease;
}

.product-card:hover .product-media img {
    transform: scale(1.06) rotate(.8deg);
}

.product-badge-stack {
    position: absolute;
    top: 14px;
    left: 14px;
    display: grid;
    gap: 7px;
    z-index: 4;
}

.discount-badge {
    background: var(--coral);
    color: #fff;
    box-shadow: 0 10px 20px rgba(239, 77, 69, .26);
}

.status-badge {
    background: #0f72e5;
    color: #fff;
    box-shadow: 0 10px 20px rgba(15, 114, 229, .20);
}

.product-hover-actions {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    gap: 8px;
    z-index: 5;
    opacity: 0;
    transform: translateX(12px);
    transition: .22s ease;
}

.product-card:hover .product-hover-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-hover-actions button,
.product-hover-actions a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(226, 232, 240, .9);
    background: rgba(255, 255, 255, .95);
    color: #334155;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
    transition: .18s ease;
}

.product-hover-actions button:hover,
.product-hover-actions a:hover,
.product-hover-actions .cart-action {
    background: var(--orange);
    border-color: var(--orange);
    color: #231500;
}

.product-body {
    padding: 16px;
    gap: 10px;
}

.product-kicker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.product-kicker .rating {
    letter-spacing: 0;
    text-transform: none;
}

.product-title {
    min-height: 44px;
    font-size: 17px;
    line-height: 1.25;
}

.product-title:hover {
    color: var(--orange-dark);
}

.product-spec-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.product-spec-chips span {
    min-height: 28px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e8edf4;
    font-size: 11px;
    font-weight: 900;
}

.price-row {
    margin-top: auto;
}

.price {
    font-size: 20px;
    color: var(--orange-dark);
}

.color-dots span {
    width: 11px;
    height: 11px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5);
}

.stock-pill {
    min-height: 23px;
    padding: 0 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    background: #eaf8f1;
    color: #0d6f4d;
    font-size: 11px;
    font-weight: 900;
}

.product-actions {
    grid-template-columns: 1fr 44px;
    gap: 9px;
}

.product-actions .btn {
    min-height: 42px;
}

.spotlight-grid {
    grid-template-columns: 390px minmax(0, 1fr);
    gap: 22px;
}

.promo-panel {
    min-height: 390px;
    border-radius: var(--theme-card-radius, 28px);
    padding: 34px;
    box-shadow: var(--shadow);
}

.promo-panel::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    right: -80px;
    top: -70px;
    background: rgba(255, 255, 255, .45);
}

.promo-panel h2 {
    max-width: 280px;
    font-size: 32px;
    line-height: 1.05;
}

.promo-panel img {
    width: 74%;
    height: 56%;
    border-radius: 28px 0 0 0;
}

.promo-peach {
    background: radial-gradient(circle at 18% 22%, rgba(255, 255, 255, .74), transparent 10rem), linear-gradient(135deg, #ffe5dd, #fff3da);
}

.promo-lilac {
    background: radial-gradient(circle at 78% 10%, rgba(255, 255, 255, .64), transparent 10rem), linear-gradient(135deg, #e8f2ff, #f5eadf);
}
.mini-product-grid {
    gap: 14px;
}

.mini-product {
    min-height: 112px;
    padding: 12px;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 12px;
    transition: .18s ease;
}

.mini-product:hover,
.brand-tile:hover,
.article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.mini-product img {
    width: 88px;
    height: 88px;
    border-radius: 18px;
}

.mini-product strong {
    font-size: 15px;
    line-height: 1.25;
}

.best-seller-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(360px, 1.35fr);
    gap: 20px;
}

.wide-offer-card {
    border-radius: 28px;
    padding: 30px;
    grid-template-columns: minmax(0, 1fr) 220px;
    background: linear-gradient(135deg, #eaf2ff, #fff6e5), radial-gradient(circle at 0% 0%, rgba(255, 157, 0, .18), transparent 14rem);
    box-shadow: var(--shadow);
}

.wide-offer-card h3 {
    font-size: 30px;
    line-height: 1.05;
}

.wide-offer-card img {
    width: 220px;
    height: 220px;
    border-radius: 24px;
    box-shadow: 0 22px 44px rgba(15, 23, 42, .14);
}

.favorite-grid {
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 20px;
}

.brand-grid {
    gap: 14px;
}

.brand-tile {
    min-height: 78px;
    border-radius: var(--theme-card-radius, 20px);
    transition: .18s ease;
}

.brand-tile:hover {
    border-color: #ffd28a;
}

.brand-tile strong {
    font-size: 20px;
}

.article-grid {
    gap: 18px;
}

.article-card {
    border-radius: var(--theme-card-radius, 22px);
    transition: .18s ease;
}

.article-card div {
    padding: 17px;
}

.article-card h3 {
    font-size: 18px;
}

.input,
.select,
.textarea {
    border-radius: 16px;
}

.input:focus,
.select:focus,
.textarea:focus {
    border-color: #ffc65a;
    box-shadow: 0 0 0 4px rgba(255, 157, 0, .12);
}

.product-photo,
.cart-product img,
.vendor-card img,
.spec-list div,
.filter-panel,
.cart-box,
.checkout-box,
.info-card {
    border-radius: var(--theme-card-radius, 22px);
}

.footer-newsletter {
    background: linear-gradient(90deg, #fff0db, #eef6ff), radial-gradient(circle at 4% 20%, rgba(255, 157, 0, .20), transparent 18rem);
}

.newsletter-inner h2,
footer h4 {
    font-family: var(--font-display);
    letter-spacing: .01em;
}

.newsletter-inner h2 {
    font-size: 30px;
}

.newsletter-form input {
    border-radius: 999px;
}

.footer-main {
    background: radial-gradient(circle at 90% 8%, rgba(255, 157, 0, .10), transparent 20rem), linear-gradient(135deg, var(--theme-footer, #071d3b), #031225);
}

.builder-store-section {
    background: var(--builder-bg, inherit);
    color: var(--builder-text, var(--ink));
}

.builder-store-section.soft-band {
    background: var(--builder-bg, var(--soft));
}

.builder-store-section .eyebrow,
.builder-store-section .section-head > a,
.builder-store-section .flash-right > a {
    color: var(--builder-accent, var(--orange-dark));
}

.builder-store-section .btn-primary {
    background: var(--builder-accent, var(--orange));
}

.builder-spacing-compact.section {
    padding: 24px 0;
}

.builder-spacing-large.section {
    padding: 68px 0;
}

.builder-align-center .section-head,
.builder-align-center .builder-banner,
.builder-align-center .hero-copy {
    text-align: center;
}

.builder-align-center .section-head {
    align-items: center;
    justify-content: center;
}

.builder-align-center .section-head > div,
.builder-align-center .hero-copy p,
.builder-align-center .hero-copy h1 {
    margin-left: auto;
    margin-right: auto;
}

.builder-align-right .section-head,
.builder-align-right .builder-banner {
    text-align: right;
}

.builder-banner {
    min-height: 360px;
    border-radius: 8px;
    padding: clamp(28px, 5vw, 58px);
    display: grid;
    align-items: center;
    color: #fff;
    background: linear-gradient(135deg, #172033, #38536f);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.builder-store-section .builder-banner {
    color: var(--builder-text, #fff);
}

.builder-banner > div {
    max-width: 620px;
}

.builder-banner h1 {
    margin: 10px 0 12px;
    font-size: clamp(32px, 4.8vw, 62px);
    line-height: 1.02;
}

.builder-banner p {
    margin: 0 0 22px;
    max-width: 560px;
    color: var(--builder-text, rgba(255, 255, 255, .84));
    line-height: 1.7;
}

.builder-content-grid,
.builder-stat-grid,
.builder-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.builder-columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.builder-columns-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.builder-content-card,
.builder-contact-card,
.builder-stat-card,
.builder-faq-item {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.builder-content-card h3,
.builder-contact-card h3 {
    margin: 12px 0 8px;
}

.builder-content-card p,
.builder-contact-card p,
.builder-stat-card p,
.builder-faq-item p {
    color: var(--muted);
    line-height: 1.7;
}

.builder-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--builder-accent, var(--orange)) 16%, white);
    color: var(--builder-accent, var(--orange-dark));
    display: grid;
    place-items: center;
}

.builder-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.builder-stat-card {
    min-height: 150px;
    padding: 20px;
    display: grid;
    align-content: center;
    gap: 6px;
}

.builder-stat-card strong {
    font-size: 40px;
    line-height: 1;
    color: var(--builder-accent, var(--orange-dark));
}

.builder-stat-card span {
    font-weight: 900;
    font-size: 18px;
}

.builder-narrow {
    max-width: 920px;
}

.builder-faq-list {
    display: grid;
    gap: 12px;
}

.builder-faq-item {
    padding: 0 18px;
}

.builder-faq-item summary {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    font-weight: 900;
}

.builder-faq-item p {
    margin: 0;
    padding: 0 0 18px;
}

.builder-contact-card {
    display: grid;
    gap: 8px;
}

.dashboard-hero {
    background: linear-gradient(135deg, #fff7e8, #edf7ff);
}

.user-dashboard-head {
    min-height: 235px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.user-dashboard-head h1 {
    margin: 8px 0 10px;
    font-size: 42px;
    line-height: 1.05;
}

.user-dashboard-head p {
    max-width: 580px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.dashboard-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.user-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.dashboard-stat-card,
.dashboard-panel {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .055);
}

.dashboard-stat-card {
    min-height: 142px;
    padding: 18px;
    display: grid;
    align-content: space-between;
    gap: 9px;
}

.dashboard-stat-card span,
.empty-dashboard-state span,
.profile-avatar {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #fff2dc;
    color: var(--orange-dark);
}

.dashboard-stat-card small {
    color: var(--muted);
    font-weight: 900;
}

.dashboard-stat-card strong {
    font-size: 27px;
    line-height: 1;
}

.dashboard-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 18px;
    align-items: start;
}

.dashboard-panel {
    padding: 20px;
}

.empty-dashboard-state {
    min-height: 265px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    text-align: center;
}

.empty-dashboard-state h3 {
    margin: 4px 0 0;
    font-size: 22px;
}

.empty-dashboard-state p {
    max-width: 390px;
    margin: 0 0 8px;
    color: var(--muted);
    line-height: 1.6;
}

.order-timeline {
    display: grid;
    gap: 12px;
}

.order-row {
    min-height: 78px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.order-row strong,
.order-row small,
.order-row b {
    display: block;
}

.order-row small {
    margin-top: 5px;
    color: var(--muted);
}

.order-row > div:last-child {
    display: grid;
    justify-items: end;
    gap: 7px;
}

.dashboard-status {
    background: #eaf8f1;
    color: #0d6f4d;
}

.profile-panel {
    display: grid;
    gap: 12px;
}

.profile-panel h2 {
    margin: 0;
    font-size: 24px;
}

.profile-panel p {
    margin: 0;
    color: var(--muted);
}

.profile-list {
    display: grid;
    gap: 10px;
    margin-top: 4px;
}

.profile-list div {
    min-height: 58px;
    padding: 12px;
    border-radius: 14px;
    background: var(--soft);
}

.profile-list span,
.profile-list strong {
    display: block;
}

.profile-list span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.profile-list strong {
    margin-top: 4px;
    overflow-wrap: anywhere;
}

.dashboard-refund-form .btn {
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
}

.account-dashboard-hero {
    background: linear-gradient(135deg, #fff7e8 0%, #f4fbff 55%, #ffffff 100%);
    border-bottom: 1px solid var(--line);
}

.account-hero-grid {
    min-height: 255px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 28px;
}

.account-hero-grid h1 {
    margin: 8px 0 10px;
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1;
}

.account-hero-grid p {
    max-width: 660px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.account-hero-actions,
.account-service-strip,
.account-order-meta,
.account-order-top,
.account-panel-head,
.account-track,
.account-form-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.account-hero-actions {
    margin-top: 22px;
    flex-wrap: wrap;
}

.account-service-strip {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
    display: grid;
}

.account-service-strip span {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
}

.account-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.account-sidebar,
.account-panel,
.account-stat-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .055);
}

.account-sidebar {
    position: sticky;
    top: 110px;
    padding: 16px;
    display: grid;
    gap: 14px;
}

.account-mini-profile {
    padding: 14px;
    border-radius: 14px;
    background: var(--soft);
    display: grid;
    gap: 4px;
}

.account-mini-profile span,
.account-stat-card span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #fff2dc;
    color: var(--orange-dark);
    font-weight: 900;
}

.account-mini-profile strong,
.account-mini-profile small {
    overflow-wrap: anywhere;
}

.account-mini-profile small {
    color: var(--muted);
}

.account-sidebar nav {
    display: grid;
    gap: 6px;
}

.account-sidebar nav button {
    min-height: 42px;
    padding: 0 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-weight: 900;
    cursor: pointer;
    text-align: left;
}

.account-sidebar nav button:hover,
.account-sidebar nav button.active {
    background: var(--soft);
    color: var(--ink);
}

.account-content {
    display: grid;
    gap: 18px;
}

.account-tab-panel {
    display: none;
}

.account-tab-panel.active {
    display: grid;
    gap: 18px;
}

.account-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.account-stat-card {
    min-height: 136px;
    padding: 16px;
    display: grid;
    align-content: space-between;
    gap: 10px;
}

.account-stat-card small {
    color: var(--muted);
    font-weight: 900;
}

.account-stat-card strong {
    font-size: 24px;
    line-height: 1.1;
}

.account-grid-two {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: start;
}

.account-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
}

.account-panel {
    padding: 18px;
}

.account-panel-head {
    justify-content: space-between;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
}

.account-panel-head.compact {
    align-items: flex-start;
}

.account-panel-head h2 {
    margin: 3px 0;
    font-size: 24px;
    line-height: 1.1;
}

.account-panel-head p {
    margin: 0;
    color: var(--muted);
}

.account-panel-head > a {
    font-weight: 900;
    color: var(--orange-dark);
}

.account-order-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    display: grid;
    gap: 13px;
}

.account-order-card + .account-order-card {
    margin-top: 12px;
}

.account-order-top {
    justify-content: space-between;
    align-items: flex-start;
}

.account-order-top strong,
.account-order-top small,
.account-order-top b {
    display: block;
}

.account-order-top small {
    margin-top: 5px;
    color: var(--muted);
}

.account-order-top > div:last-child {
    display: grid;
    justify-items: end;
    gap: 7px;
}

.account-status {
    min-height: 26px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.account-status-success {
    background: #eaf8f1;
    color: #0d6f4d;
}

.account-status-warning {
    background: #fff7df;
    color: #9a5b00;
}

.account-status-info {
    background: #eaf2ff;
    color: #2454a6;
}

.account-status-danger {
    background: #fff1f1;
    color: #b42318;
}

.account-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.account-track span {
    position: relative;
    min-height: 34px;
    padding-top: 18px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.account-track span::before,
.account-track span::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
}

.account-track span::before {
    width: 100%;
    height: 3px;
    background: var(--line);
}

.account-track span::after {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #d8e0ea;
}

.account-track span.done {
    color: var(--ink);
}

.account-track span.done::before,
.account-track span.done::after {
    background: var(--orange);
}

.account-track-polished {
    position: relative;
    gap: 12px;
    padding: 8px 4px 4px;
}

.account-track-polished span {
    position: relative;
    z-index: 1;
    min-height: 72px;
    padding: 10px 10px 10px 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    display: grid;
    align-content: center;
    gap: 2px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
}

.account-track-polished::before,
.account-track-polished::after {
    content: "";
    position: absolute;
    top: 44px;
    left: 42px;
    right: 42px;
    height: 4px;
    border-radius: 999px;
}

.account-track-polished::before {
    background: #e6edf5;
}

.account-track-polished::after {
    right: auto;
    width: calc((100% - 84px) * ((var(--progress-step) - 1) / 3));
    background: var(--orange);
}

.account-track-polished span svg {
    position: absolute;
    top: 18px;
    left: 10px;
    z-index: 1;
    width: 28px;
    height: 28px;
    padding: 6px;
    border-radius: 999px;
    background: #eef3f8;
    color: #718096;
    box-shadow: 0 0 0 5px #fff;
}

.account-track-polished span.done svg {
    background: var(--orange);
    color: #fff;
}

.account-track-polished span.current {
    border-color: rgba(255, 157, 0, .45);
    background: #fffaf0;
}

.account-track-polished span.current svg {
    box-shadow: 0 0 0 5px #fff7e6, 0 8px 18px rgba(255, 157, 0, .25);
}

.account-track-polished span b {
    color: var(--ink);
    font-size: 13px;
    line-height: 1.2;
}

.account-track-polished span small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
}

.account-order-meta {
    flex-wrap: wrap;
}

.account-order-meta span {
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.account-order-details {
    border-top: 1px solid var(--line);
    padding-top: 10px;
}

.account-order-details summary {
    cursor: pointer;
    font-weight: 900;
}

.account-order-lines,
.account-refund-form,
.account-side-stack,
.account-profile-form,
.support-panel {
    display: grid;
    gap: 10px;
}

.account-order-lines {
    margin-top: 10px;
}

.account-order-line {
    min-height: 72px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.account-order-line img {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--soft);
}

.account-order-line span,
.account-order-line strong,
.account-order-line small {
    display: block;
    min-width: 0;
}

.account-order-line span strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-order-lines small {
    color: var(--muted);
}

.account-order-line > b {
    white-space: nowrap;
}

.account-refund-form {
    margin-top: 12px;
}

.account-wallet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.account-wallet-grid div {
    min-height: 72px;
    padding: 12px;
    border-radius: 14px;
    background: var(--soft);
    display: grid;
    gap: 4px;
}

.account-wallet-grid small {
    color: var(--muted);
    font-weight: 900;
}

.account-wallet-grid strong {
    font-size: 20px;
}

.account-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.account-command-list {
    display: grid;
    gap: 10px;
}

.account-command-list button {
    min-height: 56px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 900;
    text-align: left;
}

.account-command-list button:hover {
    background: var(--soft);
}

.account-profile-form label,
.account-profile-form input,
.account-profile-form textarea {
    width: 100%;
}

.account-profile-form label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.account-form-row {
    align-items: stretch;
}

.account-form-row > label {
    flex: 1;
}

.support-panel a {
    min-height: 72px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 4px 12px;
    align-items: center;
}

.support-panel a svg,
.support-panel a i {
    grid-row: span 2;
    align-self: center;
    justify-self: center;
    color: var(--orange-dark);
}

.support-panel a span {
    grid-column: 2;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
}

.support-panel a b {
    grid-column: 2;
    overflow-wrap: anywhere;
    word-break: normal;
    min-width: 0;
    line-height: 1.25;
}

.account-history-list {
    margin-top: 18px;
    display: grid;
    gap: 8px;
}

.account-history-list h3 {
    margin: 0 0 4px;
}

.account-history-list div {
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

@media (hover: none) {
    .product-hover-actions {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1320px) {
    .hero-commerce-grid {
        grid-template-columns: 264px minmax(0, 1fr);
    }

    .hero-side-stack {
        display: none;
    }

    .category-feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-grid,
    .product-grid-wide,
    .compact-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .best-seller-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .wide-offer-card {
        grid-column: 1 / -1;
    }

    .brand-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .builder-content-grid,
    .builder-stat-grid,
    .builder-contact-grid,
    .builder-columns-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1080px) {
    .hero-commerce-grid,
    .spotlight-grid,
    .favorite-grid {
        grid-template-columns: 1fr;
    }

    .department-menu {
        display: none;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 26px;
        padding: 38px;
    }

    .hero-device-stack img {
        height: 250px;
    }

    .hero-metrics {
        position: static;
        padding: 0 24px 24px;
    }

    .hero-slider-controls {
        top: 24px;
        bottom: auto;
    }

    .category-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-grid,
    .shop-layout .product-grid,
    .product-detail + .section .product-grid,
    .product-grid-wide,
    .compact-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .builder-banner {
        min-height: 300px;
    }

    .user-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-main-grid {
        grid-template-columns: 1fr;
    }

    .account-hero-grid,
    .account-shell,
    .account-grid-two,
    .account-overview-grid {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        position: static;
    }

    .account-sidebar nav {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .account-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .container,
    .alert {
        width: min(100% - 28px, 1540px);
    }

    .hero-slide {
        padding: 28px;
    }

    .hero-copy h1 {
        font-size: 36px;
    }

    .hero-device-stack img {
        height: 210px;
        border-radius: 24px;
    }

    .hero-metrics {
        padding: 0 18px 18px;
    }

    .category-feature-grid {
        grid-template-columns: 1fr;
    }

    .flash-head {
        align-items: start;
        flex-direction: column;
    }

    .flash-right {
        justify-content: flex-start;
    }

    .product-grid,
    .shop-layout .product-grid,
    .product-detail + .section .product-grid,
    .product-grid-wide,
    .compact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .builder-content-grid,
    .builder-stat-grid,
    .builder-contact-grid,
    .builder-columns-2,
    .builder-columns-4 {
        grid-template-columns: 1fr;
    }

    .user-dashboard-head {
        min-height: auto;
        padding: 34px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .user-dashboard-head h1 {
        font-size: 34px;
    }

    .dashboard-actions {
        justify-content: flex-start;
    }

    .account-hero-grid {
        min-height: auto;
        padding: 34px 0;
    }

    .account-sidebar nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-order-top,
    .account-panel-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-order-top > div:last-child {
        justify-items: start;
    }
}

@media (max-width: 520px) {
    .brand {
        font-size: 19px;
    }

    .hero-copy h1 {
        font-size: 31px;
    }

    .hero-device-stack img {
        height: 185px;
    }

    .hero-cta-row,
    .deal-timer,
    .flash-right {
        width: 100%;
    }

    .hero-cta-row .btn,
    .flash-right > a {
        flex: 1;
    }

    .product-grid,
    .shop-layout .product-grid,
    .product-detail + .section .product-grid,
    .product-grid-wide,
    .compact-grid,
    .best-seller-grid {
        grid-template-columns: 1fr;
    }

    .product-slider > .product-card {
        flex-basis: 82vw;
    }

    .category-feature-card {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 12px;
    }

    .category-image {
        min-height: 130px;
    }

    .user-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-actions,
    .dashboard-actions .btn,
    .order-row {
        width: 100%;
    }

    .order-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-row > div:last-child {
        width: 100%;
        justify-items: start;
    }

    .account-stat-grid,
    .account-wallet-grid,
    .account-track,
    .account-form-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .account-track {
        display: grid;
        gap: 6px;
    }

    .account-track span {
        min-height: 28px;
        padding: 0 0 0 20px;
    }

    .account-track span::before {
        width: 3px;
        height: 100%;
        left: 4px;
        top: 0;
    }

    .account-track span::after {
        top: 2px;
    }

    .account-order-line,
    .account-hero-actions .btn {
        width: 100%;
    }

    .account-order-line {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .account-order-line > b {
        grid-column: 2;
    }

    .account-track-polished span {
        min-height: 64px;
        padding-left: 44px;
    }

    .account-track-polished::before,
    .account-track-polished::after {
        top: 24px;
        bottom: 24px;
        width: 3px;
        height: auto;
        left: 22px;
        right: auto;
    }

    .account-track-polished::after {
        height: calc((100% - 48px) * ((var(--progress-step) - 1) / 3));
    }
}

/* Clean overrides for category flyout links inside the old department menu scope */
.department-link,
.department-flyout a,
.flyout-banner {
    border-top: 0;
}

.subcategory-cloud a,
.subcategory-pills a {
    justify-content: center;
}

.flyout-banner {
    justify-content: flex-start;
}

/* Final mobile polish: keep the refreshed desktop rules from squeezing small screens. */
@media (max-width: 760px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 12px;
        min-height: auto;
        padding: 12px 0;
    }

    .brand {
        flex: 1 1 auto;
    }

    .header-actions {
        order: 2;
    }

    .search-bar {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        max-width: none;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr) 64px;
        border-radius: 999px;
    }

    .search-bar select {
        display: none;
    }

    .search-bar input {
        min-width: 0;
        padding: 13px 18px;
    }

    .search-bar button {
        min-width: 64px;
        border-radius: 999px;
    }

    .commerce-hero {
        padding-top: 14px;
        overflow: hidden;
    }

    .hero-billboard {
        min-height: auto;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 24px;
        padding: 30px;
        overflow: hidden;
    }

    .hero-copy h1 {
        max-width: 100%;
        font-size: clamp(32px, 8.6vw, 42px);
        line-height: 1.04;
        overflow-wrap: break-word;
    }

    .hero-copy p {
        max-width: 100%;
    }

    .hero-cta-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .hero-cta-row .btn {
        min-width: 0;
        width: 100%;
        padding: 0 10px;
    }

    .hero-device-stack {
        width: 100%;
        min-width: 0;
    }

    .hero-device-stack img {
        width: 100%;
        max-width: 360px;
        height: 220px;
        justify-self: center;
    }

    .hero-slider-controls {
        top: 20px;
        right: 18px;
        bottom: auto;
    }

    .hero-metrics {
        position: static;
        padding: 0 20px 22px;
    }
}

@media (max-width: 520px) {
    html,
    body,
    .page-wrap {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .container,
    .alert {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
    }

    .search-bar,
    .hero-billboard,
    .hero-slider-track {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
    }

    .hero-slide {
        flex-basis: calc(100vw - 24px);
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        padding: 24px 20px 28px;
    }

    .hero-copy h1 {
        font-size: clamp(27px, 7.4vw, 31px);
    }

    .hero-cta-row {
        grid-template-columns: 1fr;
    }

    .hero-device-stack img {
        width: calc(100vw - 64px);
        max-width: calc(100vw - 64px);
        height: 190px;
    }

    .hero-slider-controls,
    .hero-metrics {
        display: none;
    }

    .floating-deal {
        right: 8px;
        bottom: 12px;
        transform: scale(.86);
    }
}

/* Softer global typography */
body {
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand,
.product-title,
.brand-tile strong,
.hero-copy h1,
.section-head h1,
.section-head h2,
.promo-panel h2,
.wide-offer-card h3,
.category-feature-card h3,
.article-card h3,
.newsletter-inner h2,
footer h4,
strong,
b {
    font-weight: 500;
}

button,
input,
select,
textarea,
.btn,
.price,
.badge,
.product-card,
.nav-menu a,
.search-bar input,
.search-bar select {
    font-weight: 400;
}

/* Richer storefront color pass */
:root {
    --ink: #172033;
    --muted: #53627a;
    --soft: #eef5fb;
    --orange: #ff8a00;
    --orange-dark: #dc5f00;
    --green: #009b7a;
}

body {
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 3%, rgba(255, 138, 0, .16), transparent 24rem),
        radial-gradient(circle at 92% 2%, rgba(0, 155, 122, .13), transparent 22rem),
        linear-gradient(180deg, #fffaf4 0%, #ffffff 42%, #eef6fb 100%);
}

.main-header,
.product-card,
.category-card,
.article-card,
.dashboard-panel,
.checkout-box,
.info-card {
    border-color: rgba(155, 174, 199, .55);
    box-shadow: 0 16px 38px rgba(22, 32, 51, .08);
}

.btn-primary,
.search-bar button {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff;
}

.btn-soft,
.header-action,
.category-pill {
    background: #fff;
    border-color: rgba(155, 174, 199, .62);
    color: var(--ink);
}

.price,
.product-price,
.section-head a,
.brand span:last-child {
    color: var(--orange-dark);
}

.badge,
.deal-badge {
    background: #fff0db;
    color: #c24f00;
}

/* Black storefront theme */
:root {
    --ink: #f7f7f8;
    --muted: #a7adba;
    --soft: #0e1117;
    --orange: #ffffff;
    --orange-dark: #ffffff;
    --green: #22c55e;
    --theme-header: #090d14;
    --theme-footer: #05070b;
}

body {
    color: var(--ink);
    background: #05070b;
}

.page-wrap,
.top-strip,
.main-header,
.footer-main {
    background: #05070b;
}

.main-header,
.product-card,
.category-card,
.article-card,
.dashboard-panel,
.checkout-box,
.info-card,
.search-bar,
.newsletter-inner,
.promo-panel,
.wide-offer-card {
    background: #10141d;
    border-color: #2b313d;
    color: #f7f7f8;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .34);
}

.brand,
.nav-menu a,
.product-title,
.section-head h1,
.section-head h2,
.hero-copy h1,
.promo-panel h2,
.wide-offer-card h3,
.article-card h3,
.newsletter-inner h2,
footer h4,
strong,
b {
    color: #f7f7f8;
}

.muted,
.product-card small,
.article-card p,
.section-head p,
.hero-copy p,
footer {
    color: #a7adba;
}

footer a {
    color: #a7adba;
}

footer a[href^="tel:"] {
    color: #ffffff !important;
    font-weight: 900 !important;
    opacity: 1 !important;
}

.search-bar input,
.search-bar select,
.input,
.select,
.textarea,
.newsletter-form input {
    background: #0b0f16;
    border-color: #303746;
    color: #f7f7f8;
}

.search-bar input::placeholder,
.newsletter-form input::placeholder {
    color: #8f98a8;
}

.btn-primary,
.search-bar button {
    background: #ffffff;
    color: #05070b;
}

.btn-soft,
.header-action,
.category-pill,
.badge,
.deal-badge {
    background: #151a23;
    border-color: #303746;
    color: #f7f7f8;
}

.price,
.product-price,
.section-head a,
.brand span:last-child {
    color: #ffffff;
}

/* Light storefront with black typography */
:root {
    --ink: #05070b;
    --muted: #53627a;
    --soft: #eef5fb;
    --orange: #ff8a00;
    --orange-dark: #dc5f00;
    --green: #009b7a;
}

body {
    color: #05070b;
    background:
        radial-gradient(circle at 8% 3%, rgba(255, 138, 0, .16), transparent 24rem),
        radial-gradient(circle at 92% 2%, rgba(0, 155, 122, .13), transparent 22rem),
        linear-gradient(180deg, #fffaf4 0%, #ffffff 42%, #eef6fb 100%);
}

.page-wrap,
.top-strip,
.main-header {
    background: rgba(255, 255, 255, .94);
}

.main-header {
    color: #05070b;
}

.icon-link {
    background: #ffffff;
    border-color: rgba(155, 174, 199, .62);
    color: #05070b;
}

.icon-link:hover {
    border-color: rgba(255, 138, 0, .5);
    color: #dc5f00;
}

.footer-main {
    background: radial-gradient(circle at 90% 8%, rgba(255, 157, 0, .10), transparent 20rem), linear-gradient(135deg, #071d3b, #031225);
}

.product-card,
.category-card,
.article-card,
.dashboard-panel,
.checkout-box,
.info-card,
.search-bar,
.newsletter-inner,
.promo-panel,
.wide-offer-card {
    background: #ffffff;
    border-color: rgba(155, 174, 199, .55);
    color: #05070b;
    box-shadow: 0 16px 38px rgba(22, 32, 51, .08);
}

.brand,
.nav-menu a,
.product-title,
.section-head h1,
.section-head h2,
.hero-copy h1,
.promo-panel h2,
.wide-offer-card h3,
.article-card h3,
.newsletter-inner h2,
strong,
b {
    color: #05070b;
}

.muted,
.product-card small,
.article-card p,
.section-head p,
.hero-copy p {
    color: #53627a;
}

.search-bar input,
.search-bar select,
.input,
.select,
.textarea,
.newsletter-form input {
    background: #ffffff;
    border-color: rgba(155, 174, 199, .62);
    color: #05070b;
}

.btn-primary,
.search-bar button {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #ffffff;
}

.btn-soft,
.header-action,
.category-pill,
.badge,
.deal-badge {
    background: #ffffff;
    border-color: rgba(155, 174, 199, .62);
    color: #05070b;
}

.price,
.product-price,
.section-head a,
.brand span:last-child {
    color: #05070b;
}

/* Blog engine */
.blog-hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #eef6f5 48%, #fff7ed 100%);
    border-bottom: 1px solid var(--line);
}

.blog-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: end;
}

.blog-hero h1 {
    max-width: 780px;
    margin: 8px 0 12px;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.04;
}

.blog-hero p {
    max-width: 680px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.blog-search {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.blog-search input {
    min-width: 0;
    border: 0;
    outline: 0;
    font: inherit;
}

.blog-layout,
.blog-article-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.blog-article-layout {
    grid-template-columns: minmax(0, 760px) 300px;
    gap: 40px;
}

.blog-sidebar,
.blog-article-aside {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 18px;
}

.blog-sidebar-block {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.blog-sidebar-block h3 {
    margin: 0 0 12px;
    font-size: 16px;
}

.blog-sidebar-block a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    color: var(--ink);
}

.blog-sidebar-block a.active,
.blog-sidebar-block a:hover {
    background: var(--soft);
}

.blog-sidebar-block span {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.blog-post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.blog-card a {
    color: inherit;
}

.blog-card h3 {
    font-size: 18px;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.blog-empty-state {
    grid-column: 1 / -1;
    display: grid;
    gap: 10px;
    justify-items: start;
}

/* ── Pagination ─────────────────────────────────────────── */
.store-pagination-wrap {
    margin-top: 32px;
}

.store-pagination-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.store-pager {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.store-page-item .store-page-link,
.store-page-item span.store-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: var(--theme-button-radius, 8px);
    border: 1.5px solid var(--line, #e5e7eb);
    background: var(--white, #fff);
    color: var(--ink, #1a1a1a);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s;
    cursor: pointer;
}

.store-page-item .store-page-link:hover {
    background: var(--soft, #f5f5f5);
    border-color: var(--orange, #f59e0b);
    color: var(--ink, #1a1a1a);
}

.store-page-item.active .store-page-link,
.store-page-item.active span.store-page-link {
    background: var(--orange, #f59e0b);
    border-color: var(--orange, #f59e0b);
    color: #241800;
    cursor: default;
}

.store-page-item.disabled .store-page-link,
.store-page-item.disabled span.store-page-link {
    opacity: .4;
    cursor: not-allowed;
    pointer-events: none;
}

.store-page-item.dots .store-page-link {
    border-color: transparent;
    background: transparent;
    cursor: default;
    color: var(--muted, #888);
    min-width: 24px;
    padding: 0 4px;
}

.store-page-item .store-page-link svg,
.store-page-item .store-page-link [data-lucide] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.store-page-info {
    font-size: 13px;
    color: var(--muted, #888);
    text-align: center;
    margin: 0;
}

.store-page-info strong {
    color: var(--ink, #1a1a1a);
    font-weight: 700;
}

.blog-article-hero {
    padding-bottom: 34px;
    background: #f8fafc;
    border-bottom: 1px solid var(--line);
}

.blog-article-hero h1 {
    max-width: 920px;
    margin: 12px 0;
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1.03;
}

.blog-article-hero p {
    max-width: 780px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.blog-article-kicker {
    display: flex;
    gap: 8px;
    color: var(--muted);
    font-weight: 900;
}

.blog-article-cover {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 24px;
    box-shadow: var(--shadow);
}

.blog-prose {
    color: var(--ink);
    font-size: 17px;
    line-height: 1.85;
}

.blog-prose h2,
.blog-prose h3,
.blog-prose h4 {
    margin: 1.45em 0 .55em;
    line-height: 1.18;
}

.blog-prose p,
.blog-prose ul,
.blog-prose ol,
.blog-prose table {
    margin: 0 0 1.1em;
}

.blog-prose img {
    max-width: 100%;
    border-radius: 8px;
}

.blog-prose table {
    width: 100%;
    border-collapse: collapse;
}

.blog-prose td,
.blog-prose th {
    border: 1px solid var(--line);
    padding: 10px;
}

@media (max-width: 1080px) {
    .blog-hero,
    .blog-layout,
    .blog-article-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar,
    .blog-article-aside {
        position: static;
    }

    .blog-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .blog-post-grid {
        grid-template-columns: 1fr;
    }

    .blog-search {
        grid-template-columns: 22px minmax(0, 1fr);
    }

    .blog-search .btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

.top-strip {
    background: linear-gradient(90deg, #101828, #172033);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.top-strip span,
.top-strip a,
.top-strip button {
    color: #ffffff;
}

.top-strip-links {
    align-items: center;
}

.top-strip-links form {
    margin: 0;
}

.top-strip-links button {
    border: 0;
    padding: 0;
    background: transparent;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.top-strip-links a:hover,
.top-strip-links button:hover {
    color: #ffd28a;
}

.customer-auth-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(300px, .55fr) minmax(300px, .55fr);
    gap: 18px;
    align-items: start;
}

.customer-auth-copy,
.customer-auth-card {
    border: 1px solid rgba(155, 174, 199, .55);
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 16px 38px rgba(22, 32, 51, .08);
}

.customer-auth-copy {
    min-height: 100%;
    padding: 28px;
    display: grid;
    align-content: center;
    gap: 12px;
}

.customer-auth-copy h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 38px;
    line-height: 1.1;
}

.customer-auth-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.customer-auth-card {
    padding: 20px;
}

.auth-card-head {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.auth-card-head > i,
.auth-card-head > svg {
    width: 42px;
    height: 42px;
    padding: 10px;
    border-radius: 12px;
    background: #fff4dd;
    color: var(--orange-dark);
}

.auth-card-head h2,
.auth-card-head p {
    margin: 0;
}

.auth-card-head p {
    margin-top: 4px;
    color: var(--muted);
}

.customer-auth-form {
    display: grid;
    gap: 12px;
}

.inline-check {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.shop-catalog-page {
    padding-top: 34px;
}

.shop-category-pills {
    margin: 0 0 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shop-category-pills a {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(155, 174, 199, .56);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #172033;
    font-size: 13px;
    font-weight: 700;
}

.shop-category-pills a.active,
.shop-category-pills a:hover {
    border-color: rgba(255, 138, 0, .48);
    background: #fff4dd;
    color: #a74900;
}

@media (max-width: 1100px) {
    .customer-auth-grid {
        grid-template-columns: 1fr;
    }
}

.product-breadcrumb-band {
    background: #ffffff;
    border-bottom: 1px solid rgba(155, 174, 199, .5);
}

.product-breadcrumbs {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #53627a;
    font-size: 13px;
}

.product-breadcrumbs a {
    color: #172033;
    font-weight: 800;
}

.product-breadcrumbs svg {
    width: 14px;
    height: 14px;
}

.product-show-section {
    padding-top: 28px;
}

.product-detail-advanced {
    display: grid;
    grid-template-columns: minmax(280px, 410px) minmax(0, 1fr) minmax(240px, 300px);
    gap: 24px;
    align-items: start;
}

.advanced-gallery,
.product-buy-panel,
.product-side-offers,
.product-info-sidebar,
.product-info-panel,
.review-panel,
.bundle-panel {
    min-width: 0;
}

.advanced-gallery {
    position: sticky;
    top: 108px;
    grid-template-columns: 78px minmax(0, 1fr);
    align-items: start;
}

.product-main-photo {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(22, 32, 51, .08);
    cursor: zoom-in;
}

.product-main-photo:focus-visible {
    outline: 3px solid rgba(255, 138, 0, .35);
    outline-offset: 4px;
}

.product-main-photo img {
    aspect-ratio: 1 / 1;
    padding: 30px;
    transition: transform .2s ease;
}

.product-main-photo:hover img {
    transform: scale(1.08);
}

.product-photo-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff0db;
    color: #a74900;
    font-size: 12px;
    font-weight: 900;
}

.advanced-thumbs {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.advanced-thumbs::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.advanced-thumbs a,
.product-thumb-button {
    background: #ffffff;
}

.product-thumb-button {
    width: 68px;
    height: 78px;
    border: 1px solid rgba(155, 174, 199, .55);
    border-radius: 8px;
    display: grid;
    place-items: center;
    padding: 6px;
    cursor: pointer;
}

.product-thumb-button.active {
    border-color: #ff8a00;
    box-shadow: 0 0 0 2px rgba(255, 138, 0, .18);
}

.product-thumb-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-help-strip {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px dashed rgba(255, 138, 0, .55);
    border-radius: 8px;
    background: #fff8ed;
    color: #6d3a00;
    font-size: 13px;
}

.product-help-strip span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.product-help-strip a {
    color: inherit;
    font-weight: 900;
    text-decoration: none;
}

.builder-contact-card a,
.checkout-box a[href^="tel:"] {
    color: inherit;
    font-weight: 900;
    text-decoration: none;
}

footer a[href^="tel:"] {
    color: #ffffff !important;
    font-weight: 900;
    text-decoration: none;
    opacity: 1 !important;
}

.product-buy-panel {
    display: grid;
    gap: 16px;
}

.product-kicker-row,
.product-rating-line,
.product-price-block,
.product-alerts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.product-kicker-row .badge {
    background: #eef6fb;
    color: #172033;
}

.stock-pill.in-stock {
    background: #e9f8ef;
    color: #0d6f4d;
}

.product-buy-panel h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    color: #05070b;
}

.product-buy-panel p {
    margin: 0;
    color: #53627a;
    line-height: 1.7;
}

.star-meter {
    --rating: 0;
    display: inline-block;
    color: transparent;
    background: linear-gradient(90deg, #ffb300 calc((var(--rating) / 5) * 100%), #d8dee8 0);
    -webkit-background-clip: text;
    background-clip: text;
    letter-spacing: 0;
}

.product-rating-line small {
    color: #53627a;
}

.product-price-block .price {
    font-size: 34px;
}

.save-chip {
    padding: 6px 10px;
    border-radius: 999px;
    background: #e9f8ef;
    color: #0d6f4d;
    font-weight: 900;
    font-size: 12px;
}

.product-alerts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-alerts span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(155, 174, 199, .55);
    border-radius: 8px;
    background: #ffffff;
    color: #172033;
    font-size: 13px;
    font-weight: 800;
}

.product-alerts svg {
    color: #dc5f00;
}

.variant-selector {
    display: grid;
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(155, 174, 199, .55);
    border-radius: 8px;
    background: #ffffff;
}

.variant-option-group {
    display: grid;
    gap: 9px;
}

.variant-option-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.variant-option-label span {
    color: #53627a;
    font-size: 13px;
    font-weight: 800;
}

.variant-option-values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-option-button {
    min-height: 42px;
    border: 1px solid rgba(155, 174, 199, .62);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    background: #ffffff;
    color: #172033;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.variant-option-button i {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 50%;
    flex: 0 0 18px;
}

.variant-option-button.is-color {
    min-width: 72px;
    min-height: 70px;
    flex-direction: column;
    justify-content: center;
    padding: 8px 10px;
}

.variant-option-button.is-color i {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, .18);
}

.variant-option-button.is-color span {
    font-size: 12px;
    line-height: 1.2;
}

.variant-option-button.selected {
    border-color: #ff8a00;
    background: #fff8ed;
    color: #a74900;
    box-shadow: 0 0 0 2px rgba(255, 138, 0, .14);
}

.variant-option-button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

body.is-product-lightbox-open {
    overflow: hidden;
}

.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 72px;
    grid-template-rows: minmax(0, 100vh);
    gap: 16px;
    align-items: center;
    padding: 0 28px;
    background: rgba(5, 7, 11, .92);
}

.product-lightbox[hidden] {
    display: none;
}

.product-lightbox-stage {
    grid-column: 2;
    min-width: 0;
    width: 100%;
    height: 100vh;
    padding: 18px 0;
    display: grid;
    place-items: center;
    position: relative;
}

.product-lightbox-stage img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 36px);
    object-fit: contain;
}

.product-lightbox-stage span {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    min-width: 62px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #111827;
    text-align: center;
    font-size: 12px;
    font-weight: 900;
}

.product-lightbox-close,
.product-lightbox-nav,
.product-lightbox-thumbs button {
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .12);
    color: #ffffff;
    cursor: pointer;
}

.product-lightbox-close,
.product-lightbox-nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.product-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
}

.product-lightbox-nav {
    justify-self: center;
}

.product-lightbox-prev {
    grid-column: 1;
}

.product-lightbox-next {
    grid-column: 3;
}

.product-lightbox-thumbs {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 2;
    max-width: min(720px, calc(100vw - 32px));
    display: flex;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-lightbox-thumbs::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.product-lightbox-thumbs button {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    padding: 5px;
    flex: 0 0 72px;
}

.product-lightbox-thumbs button.active {
    border-color: #ff8a00;
    box-shadow: 0 0 0 2px rgba(255, 138, 0, .38);
}

.product-lightbox-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-purchase-form {
    display: grid;
    grid-template-columns: 92px minmax(140px, 1fr) minmax(140px, 1fr);
    gap: 10px;
}

.qty-stepper {
    min-height: 44px;
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid rgba(155, 174, 199, .62);
    border-radius: 999px;
    background: #ffffff;
    overflow: hidden;
}

.qty-stepper label {
    height: 0;
    overflow: hidden;
}

.qty-stepper input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    text-align: center;
    font: inherit;
    font-weight: 900;
}

.product-coupon-stack {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(155, 174, 199, .55);
    border-radius: 8px;
    background: #ffffff;
}

.product-coupon-stack h3 {
    margin: 0;
    font-size: 15px;
}

.product-coupon-row {
    min-height: 54px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    background: #f7fafc;
}

.product-coupon-row strong,
.product-coupon-row small {
    display: block;
}

.product-coupon-row small {
    margin-top: 2px;
    color: #53627a;
}

.product-coupon-row button {
    min-height: 36px;
    border: 0;
    border-radius: 999px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #05070b;
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
}

.product-side-offers {
    display: grid;
    gap: 12px;
}

.side-sale-card,
.side-service-card {
    border: 1px solid rgba(155, 174, 199, .55);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(22, 32, 51, .08);
}

.side-sale-card {
    display: grid;
    gap: 8px;
    padding: 14px;
    overflow: hidden;
}

.side-sale-card.has-image {
    padding: 0 0 14px;
}

.side-sale-card img {
    width: 100%;
    aspect-ratio: 1 / .72;
    object-fit: cover;
}

.side-sale-card span,
.side-sale-card strong,
.side-sale-card small,
.side-sale-card em {
    margin-inline: 14px;
}

.side-sale-card span {
    width: fit-content;
    padding: 5px 9px;
    border-radius: 999px;
    background: #fff0db;
    color: #a74900;
    font-size: 12px;
    font-weight: 900;
}

.side-sale-card strong {
    color: #05070b;
}

.side-sale-card small {
    color: #53627a;
    line-height: 1.55;
}

.side-sale-card em {
    width: fit-content;
    padding: 6px 10px;
    border: 1px dashed rgba(255, 138, 0, .55);
    border-radius: 8px;
    color: #dc5f00;
    font-style: normal;
    font-weight: 900;
}

.side-service-card {
    display: flex;
    gap: 12px;
    padding: 14px;
}

.side-service-card > span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    border-radius: 8px;
    background: #eef6fb;
    color: #2477ff;
}

.side-service-card strong,
.side-service-card small {
    display: block;
}

.side-service-card small {
    margin-top: 4px;
    color: #53627a;
    line-height: 1.55;
}

.side-payment-card {
    padding: 14px;
    border: 1px solid rgba(155, 174, 199, .55);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(22, 32, 51, .08);
    display: grid;
    gap: 12px;
}

.side-payment-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.side-payment-head > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    border-radius: 8px;
    background: #e9f8ef;
    color: #0d6f4d;
}

.side-payment-head strong,
.side-payment-head small {
    display: block;
}

.side-payment-head small {
    margin-top: 3px;
    color: #53627a;
    line-height: 1.45;
}

.side-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.side-payment-option {
    min-height: 84px;
    padding: 10px 8px;
    border: 1px solid rgba(155, 174, 199, .48);
    border-radius: 8px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 4px;
    background: #f8fafc;
    text-align: center;
}

.side-payment-option > span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
}

.side-payment-option svg {
    width: 16px;
    height: 16px;
}

.side-payment-option strong {
    color: #172033;
    font-size: 12px;
    line-height: 1.2;
}

.side-payment-option small {
    color: #53627a;
    font-size: 11px;
    line-height: 1.2;
}

.payment-tone-blue > span { background: #2563eb; }
.payment-tone-purple > span { background: #7c3aed; }
.payment-tone-dark > span { background: #111827; }
.payment-tone-green > span { background: #16a34a; }
.payment-tone-orange > span { background: #f97316; }
.payment-tone-teal > span { background: #0f766e; }
.payment-tone-slate > span { background: #475569; }
.payment-tone-pink > span { background: #db2777; }

.product-info-section {
    padding-top: 10px;
}

.product-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: 24px;
    align-items: start;
}

.product-info-main {
    display: grid;
    gap: 16px;
}

.product-info-sidebar {
    position: sticky;
    top: 108px;
    display: grid;
    gap: 12px;
}

.product-trust-stack {
    display: grid;
    gap: 12px;
}

.product-tabs {
    min-height: 46px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid rgba(155, 174, 199, .55);
}

.product-tabs button {
    min-height: 38px;
    border: 0;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 8px 8px 0 0;
    background: #ffffff;
    color: #172033;
    font: inherit;
    font-weight: 900;
    font-size: 13px;
    cursor: pointer;
}

.product-tabs button.active {
    background: #fff8ed;
    color: #a74900;
    box-shadow: inset 0 -2px 0 #ff8a00;
}

.product-info-panel {
    padding: 18px;
    border: 1px solid rgba(155, 174, 199, .55);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(22, 32, 51, .08);
}

.product-info-panel[hidden] {
    display: none;
}

.product-info-panel h2 {
    margin: 0 0 14px;
    font-family: var(--font-display);
}

.product-accordion-trigger {
    display: none;
}

.product-tab-content {
    min-width: 0;
}

.product-prose {
    color: #172033;
    line-height: 1.8;
}

.product-prose p:first-child {
    margin-top: 0;
}

.product-prose img {
    max-width: 100%;
    border-radius: 8px;
}

.detail-spec-list {
    margin-top: 0;
}

.detail-spec-list div {
    background: #f7fafc;
}

.detail-spec-list small,
.detail-spec-list strong {
    display: block;
}

.detail-spec-list small {
    color: #53627a;
}

.spec-color-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.spec-color-chip {
    min-height: 28px;
    padding: 4px 9px;
    border: 1px solid rgba(155, 174, 199, .55);
    border-radius: 999px;
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    background: #ffffff;
}

.spec-color-chip i {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, .18);
}

.product-faq-list {
    display: grid;
    gap: 10px;
}

.product-faq-list details {
    border: 1px solid rgba(155, 174, 199, .55);
    border-radius: 8px;
    background: #f7fafc;
    overflow: hidden;
}

.product-faq-list summary {
    cursor: pointer;
    padding: 13px 14px;
    color: #05070b;
    font-weight: 900;
}

.product-faq-list p {
    margin: 0;
    padding: 0 14px 14px;
    color: #53627a;
    line-height: 1.65;
}

.review-panel {
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid rgba(155, 174, 199, .55);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(22, 32, 51, .08);
    text-align: center;
}

.review-panel > strong {
    font-size: 34px;
}

.review-panel > small {
    color: #53627a;
}

.review-bar {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 8px;
    text-align: left;
    font-size: 12px;
    color: #53627a;
}

.review-bar i {
    height: 8px;
    border-radius: 999px;
    background: #edf1f7;
    overflow: hidden;
}

.review-bar b {
    display: block;
    height: 100%;
    background: #16a06f;
}

.review-bar em {
    font-style: normal;
    text-align: right;
}

.product-reviews-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 16px;
    align-items: start;
}

.store-review-list {
    display: grid;
    gap: 12px;
}

.store-review-card,
.store-review-empty,
.store-review-form {
    border: 1px solid rgba(155, 174, 199, .55);
    border-radius: 8px;
    background: #f7fafc;
}

.store-review-card {
    padding: 14px;
    display: grid;
    gap: 9px;
}

.store-review-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.store-review-head strong,
.store-review-head small {
    display: block;
}

.store-review-head small,
.store-review-form small,
.store-review-label {
    color: #53627a;
    font-size: 12px;
    font-weight: 800;
}

.store-review-stars {
    display: inline-flex;
    gap: 1px;
    color: #e8a11a;
    font-size: 13px;
}

.store-review-stars .muted-star {
    color: #cbd5e1;
}

.store-review-card h3,
.store-review-form h3 {
    margin: 0;
    font-size: 16px;
}

.store-review-card p {
    margin: 0;
    color: #53627a;
    line-height: 1.7;
}

.store-review-empty {
    min-height: 180px;
    padding: 20px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    text-align: center;
    color: #53627a;
}

.store-review-empty svg {
    width: 28px;
    height: 28px;
}

.store-review-empty strong {
    color: #172033;
}

.store-review-form {
    padding: 14px;
    display: grid;
    gap: 12px;
    background: #ffffff;
}

.store-review-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.store-review-form-grid .span-2 {
    grid-column: 1 / -1;
}

.store-review-form label,
.store-review-label {
    display: grid;
    gap: 6px;
}

.store-rating-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.store-rating-choices label {
    position: relative;
    display: inline-flex;
}

.store-rating-choices input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.store-rating-choices span {
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(155, 174, 199, .55);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    color: #172033;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.store-rating-choices i {
    color: #e8a11a;
    font-style: normal;
}

.store-rating-choices input:checked + span {
    border-color: #ff8a00;
    background: #fff8ed;
    color: #a74900;
    box-shadow: 0 0 0 2px rgba(255, 138, 0, .12);
}

.store-review-form .textarea {
    min-height: 120px;
}

.bundle-panel {
    padding: 18px;
    border: 1px solid rgba(155, 174, 199, .55);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(22, 32, 51, .08);
}

.bundle-panel .section-head {
    margin-bottom: 18px;
}

.bundle-panel .section-head > strong {
    font-size: 24px;
}

.bundle-row {
    display: flex;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.bundle-row a {
    width: 142px;
    flex: 0 0 142px;
    display: grid;
    gap: 8px;
    text-align: center;
}

.bundle-row img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 12px;
    border: 1px solid rgba(155, 174, 199, .55);
    border-radius: 8px;
    background: #f7fafc;
}

.bundle-row span {
    color: #172033;
    font-weight: 900;
    font-size: 13px;
}

.bundle-row small {
    color: #53627a;
}

.coupon-box {
    display: grid;
    gap: 8px;
    margin: 14px 0;
}

.coupon-box > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.applied-coupon {
    min-height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #e9f8ef;
    color: #0d6f4d;
    font-size: 13px;
    font-weight: 900;
}

.applied-coupon span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.applied-coupon button {
    border: 0;
    background: transparent;
    color: #0d6f4d;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 1120px) {
    .product-detail-advanced {
        grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    }

    .advanced-gallery {
        position: static;
    }

    .product-side-offers {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .side-payment-card {
        grid-column: 1 / -1;
    }

    .side-payment-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .product-info-grid {
        grid-template-columns: 1fr;
    }

    .product-info-sidebar {
        position: static;
    }

    .product-trust-stack {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .review-panel {
        position: static;
    }
}

@media (max-width: 760px) {
    .product-breadcrumbs {
        overflow-x: auto;
        white-space: nowrap;
    }

    .product-detail-advanced,
    .product-side-offers,
    .product-info-grid {
        grid-template-columns: 1fr;
    }

    .product-tabs {
        display: none;
    }

    .product-info-main {
        gap: 10px;
    }

    .product-info-panel,
    .product-info-panel[hidden] {
        display: block;
    }

    .product-info-panel {
        padding: 0;
        overflow: hidden;
    }

    .product-accordion-trigger {
        width: 100%;
        min-height: 54px;
        border: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 0 14px;
        background: #ffffff;
        color: #172033;
        font: inherit;
        font-weight: 900;
        text-align: left;
        cursor: pointer;
    }

    .product-accordion-trigger svg {
        width: 18px;
        height: 18px;
        color: #53627a;
        transition: transform .18s ease;
    }

    .product-info-panel.is-active .product-accordion-trigger {
        color: #a74900;
        background: #fff8ed;
    }

    .product-info-panel.is-active .product-accordion-trigger svg {
        transform: rotate(180deg);
    }

    .product-tab-content {
        padding: 0 14px 14px;
    }

    .product-info-panel:not(.is-active) .product-tab-content {
        display: none;
    }

    .product-info-panel h2 {
        display: none;
    }

    .product-reviews-layout,
    .store-review-form-grid {
        grid-template-columns: 1fr;
    }

    .store-review-form-grid .span-2 {
        grid-column: auto;
    }

    .store-review-head {
        display: grid;
    }

    .side-payment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-trust-stack {
        grid-template-columns: 1fr;
    }

    .advanced-gallery {
        grid-template-columns: 1fr;
    }

    .product-main-photo {
        grid-column: 1;
    }

    .advanced-thumbs {
        grid-column: 1;
        grid-row: auto;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        max-height: none;
    }

    .product-purchase-form {
        grid-template-columns: 1fr;
    }

    .qty-stepper {
        max-width: 120px;
    }

    .product-alerts {
        grid-template-columns: 1fr;
    }

    .product-lightbox {
        grid-template-columns: 48px minmax(0, 1fr) 48px;
        grid-template-rows: minmax(0, 100vh);
        gap: 8px;
        padding: 0 10px;
    }

    .product-lightbox-stage {
        height: 100vh;
        padding: 12px 0;
    }

    .product-lightbox-stage img {
        max-height: calc(100vh - 24px);
    }

    .product-lightbox-close,
    .product-lightbox-nav {
        width: 42px;
        height: 42px;
    }

    .product-lightbox-thumbs button {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
    }

    .coupon-box > div {
        grid-template-columns: 1fr;
    }
}

.checkout-canvas {
    background:
        linear-gradient(180deg, #f7fafc 0%, #ffffff 34%),
        linear-gradient(90deg, rgba(255, 157, 0, .10), rgba(36, 119, 255, .06));
}

.commerce-page-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 20px;
}

.commerce-page-head > div {
    max-width: 720px;
}

.commerce-page-head h1 {
    margin: 6px 0 8px;
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.02;
}

.commerce-page-head p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
}

.cart-progress-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 22px;
}

.cart-progress-strip div {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .82);
    color: var(--muted);
    font-weight: 900;
}

.cart-progress-strip span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--soft);
    color: var(--muted);
    font-size: 13px;
}

.cart-progress-strip .is-active {
    border-color: rgba(255, 157, 0, .36);
    color: var(--ink);
    background: #fffaf0;
}

.cart-progress-strip .is-active span {
    background: var(--orange);
    color: #241800;
}

.cart-page-grid,
.checkout-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
    gap: 22px;
    align-items: start;
}

.cart-items-panel,
.checkout-flow-card,
.order-summary-card {
    border: 1px solid rgba(155, 174, 199, .45);
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

.cart-items-panel,
.checkout-flow-card {
    padding: 18px;
}

.order-summary-card {
    position: sticky;
    top: 104px;
    padding: 18px;
}

.cart-panel-head,
.summary-card-head,
.checkout-step-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.cart-panel-head {
    margin-bottom: 16px;
}

.cart-panel-head h2,
.summary-card-head h2,
.checkout-step-head h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 24px;
}

.cart-panel-head p,
.summary-card-head p,
.checkout-step-head p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.summary-card-head {
    justify-content: flex-start;
    margin-bottom: 16px;
}

.summary-card-head > span,
.empty-cart-state > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eaf4ff;
    color: var(--blue);
}

.cart-line-stack {
    display: grid;
    gap: 12px;
}

.cart-line-card {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.cart-line-media {
    display: grid;
    place-items: center;
    min-height: 116px;
    border-radius: 12px;
    background: #f5f8fb;
}

.cart-line-media img {
    width: 100%;
    height: 116px;
    object-fit: contain;
    padding: 10px;
}

.cart-line-main {
    min-width: 0;
    display: grid;
    gap: 14px;
}

.cart-line-title-row,
.cart-line-actions {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.cart-line-title {
    display: inline-block;
    color: var(--ink);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.25;
}

.cart-line-meta,
.cart-line-actions span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.cart-line-actions {
    align-items: end;
}

.cart-line-actions label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.cart-line-actions .input {
    width: 92px;
    border-radius: 10px;
}

.cart-remove-btn {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid #ffd4cc;
    border-radius: 10px;
    background: #fff1ef;
    color: #c63d2d;
    cursor: pointer;
}

.premium-summary {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.premium-summary div {
    color: var(--muted);
    font-weight: 800;
}

.premium-summary strong {
    color: var(--ink);
}

.premium-summary .summary-total {
    align-items: baseline;
    color: var(--ink);
    font-size: 18px;
}

.premium-summary .summary-total strong {
    font-size: 24px;
}

.checkout-cta,
.place-order-btn {
    width: 100%;
    min-height: 50px;
    margin-top: 14px;
}

.summary-trust-row,
.checkout-assurance-grid {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.summary-trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.summary-trust-row span,
.checkout-assurance-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    border-radius: 8px;
    background: #f4f8fb;
    color: #53627a;
    font-size: 12px;
    font-weight: 900;
}

.cart-savings-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: #e9f8ef;
    color: #0d6f4d;
}

.cart-savings-card span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #ffffff;
    font-weight: 900;
}

.cart-savings-card p {
    margin: 0;
    font-weight: 900;
    font-size: 13px;
}

.empty-cart-state {
    min-height: 360px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    text-align: center;
}

.empty-cart-state h2,
.empty-cart-state p {
    margin: 0;
}

.empty-cart-state p {
    max-width: 360px;
    color: var(--muted);
}

.checkout-flow-card {
    display: grid;
    gap: 14px;
    box-shadow: none;
}

.checkout-step-card {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.checkout-step-head {
    justify-content: flex-start;
    margin-bottom: 14px;
}

.checkout-step-head > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    border-radius: 12px;
    background: #fff4df;
    color: #a74900;
    font-weight: 900;
}

.checkout-field-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.checkout-field-grid label,
.checkout-step-card > label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.span-full {
    grid-column: 1 / -1;
}

.payment-choice-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 12px;
    align-items: center;
}

.payment-choice {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(22, 160, 111, .30);
    border-radius: 12px;
    background: #f0fbf5;
}

.payment-choice input {
    width: 18px;
    height: 18px;
    accent-color: var(--green);
}

.payment-choice span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #ffffff;
    color: var(--green);
}

.checkout-error {
    width: 100%;
    margin: 0;
}

.checkout-mini-items {
    display: grid;
    gap: 10px;
    max-height: 360px;
    overflow: auto;
    padding-right: 4px;
}

.checkout-mini-items article {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.checkout-mini-items img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    padding: 6px;
    border-radius: 10px;
    background: #f5f8fb;
}

.checkout-mini-items strong {
    display: block;
    font-size: 13px;
    line-height: 1.25;
}

.checkout-mini-items small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-weight: 800;
}

.checkout-mini-items article > span {
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.checkout-assurance-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1080px) {
    .cart-page-grid,
    .checkout-page-grid {
        grid-template-columns: 1fr;
    }

    .order-summary-card {
        position: static;
    }
}

@media (max-width: 760px) {
    .commerce-page-head {
        display: grid;
        align-items: start;
    }

    .commerce-page-head h1 {
        font-size: 34px;
    }

    .cart-progress-strip {
        grid-template-columns: 1fr;
    }

    .cart-line-card {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .cart-line-media {
        min-height: 92px;
    }

    .cart-line-media img {
        height: 92px;
    }

    .cart-line-title-row,
    .cart-line-actions,
    .cart-panel-head {
        align-items: start;
        flex-direction: column;
    }

    .cart-line-actions {
        width: 100%;
        gap: 10px;
    }

    .cart-remove-btn {
        position: absolute;
        right: 12px;
        bottom: 12px;
    }

    .cart-line-card {
        position: relative;
        padding-bottom: 58px;
    }

    .checkout-field-grid,
    .payment-choice-panel,
    .summary-trust-row,
    .checkout-assurance-grid {
        grid-template-columns: 1fr;
    }

    .checkout-mini-items article {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .checkout-mini-items article > span {
        grid-column: 2;
    }
}

/* Premium checkout and cart funnel polish */
.commerce-funnel-builder {
    background: linear-gradient(180deg, #f5fff9 0%, #f8fafc 100%);
    border-bottom: 1px solid rgba(191, 201, 214, .44);
}

.commerce-funnel-builder .section {
    padding: 34px 0;
}

.commerce-funnel-builder .builder-banner {
    position: relative;
    isolation: isolate;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(17, 24, 39, .18);
}

.commerce-funnel-builder .builder-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(6, 12, 24, .82), rgba(14, 35, 57, .66) 52%, rgba(10, 24, 40, .42));
}

.commerce-funnel-builder .builder-banner > div {
    position: relative;
    z-index: 1;
}

.commerce-funnel-builder .builder-banner .eyebrow,
.commerce-funnel-builder .builder-banner h1,
.commerce-funnel-builder .builder-banner p {
    color: #ffffff;
}

.commerce-funnel-builder .builder-banner .eyebrow {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 157, 0, .16);
    border: 1px solid rgba(255, 214, 148, .34);
    color: #ffd28a;
}

.commerce-funnel-builder .builder-banner h1 {
    max-width: 560px;
    text-shadow: 0 10px 34px rgba(0, 0, 0, .28);
}

.commerce-funnel-builder .builder-banner p {
    color: rgba(255, 255, 255, .82);
}

.commerce-funnel-builder .builder-banner .btn-primary {
    box-shadow: 0 18px 36px rgba(255, 157, 0, .28);
}

.checkout-canvas,
.cart-canvas {
    padding: clamp(34px, 5vw, 66px) 0 clamp(56px, 7vw, 92px);
    background:
        linear-gradient(180deg, #f8fafc 0%, #ffffff 42%),
        linear-gradient(135deg, rgba(255, 157, 0, .08), rgba(22, 160, 111, .05) 50%, rgba(36, 119, 255, .07));
}

.checkout-head {
    align-items: center;
    padding: clamp(20px, 3vw, 30px);
    margin-bottom: 18px;
    border: 1px solid rgba(209, 217, 229, .86);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(255, 252, 245, .94)),
        linear-gradient(90deg, rgba(255, 157, 0, .08), rgba(22, 160, 111, .06));
    box-shadow: 0 22px 54px rgba(15, 23, 42, .07);
}

.checkout-head .eyebrow,
.commerce-page-head .eyebrow {
    color: #b96d00;
}

.checkout-head h1,
.commerce-page-head h1 {
    color: #101722;
    letter-spacing: 0;
}

.checkout-head p {
    max-width: 650px;
    color: #53627a;
}

.checkout-head-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.checkout-head-pills span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid rgba(203, 213, 225, .8);
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .05);
}

.checkout-head > .btn,
.commerce-page-head > .btn {
    min-height: 44px;
    border-color: rgba(203, 213, 225, .88);
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .05);
}

.cart-progress-strip {
    gap: 12px;
}

.cart-progress-strip div {
    border-radius: 8px;
    border-color: rgba(203, 213, 225, .78);
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .045);
}

.cart-progress-strip .is-active {
    border-color: rgba(255, 157, 0, .56);
    background: linear-gradient(135deg, #fff7e8, #ffffff);
}

.checkout-page-grid,
.cart-page-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 390px);
    gap: clamp(18px, 2.4vw, 30px);
}

.checkout-flow-card {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.checkout-step-card,
.cart-items-panel,
.order-summary-card {
    border-radius: 8px;
    border: 1px solid rgba(203, 213, 225, .82);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 20px 54px rgba(15, 23, 42, .07);
}

.checkout-step-card {
    padding: clamp(16px, 2.3vw, 24px);
}

.checkout-step-card + .checkout-step-card {
    margin-top: 2px;
}

.checkout-step-head {
    align-items: flex-start;
}

.checkout-step-head > span {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 8px;
    background: linear-gradient(135deg, #fff3da, #ffffff);
    border: 1px solid rgba(255, 157, 0, .30);
    color: #9a5a00;
}

.checkout-step-head h2,
.summary-card-head h2,
.cart-panel-head h2 {
    color: #111827;
}

.checkout-step-head p,
.summary-card-head p,
.cart-panel-head p {
    color: #6b7689;
}

.checkout-field-grid {
    gap: 14px;
}

.checkout-field-grid label,
.checkout-step-card > label,
.coupon-box label {
    color: #475569;
    letter-spacing: 0;
}

.checkout-field-grid .input,
.checkout-step-card .textarea,
.payment-choice-panel .select,
.coupon-box .input,
.cart-line-actions .input {
    min-height: 48px;
    border: 1px solid rgba(176, 190, 210, .92);
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.checkout-step-card .textarea {
    min-height: 112px;
}

.checkout-field-grid .input:focus,
.checkout-step-card .textarea:focus,
.payment-choice-panel .select:focus,
.coupon-box .input:focus,
.cart-line-actions .input:focus {
    border-color: rgba(255, 157, 0, .72);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(255, 157, 0, .14);
}

.payment-choice-panel {
    gap: 10px;
}

.payment-choice {
    border-radius: 8px;
    border-color: rgba(22, 160, 111, .38);
    background: linear-gradient(135deg, #effbf5, #ffffff);
}

.payment-choice span {
    border-radius: 8px;
    border: 1px solid rgba(22, 160, 111, .18);
}

.place-order-btn,
.checkout-cta {
    min-height: 54px;
    border-radius: 8px;
    box-shadow: 0 18px 34px rgba(255, 157, 0, .24);
}

.order-summary-card {
    top: 116px;
    padding: 18px;
}

.checkout-review-card {
    border-color: rgba(255, 157, 0, .32);
}

.summary-card-head > span {
    border-radius: 8px;
    background: linear-gradient(135deg, #eef6ff, #ffffff);
    border: 1px solid rgba(36, 119, 255, .18);
}

.checkout-mini-items {
    gap: 12px;
}

.checkout-mini-items article {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    border-radius: 8px;
    border-color: rgba(203, 213, 225, .78);
    background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.checkout-mini-items img {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    background: #eef3f8;
}

.checkout-mini-items strong {
    color: #172033;
}

.checkout-mini-items article > span {
    color: #0f172a;
}

.elevated-coupon {
    padding: 12px;
    border: 1px solid rgba(203, 213, 225, .76);
    border-radius: 8px;
    background: #fbfcfe;
}

.elevated-coupon .btn-soft {
    background: #ffffff;
}

.premium-summary {
    padding: 16px 0;
}

.premium-summary div {
    line-height: 1.7;
}

.premium-summary .summary-total {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid rgba(203, 213, 225, .76);
}

.premium-summary .summary-total strong {
    color: #111827;
}

.summary-trust-row span,
.checkout-assurance-grid span {
    border-radius: 8px;
    border: 1px solid rgba(203, 213, 225, .72);
    background: #f8fafc;
}

.cart-items-panel {
    padding: clamp(16px, 2.3vw, 22px);
}

.cart-line-card {
    border-radius: 8px;
    border-color: rgba(203, 213, 225, .78);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.cart-line-card:hover {
    border-color: rgba(255, 157, 0, .46);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.cart-line-media,
.cart-remove-btn,
.cart-savings-card {
    border-radius: 8px;
}

.footer-newsletter {
    border-top: 1px solid rgba(203, 213, 225, .5);
    border-bottom: 1px solid rgba(203, 213, 225, .5);
    background: linear-gradient(90deg, #fff9ef 0%, #f7fbff 54%, #ffffff 100%);
}

.newsletter-inner {
    min-height: 132px;
}

.newsletter-form input {
    border-color: rgba(176, 190, 210, .9);
    background: #ffffff;
}

@media (max-width: 1080px) {
    .checkout-page-grid,
    .cart-page-grid {
        grid-template-columns: 1fr;
    }

    .order-summary-card {
        position: static;
    }
}

@media (max-width: 760px) {
    .commerce-funnel-builder .section {
        padding: 22px 0;
    }

    .commerce-funnel-builder .builder-banner {
        min-height: 260px;
        padding: 24px;
    }

    .checkout-head {
        display: grid;
        padding: 18px;
    }

    .checkout-head h1,
    .commerce-page-head h1 {
        font-size: 34px;
    }

    .checkout-head-pills {
        display: grid;
        grid-template-columns: 1fr;
    }

    .checkout-field-grid,
    .payment-choice-panel,
    .checkout-mini-items article {
        grid-template-columns: 1fr;
    }

    .checkout-mini-items img {
        width: 100%;
        height: 160px;
    }
}

.b2b-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0f766e;
}

.b2b-nav-link svg {
    width: 16px;
    height: 16px;
}

.b2b-auth-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 58%, #fff7ed 100%);
}

.b2b-register-grid {
    align-items: start;
}

.b2b-register-card {
    border-color: rgba(15, 118, 110, .22);
}

.b2b-status-note {
    display: grid;
    gap: 4px;
    max-width: 480px;
    margin-top: 18px;
    padding: 14px;
    border: 1px solid rgba(203, 213, 225, .86);
    border-radius: 8px;
    background: #ffffff;
    color: #172033;
}

.b2b-status-note strong {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.b2b-status-note span {
    color: var(--muted);
}

.b2b-status-note.status-approved {
    border-color: rgba(22, 163, 74, .3);
    background: #f0fdf4;
}

.b2b-status-note.status-rejected {
    border-color: rgba(220, 38, 38, .3);
    background: #fef2f2;
}

.b2b-kyc-form .btn {
    width: 100%;
}

.b2b-shop-hero {
    background: #f8fafc;
    border-bottom: 1px solid rgba(203, 213, 225, .7);
}

.b2b-toolbar {
    margin-bottom: 22px;
    padding: 14px;
    border: 1px solid rgba(203, 213, 225, .78);
    border-radius: 8px;
    background: #ffffff;
}

.b2b-product-grid {
    align-items: stretch;
}

.b2b-product-card {
    display: grid;
    overflow: hidden;
    min-height: 100%;
    border: 1px solid rgba(203, 213, 225, .82);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.b2b-product-card > a {
    display: block;
    aspect-ratio: 4 / 3;
    background: #eef3f8;
}

.b2b-product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.b2b-product-card > div {
    display: grid;
    gap: 8px;
    padding: 14px;
}

.b2b-product-card span,
.b2b-product-card small {
    color: var(--muted);
}

.b2b-product-card h2 {
    margin: 0;
    font-size: 17px;
    line-height: 1.35;
}

.b2b-product-card h2 a {
    color: #172033;
}

.b2b-product-card strong {
    color: #0f766e;
    font-size: 18px;
}

.b2b-product-detail .product-buy-panel {
    border-color: rgba(15, 118, 110, .24);
}

.b2b-terms-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
}

.b2b-terms-grid span {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(203, 213, 225, .78);
    border-radius: 8px;
    background: #f8fafc;
    color: var(--muted);
}

.b2b-terms-grid strong {
    color: #172033;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.account-b2b-pay-form,
.account-b2b-note {
    margin-top: 14px;
}

.account-b2b-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(245, 158, 11, .32);
    border-radius: 8px;
    background: #fffbeb;
    color: #92400e;
    font-weight: 800;
}

.account-b2b-note svg {
    width: 17px;
    height: 17px;
}

.google-review-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.google-review-head {
    align-items: end;
}

.google-review-head p {
    max-width: 680px;
    color: var(--muted);
}

.google-review-score {
    display: grid;
    justify-items: end;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid rgba(203, 213, 225, .82);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.google-review-score span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #111827;
    font-size: 22px;
    font-weight: 900;
}

.google-review-score svg {
    fill: #f59e0b;
    color: #f59e0b;
}

.google-review-score small {
    color: var(--muted);
    font-weight: 800;
}

.google-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.google-review-card {
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 18px;
    min-height: 100%;
    border: 1px solid rgba(203, 213, 225, .82);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .06);
}

.google-review-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.google-review-card-head img,
.google-review-card-head > span {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #eef3f8;
    object-fit: cover;
    flex: 0 0 auto;
}

.google-review-card-head > span {
    display: grid;
    place-items: center;
    color: #0f766e;
    font-weight: 900;
}

.google-review-card-head div {
    min-width: 0;
}

.google-review-card-head a,
.google-review-card-head strong {
    display: block;
    color: #172033;
    font-weight: 900;
}

.google-review-card-head small {
    color: var(--muted);
}

.google-review-card p {
    margin: 0;
    color: #334155;
    line-height: 1.75;
}

.google-review-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

@media (max-width: 760px) {
    .b2b-toolbar,
    .b2b-terms-grid {
        grid-template-columns: 1fr;
    }

    .b2b-product-grid {
        grid-template-columns: 1fr;
    }

    .mobile-bottom {
        grid-template-columns: repeat(5, 1fr);
    }

    .google-review-head {
        align-items: start;
    }

    .google-review-score {
        justify-items: start;
    }

    .google-review-grid {
        grid-template-columns: 1fr;
    }

    .google-review-actions,
    .google-review-actions .btn {
        width: 100%;
    }

    .google-review-actions {
        display: grid;
    }
}


/* ═══════════════════════════════════════════════════════════
   ENHANCED FILTER PANEL
   ═══════════════════════════════════════════════════════════ */

.filter-panel {
    padding: 0;
    overflow: hidden;
    position: sticky;
    top: 16px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 12px;
    border-bottom: 1px solid var(--line);
    background: var(--soft);
    position: sticky;
    top: 0;
    z-index: 1;
}

.filter-title {
    font-size: 15px;
    font-weight: 900;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 7px;
}

.filter-title [data-lucide] {
    width: 16px;
    height: 16px;
    color: var(--orange);
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--orange);
    color: #241800;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.filter-clear-all {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 3px;
    transition: color .15s;
}
.filter-clear-all:hover { color: var(--ink); }
.filter-clear-all [data-lucide] { width: 13px; height: 13px; }

/* Each filter group */
.filter-group {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
}
.filter-group:last-of-type { border-bottom: 0; }

.filter-group-label {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.filter-group-label [data-lucide] { width: 13px; height: 13px; }

/* Price row */
.filter-price-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
}
.price-sep {
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

/* ── Color Swatches ─── */
.filter-color-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-color-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    width: 46px;
}

.swatch-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--line);
    transition: transform .15s, border-color .15s, box-shadow .15s;
    flex-shrink: 0;
}
.swatch-dot.light-swatch {
    border-color: #d1d5db;
}

.filter-color-swatch:hover .swatch-dot {
    transform: scale(1.12);
    border-color: var(--orange);
}

.filter-color-swatch.selected .swatch-dot {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(245,158,11,.25);
    transform: scale(1.1);
}

.swatch-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--muted);
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 44px;
}

.filter-color-swatch.selected .swatch-label {
    color: var(--ink);
}

/* ── In Stock Toggle ─── */
.filter-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin: 0 !important;
    gap: 0 !important;
    color: unset !important;
    font-size: unset !important;
    font-weight: unset !important;
}

.toggle-switch {
    position: relative;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-track {
    position: absolute;
    inset: 0;
    border-radius: 99px;
    background: var(--line);
    transition: background .2s;
    cursor: pointer;
}
.toggle-track::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
    transition: transform .2s;
}
.toggle-switch input:checked + .toggle-track { background: var(--orange); }
.toggle-switch input:checked + .toggle-track::after { transform: translateX(18px); }

/* ── Sort Pills ─── */
.filter-sort-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.sort-pill {
    padding: 6px 12px;
    border-radius: 99px;
    border: 1.5px solid var(--line);
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
    white-space: nowrap;
}
.sort-pill:hover {
    border-color: var(--orange);
    color: var(--ink);
}
.sort-pill.active {
    background: var(--orange);
    border-color: var(--orange);
    color: #241800;
}

/* ── Filter Actions ─── */
.filter-actions {
    padding: 14px 18px 18px;
    display: grid;
    gap: 8px;
}

/* Override old form-grid inside filter */
.filter-panel .form-grid { display: block; }


/* ═══════════════════════════════════════════════════════════
   HEADER REDESIGN
   ═══════════════════════════════════════════════════════════ */

/* Top strip — thinner, refined */
.top-strip {
    background: #18181b;
    color: #a1a1aa;
    font-size: 11.5px;
    padding: 6px 0;
    letter-spacing: .01em;
}
.top-strip a { color: #d4d4d8; font-weight: 600; transition: color .15s; }
.top-strip a:hover { color: #fff; }
.top-strip-links { gap: 20px; }

/* Main header */
.main-header {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 1px 12px rgba(0,0,0,.06);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    min-height: 70px;
    gap: 20px;
    padding: 10px 0;
}

/* Brand */
.brand-name-text {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.02em;
    color: var(--ink,#1a1a1a);
}
.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--orange,#f59e0b);
    color: #241800;
    display: grid;
    place-items: center;
}
.brand-mark [data-lucide] { width: 18px; height: 18px; }

/* Search bar — cleaner */
.search-bar {
    flex: 1;
    max-width: 540px;
    min-width: 200px;
    display: grid;
    grid-template-columns: 140px minmax(0,1fr) 46px;
    border: 1.5px solid #e4e4e7;
    border-radius: 12px;
    overflow: visible;
    background: #fff;
    position: relative;
    transition: border-color .2s, box-shadow .2s;
    clip-path: inset(0 round 12px);
}
.search-bar:focus-within {
    border-color: var(--orange,#f59e0b);
    box-shadow: 0 0 0 3px rgba(245,158,11,.12);
    clip-path: none;
}
.search-bar select {
    border: 0;
    border-right: 1.5px solid #e4e4e7;
    padding: 0 10px 0 14px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    color: #52525b;
    background: #fafafa;
    border-radius: 10px 0 0 10px;
    outline: 0;
    cursor: pointer;
    height: 100%;
}
.search-bar select:focus { background: #fff5e0; }
.search-input-wrap { position: relative; display: flex; min-width: 0; }
.search-input-wrap input {
    flex: 1;
    border: 0;
    padding: 0 12px;
    font: inherit;
    font-size: 14px;
    outline: 0;
    background: transparent;
    color: var(--ink,#1a1a1a);
    min-width: 0;
}
.search-input-wrap input::placeholder { color: #a1a1aa; }

/* Camera icon button */
.search-img-btn {
    width: 40px;
    height: 100%;
    border: 0;
    border-left: 1.5px solid #e4e4e7;
    background: #fff;
    color: #71717a;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .15s, color .15s;
    flex-shrink: 0;
}
.search-img-btn:hover { background: #fff8e6; color: var(--orange,#f59e0b); }
.search-img-btn [data-lucide] { width: 16px; height: 16px; }

/* Submit button */
.search-submit-btn {
    width: 46px;
    border: 0;
    background: var(--orange,#f59e0b);
    color: #241800;
    cursor: pointer;
    display: grid;
    place-items: center;
    border-radius: 0 10px 10px 0;
    transition: background .15s;
    flex-shrink: 0;
}
.search-submit-btn:hover { background: var(--orange-dark,#d97706); }
.search-submit-btn [data-lucide] { width: 17px; height: 17px; }

/* Header action buttons — icon + label */
.header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.header-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 10px;
    border-radius: 10px;
    color: #52525b;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background .15s, border-color .15s, color .15s;
    position: relative;
    cursor: pointer;
    background: transparent;
}
.header-action-btn:hover {
    background: #fff8e6;
    border-color: #fde68a;
    color: var(--ink,#1a1a1a);
}
.header-action-btn [data-lucide] { width: 20px; height: 20px; flex-shrink: 0; }
.ha-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .01em;
    white-space: nowrap;
    color: #71717a;
}
.header-action-btn:hover .ha-label { color: var(--ink,#1a1a1a); }
.cart-btn { position: relative; }
.cart-count {
    position: absolute;
    top: 2px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    display: grid;
    place-items: center;
    padding: 0 4px;
    line-height: 1;
}

/* Nav row — cleaner */
.nav-row {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

/* ═══════════════════════════════════════════════════════════
   IMAGE SEARCH MODAL
   ═══════════════════════════════════════════════════════════ */
.img-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}
.img-search-overlay[hidden] { display: none; }
.img-search-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(9,9,11,.6);
    backdrop-filter: blur(4px);
}
.img-search-dialog {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 540px;
    padding: 28px;
    box-shadow: 0 40px 80px rgba(0,0,0,.25);
    animation: isIn .22s cubic-bezier(.22,.68,0,1.2);
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: auto;
    align-self: flex-start;
}
@keyframes isIn {
    from { opacity:0; transform: scale(.94) translateY(10px); }
    to   { opacity:1; transform: scale(1)   translateY(0); }
}
.img-search-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1.5px solid #e4e4e7;
    background: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .15s;
}
.img-search-close:hover { background: #f4f4f5; }
.img-search-close [data-lucide] { width: 14px; height: 14px; }

.img-search-header {
    display: flex;
    align-items: center;
    gap: 14px;
}
.img-search-header > [data-lucide] {
    width: 40px; height: 40px;
    background: #fff8e6;
    color: var(--orange,#f59e0b);
    border-radius: 12px;
    padding: 8px;
    flex-shrink: 0;
}
.img-search-header h3 { margin: 0; font-size: 18px; font-weight: 800; }
.img-search-header p  { margin: 2px 0 0; font-size: 13px; color: #71717a; }

/* Drop zone */
.img-search-drop {
    border: 2px dashed #e4e4e7;
    border-radius: 14px;
    background: #fafafa;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s, background .2s;
    position: relative;
    overflow: hidden;
}
.img-search-drop.drag-over {
    border-color: var(--orange,#f59e0b);
    background: #fff8e6;
}
.img-drop-idle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px;
    text-align: center;
    color: #71717a;
}
.img-drop-idle [data-lucide] { width: 40px; height: 40px; color: #d4d4d8; margin-bottom: 4px; }
.img-drop-idle strong { font-size: 14px; color: #3f3f46; }
.img-drop-idle span { font-size: 12px; }

.img-drop-preview {
    width: 100%;
    height: 100%;
    min-height: 160px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.img-drop-preview img {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
    border-radius: 8px;
}
.img-remove-btn {
    position: absolute;
    top: 8px; right: 8px;
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 0;
    background: rgba(0,0,0,.5);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
}
.img-remove-btn [data-lucide] { width: 13px; height: 13px; }

/* Loading */
.img-search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 0;
    color: #71717a;
    font-size: 14px;
    font-weight: 600;
}
.img-loading-spinner {
    width: 22px; height: 22px;
    border: 3px solid #e4e4e7;
    border-top-color: var(--orange,#f59e0b);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Results */
.img-results-label {
    font-size: 12px;
    font-weight: 700;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 10px;
}
.img-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin;
}
.img-result-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1.5px solid #f0f0f0;
    border-radius: 10px;
    text-decoration: none;
    color: var(--ink,#1a1a1a);
    transition: border-color .15s, background .15s;
}
.img-result-card:hover { border-color: var(--orange,#f59e0b); background: #fff8e6; }
.img-result-card img {
    width: 44px; height: 44px;
    object-fit: cover;
    border-radius: 7px;
    flex-shrink: 0;
    background: #f4f4f5;
}
.img-result-info { min-width: 0; }
.img-result-name {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.img-result-price { font-size: 12px; color: var(--orange,#f59e0b); font-weight: 800; }
.img-search-actions { display: flex; justify-content: center; }

/* Override old .search-bar button styles that apply orange to ALL buttons */
.search-bar .search-img-btn,
.search-bar .search-img-btn:hover {
    background: #fff !important;
    color: #71717a;
    border-radius: 0;
}
.search-bar .search-img-btn:hover {
    background: #fff8e6 !important;
    color: var(--orange,#f59e0b);
}
.search-bar .search-submit-btn {
    background: var(--orange,#f59e0b) !important;
    color: #241800;
    border-radius: 0 10px 10px 0 !important;
}
.search-bar .search-submit-btn:hover {
    background: var(--orange-dark,#d97706) !important;
    color: #fff;
}

/* Image search modal — additional fixes */
.img-find-btn {
    width: 100%;
    height: 46px;
    font-size: 14px;
    font-weight: 800;
    justify-content: center;
    border-radius: 10px;
}

/* Remove button — text + icon style */
.img-remove-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 99px;
    border: 0;
    background: rgba(0,0,0,.55);
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    transition: background .15s;
    top: auto;
    right: auto;
    width: auto;
    height: auto;
}
.img-remove-btn:hover { background: rgba(239,68,68,.8); }
.img-remove-btn [data-lucide] { width: 13px; height: 13px; }

/* Results divider */
.img-results-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.img-results-divider::before,
.img-results-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e4e4e7;
}
.img-results-divider span {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #71717a;
    white-space: nowrap;
}

/* Larger dialog when results show */
.img-search-dialog.has-results {
    max-width: 640px;
}
.img-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    max-height: 360px;
    overflow-y: auto;
    scrollbar-width: thin;
}

/* Search bar + camera grouped together */
.search-bar-group {
    flex: 1;
    max-width: 600px;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.search-bar-group .search-bar {
    flex: 1;
    max-width: unset;
    min-width: unset;
}

/* Camera FAB — round, right next to search */
.img-search-fab {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #e4e4e7;
    background: #fff;
    color: #52525b;
    cursor: pointer;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.img-search-fab [data-lucide] {
    width: 18px;
    height: 18px;
}
.img-search-fab:hover {
    background: #fff8e6;
    border-color: var(--orange, #f59e0b);
    color: var(--orange, #f59e0b);
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(245,158,11,.2);
}

/* Professional blog detail */
.blog-detail-page {
    background: #ffffff;
}

.blog-detail-hero {
    padding: 54px 0 48px;
    background: #f6f8fb;
    border-bottom: 1px solid rgba(155, 174, 199, .36);
}

.blog-detail-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, .72fr);
    gap: 46px;
    align-items: center;
}

.blog-detail-hero-grid.no-media {
    grid-template-columns: minmax(0, 900px);
}

.blog-detail-copy {
    display: grid;
    gap: 18px;
    align-content: center;
}

.blog-detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    font-weight: 900;
    color: #667085;
}

.blog-detail-breadcrumb a {
    color: #344054;
}

.blog-detail-breadcrumb a:hover {
    color: var(--orange-dark);
}

.blog-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-detail-tags span {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 7px 11px;
    border: 1px solid rgba(155, 174, 199, .5);
    border-radius: 8px;
    background: #ffffff;
    color: #344054;
    font-size: 12px;
    font-weight: 900;
}

.blog-detail-copy h1 {
    max-width: 840px;
    margin: 0;
    color: #070b13;
    font-family: var(--font-ui);
    font-size: 56px;
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: 0;
}

.blog-detail-lede {
    max-width: 760px;
    margin: 0;
    color: #5f6f84;
    font-size: 18px;
    line-height: 1.72;
}

.blog-detail-authorbar {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    gap: 12px;
    align-items: center;
    padding: 10px 14px 10px 10px;
    border: 1px solid rgba(155, 174, 199, .45);
    border-radius: 8px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 12px 28px rgba(16, 24, 40, .06);
}

.blog-author-avatar {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    background: #0f766e;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
}

.blog-detail-authorbar strong,
.blog-detail-authorbar small {
    display: block;
}

.blog-detail-authorbar strong {
    color: #101828;
    font-size: 14px;
}

.blog-detail-authorbar small {
    margin-top: 2px;
    color: #667085;
    font-size: 12px;
    font-weight: 800;
}

.blog-detail-media {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(155, 174, 199, .34);
    border-radius: 8px;
    background: #101828;
    box-shadow: 0 24px 60px rgba(16, 24, 40, .15);
}

.blog-detail-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.blog-detail-media figcaption {
    position: absolute;
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 7px 10px;
    border-radius: 8px;
    background: rgba(5, 7, 11, .72);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
}

.blog-detail-content-section {
    padding: 54px 0 72px;
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) 320px;
    gap: 58px;
    align-items: start;
    justify-content: space-between;
}

.blog-prose-editorial {
    max-width: 760px;
    color: #1d2939;
    font-size: 18px;
    line-height: 1.86;
}

.blog-prose-editorial > p:first-child {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(155, 174, 199, .34);
    color: #344054;
    font-size: 19px;
    line-height: 1.8;
}

.blog-prose-editorial h2,
.blog-prose-editorial h3,
.blog-prose-editorial h4 {
    color: #070b13;
    font-family: var(--font-ui);
    font-weight: 900;
    letter-spacing: 0;
}

.blog-prose-editorial h2 {
    margin-top: 36px;
    font-size: 30px;
}

.blog-prose-editorial h3 {
    font-size: 24px;
}

.blog-prose-editorial p,
.blog-prose-editorial li {
    color: #344054;
}

.blog-prose-editorial a {
    color: #0f766e;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-prose-editorial ul,
.blog-prose-editorial ol {
    padding-left: 24px;
}

.blog-prose-editorial blockquote {
    margin: 28px 0;
    padding: 18px 20px;
    border-left: 4px solid var(--orange);
    border-radius: 8px;
    background: #fff7ed;
    color: #1d2939;
    font-weight: 800;
}

.blog-detail-rail {
    display: grid;
    gap: 14px;
    position: sticky;
    top: 96px;
}

.blog-rail-card {
    padding: 18px;
    border: 1px solid rgba(155, 174, 199, .48);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(16, 24, 40, .08);
}

.blog-rail-kicker {
    display: block;
    margin-bottom: 12px;
    color: #0f766e;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.blog-rail-card dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.blog-rail-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(155, 174, 199, .25);
}

.blog-rail-card dl div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.blog-rail-card dt {
    color: #667085;
    font-size: 12px;
    font-weight: 900;
}

.blog-rail-card dd {
    margin: 0;
    color: #101828;
    text-align: right;
    font-size: 13px;
    font-weight: 900;
}

.blog-shop-card {
    background: #101828;
    color: #ffffff;
}

.blog-shop-card .blog-rail-kicker {
    color: #fbbf24;
}

.blog-shop-card h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-family: var(--font-ui);
    font-size: 21px;
}

.blog-shop-card p {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, .76);
    line-height: 1.55;
}

.blog-back-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    width: fit-content;
    color: #344054;
    font-size: 13px;
    font-weight: 900;
}

.blog-back-link [data-lucide],
.blog-back-link svg {
    width: 16px;
    height: 16px;
}

.blog-related-section {
    padding: 58px 0 70px;
    border-top: 1px solid rgba(155, 174, 199, .32);
    background: #f6f8fb;
}

.blog-related-head {
    display: flex;
    gap: 24px;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 24px;
}

.blog-related-head h2 {
    margin: 5px 0 4px;
    color: #070b13;
    font-family: var(--font-ui);
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 0;
}

.blog-related-head p {
    margin: 0;
    color: #667085;
}

.blog-related-link {
    color: #101828;
    font-weight: 900;
}

.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.blog-related-card {
    overflow: hidden;
    border: 1px solid rgba(155, 174, 199, .45);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(16, 24, 40, .07);
    transition: transform .18s ease, box-shadow .18s ease;
}

.blog-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 54px rgba(16, 24, 40, .11);
}

.blog-related-image {
    display: block;
    overflow: hidden;
    background: #101828;
}

.blog-related-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .22s ease;
}

.blog-related-card:hover .blog-related-image img {
    transform: scale(1.035);
}

.blog-related-card > div {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.blog-related-card span,
.blog-related-card small {
    color: #667085;
    font-size: 11px;
    font-weight: 900;
}

.blog-related-card h3 {
    margin: 0;
    color: #101828;
    font-family: var(--font-ui);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0;
}

.blog-related-card p {
    margin: 0;
    color: #667085;
    line-height: 1.55;
}

.blog-card {
    overflow: hidden;
}

.blog-card img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

@media (max-width: 1080px) {
    .blog-detail-hero-grid,
    .blog-detail-layout {
        grid-template-columns: 1fr;
    }

    .blog-detail-rail {
        position: static;
    }

    .blog-detail-copy h1 {
        font-size: 46px;
    }

    .blog-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .blog-detail-hero {
        padding: 34px 0 32px;
    }

    .blog-detail-copy h1 {
        font-size: 34px;
        line-height: 1.08;
    }

    .blog-detail-lede,
    .blog-prose-editorial,
    .blog-prose-editorial > p:first-child {
        font-size: 16px;
    }

    .blog-detail-content-section,
    .blog-related-section {
        padding: 36px 0 44px;
    }

    .blog-detail-authorbar {
        width: 100%;
    }

    .blog-related-head {
        display: grid;
        align-items: start;
    }

    .blog-related-head h2 {
        font-size: 28px;
    }

    .blog-related-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Feel Hut Footer ──────────────────────────────────── */
footer {
    margin-top: 0;
}

.footer-newsletter {
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    background:
        radial-gradient(circle at 15% 0%, rgba(245, 158, 11, .15), transparent 22rem),
        linear-gradient(135deg, #101828 0%, #172033 60%, #111827 100%);
    color: #ffffff;
    padding: 40px 0;
}

/* Renamed from newsletter-inner to avoid theme overrides */
.footer-newsletter-inner {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(300px, 480px);
    align-items: center;
    gap: 32px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: inherit !important;
}

.footer-newsletter-inner .eyebrow {
    display: block;
    color: #fbbf24;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 6px;
}

.footer-newsletter-inner h2 {
    color: #ffffff !important;
    font-family: var(--font-ui);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0;
    margin: 0 0 6px;
}

.footer-newsletter-inner p {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, .65) !important;
    line-height: 1.55;
    font-size: 14px;
}

.newsletter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
}

.newsletter-form input {
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 8px;
    padding: 0 14px;
    font: inherit;
    background: rgba(255, 255, 255, .94) !important;
    color: #101828 !important;
}

.newsletter-form input::placeholder {
    color: #667085 !important;
}

.footer-main {
    background:
        radial-gradient(circle at 88% 10%, rgba(15, 118, 110, .14), transparent 22rem),
        linear-gradient(135deg, var(--theme-footer, #071d3b) 0%, #031225 100%);
    padding: 48px 0 0;
}

.footer-grid {
    grid-template-columns: minmax(190px, 1.4fr) repeat(5, minmax(120px, 1fr));
    gap: 32px;
    padding-bottom: 40px;
}

.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-tagline {
    margin: 8px 0 0;
    color: var(--theme-footer-text, rgba(220, 228, 234, .65));
    font-size: 13px;
    line-height: 1.55;
    opacity: 0.75;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links li {
    margin: 0;
    padding: 0;
}

.footer-links a,
.footer-links li {
    color: var(--theme-footer-text, rgba(220, 228, 234, .75));
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    transition: color .15s;
}

.footer-links a:hover {
    color: #fbbf24;
}

footer h4 {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 14px;
}

footer a:hover {
    color: #fbbf24;
}

/* Phone number — always bright white and bold */
.footer-links a[href^="tel:"],
footer a[href^="tel:"] {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .01em;
    opacity: 1 !important;
}

/* Footer Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: rgba(0, 0, 0, .25);
    padding: 14px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--theme-footer-text, rgba(220, 228, 234, .45));
    opacity: 0.55;
}

.footer-bottom-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: var(--theme-footer-text, rgba(220, 228, 234, .45));
    text-decoration: none;
    font-size: 13px;
    opacity: 0.55;
    transition: color .15s, opacity .15s;
}

.footer-bottom-links a:hover {
    color: var(--orange, #fbbf24);
    opacity: 1;
}

.info-page-hero {
    padding: 46px 0 40px;
    background: linear-gradient(135deg, #f6f8fb 0%, #fff7ed 100%);
    border-bottom: 1px solid rgba(155, 174, 199, .34);
}

.info-page-hero-inner {
    display: grid;
    gap: 18px;
}

.info-page-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #667085;
    font-size: 13px;
    font-weight: 900;
}

.info-page-breadcrumb a {
    color: #344054;
}

.info-page-hero h1 {
    max-width: 780px;
    margin: 8px 0 10px;
    color: #070b13;
    font-family: var(--font-ui);
    font-size: 46px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 0;
}

.info-page-hero p {
    max-width: 760px;
    margin: 0;
    color: #5f6f84;
    font-size: 17px;
    line-height: 1.7;
}

.info-page-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 820px);
    gap: 34px;
    align-items: start;
}

.info-page-sidebar {
    display: grid;
    gap: 8px;
    position: sticky;
    top: 96px;
    padding: 14px;
    border: 1px solid rgba(155, 174, 199, .45);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(16, 24, 40, .06);
}

.info-page-sidebar span {
    padding: 4px 6px 8px;
    color: #0f766e;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.info-page-sidebar a {
    padding: 10px 11px;
    border-radius: 8px;
    color: #344054;
    font-weight: 800;
}

.info-page-sidebar a.active,
.info-page-sidebar a:hover {
    background: #fff7ed;
    color: #101828;
}

.info-page-card {
    border: 1px solid rgba(155, 174, 199, .42);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(16, 24, 40, .07);
}

.info-page-prose {
    padding: 34px;
    color: #344054;
    font-size: 17px;
    line-height: 1.82;
}

.info-page-prose h2,
.info-page-prose h3 {
    margin: 1.35em 0 .55em;
    color: #101828;
    font-family: var(--font-ui);
    font-weight: 900;
    letter-spacing: 0;
}

.info-page-prose h2 {
    font-size: 26px;
}

.info-page-prose h3 {
    font-size: 21px;
}

.info-page-prose p,
.info-page-prose ul,
.info-page-prose ol {
    margin: 0 0 1.05em;
}

@media (max-width: 1120px) {
    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .info-page-layout {
        grid-template-columns: 1fr;
    }

    .info-page-sidebar {
        position: static;
    }
}

@media (max-width: 760px) {
    .footer-newsletter-inner,
    .newsletter-form {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-col-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .info-page-hero h1 {
        font-size: 34px;
    }

    .info-page-prose {
        padding: 22px;
        font-size: 16px;
    }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE HEADER FIX  (≤ 760px)
   - Header-actions duplicate icons hatao (bottom nav pe hain)
   - Sirf Cart icon header mein dikhao
   - Logo + camera + search ek line mein
   - Bottom nav 5 items properly fit karo
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 760px) {

    /* ── Header layout ── */
    .header-inner {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 10px;
        padding: 10px 0;
        min-height: auto;
    }

    /* Logo — left, shrink nahi karo */
    .brand {
        flex: 0 0 auto;
        order: 1;
    }

    /* Search group — logo ke baad fill karo */
    .search-bar-group {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        order: 2;
        gap: 6px;
    }

    /* Search bar mobile — full width, category dropdown hide */
    .search-bar-group .search-bar {
        grid-template-columns: minmax(0, 1fr) 44px;
        width: 100%;
    }
    .search-bar-group .search-bar select {
        display: none;
    }

    /* Camera FAB — smaller on mobile */
    .img-search-fab {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    /* Header actions — Call Us, B2B, Account hide karo (bottom nav pe hain)
       Sirf Cart dikhao */
    .header-actions {
        order: 3;
        flex-shrink: 0;
        gap: 0;
    }
    /* Hide Call Us, B2B, Account buttons — unhe target karo */
    .header-action-btn:not(.cart-btn) {
        display: none !important;
    }
    /* Cart button compact */
    .cart-btn {
        padding: 6px 8px;
    }
    .cart-btn .ha-label {
        display: none;
    }

    /* ── Bottom nav — 5 items ── */
    .mobile-bottom {
        grid-template-columns: repeat(5, 1fr) !important;
    }
    .mobile-bottom a {
        min-height: 58px;
        font-size: 10px;
        padding: 0 2px;
    }
    .mobile-bottom a [data-lucide] {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    /* Extra small — logo text size reduce */
    .brand-name-text {
        font-size: 16px;
    }
    .img-search-fab {
        width: 36px;
        height: 36px;
    }
    .img-search-fab [data-lucide] {
        width: 16px;
        height: 16px;
    }
}
