.storefront-body {
    font-family: var(--store-font-family, var(--bs-body-font-family, system-ui));
    background:
        radial-gradient(circle at top left, rgba(13, 110, 253, 0.1), transparent 26%),
        radial-gradient(circle at top right, rgba(25, 135, 84, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 250, 252, 0.92)),
        var(--store-background, #f6f7f9);
    color: var(--store-secondary, #111827);
    min-height: 100vh;
}

.storefront-header,
.storefront-footer {
    background: var(--store-surface, #fff);
}

.storefront-footer {
    margin-top: 3rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.storefront-topbar {
    background: var(--store-secondary, #111827);
    color: rgba(255, 255, 255, 0.82);
    font-size: .86rem;
}

.storefront-topbar-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.storefront-topbar-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.storefront-topbar a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
}

.storefront-topbar a:hover {
    color: #fff;
}

.storefront-main {
    padding-bottom: 1rem;
}

.storefront-main > .container {
    max-width: 1320px;
}

.storefront-footer-main {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98)),
        var(--store-surface, #fff);
}

.storefront-footer-main-home {
    background:
        radial-gradient(circle at top left, rgba(13, 110, 253, 0.12), transparent 30%),
        radial-gradient(circle at bottom right, rgba(25, 135, 84, 0.1), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 248, 252, 0.98)),
        var(--store-surface, #fff);
}

.storefront-footer-lead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem 0 1.75rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.storefront-footer-lead-home {
    align-items: stretch;
    padding: 1.6rem 1.6rem 1.5rem;
    margin-top: 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96)),
        rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.08);
}

.storefront-footer-lead-copy {
    display: grid;
    gap: .45rem;
    max-width: 44rem;
}

.storefront-footer-eyebrow {
    color: var(--store-primary, #0d6efd);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.storefront-footer-lead-title {
    margin: 0;
    color: var(--store-secondary, #111827);
    font-size: clamp(1.35rem, 1.1vw + 1rem, 2rem);
    font-weight: 750;
    line-height: 1.2;
}

.storefront-footer-lead-text {
    color: rgba(17, 24, 39, 0.68);
    line-height: 1.7;
}

.storefront-footer-lead-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .75rem;
}

.storefront-footer-signal-list {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: .75rem;
}

.storefront-footer-signal {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-height: 40px;
    padding: .65rem .85rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.78);
    color: rgba(17, 24, 39, 0.8);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.storefront-footer-signal i {
    color: var(--store-primary, #0d6efd);
    font-size: 1rem;
}

.storefront-footer-lead-button {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-height: 44px;
    padding: .7rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    color: var(--store-secondary, #111827);
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    transition: transform .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.storefront-footer-lead-button:hover {
    transform: translateY(-1px);
    border-color: rgba(13, 110, 253, 0.28);
    color: var(--store-primary, #0d6efd);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.storefront-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 1.5rem;
    padding: 1.75rem 0 2rem;
}

.storefront-footer-grid-home {
    padding-top: 2rem;
}

.storefront-has-compact-footer .storefront-footer {
    margin-top: 2rem;
}

.storefront-footer-compact-main {
    background: rgba(255, 255, 255, 0.96);
}

.storefront-footer-compact-row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem 1.5rem;
    padding: 1rem 0;
}

.storefront-footer-compact-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .75rem;
}

.storefront-footer-compact-links {
    justify-content: flex-end;
}

.storefront-footer-compact .storefront-footer-bottom {
    padding: .8rem 0;
}

.storefront-footer-brand {
    display: grid;
    gap: .85rem;
}

.storefront-footer-brand-note {
    color: rgba(17, 24, 39, 0.62);
    font-size: .95rem;
    line-height: 1.7;
    max-width: 30rem;
}

.storefront-footer-brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    max-width: max-content;
}

.storefront-footer-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(13, 110, 253, 0.08);
    color: var(--store-primary, #0d6efd);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(13, 110, 253, 0.08);
}

.storefront-footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.storefront-footer-title {
    color: var(--store-secondary, #111827);
    font-size: 1.05rem;
    font-weight: 700;
}

.storefront-footer-subtitle,
.storefront-footer-copy,
.storefront-footer-empty,
.storefront-footer-bank,
.storefront-footer-bottom,
.storefront-footer-meta {
    color: rgba(17, 24, 39, 0.7);
}

.storefront-footer-copy {
    max-width: 32rem;
    line-height: 1.7;
}

.storefront-footer-meta {
    display: grid;
    gap: .55rem;
    font-size: .95rem;
}

.storefront-footer-meta span,
.storefront-footer-contact {
    display: inline-flex;
    align-items: flex-start;
    gap: .7rem;
}

.storefront-footer-meta span {
    width: fit-content;
    padding: .7rem .85rem;
    border: 1px solid rgba(13, 110, 253, 0.08);
    border-radius: 14px;
    background: rgba(13, 110, 253, 0.05);
}

.storefront-footer-meta i,
.storefront-footer-contact i,
.storefront-footer-social i {
    color: var(--store-primary, #0d6efd);
    font-size: 1rem;
    line-height: 1.4;
}

.storefront-footer-heading {
    margin-bottom: 1rem;
    color: var(--store-secondary, #111827);
    font-size: .95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.storefront-footer-heading-spaced {
    margin-top: 1.5rem;
}

.storefront-footer-stack {
    display: grid;
    gap: .85rem;
}

.storefront-footer-contact,
.storefront-footer-links a,
.storefront-footer-bottom-links a {
    color: rgba(17, 24, 39, 0.78);
    text-decoration: none;
}

.storefront-footer-contact {
    width: fit-content;
    padding: .7rem .85rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    transition: transform .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.storefront-footer-contact:hover,
.storefront-footer-links a:hover,
.storefront-footer-bottom-links a:hover {
    background: rgba(13, 110, 253, 0.08);
    border-color: rgba(13, 110, 253, 0.18);
    color: var(--store-primary, #0d6efd);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08);
}

.storefront-footer-social:hover {
    color: var(--store-primary, #0d6efd);
}

.storefront-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.storefront-footer-links a {
    width: fit-content;
    padding: .65rem .9rem;
    border-radius: 999px;
    border: 1px solid rgba(13, 110, 253, 0.08);
    background: rgba(13, 110, 253, 0.05);
}

.storefront-footer-bottom-links a {
    width: fit-content;
    padding: .55rem .85rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.78);
}

.storefront-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.storefront-footer-social {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .65rem .9rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.06);
    border: 1px solid rgba(13, 110, 253, 0.08);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    color: rgba(17, 24, 39, 0.78);
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.storefront-footer-social:hover {
    background: rgba(13, 110, 253, 0.12);
    transform: translateY(-1px);
}

.storefront-footer-bank {
    display: grid;
    gap: .45rem;
    line-height: 1.65;
}

.storefront-footer-bank-name {
    color: var(--store-secondary, #111827);
    font-weight: 700;
}

.storefront-footer-bottom {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.92);
    font-size: .92rem;
}

.storefront-footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0 1.15rem;
}

.storefront-footer-bottom-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.storefront-scroll-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--store-primary, #0d6efd), #d4a017);
    color: #fff;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease, box-shadow .2s ease;
    z-index: 1090;
}

.storefront-scroll-top i {
    font-size: 1.2rem;
}

.storefront-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.storefront-scroll-top:hover {
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.24);
}

.storefront-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.storefront-navbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
}

.storefront-nav-center {
    display: flex;
    justify-content: center;
}

.storefront-nav-search {
    display: grid;
    grid-template-columns: auto minmax(280px, 1fr) auto;
    width: min(100%, 760px);
    align-items: stretch;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.storefront-nav-category {
    min-width: 170px;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-right: 0;
    border-radius: 999px 0 0 999px;
    background: #f8fafc;
    color: var(--store-secondary, #111827);
    padding: .8rem 1rem;
    box-shadow: none !important;
}

.storefront-category-menu {
    min-width: 240px;
    max-height: 320px;
    overflow: auto;
    z-index: 1070;
}

.storefront-nav-search-input {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-color: rgba(15, 23, 42, 0.09);
    min-height: 48px;
    box-shadow: none !important;
}

.storefront-nav-search-button {
    border-radius: 0 999px 999px 0;
    background: var(--store-primary, #0d6efd);
    border-color: var(--store-primary, #0d6efd);
    color: #fff;
    min-width: 64px;
}

.storefront-nav-search-button:hover,
.storefront-nav-search-button:focus {
    color: #fff;
    background: var(--store-primary, #0d6efd);
    border-color: var(--store-primary, #0d6efd);
}

.storefront-nav-actions {
    display: flex;
    align-items: center;
    gap: .85rem;
    white-space: nowrap;
}

.storefront-nav-link {
    text-decoration: none;
    color: var(--store-secondary, #111827);
    font-weight: 600;
}

.storefront-nav-link-primary {
    color: var(--store-primary, #0d6efd);
}

.storefront-nav-action-button {
    background: transparent;
    border: 0;
    padding: 0;
}

.storefront-account-pill {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.08);
    color: var(--store-secondary, #111827);
    font-weight: 600;
    border: 1px solid rgba(13, 110, 253, 0.08);
}

.storefront-cart-button {
    border-radius: 999px;
    padding-left: .9rem;
    padding-right: .9rem;
    border-color: rgba(15, 23, 42, 0.16);
    background: #fff;
}

.storefront-mobile-account-menu {
    display: none;
}

.storefront-header-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    color: var(--store-secondary, #111827);
    box-shadow: none;
}

.storefront-header-icon-button i {
    font-size: 1.1rem;
    line-height: 1;
}

.storefront-brand {
    min-width: 0;
}

.storefront-brand-copy {
    min-width: 0;
}

.storefront-logo {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--store-secondary, #111827);
    color: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex: 0 0 auto;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 10px 22px rgba(15, 23, 42, 0.08);
}

.storefront-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.storefront-logo span {
    font-weight: 700;
    letter-spacing: 0;
}

.storefront-hero,
.order-banner,
.empty-state,
.storefront-side {
    background: var(--store-surface, #fff);
}

.storefront-slider-section {
    background: var(--store-surface, #fff);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.storefront-slider {
    position: relative;
}

.storefront-slide {
    position: relative;
    min-height: 360px;
    aspect-ratio: 16 / 5.8;
    overflow: hidden;
    background: var(--store-secondary, #111827);
}

.storefront-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.storefront-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.62), rgba(17, 24, 39, 0.22));
}

.storefront-slide-copy {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    max-width: min(720px, calc(100% - 3rem));
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
}

.storefront-slide-copy p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}

.storefront-slide-copy .btn {
    margin-top: 0.25rem;
}

.btn-dark,
.btn-primary,
.btn-outline-dark:hover,
.btn-outline-dark:focus,
.chip.active,
.chip:hover {
    background: var(--store-primary, #0d6efd);
    border-color: var(--store-primary, #0d6efd);
    color: #fff;
}

.btn-outline-primary {
    color: var(--store-primary, #0d6efd);
    border-color: var(--store-primary, #0d6efd);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--store-primary, #0d6efd);
    border-color: var(--store-primary, #0d6efd);
    color: #fff;
}

.storefront-accent {
    color: var(--store-accent, #198754);
}

.storefront-slider .swiper-button-prev,
.storefront-slider .swiper-button-next {
    color: #fff;
}

.storefront-slider .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.8);
    opacity: 1;
}

.storefront-slider .swiper-pagination-bullet-active {
    background: #fff;
}

.slider-image-preview {
    max-width: 220px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #f8fafc;
}

.slider-image-preview img {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.storefront-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
    gap: 1.25rem;
    align-items: end;
    padding: 1.5rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.storefront-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(13, 110, 253, 0.12), transparent 34%),
        linear-gradient(315deg, rgba(25, 135, 84, 0.1), transparent 32%);
    pointer-events: none;
}

.storefront-hero > * {
    position: relative;
    z-index: 1;
}

.storefront-chipbar {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.storefront-service-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.storefront-service-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 68px;
    padding: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
    color: rgba(17, 24, 39, 0.78);
    font-weight: 650;
}

.storefront-service-item i {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    color: var(--store-primary, #0d6efd);
    background: rgba(13, 110, 253, 0.09);
    font-size: 1.15rem;
    flex: 0 0 auto;
}

.storefront-category-rail {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    padding: .25rem .1rem .45rem;
    scrollbar-width: thin;
}

.storefront-category-rail a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .65rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.96);
    color: rgba(17, 24, 39, 0.76);
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
}

.storefront-category-rail a.active,
.storefront-category-rail a:hover {
    background: var(--store-primary, #0d6efd);
    border-color: var(--store-primary, #0d6efd);
    color: #fff;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: .45rem .8rem;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    text-decoration: none;
    color: #374151;
    background: #fff;
    font-size: .9rem;
}

.chip.active,
.chip:hover {
    background: var(--store-primary, #111827);
    color: #fff;
    border-color: var(--store-primary, #111827);
}

.storefront-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.15rem;
}

.storefront-grid.storefront-catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.storefront-grid.is-list-view {
    grid-template-columns: 1fr;
}

.storefront-grid.storefront-catalog-grid.is-list-view {
    grid-template-columns: 1fr;
}

.product-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: var(--store-surface, #fff);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.storefront-grid.is-list-view .product-card {
    flex-direction: row;
    align-items: stretch;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 54px rgba(15, 23, 42, 0.12);
    border-color: rgba(13, 110, 253, 0.28);
}

.product-card-media {
    position: relative;
}

.product-card-image {
    display: block;
    aspect-ratio: 1 / 1;
    background: #f3f4f6;
    overflow: hidden;
}

.storefront-grid.is-list-view .product-card-media {
    width: 180px;
    min-width: 180px;
    flex: 0 0 180px;
}

.product-card-overlay {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .4rem;
    pointer-events: none;
}

.product-card-overlay-top {
    top: .75rem;
    left: .75rem;
    flex-wrap: wrap;
    max-width: calc(100% - 4rem);
}

.product-card-overlay-actions {
    top: .75rem;
    right: .75rem;
    pointer-events: auto;
}

.product-card-wishlist-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.96);
    color: #111827;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}

.product-card-wishlist-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
}

.product-card-wishlist-btn-active {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.product-card-wishlist-btn-inactive {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(15, 23, 42, 0.1);
    color: #111827;
}

.product-card-image img,
.product-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.product-hero img[data-product-zoom] {
    cursor: zoom-in;
}

.drift-zoom-pane,
.drift-bounding-box,
.drift-zoom-pane-loader {
    z-index: 1095;
}

.product-card:hover .product-card-image img {
    transform: scale(1.035);
}

.product-detail-shell {
    display: grid;
    gap: 1.5rem;
}

.product-detail-media,
.product-detail-card {
    background: var(--store-surface, #fff);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
}

.product-detail-media {
    padding: 1rem;
    display: grid;
    gap: 1rem;
    align-self: start;
}

.product-media-stage {
    display: grid;
    gap: .75rem;
}

.product-media-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: wrap;
    color: rgba(17, 24, 39, 0.68);
    font-size: .9rem;
}

.product-media-caption-note {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.product-media-caption-note i {
    color: var(--store-primary, #0d6efd);
    font-size: 1rem;
}

.product-media-caption-label {
    font-weight: 700;
    color: var(--store-secondary, #111827);
}

.product-media-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
    gap: .7rem;
}

.product-media-thumb {
    width: 100%;
    display: grid;
    gap: .4rem;
    padding: .5rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    background: #fff;
    color: rgba(17, 24, 39, 0.76);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
    text-align: left;
}

.product-media-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 11px;
    background: #f3f4f6;
}

.product-media-thumb span {
    display: -webkit-box;
    min-height: 2.15em;
    overflow: hidden;
    font-size: .78rem;
    font-weight: 650;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-media-thumb:hover,
.product-media-thumb.is-active {
    transform: translateY(-1px);
    border-color: rgba(13, 110, 253, 0.26);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.product-media-thumb.is-active {
    background: rgba(13, 110, 253, 0.06);
}

.product-media-thumb:focus-visible {
    outline: 2px solid rgba(13, 110, 253, 0.38);
    outline-offset: 2px;
}

.product-detail-card {
    padding: 1.5rem;
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 992px) {
    .product-detail-media {
        position: sticky;
        top: 1rem;
    }
}

.product-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.product-detail-category {
    color: var(--store-primary, #0d6efd);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: .4rem;
}

.product-detail-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: var(--store-secondary, #111827);
}

.product-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
}

.product-detail-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(25, 135, 84, 0.08));
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--store-secondary, #111827);
}

.product-detail-availability {
    display: grid;
    justify-items: end;
    gap: .2rem;
}

.product-detail-qty-label {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: rgba(17, 24, 39, 0.55);
}

.product-detail-availability strong {
    font-size: 1.1rem;
    color: var(--store-primary, #0d6efd);
}

.product-detail-summary {
    color: rgba(17, 24, 39, 0.72);
    line-height: 1.75;
}

.product-detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}

.product-detail-meta-card {
    display: grid;
    gap: .35rem;
    padding: .95rem 1rem;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.product-detail-meta-card span {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: rgba(17, 24, 39, 0.52);
}

.product-detail-meta-card strong {
    color: var(--store-secondary, #111827);
}

.product-detail-buy-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    padding: .95rem 1rem;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.product-detail-buy-summary-item {
    display: grid;
    gap: .3rem;
}

.product-detail-buy-summary-item span {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: rgba(17, 24, 39, 0.52);
}

.product-detail-buy-summary-item strong {
    color: var(--store-secondary, #111827);
    line-height: 1.45;
}

.product-detail-order-form {
    display: grid;
    gap: 1rem;
}

.product-detail-more {
    padding: .95rem 1rem;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.product-detail-more summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
    color: var(--store-secondary, #111827);
    font-weight: 700;
}

.product-detail-more summary::-webkit-details-marker {
    display: none;
}

.product-detail-more summary i {
    font-size: 1.15rem;
    color: var(--store-primary, #0d6efd);
    transition: transform .2s ease;
}

.product-detail-more[open] summary i {
    transform: rotate(180deg);
}

.product-detail-more-body {
    display: grid;
    gap: 1rem;
    padding-top: .95rem;
}

.product-detail-field .form-label {
    color: var(--store-secondary, #111827);
    font-weight: 600;
}

.product-detail-select,
.product-detail-qty-input {
    min-height: 52px;
    border-radius: 12px;
    border-color: rgba(15, 23, 42, 0.14);
    box-shadow: none !important;
}

.product-detail-actions {
    display: grid;
    grid-template-columns: minmax(130px, 160px) minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: .85rem;
}

.product-detail-qty-field {
    min-width: 0;
}

.product-detail-cart-btn {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    border-radius: 12px;
}

.product-detail-buy-btn {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    border-radius: 12px;
}

.product-detail-secondary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.product-detail-share .dropdown-toggle {
    min-width: 140px;
}

.product-detail-share-menu {
    min-width: 255px;
    padding: .45rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.product-detail-share-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .72rem .85rem;
    border-radius: 12px;
}

.product-detail-share-menu .dropdown-item i {
    color: var(--store-primary, #0d6efd);
    font-size: 1rem;
}

.product-detail-share-menu .dropdown-item:active {
    background: var(--store-primary, #0d6efd);
    color: #fff;
}

.product-detail-share-menu .dropdown-item:active i {
    color: #fff;
}

.product-detail-share-menu .dropdown-divider {
    margin: .35rem 0;
}

.product-detail-note {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-top: 1rem;
    padding: .95rem 1rem;
    border-radius: 14px;
    background: #f8fafc;
    color: rgba(17, 24, 39, 0.72);
    font-size: .95rem;
}

.product-detail-note i {
    color: var(--store-accent, #198754);
    font-size: 1.1rem;
}

.product-card-body {
    padding: 1.05rem 1.05rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: .45rem;
    flex: 1 1 auto;
}

.storefront-grid.is-list-view .product-card-body {
    justify-content: center;
}

.product-card-kicker {
    color: rgba(17, 24, 39, 0.52);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.product-card-meta {
    color: rgba(17, 24, 39, 0.62);
    font-size: .82rem;
}

.product-card-price-stack {
    display: grid;
    gap: .2rem;
}

.product-card-price {
    font-size: 1.05rem;
    line-height: 1.2;
}

.product-card-promo {
    min-height: 1.35rem;
}

.product-card-footer {
    padding-top: .35rem;
}

.product-card-cta {
    min-height: 44px;
    border-radius: 12px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.catalog-sidebar {
    position: sticky;
    top: 1rem;
}

.storefront-catalog-mobile-tools .storefront-catalog-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 48px;
}

@media (min-width: 992px) {
    .storefront-filter-drawer.collapse {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
    }
}

.storefront-auth-modal .modal-content {
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
}

.storefront-auth-modal .modal-dialog {
    max-width: 620px;
}

.storefront-register-shell {
    padding: 1.2rem 1.2rem 1.4rem;
}

.storefront-register-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.storefront-register-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.storefront-register-badge span {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--store-primary, #0d6efd);
}

.storefront-register-title {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0;
    color: #1f2937;
}

.storefront-register-subtitle {
    font-size: 1.05rem;
    line-height: 1.5;
    color: #8b95ad;
}

.storefront-register-form {
    max-width: 100%;
}

.storefront-register-input {
    border: 1px solid #d8dbe5;
    border-radius: 12px;
    min-height: 56px;
    padding-left: 1rem;
    padding-right: 1rem;
    box-shadow: none !important;
}

.storefront-register-input:focus {
    border-color: rgba(13, 110, 253, 0.45);
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, 0.08) !important;
}

.storefront-password-group .btn {
    border-color: #d8dbe5;
    border-left: 0;
    border-radius: 0 12px 12px 0;
    color: #4b5563;
}

.storefront-register-check {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    color: #8b95ad;
    font-size: 1rem;
    line-height: 1.4;
}

.storefront-register-check input {
    width: 18px;
    height: 18px;
    margin-top: .15rem;
    flex: 0 0 auto;
    accent-color: var(--store-primary, #0d6efd);
}

.storefront-register-submit {
    min-height: 54px;
    border: 0;
    border-radius: 12px;
    background: #d4a017;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 500;
    box-shadow: 0 10px 24px rgba(212, 160, 23, 0.24);
}

.storefront-register-submit:hover,
.storefront-register-submit:focus {
    background: #c89212;
    color: #fff;
}

.storefront-register-footer {
    color: #8b95ad;
    font-size: 1rem;
}

.storefront-auth-modal .modal-header {
    padding: 1.25rem 1.25rem 0;
}

.storefront-auth-modal .modal-body {
    padding: 1rem 1.25rem 1.25rem;
}

.storefront-auth-modal .btn-link {
    color: var(--store-primary, #0d6efd);
    text-decoration: none;
}

.storefront-auth-modal .btn-link:hover {
    text-decoration: underline;
}

.filter-panel,
.sidebar-panel {
    background: var(--store-surface, #fff);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.055);
}

.sidebar-panel + .sidebar-panel {
    margin-top: 1rem;
}

.filter-list {
    display: grid;
    gap: .35rem;
}

.storefront-category-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.storefront-category-browser {
    display: flex;
    flex-direction: column;
    gap: .95rem;
    min-height: 0;
}

.storefront-category-search-input {
    min-height: 46px;
    border-radius: 12px;
}

.storefront-category-rail--compact {
    gap: .5rem;
    padding-bottom: .2rem;
}

.storefront-category-rail--compact a {
    min-height: 40px;
    padding: .55rem .85rem;
    font-size: .9rem;
}

.storefront-category-list {
    max-height: clamp(280px, 46vh, 520px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: .2rem;
    scrollbar-gutter: stable;
}

.storefront-category-empty {
    padding: .85rem .9rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px dashed rgba(15, 23, 42, 0.12);
}

.filter-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .78rem .9rem;
    border-radius: 14px;
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
    background: #f9fafb;
}

.filter-list.storefront-category-list a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.filter-list.storefront-category-list a span {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.filter-list.storefront-category-list a strong {
    flex: 0 0 auto;
    white-space: nowrap;
}

.filter-list a.active,
.filter-list a:hover {
    background: rgba(13, 110, 253, 0.08);
    border-color: rgba(13, 110, 253, 0.16);
    color: var(--store-primary, #0d6efd);
}

.price-filter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .8rem;
}

.section-heading h2,
.section-heading h3 {
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 700;
}

.hero-card {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.09), rgba(25, 135, 84, 0.05)), var(--store-surface, #fff);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.ecommerce-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(25, 135, 84, 0.05)),
        rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.055);
}

.ecommerce-eyebrow {
    color: var(--store-primary, #0d6efd);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: .35rem;
}

.ecommerce-page-title {
    margin: 0;
    color: var(--store-secondary, #111827);
    font-size: clamp(1.65rem, 2.1vw, 2.3rem);
    font-weight: 750;
}

.ecommerce-panel,
.ecommerce-summary-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.055);
}

.ecommerce-panel {
    padding: 1rem;
}

.ecommerce-summary-card {
    padding: 1.15rem;
    position: sticky;
    top: 96px;
}

.ecommerce-summary-title {
    color: var(--store-secondary, #111827);
    font-size: .95rem;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: .75rem;
}

.ecommerce-total-row {
    margin-top: .4rem;
    padding-top: .8rem;
    border-top: 1px solid rgba(15, 23, 42, 0.1);
    font-size: 1.05rem;
}

.ecommerce-form-card {
    padding: 1.25rem;
}

.ecommerce-form-card .form-control,
.ecommerce-form-card .form-select {
    min-height: 48px;
    border-radius: 12px;
    border-color: rgba(15, 23, 42, 0.13);
    box-shadow: none !important;
}

.ecommerce-form-card textarea.form-control {
    min-height: auto;
}

.ecommerce-form-card .form-label {
    color: rgba(17, 24, 39, 0.8);
    font-weight: 600;
}

.account-shell,
.account-panel,
.account-metric-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.account-shell {
    padding: 1.5rem;
    background:
        linear-gradient(135deg, rgba(13, 110, 253, 0.09), rgba(13, 110, 253, 0.02)),
        rgba(255, 255, 255, 0.96);
}

.account-shell-header,
.account-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.account-shell-header {
    margin-bottom: 1.25rem;
}

.account-shell-eyebrow,
.account-panel-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--store-primary, #0d6efd);
    margin-bottom: .45rem;
}

.account-shell-title,
.account-panel-title {
    margin: 0;
    color: #111827;
}

.account-shell-title {
    font-size: clamp(1.8rem, 2vw, 2.35rem);
    font-weight: 700;
}

.account-panel-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.account-shell-copy {
    max-width: 720px;
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
}

.account-shell-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.account-nav-grid,
.account-details-grid,
.account-metrics {
    display: grid;
    gap: 1rem;
}

.account-nav-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-nav-card {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    text-decoration: none;
    color: #111827;
    background: rgba(248, 250, 252, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.08);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.account-nav-card strong {
    font-size: 1.05rem;
}

.account-nav-card span:last-child {
    color: #6b7280;
    font-size: .92rem;
    line-height: 1.45;
}

.account-nav-kicker {
    color: var(--store-primary, #0d6efd) !important;
    font-size: .78rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.account-nav-card:hover,
.account-nav-card.is-active {
    color: #111827;
    border-color: rgba(13, 110, 253, 0.18);
    box-shadow: 0 16px 30px rgba(13, 110, 253, 0.12);
    transform: translateY(-2px);
}

.account-nav-card.is-active {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.14), rgba(13, 110, 253, 0.04));
}

.account-panel {
    padding: 1.5rem;
}

.account-profile-heading {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.account-avatar {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--store-primary, #0d6efd);
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.14), rgba(13, 110, 253, 0.04));
}

.account-panel-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .15rem;
    color: #111827;
}

.account-balance-label,
.account-detail-label {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6b7280;
}

.account-details-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.25rem;
}

.account-detail-card {
    min-height: 132px;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.account-detail-card strong {
    font-size: 1rem;
    color: #111827;
    line-height: 1.55;
}

.account-detail-card-wide {
    grid-column: span 2;
}

.account-support-note {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    color: #6b7280;
}

.account-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-metric-card {
    padding: 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.account-metric-card strong {
    font-size: 1.7rem;
    color: #111827;
}

.account-orders-table {
    margin-top: 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    overflow: hidden;
}

.account-orders-table thead th {
    background: #f8fafc;
    border-bottom-width: 1px;
    color: #6b7280;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.account-orders-table tbody td {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.account-status-badge {
    display: inline-flex;
    align-items: center;
    padding: .45rem .75rem;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700;
}

.account-status-badge.is-paid {
    background: rgba(25, 135, 84, 0.12);
    color: #166534;
}

.account-status-badge.is-pending {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
}

.account-status-badge.is-neutral {
    background: rgba(107, 114, 128, 0.14);
    color: #374151;
}

.account-status-badge.is-success {
    background: rgba(13, 148, 136, 0.12);
    color: #0f766e;
}

.account-status-badge.is-failed {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.account-status-badge.is-closed {
    background: rgba(31, 41, 55, 0.12);
    color: #111827;
}

.account-empty-state {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.04), rgba(13, 110, 253, 0.01));
}

.account-address-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.account-address-list {
    display: grid;
    gap: 1rem;
}

.account-address-card,
.account-address-form-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: #f8fafc;
}

.account-address-card {
    padding: 1rem 1.05rem;
}

.account-address-card.is-default {
    border-color: rgba(13, 110, 253, 0.18);
    box-shadow: 0 12px 28px rgba(13, 110, 253, 0.08);
}

.account-address-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.account-address-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: .35rem;
}

.account-address-title-row h3 {
    margin: 0;
    font-size: 1.05rem;
}

.account-address-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
}

.account-address-actions form {
    margin: 0;
}

.account-address-copy {
    margin-top: .85rem;
    color: #111827;
    line-height: 1.6;
}

.account-address-form-card {
    padding: 1.15rem;
}

.checkout-address-picker {
    display: grid;
    gap: .75rem;
}

.checkout-address-option {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 16px;
    background: #f8fafc;
    cursor: pointer;
}

.checkout-address-option input {
    margin-top: .25rem;
    accent-color: var(--store-primary, #0d6efd);
}

.checkout-address-option span {
    display: grid;
    gap: .2rem;
}

.checkout-address-option small {
    color: #6b7280;
    line-height: 1.45;
}

.order-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
    gap: 1.5rem;
    align-items: start;
}

.order-shell-main,
.order-sidebar-card,
.order-table-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.order-shell-main {
    padding: 1.5rem;
}

.order-shell-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.order-flow-card {
    padding: 1rem 1.05rem;
    margin-bottom: 1.25rem;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.98));
}

.order-flow-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.order-flow-head strong {
    display: block;
    color: #111827;
}

.order-flow-track {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .75rem;
}

.order-flow-step {
    display: grid;
    gap: .4rem;
    padding: .8rem .85rem;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    color: #6b7280;
}

.order-flow-step strong {
    color: #111827;
    font-size: .98rem;
}

.order-flow-step span {
    font-size: .82rem;
    line-height: 1.45;
}

.order-flow-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(107, 114, 128, 0.35);
}

.order-flow-step.complete {
    border-color: rgba(22, 163, 74, 0.18);
    background: rgba(240, 253, 244, 0.8);
    color: #166534;
}

.order-flow-step.complete .order-flow-dot {
    background: #16a34a;
}

.order-flow-step.current {
    border-color: rgba(13, 110, 253, 0.24);
    background: rgba(239, 246, 255, 0.95);
    color: #1d4ed8;
}

.order-flow-step.current .order-flow-dot {
    background: var(--store-primary, #0d6efd);
}

.order-flow-step.failed {
    border-color: rgba(245, 158, 11, 0.24);
    background: rgba(255, 251, 235, 0.95);
    color: #b45309;
}

.order-flow-step.failed .order-flow-dot {
    background: #f59e0b;
}

.order-flow-footer {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem;
    color: #6b7280;
    font-size: .92rem;
}

.order-shell-eyebrow {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--store-primary, #0d6efd);
    margin-bottom: .45rem;
}

.order-shell-title {
    margin: 0;
    font-size: clamp(1.6rem, 2vw, 2.25rem);
    color: #111827;
}

.order-shell-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.order-meta-card {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #f8fafc;
    color: #6b7280;
    line-height: 1.7;
}

.order-meta-card strong {
    display: block;
    color: #111827;
    font-size: 1.05rem;
    margin-bottom: .2rem;
}

.order-meta-amount {
    font-size: 1.6rem !important;
}

.order-table-card {
    overflow: hidden;
}

.order-table-card table thead th {
    background: #f3f6fb;
    color: #6b7280;
    border-bottom-width: 1px;
    padding: 1rem 1.1rem;
    font-size: .88rem;
}

.order-table-card table tbody td,
.order-table-card table tfoot td {
    padding: 1rem 1.1rem;
}

.order-table-card table tfoot td {
    background: #fff;
}

.order-table-total td {
    font-weight: 700;
    font-size: 1.05rem;
    border-top-width: 1px;
}

.order-sidebar {
    position: sticky;
    top: 1rem;
}

.order-sidebar-card {
    padding: 1.5rem;
}

.order-sidebar-card h2 {
    margin: 0 0 1.25rem;
    font-size: 1.25rem;
    color: #111827;
}

.order-detail-highlight,
.order-note-box,
.order-payment-box {
    border-radius: 18px;
    border: 1px solid rgba(13, 110, 253, 0.2);
    background: rgba(248, 250, 252, 0.96);
    padding: 1rem 1.05rem;
}

.order-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.order-detail-row:last-of-type {
    border-bottom: 0;
}

.order-detail-row strong {
    color: #d89a09;
}

.order-note-box {
    margin-top: 1rem;
    border-color: rgba(15, 23, 42, 0.08);
}

.order-payment-stack {
    display: grid;
    gap: 1rem;
}

.product-card-title,
.product-card-summary {
    margin-bottom: 0;
}

.product-card-title a {
    display: -webkit-box;
    overflow: hidden;
    color: inherit;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card-summary {
    min-height: 3rem;
}

.cart-row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto auto;
    gap: 1rem;
    align-items: center;
    padding: .85rem 0;
}

.cart-row + .cart-row {
    border-top: 1px solid #e5e7eb;
}

.cart-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    background: #f3f4f6;
}

@media (max-width: 767.98px) {
    .storefront-topbar-inner {
        justify-content: center;
        text-align: center;
    }

    .storefront-topbar-links:last-child {
        display: none;
    }

    .ecommerce-page-head {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .ecommerce-summary-card {
        position: static;
    }

    .storefront-service-strip {
        grid-template-columns: 1fr;
    }

    .product-detail-card,
    .product-detail-media {
        padding: 1rem;
        border-radius: 18px;
    }

    .product-detail-head,
    .product-detail-price-row,
    .product-detail-secondary-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-detail-more {
        padding: .85rem .9rem;
        border-radius: 14px;
    }

    .product-detail-more-body {
        gap: .85rem;
    }

    .product-detail-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        position: sticky;
        bottom: 0;
        z-index: 15;
        margin: .25rem -1rem -1rem;
        padding: .9rem 1rem calc(.9rem + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(15, 23, 42, 0.08);
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), #fff);
        box-shadow: 0 -14px 28px rgba(15, 23, 42, 0.10);
        backdrop-filter: blur(10px);
    }

    .product-detail-badges,
    .product-detail-availability {
        justify-content: flex-start;
        justify-items: start;
    }

    .product-detail-title {
        font-size: 1.65rem;
    }

    .product-detail-price {
        font-size: 1.65rem;
    }

    .product-detail-meta-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-buy-summary {
        grid-template-columns: 1fr;
    }

    .product-detail-qty-field {
        grid-column: 1 / -1;
    }

    .product-detail-cart-btn,
    .product-detail-buy-btn,
    .product-detail-qty-field {
        width: 100%;
    }

    .storefront-footer-lead {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem 0 1.25rem;
    }

    .storefront-footer-lead-home {
        padding: 1.35rem;
    }

    .storefront-footer-lead-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .storefront-footer-signal-list {
        width: 100%;
    }

    .storefront-footer-lead-button,
    .storefront-footer-contact,
    .storefront-footer-links a,
    .storefront-footer-bottom-links a {
        width: 100%;
        justify-content: center;
    }

    .storefront-footer-meta span {
        width: 100%;
    }

    .storefront-footer-links {
        width: 100%;
    }

    .storefront-footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding: 2.25rem 0 2rem;
    }

    .storefront-scroll-top {
        right: 1rem;
        bottom: 1rem;
        width: 48px;
        height: 48px;
    }

    .storefront-footer-brand-mark {
        align-items: flex-start;
    }

    .storefront-footer-socials {
        gap: .55rem;
    }

    .storefront-footer-social {
        width: 100%;
        justify-content: center;
    }

    .storefront-footer-bottom-row,
    .storefront-footer-bottom-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .storefront-navbar {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: .65rem .75rem;
    }

    .storefront-nav-center {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .storefront-nav-search {
        grid-template-columns: minmax(92px, .42fr) minmax(0, 1fr) 46px;
        width: 100%;
    }

    .storefront-nav-category {
        min-width: 0;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .storefront-nav-search-input {
        min-width: 0;
        width: 100%;
    }

    .storefront-nav-search-button {
        min-width: 46px;
    }

    .storefront-slide {
        min-height: 260px;
    }

    .storefront-slide-copy {
        max-width: calc(100% - 2rem);
    }

    .account-shell,
    .account-panel {
        padding: 1.1rem;
        border-radius: 18px;
    }

    .account-shell-title {
        font-size: 1.5rem;
    }

    .account-shell-header,
    .account-panel-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .account-shell-actions {
        width: 100%;
    }

    .account-shell-actions .btn {
        flex: 1 1 100%;
    }

    .account-nav-grid,
    .account-details-grid,
    .account-metrics,
    .order-shell-meta {
        grid-template-columns: 1fr;
    }

    .account-address-layout {
        grid-template-columns: 1fr;
    }

    .account-address-card-top {
        flex-direction: column;
    }

    .account-address-actions {
        justify-content: flex-start;
    }

    .account-detail-card-wide {
        grid-column: auto;
    }

    .account-panel-meta {
        align-items: flex-start;
    }
}

.cart-controls {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.product-hero {
    background: #fff;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

@media (max-width: 991px) {
    .storefront-service-strip {
        grid-template-columns: 1fr;
    }

    .product-detail-buy-column {
        order: 1;
    }

    .product-detail-media-column {
        order: 2;
    }

    .product-detail-title {
        font-size: 1.8rem;
    }

    .storefront-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .storefront-footer-grid-home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .storefront-footer-compact-row {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .storefront-footer-compact-actions,
    .storefront-footer-compact-links {
        justify-content: flex-start;
    }

    .storefront-slide {
        min-height: 260px;
        aspect-ratio: auto;
    }

    .storefront-slide-copy {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: none;
    }

    .storefront-hero {
        grid-template-columns: 1fr;
    }

    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .catalog-sidebar {
        position: static;
    }

    .storefront-grid.is-list-view .product-card {
        flex-direction: column;
    }

    .storefront-grid.is-list-view .product-card-image {
        width: 100%;
        min-width: 0;
        flex: 1 1 auto;
    }

    .order-shell {
        grid-template-columns: 1fr;
    }

    .order-sidebar {
        position: static;
    }

    .account-nav-grid,
    .account-details-grid,
    .account-metrics,
    .account-address-layout,
    .order-shell-meta {
        grid-template-columns: 1fr;
    }

    .cart-row {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .cart-row > .text-end {
        grid-column: 1 / -1;
        text-align: left !important;
    }
}

@media (max-width: 991.98px) {
    .storefront-main {
        overflow-x: hidden;
        overflow-x: clip;
    }

    .storefront-slide-copy {
        left: 1rem;
        right: 1rem;
        top: auto;
        bottom: 1rem;
        max-width: none;
        transform: none;
        text-align: left;
    }

    .storefront-slide-copy h2 {
        font-size: 1.45rem;
    }

    .storefront-slide-copy p {
        font-size: .95rem;
    }

    .storefront-grid.storefront-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .9rem;
    }

    .section-heading {
        align-items: flex-start;
    }

    .section-heading > .d-flex {
        width: 100%;
    }

    .order-shell-main,
    .order-sidebar-card,
    .order-table-card {
        border-radius: 18px;
    }

    .order-table-card table,
    .account-orders-table table {
        min-width: 640px;
    }

    .order-flow-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1199.98px) {
    .storefront-grid.storefront-catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .storefront-body {
        background: var(--store-background, #f6f7f9);
    }

    .storefront-view-home .storefront-home-hero-tools,
    .storefront-view-home .storefront-catalog-quick-filters {
        display: none !important;
    }

    .storefront-topbar {
        font-size: .74rem;
    }

    .storefront-topbar-inner {
        min-height: auto;
        padding-top: .35rem;
        padding-bottom: .35rem;
    }

    .storefront-topbar-links {
        justify-content: center;
        gap: .4rem .65rem;
    }

    .storefront-header {
        position: sticky;
        top: 0;
        z-index: 1040;
        backdrop-filter: blur(16px);
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    }

    .storefront-header .container {
        padding-top: .65rem !important;
        padding-bottom: .7rem !important;
    }

    .storefront-logo {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .storefront-navbar {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: .6rem .75rem;
    }

    .storefront-brand {
        grid-column: 1;
        grid-row: 1;
    }

    .storefront-nav-actions {
        grid-column: 2;
        grid-row: 1;
    }

    .storefront-nav-center {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .storefront-brand {
        justify-content: flex-start;
        gap: .65rem !important;
    }

    .storefront-brand-copy {
        display: block;
        line-height: 1.15;
        overflow: hidden;
    }

    .storefront-brand-copy .fw-semibold {
        max-width: 13rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: .95rem;
    }

    .storefront-brand-copy .small {
        display: none;
    }

    .storefront-nav-search {
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    }

    .storefront-category-menu {
        width: calc(100vw - 2rem);
        min-width: 0;
        transform: none !important;
        inset: 100% auto auto 0 !important;
        z-index: 1070;
    }

    .storefront-mobile-account-menu .dropdown-menu {
        z-index: 1070;
    }

    .storefront-nav-actions {
        justify-content: flex-end;
        gap: .45rem;
        width: auto;
        white-space: nowrap;
    }

    .storefront-desktop-auth-action {
        display: none;
    }

    .storefront-mobile-account-menu {
        display: block;
    }

    .storefront-cart-button,
    .storefront-account-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        min-height: 0;
        border-radius: 999px;
        padding: 0;
        position: relative;
    }

    .storefront-cart-button i,
    .storefront-account-pill i {
        margin: 0 !important;
        font-size: 1.08rem;
        line-height: 1;
    }

    .storefront-account-pill::after {
        display: none;
    }

    .storefront-cart-button > span:not(.badge),
    .storefront-account-pill > span {
        display: none !important;
    }

    .storefront-cart-button .badge {
        position: absolute;
        top: -6px;
        right: -6px;
        min-width: 18px;
        height: 18px;
        padding: 0 .3rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: .68rem;
        border: 2px solid #fff;
    }

    .storefront-slider-section,
    .storefront-hero,
    .hero-card,
    .ecommerce-page-head,
    .ecommerce-panel,
    .ecommerce-summary-card,
    .account-shell,
    .account-panel,
    .account-metric-card,
    .order-shell-main,
    .order-sidebar-card,
    .order-table-card,
    .filter-panel,
    .sidebar-panel {
        border-radius: 14px;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
    }

    .storefront-main > .container {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .storefront-slide {
        min-height: 220px;
    }

    .storefront-slider .swiper-button-prev,
    .storefront-slider .swiper-button-next {
        display: none;
    }

    .order-flow-card {
        padding: .9rem;
        border-radius: 14px;
    }

    .order-flow-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-flow-track {
        grid-template-columns: 1fr;
    }

    .storefront-hero {
        padding: 1rem;
        gap: 1rem;
    }

    .storefront-hero .display-6 {
        font-size: 1.65rem;
        line-height: 1.15;
    }

    .storefront-hero-tools .col-6 {
        width: 100%;
    }

    .storefront-hero-tools form > .d-flex {
        flex-direction: column;
    }

    .storefront-hero-tools .btn {
        width: 100%;
    }

    .product-media-strip {
        grid-auto-flow: column;
        grid-template-columns: none;
        grid-auto-columns: minmax(84px, 84px);
        overflow-x: auto;
        padding-bottom: .2rem;
        scrollbar-width: thin;
    }

    .storefront-service-item {
        min-height: auto;
        padding: .85rem;
        border-radius: 14px;
    }

    .storefront-category-rail {
        margin-right: -.75rem;
        padding-bottom: .7rem;
    }

    .catalog-layout {
        gap: 1rem;
    }

    .storefront-footer-compact .storefront-footer-lead-button {
        width: 100%;
        justify-content: center;
    }

    .catalog-sidebar {
        display: grid;
        gap: .85rem;
    }

    .catalog-sidebar .sidebar-panel {
        margin-bottom: 0 !important;
    }

    .section-heading {
        flex-direction: column;
        gap: .6rem;
    }

    .section-heading > .d-flex {
        align-items: stretch !important;
        justify-content: flex-start !important;
    }

    .section-heading form.d-flex {
        flex: 1 1 100%;
        flex-wrap: wrap;
    }

    .section-heading .form-select {
        min-width: 150px;
    }

    .storefront-grid.storefront-catalog-grid {
        grid-template-columns: 1fr;
        gap: .9rem;
    }

    .product-card {
        border-radius: 14px;
    }

    .product-card:hover {
        transform: none;
    }

    .product-card-body {
        padding: .95rem;
    }

    .product-card-body .d-flex.align-items-center.gap-2 {
        flex-wrap: wrap;
        justify-content: flex-start !important;
    }

    .product-card-summary {
        min-height: 0;
    }

    .product-detail-shell {
        gap: 1rem;
    }

    .product-detail-secondary-actions,
    .product-detail-secondary-actions form,
    .product-detail-secondary-actions .btn,
    .product-detail-secondary-actions .dropdown {
        width: 100%;
    }

    .product-detail-share-menu {
        width: 100%;
        min-width: 0;
    }

    .product-detail-note {
        align-items: flex-start;
        font-size: .9rem;
    }

    .ecommerce-page-head .btn,
    .ecommerce-form-card .btn {
        width: 100%;
    }

    .ecommerce-form-card {
        padding: 1rem;
    }

    .checkout-address-option {
        padding: .85rem;
        border-radius: 14px;
    }

    .cart-row {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: .75rem;
        align-items: start;
        padding: 1rem 0;
    }

    .cart-thumb {
        width: 56px;
        height: 56px;
        border-radius: 9px;
    }

    .cart-controls {
        grid-column: 1 / -1;
    }

    .cart-controls form.d-flex {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: .5rem !important;
        width: 100%;
    }

    .cart-controls .form-control {
        max-width: none !important;
        min-width: 0;
    }

    .cart-controls .btn {
        white-space: nowrap;
    }

    .account-profile-heading {
        align-items: flex-start;
    }

    .account-avatar {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .account-detail-card {
        min-height: auto;
        padding: .95rem;
        border-radius: 14px;
    }

    .account-address-card,
    .account-address-form-card {
        border-radius: 14px;
    }

    .account-address-actions {
        width: 100%;
    }

    .account-address-actions .btn,
    .account-address-actions button {
        flex: 1 1 auto;
    }

    .order-shell-main,
    .order-sidebar-card {
        padding: 1rem;
    }

    .order-shell-top {
        flex-direction: column;
    }

    .order-shell-top > .d-flex {
        width: 100%;
        justify-content: flex-start !important;
    }

    .order-shell-top > .d-flex .btn {
        flex: 1 1 100%;
        justify-content: center;
    }

    .order-shell-title {
        font-size: 1.35rem;
        overflow-wrap: anywhere;
    }

    .order-flow-footer {
        font-size: .86rem;
    }

    .order-meta-card {
        padding: .9rem;
        border-radius: 14px;
    }

    .order-meta-amount {
        font-size: 1.35rem !important;
    }

    .order-detail-row {
        align-items: flex-start;
        flex-direction: column;
        gap: .25rem;
    }

    .order-detail-row strong {
        text-align: left;
        overflow-wrap: anywhere;
    }

    .storefront-auth-modal .modal-dialog {
        max-width: none;
        margin: .75rem;
    }

    .storefront-auth-modal .modal-body,
    .storefront-register-shell {
        padding: 1rem;
    }

    .storefront-register-title {
        font-size: 1.6rem;
    }

    .storefront-register-subtitle {
        font-size: .95rem;
    }
}

@media (max-width: 575.98px) {
    .storefront-footer {
        margin-top: 2rem;
    }

    .storefront-footer-lead {
        padding: 1.25rem 0 1rem;
    }

    .storefront-footer-lead-home {
        padding: 1.1rem;
        border-radius: 20px;
    }

    .storefront-footer-lead-title {
        font-size: 1.2rem;
    }

    .storefront-footer-lead-text {
        font-size: .94rem;
    }

    .storefront-footer-grid {
        padding: 1.75rem 0;
    }

    .storefront-footer-grid-home {
        grid-template-columns: 1fr;
        padding-top: 1.5rem;
    }

    .storefront-footer-brand-mark {
        gap: .75rem;
    }

    .storefront-footer-logo {
        width: 48px;
        height: 48px;
    }

    .storefront-slide {
        min-height: 200px;
    }

    .storefront-slide-copy {
        left: .85rem;
        right: .85rem;
        bottom: .85rem;
    }

    .storefront-slide-copy h2 {
        font-size: 1.25rem;
        margin-bottom: .35rem !important;
    }

    .storefront-slide-copy p {
        display: none;
    }

    .storefront-hero {
        padding: .9rem;
    }

    .storefront-hero .display-6 {
        font-size: 1.45rem;
    }

    .storefront-service-item i {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .storefront-category-rail a {
        min-height: 40px;
        padding: .55rem .85rem;
        font-size: .9rem;
    }

    .storefront-category-list {
        max-height: 40vh;
    }

    .filter-list a {
        padding: .7rem .8rem;
        border-radius: 12px;
    }

    .price-filter {
        grid-template-columns: 1fr;
    }

    .section-heading .btn-group {
        width: 100%;
    }

    .section-heading .btn-group .btn {
        flex: 1 1 50%;
    }

    .product-detail-title {
        font-size: 1.45rem;
    }

    .product-detail-price {
        font-size: 1.45rem;
    }

    .product-detail-card,
    .product-detail-media,
    .product-detail-meta-card {
        border-radius: 14px;
    }

    .product-detail-card {
        gap: 1rem;
    }

    .account-shell-copy,
    .account-nav-card span:last-child,
    .account-detail-card strong,
    .order-meta-card,
    .checkout-address-option small {
        overflow-wrap: anywhere;
    }

    .account-nav-card,
    .account-metric-card {
        border-radius: 14px;
        padding: .9rem;
    }

    .account-metric-card strong {
        font-size: 1.4rem;
    }

    .account-orders-table {
        overflow: visible;
    }

    .account-orders-table table {
        min-width: 0;
        width: 100%;
        border-collapse: separate;
        border-spacing: 0 .75rem;
    }

    .account-orders-table thead {
        display: none;
    }

    .account-orders-table tbody,
    .account-orders-table tr,
    .account-orders-table td {
        display: block;
        width: 100%;
    }

    .account-orders-table tbody tr {
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 14px;
        background: #fff;
        overflow: hidden;
    }

    .account-orders-table tbody td {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
        padding: .75rem .85rem;
        text-align: right !important;
        border: 0;
        overflow-wrap: anywhere;
    }

    .account-orders-table tbody td + td {
        border-top: 1px solid rgba(15, 23, 42, 0.06);
    }

    .account-orders-table td::before {
        content: attr(data-label);
        flex: 0 0 36%;
        color: #6b7280;
        font-size: .78rem;
        font-weight: 700;
        text-align: left;
        text-transform: uppercase;
    }

    .account-orders-table td[data-label="Status"] {
        display: block;
        text-align: left !important;
    }

    .account-orders-table td[data-label="Status"]::before {
        display: block;
        margin-bottom: .45rem;
    }

    .account-orders-table td[data-label="Status"] .account-status-badge {
        max-width: 100%;
        white-space: normal;
        text-align: left;
        line-height: 1.35;
    }

    .account-orders-action-cell .btn {
        flex: 1 1 auto;
    }

    .order-table-card {
        overflow: visible;
    }

    .order-table-card .table-responsive {
        overflow: visible;
    }

    .order-table-card table {
        min-width: 0;
        width: 100%;
        border-collapse: separate;
        border-spacing: 0 .75rem;
    }

    .order-table-card thead {
        display: none;
    }

    .order-table-card tbody,
    .order-table-card tfoot,
    .order-table-card tr,
    .order-table-card td {
        display: block;
        width: 100%;
    }

    .order-table-card tbody tr,
    .order-table-card tfoot tr {
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 14px;
        background: #fff;
        overflow: hidden;
    }

    .order-table-card table tbody td,
    .order-table-card table tfoot td {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
        padding: .75rem .85rem;
        text-align: right !important;
        border: 0;
    }

    .order-table-card table tbody td + td,
    .order-table-card table tfoot td + td {
        border-top: 1px solid rgba(15, 23, 42, 0.06);
    }

    .order-table-card td::before {
        content: attr(data-label);
        flex: 0 0 42%;
        color: #6b7280;
        font-size: .78rem;
        font-weight: 700;
        text-align: left;
        text-transform: uppercase;
    }

    .order-table-card td[data-label="Description"] {
        display: block;
        text-align: left !important;
    }

    .order-table-card td[data-label="Description"]::before {
        display: none;
    }

    .order-table-card tfoot td:first-child {
        display: none;
    }

    .order-table-total td {
        font-size: 1rem;
    }

    .order-table-total td:last-child {
        background: rgba(248, 250, 252, 0.95);
    }

    .storefront-register-badge {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 380px) {
    .cart-controls form.d-flex {
        grid-template-columns: 1fr;
    }

    .product-card-body .btn,
    .product-card-body form {
        width: 100%;
    }
}
