/* Premium refinement layer: loaded after the legacy stylesheet. */
:root {
    --fs-ink: #0f172a;
    --fs-muted: #64748b;
    --fs-border: #e6eaf2;
    --fs-soft: #f6f8fb;
    --fs-card: #ffffff;
    --fs-accent: #111111;
    --fs-radius: 18px;
    --fs-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

/* Auth pages */
.auth-shell {
    width: min(100%, 1120px);
    min-height: clamp(420px, 54vh, 620px);
    margin: 0 auto;
    padding: clamp(30px, 5vw, 72px) 16px;
    display: grid;
    place-items: start center;
}

.auth-card {
    width: min(100%, 540px);
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--fs-shadow);
}

.auth-card-head {
    padding: 28px 30px 18px;
    text-align: center;
    background:
        radial-gradient(circle at top left, rgba(17, 17, 17, 0.08), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--fs-border);
}

.auth-card-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #111;
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(17, 17, 17, 0.18);
}

.auth-eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--fs-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-card-head h1,
.auth-card-head h2 {
    margin: 0;
    color: var(--fs-ink);
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.auth-card-head p {
    max-width: 420px;
    margin: 10px auto 0;
    color: var(--fs-muted);
    font-size: 14px;
    line-height: 1.6;
}

.auth-tabs {
    max-width: none !important;
    margin: 0 !important;
    padding: 6px !important;
    gap: 6px !important;
    background: #f1f5f9;
    border-bottom: 1px solid var(--fs-border);
}

.auth-tabs .tab {
    height: 46px;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 14px;
    background: transparent !important;
    color: var(--fs-muted);
    font-size: 14px;
    font-weight: 800;
    transition: color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.auth-tabs .tab:hover {
    color: var(--fs-ink);
    transform: translateY(-1px);
}

.auth-tabs .tab.active {
    color: var(--fs-ink);
    background: #fff !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.auth-forms {
    max-width: none !important;
    margin: 0 !important;
    padding: 24px 30px 30px !important;
}

.auth-card > .alert {
    margin: 16px 30px 0;
}

.auth-form {
    gap: 14px !important;
}

.auth-card-form {
    display: flex !important;
    padding: 24px 30px 30px;
}

.auth-form label:not(.checkbox-row) {
    display: grid;
    gap: 7px;
    color: var(--fs-ink);
    font-size: 13px;
    font-weight: 800;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    width: 100%;
    height: 48px;
    padding: 0 14px !important;
    border: 1px solid #dce2eb !important;
    border-radius: 12px !important;
    background: #fff;
    color: var(--fs-ink);
    font-size: 14px;
    outline: 0;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.auth-form input:focus {
    border-color: #111 !important;
    box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.08);
    background: #fff;
}

.auth-form .muted {
    align-self: flex-start;
    color: var(--fs-muted);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.auth-form .muted:hover {
    color: #111;
}

.auth-helper {
    margin: 0;
    color: var(--fs-muted);
    font-size: 13px;
    line-height: 1.6;
}

.auth-form .checkbox-row {
    min-height: 52px;
    padding: 12px 14px !important;
    border: 1px solid #e5e9f1 !important;
    border-radius: 14px !important;
    background: #fff;
    color: var(--fs-ink) !important;
    box-shadow: none !important;
    transition: border-color .18s ease, background .18s ease;
}

.auth-form .checkbox-row:hover {
    border-color: #cbd5e1 !important;
    background: #fbfcfe;
}

.auth-form .checkbox-row input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    accent-color: #111;
}

.btn-primary.block,
.auth-form .btn-primary {
    min-height: 50px;
    border: 0;
    border-radius: 13px;
    background: #111 !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(17, 17, 17, 0.18);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn-primary.block:hover,
.auth-form .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(17, 17, 17, 0.22);
    filter: brightness(1.03);
}

.auth-card-foot {
    padding: 0 30px 28px;
    text-align: center;
    color: var(--fs-muted);
    font-size: 13px;
}

.auth-card-foot a {
    color: var(--fs-ink);
    font-weight: 800;
    text-decoration: none;
}

.theme-dark .auth-card,
.theme-dark .auth-form .checkbox-row,
.theme-dark .auth-form input[type="email"],
.theme-dark .auth-form input[type="password"],
.theme-dark .auth-form input[type="text"] {
    background: #111827;
    color: #f8fafc;
    border-color: #263142 !important;
}

.theme-dark .auth-card-head {
    background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
    border-color: #263142;
}

.theme-dark .auth-card-head h1,
.theme-dark .auth-card-head h2,
.theme-dark .auth-form label:not(.checkbox-row),
.theme-dark .auth-form .checkbox-row,
.theme-dark .auth-card-foot a {
    color: #f8fafc !important;
}

.theme-dark .auth-card-head p,
.theme-dark .auth-eyebrow,
.theme-dark .auth-helper,
.theme-dark .auth-card-foot,
.theme-dark .auth-form .muted {
    color: #94a3b8;
}

/* Product cards and lazy media */
.section .product-grid {
    gap: clamp(16px, 2vw, 26px) !important;
    align-items: stretch;
}

@media (min-width: 992px) {
    .section .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    }
}

@media (min-width: 1320px) {
    .section .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    }
}

.section .product-card {
    position: relative;
    overflow: hidden;
    padding: 10px !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    border-radius: 18px !important;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.section .product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 23, 42, 0.18) !important;
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.11);
}

.section .product-image {
    height: auto !important;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(110deg, #eef2f7 8%, #f8fafc 18%, #eef2f7 33%);
    background-size: 200% 100%;
    animation: fs-skeleton 1.35s linear infinite;
}

.section .product-image img {
    width: 100%;
    height: 100% !important;
    display: block;
    object-fit: cover;
    transition: transform .28s ease, filter .25s ease, opacity .25s ease;
}

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

.section .product-info {
    padding: 12px 2px 2px !important;
    gap: 7px !important;
}

.section .product-info .brand,
.section .product-info .meta {
    color: #7a8494;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.section .product-info .title {
    min-height: 40px;
    color: #111827;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 1.35 !important;
}

.section .product-info .price {
    align-items: baseline;
    gap: 8px;
    margin-top: 2px;
}

.section .product-info .price .new {
    color: #111827;
    font-size: 16px !important;
    font-weight: 900;
}

.section .product-info .price .old {
    color: #94a3b8;
    font-size: 12px;
    text-decoration-thickness: 1px;
}

.section .discount {
    top: 10px !important;
    left: 10px !important;
    padding: 6px 9px !important;
    border-radius: 999px !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 12px !important;
    box-shadow: 0 10px 22px rgba(17, 17, 17, 0.18);
}

.fav-showcase-card {
    border: 1px solid var(--fs-border);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.fav-showcase-img {
    background: linear-gradient(110deg, #eef2f7 8%, #f8fafc 18%, #eef2f7 33%);
    background-size: 200% 100%;
    animation: fs-skeleton 1.35s linear infinite;
}

.lazy-media {
    opacity: .72;
    filter: blur(14px);
    transform: scale(1.02);
}

.lazy-media.lazy-loaded {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

@keyframes fs-skeleton {
    to { background-position-x: -200%; }
}

/* Admin compact premium layer */
body.admin-body {
    background: #f4f6fb;
    color: var(--fs-ink);
    font-size: 14px;
}

body.admin-body .admin-wrapper {
    display: flex !important;
    min-height: 100vh;
}

body.admin-body .admin-sidebar {
    width: 232px !important;
    padding: 14px 12px !important;
    background: #070b12 !important;
    color: #fff !important;
}

body.admin-body .admin-logo {
    margin-bottom: 12px !important;
    padding: 8px 10px;
    font-size: 15px !important;
    letter-spacing: .02em !important;
}

body.admin-body .admin-sidebar .admin-nav {
    gap: 8px !important;
}

body.admin-body .admin-sidebar .nav-group {
    gap: 4px !important;
}

body.admin-body .admin-sidebar .nav-group-toggle {
    min-height: 40px;
    padding: 8px 10px !important;
    border-radius: 9px !important;
    background: #111827 !important;
    font-size: 13px;
}

body.admin-body .admin-sidebar .nav-group.open .nav-group-toggle {
    background: #1b2435 !important;
}

body.admin-body .admin-sidebar .nav-group-items {
    gap: 3px !important;
    padding: 3px 2px 2px 8px !important;
}

body.admin-body .admin-sidebar .nav-group-items a,
body.admin-body .admin-sidebar .nav-logout {
    min-height: 34px;
    padding: 7px 10px !important;
    border-radius: 8px !important;
    color: #e5e7eb !important;
    font-size: 12.5px;
    font-weight: 700;
}

body.admin-body .admin-content {
    margin-left: 232px !important;
    padding: 18px 24px 28px !important;
    background: #f4f6fb;
}

body.admin-body .admin-content > .admin-toolbar,
body.admin-body .admin-topnav,
body.admin-body .admin-head {
    max-width: 100% !important;
}

body.admin-body .admin-page-title {
    margin: 14px 0 12px !important;
    color: var(--fs-ink);
    font-size: clamp(26px, 2.2vw, 34px) !important;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

body.admin-body .admin-toolbar,
body.admin-body .admin-topnav,
body.admin-body .card,
body.admin-body .panel-card,
body.admin-body .chart-card,
body.admin-body .stat-card,
body.admin-body .admin-form {
    border: 1px solid var(--fs-border) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.055) !important;
}

body.admin-body .admin-toolbar,
body.admin-body .admin-topnav,
body.admin-body .admin-head {
    min-height: auto;
    padding: 10px 12px !important;
    margin-bottom: 12px !important;
}

body.admin-body .admin-btn {
    min-height: 36px;
    padding: 8px 12px !important;
    border-radius: 9px !important;
    font-size: 12.5px !important;
    font-weight: 800;
    box-shadow: none !important;
}

body.admin-body .admin-form {
    padding: 16px !important;
}

body.admin-body .admin-form .field {
    gap: 5px !important;
    margin-bottom: 10px !important;
}

body.admin-body .admin-form label {
    color: var(--fs-ink);
    font-size: 13px !important;
    font-weight: 800 !important;
}

body.admin-body .admin-form input,
body.admin-body .admin-form select,
body.admin-body .admin-form textarea {
    min-height: 38px;
    padding: 8px 10px !important;
    border: 1px solid #dce2ea !important;
    border-radius: 9px !important;
    font-size: 13px !important;
}

body.admin-body .admin-form textarea {
    min-height: 118px;
}

body.admin-body .admin-table {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--fs-border) !important;
    border-radius: 14px !important;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.055) !important;
    font-size: 12.5px !important;
}

body.admin-body .admin-table th,
body.admin-body .admin-table td {
    padding: 9px 11px !important;
    vertical-align: middle;
}

body.admin-body .admin-table thead th {
    background: #f8fafc !important;
    color: #475569;
    font-size: 11px;
    letter-spacing: .04em;
}

body.admin-body .admin-status-pill {
    padding: 4px 8px !important;
    font-size: 11px !important;
}

/* Home page builder */
.home-builder-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 16px;
    align-items: start;
}

.home-builder-panel,
.home-builder-preview,
.home-preview-card {
    border: 1px solid var(--fs-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.055);
}

.home-builder-panel {
    overflow: hidden;
}

.home-builder-preview {
    position: sticky;
    top: 18px;
    padding: 14px;
}

.home-builder-preview h3,
.home-preview-card h3 {
    margin: 0 0 10px;
    font-size: 15px;
}

.home-block-list {
    display: grid;
    gap: 10px;
}

.home-block-preview {
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid #edf1f7;
    border-radius: 12px;
    background: #fbfcfe;
}

.home-block-preview strong {
    color: var(--fs-ink);
    font-size: 13px;
}

.home-block-preview span {
    color: var(--fs-muted);
    font-size: 12px;
}

.home-builder-table tbody tr {
    cursor: grab;
}

.home-builder-table tbody tr.dragging {
    opacity: .55;
    background: #eef2ff;
}

.home-builder-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    border-top: 1px solid var(--fs-border);
    background: #fbfcfe;
}

.home-editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 16px;
    align-items: start;
}

.home-live-preview {
    position: sticky;
    top: 18px;
    padding: 16px;
}

.home-preview-visual {
    min-height: 190px;
    display: grid;
    place-items: center;
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #111827, #334155);
    color: #fff;
    text-align: center;
}

.home-preview-visual .preview-type {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    font-size: 11px;
    font-weight: 800;
}

.home-preview-visual h4 {
    margin: 0;
    font-size: 22px;
}

.home-preview-visual p {
    margin: 8px 0 0;
    color: rgba(255,255,255,.78);
    font-size: 13px;
}

/* Admin chat polish */
.admin-chat-panel {
    border-radius: 22px !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22) !important;
}

.admin-chat-header {
    background: linear-gradient(135deg, #0f172a, #1e293b) !important;
}

.conversation-item {
    margin: 6px 8px;
    border: 1px solid transparent;
    border-radius: 14px;
}

.conversation-item:hover {
    border-color: #e2e8f0;
}

.conversation-item.unread {
    border-left: 0 !important;
    border-color: #cbd5e1;
}

.message-text {
    border-radius: 16px !important;
}

.chat-textarea {
    border-radius: 16px !important;
}

@media (max-width: 900px) {
    body.admin-body .admin-sidebar {
        transform: translateX(-260px) !important;
    }

    body.admin-body.admin-menu-open .admin-sidebar {
        transform: translateX(0) !important;
    }

    body.admin-body .admin-content {
        margin-left: 0 !important;
        padding: 74px 14px 20px !important;
    }

    .home-builder-layout,
    .home-editor-grid {
        grid-template-columns: 1fr;
    }

    .home-builder-preview,
    .home-live-preview {
        position: static;
    }
}

@media (max-width: 640px) {
    .auth-shell {
        min-height: auto;
        padding: 20px 12px 36px;
    }

    .auth-card {
        border-radius: 18px;
    }

    .auth-card-head,
    .auth-forms,
    .auth-card-form {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .auth-tabs .tab {
        height: 42px;
        font-size: 13px;
    }
}

/* Storefront editorial theme */
body:not(.admin-body) {
    --store-ink: #090909;
    --store-muted: #686868;
    --store-line: #dedede;
    --store-soft: #f4f4f4;
    --store-paper: #ffffff;
    --store-burgundy: #650b19;
    color: var(--store-ink);
    background: var(--store-paper) !important;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
}

body:not(.admin-body) main {
    display: block;
    width: 100%;
}

body:not(.admin-body) .section {
    width: min(100%, 1380px);
    max-width: 1380px;
    margin-inline: auto;
    padding: clamp(42px, 5vw, 78px) clamp(16px, 3vw, 36px);
}

body:not(.admin-body) .section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 30px;
}

body:not(.admin-body) .section-head.centered {
    justify-content: center;
    text-align: center;
}

body:not(.admin-body) .section-head h2 {
    margin: 0;
    color: var(--store-ink);
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.1;
}

body:not(.admin-body) .section-head a {
    padding-bottom: 3px;
    border-bottom: 1px solid currentColor;
    color: var(--store-ink);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

/* Header */
.header.header-premium {
    position: relative;
    z-index: 100;
    width: 100%;
    background: var(--store-paper);
    border-bottom: 1px solid #ececec;
}

.header-premium .header-topbar {
    min-height: 38px;
    display: grid;
    place-items: center;
    background: var(--store-burgundy);
    color: #fff;
}

.header-premium .header-topbar-inner {
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.header-premium .header-inner {
    width: min(100%, 1380px);
    min-height: 72px;
    margin: 0 auto;
    padding: 10px 26px;
    gap: 28px;
}

.header-premium .logo {
    flex: 0 0 auto;
    color: var(--store-ink);
    font-size: 17px;
    font-weight: 750;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.header-premium .logo-img {
    width: auto;
    height: 34px;
    max-width: 180px;
    object-fit: contain;
}

.header-premium .header-menu {
    gap: clamp(18px, 2.4vw, 36px);
}

.header-premium .header-menu a,
.header-premium .menu-dropdown > button {
    position: relative;
    padding: 25px 0;
    color: var(--store-ink);
    font-size: 13px;
    font-weight: 550;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}

.header-premium .header-menu a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 18px;
    left: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transition: transform .2s ease;
}

.header-premium .header-menu a:hover::after {
    transform: scaleX(1);
}

.header-premium .header-actions {
    gap: 8px;
}

.header-premium .header-actions .icon-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    color: var(--store-ink);
    background: transparent;
    border: 0;
    border-radius: 0;
}

.header-premium .header-actions .icon-btn:hover {
    background: #f4f4f4;
}

.header-premium .header-actions .icon-btn i {
    font-size: 19px;
}

.header-premium .header-actions .icon-btn .badge {
    top: 0;
    right: -1px;
    background: var(--store-ink);
}

.header-ticker,
.home-ticker {
    overflow: hidden;
    background: var(--store-burgundy) !important;
    color: #fff !important;
    border: 0 !important;
}

.header-ticker-item,
.home-ticker-item {
    padding: 7px 24px !important;
    font-size: 13px !important;
    font-weight: 650;
    white-space: nowrap;
}

.header-premium .menu-dropdown-body {
    min-width: 210px;
    padding: 8px;
    color: var(--store-ink);
    background: var(--store-paper);
    border: 1px solid var(--store-line);
    border-radius: 0;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .09);
}

.header-premium .menu-dropdown-body a {
    padding: 10px 12px;
    color: var(--store-ink);
    border-radius: 0;
    font-size: 12px;
}

.header-premium .menu-dropdown-body a:hover {
    background: var(--store-soft);
}

.header-search-mobile {
    padding: 12px 16px;
    color: var(--store-ink);
    background: var(--store-paper);
    border-bottom: 1px solid var(--store-line);
}

.header-search-mobile form {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    border-bottom: 1px solid var(--store-ink);
}

.header-search-mobile input,
.header-search-mobile button {
    height: 44px;
    color: var(--store-ink);
    background: transparent;
    border: 0;
    outline: 0;
}

.header-search-mobile input {
    flex: 1;
    min-width: 0;
}

.mobile-menu {
    width: min(88vw, 390px);
    color: var(--store-ink);
    background: var(--store-paper);
}

.mobile-menu-top {
    min-height: 66px;
    border-bottom: 1px solid var(--store-line);
}

.mobile-menu-nav a {
    min-height: 50px;
    padding: 12px 20px;
    color: var(--store-ink);
    border-bottom: 1px solid var(--store-line);
    font-size: 13px;
    font-weight: 600;
}

.mobile-menu-overlay {
    background: rgba(0, 0, 0, .48);
    backdrop-filter: none;
}

/* Hero */
.hero-wrapper.full-hero.storefront-hero {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    display: block;
    background: #eee;
}

.hero-wrapper.full-hero.storefront-hero .hero-slider.full-hero-slider {
    width: 100%;
    border: 0;
    border-radius: 0;
}

.storefront-hero .hero-figure {
    min-height: 0 !important;
    height: clamp(440px, 65vw, 780px) !important;
    background: #e9e9e9;
}

.storefront-hero .hero-figure img,
.storefront-hero .hero-figure video,
.storefront-hero .slider-image {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

.hero-wrapper.full-hero .slide-caption.minimal {
    left: clamp(24px, 7vw, 120px);
    bottom: clamp(34px, 8vw, 110px);
    max-width: min(580px, 70vw);
    padding: 0;
    color: #fff;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .28);
}

.hero-wrapper.full-hero .slide-caption.minimal .hero-kicker {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-wrapper.full-hero .slide-caption.minimal h1,
.hero-wrapper.full-hero .slide-caption.minimal h4 {
    margin: 0 0 24px;
    color: inherit;
    font-size: clamp(38px, 6vw, 78px);
    font-weight: 750;
    line-height: .98;
}

.hero-wrapper.full-hero .slide-caption.minimal .btn.btn-light {
    min-width: 190px;
    padding: 15px 26px;
    color: #fff;
    background: #0b0b0b;
    border: 1px solid #0b0b0b;
    border-radius: 0;
    font-size: 13px;
    font-weight: 750;
    text-transform: uppercase;
    text-shadow: none;
}

.hero-wrapper.full-hero .slide-caption.minimal .btn.btn-light:hover {
    color: #0b0b0b;
    background: #fff;
}

.storefront-hero .slide-prev,
.storefront-hero .slide-next {
    width: 44px !important;
    height: 52px !important;
    color: #fff !important;
    background: rgba(0, 0, 0, .64) !important;
    border-radius: 0 !important;
}

.storefront-hero .hero-progress {
    position: absolute;
    right: 50%;
    bottom: 18px;
    z-index: 3;
    width: 70px;
    height: 3px;
    background: rgba(255, 255, 255, .45);
    transform: translateX(50%);
}

.storefront-hero .hero-progress::after {
    content: "";
    display: block;
    width: 45%;
    height: 100%;
    background: #fff;
}

/* Category navigation and image blocks */
.category-shortcuts {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 28px;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
    border-bottom: 1px solid #ededed;
}

.category-shortcuts a {
    color: var(--store-ink);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.category-shortcuts a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.category-image-grid,
.editorial-mosaic {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
}

.category-image-card,
.editorial-mosaic > a {
    position: relative;
    min-height: clamp(380px, 44vw, 650px);
    overflow: hidden;
    background: #d8d8d8;
    color: #fff;
}

.category-image-card img,
.editorial-mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.category-image-card:hover img,
.editorial-mosaic a:hover img {
    transform: scale(1.025);
}

.category-image-overlay,
.editorial-mosaic a > span {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    padding: 70px 26px 28px;
    display: grid;
    justify-items: center;
    gap: 14px;
    background: rgba(0, 0, 0, .38);
    text-align: center;
}

.category-image-overlay strong,
.editorial-mosaic strong {
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 800;
    text-transform: uppercase;
}

.category-image-overlay small,
.editorial-mosaic small {
    padding: 11px 19px;
    color: #fff;
    background: #090909;
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
}

.wide-banner {
    position: relative;
    min-height: clamp(400px, 50vw, 690px);
    display: block;
    overflow: hidden;
    border-radius: 0 !important;
}

.wide-banner > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wide-banner-content {
    position: absolute;
    inset: auto auto 48px 48px;
    z-index: 2;
    max-width: 520px;
    padding: 0 !important;
    color: #fff;
    background: transparent !important;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .28);
}

.wide-banner-content h2 {
    margin: 7px 0 18px;
    font-size: clamp(34px, 5vw, 68px);
    line-height: 1;
}

.wide-banner-content .cta {
    display: inline-block;
    padding: 13px 20px;
    color: #fff;
    background: #090909;
    font-size: 12px;
    font-weight: 750;
    text-transform: uppercase;
}

/* Product cards */
body:not(.admin-body) .section .product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(16px, 1.5vw, 26px) !important;
    align-items: start;
}

body:not(.admin-body) .section .product-card {
    min-width: 0;
    display: block;
    overflow: visible;
    padding: 0 !important;
    color: var(--store-ink);
    background: transparent;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-decoration: none;
    transform: none !important;
}

body:not(.admin-body) .section .product-image {
    position: relative;
    width: 100%;
    height: auto !important;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #ececec;
    border-radius: 0;
    animation: none;
}

body:not(.admin-body) .section .product-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform .35s ease;
}

body:not(.admin-body) .section .product-card:hover .product-image img {
    transform: scale(1.02);
}

body:not(.admin-body) .section .product-info {
    min-height: 150px;
    padding: 14px 0 0 !important;
    display: flex;
    flex-direction: column;
    gap: 5px !important;
}

body:not(.admin-body) .section .product-info .brand {
    color: #777;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .06em;
    text-transform: uppercase;
}

body:not(.admin-body) .section .product-info .title {
    min-height: 36px;
    color: var(--store-ink);
    font-size: 13px !important;
    font-weight: 520;
    line-height: 1.35 !important;
    text-transform: uppercase;
}

body:not(.admin-body) .section .product-info .price {
    min-height: 24px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px 9px;
}

body:not(.admin-body) .section .product-info .price .old {
    color: #aaa;
    font-size: 13px;
    font-weight: 500;
}

body:not(.admin-body) .section .product-info .price .new {
    color: var(--store-ink);
    font-size: 17px !important;
    font-weight: 850;
}

body:not(.admin-body) .section .product-info .meta {
    color: #686868;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

body:not(.admin-body) .section .discount {
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    min-width: 44px;
    padding: 9px 8px !important;
    color: #fff !important;
    background: #090909 !important;
    border-radius: 0 !important;
    box-shadow: none;
    font-size: 12px !important;
    font-weight: 800;
    text-align: center;
}

.product-card-view {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #111;
    background: rgba(255, 255, 255, .92);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .2s ease, transform .2s ease;
}

.product-card:hover .product-card-view {
    opacity: 1;
    transform: translateY(0);
}

.product-card-cta {
    width: 100%;
    min-height: 42px;
    margin-top: auto;
    display: grid;
    place-items: center;
    color: #fff;
    background: #090909;
    border: 1px solid #090909;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    transition: color .2s ease, background .2s ease;
}

.product-card:hover .product-card-cta {
    color: #090909;
    background: #fff;
}

.soft-band {
    background: var(--store-soft);
}

.storefront-trust {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 34px 20px 76px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.storefront-trust > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.storefront-trust i {
    font-size: 24px;
}

.storefront-trust span {
    display: grid;
    gap: 3px;
}

.storefront-trust strong {
    font-size: 13px;
}

.storefront-trust small {
    color: var(--store-muted);
    font-size: 11px;
}

/* Listing pages */
.storefront-listing {
    min-height: 55vh;
}

.breadcrumb {
    width: min(100%, 1380px);
    margin: 0 auto;
    padding: 18px clamp(16px, 3vw, 36px);
    display: flex;
    align-items: center;
    gap: 10px;
    color: #777;
    font-size: 12px;
}

.breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.breadcrumb i {
    font-size: 8px;
}

.storefront-listing .breadcrumb {
    width: 100%;
    padding: 0 0 28px;
}

.listing-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--store-line);
}

.listing-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: var(--store-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.listing-header .page-title {
    margin: 0;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1;
}

.listing-count {
    color: var(--store-muted);
    font-size: 13px;
}

.search-bar-page {
    max-width: 640px;
    margin: 0 auto 50px;
    display: flex;
    border-bottom: 1px solid var(--store-ink);
}

.search-bar-page input {
    flex: 1;
    height: 52px;
    padding: 0;
    color: var(--store-ink);
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 16px;
}

.search-bar-page button {
    width: 48px;
    color: var(--store-ink);
    background: transparent;
    border: 0;
}

/* Authentication */
.auth-shell {
    width: 100%;
    min-height: 520px;
    padding: clamp(54px, 8vw, 110px) 20px;
    display: grid;
    place-items: start center;
    background: var(--store-paper);
}

.auth-card.auth-editorial,
.auth-card {
    width: min(100%, 460px);
    overflow: visible;
    color: var(--store-ink);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.auth-tabs {
    margin: 0 0 42px !important;
    padding: 0 !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px !important;
    background: transparent;
    border: 0;
}

.auth-tabs .tab {
    height: auto;
    padding: 0 0 10px !important;
    color: var(--store-ink);
    background: transparent !important;
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0;
    box-shadow: none !important;
    font-size: 24px;
    font-weight: 450;
    text-align: left;
    transform: none !important;
}

.auth-tabs .tab.active {
    color: var(--store-ink);
    background: transparent !important;
    border-bottom-color: var(--store-ink) !important;
    font-weight: 800;
}

.auth-forms,
.auth-card-form {
    margin: 0 !important;
    padding: 0 !important;
}

.auth-card > .alert {
    margin: 0 0 24px;
}

.auth-form {
    gap: 24px !important;
}

.auth-form .auth-field {
    position: relative;
    display: grid;
    gap: 9px;
    color: #555;
    font-size: 13px;
    font-weight: 450;
}

.auth-form .auth-field > span b {
    color: #d12a21;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    width: 100%;
    height: 42px;
    padding: 0 38px 0 0 !important;
    color: var(--store-ink);
    background: transparent;
    border: 0 !important;
    border-bottom: 1px solid #cfd2d6 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: 0;
    font-size: 15px;
}

.auth-form input:focus {
    background: transparent;
    border-bottom-color: var(--store-ink) !important;
    box-shadow: none !important;
}

.password-toggle {
    position: absolute;
    right: 0;
    bottom: 10px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: #b0b3b7;
    background: transparent;
    border: 0;
}

.auth-form .btn-primary,
.auth-form .btn-primary.block {
    min-height: 48px;
    margin-top: 8px;
    color: #fff !important;
    background: #050505 !important;
    border: 1px solid #050505;
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    font-weight: 800;
    text-transform: none;
}

.auth-form .btn-primary:hover,
.auth-form .btn-primary.block:hover {
    color: #050505 !important;
    background: #fff !important;
    box-shadow: none;
    transform: none;
}

.auth-forgot {
    width: fit-content;
    color: var(--store-ink);
    font-size: 13px;
    text-decoration: none;
}

.auth-forgot:hover {
    text-decoration: underline;
}

.auth-consents {
    display: grid;
    gap: 13px;
}

.auth-form .checkbox-row {
    min-height: auto;
    padding: 0 !important;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #555 !important;
    background: transparent;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 12px;
    font-weight: 450;
    line-height: 1.45;
}

.auth-form .checkbox-row input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin-top: 1px;
    accent-color: #111;
}

.auth-simple-head {
    margin-bottom: 36px;
}

.auth-simple-head > span {
    color: var(--store-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.auth-simple-head h1 {
    margin: 8px 0 12px;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.05;
}

.auth-simple-head p {
    margin: 0;
    color: var(--store-muted);
    font-size: 14px;
    line-height: 1.65;
}

/* Product detail */
.product-breadcrumb {
    padding-top: 18px;
    padding-bottom: 18px;
}

.product-detail.product-detail-editorial {
    width: min(100%, 1380px);
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 36px) clamp(70px, 7vw, 110px);
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(360px, .8fr);
    gap: clamp(36px, 5vw, 80px);
    align-items: start;
}

.product-detail-editorial .product-gallery {
    min-width: 0;
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    grid-template-areas: "thumbs main";
    gap: 18px;
    align-items: start;
}

.product-detail-editorial .gallery-thumbs {
    grid-area: thumbs;
    max-height: 760px;
    padding: 0;
    display: grid;
    gap: 10px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.product-detail-editorial .gallery-thumbs button {
    width: 100%;
    aspect-ratio: 3 / 4;
    padding: 0;
    overflow: hidden;
    background: #eee;
    border: 1px solid transparent;
    border-radius: 0;
}

.product-detail-editorial .gallery-thumbs button.active {
    border-color: #111;
}

.product-detail-editorial .gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-editorial .gallery-main {
    grid-area: main;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f2f2f2;
    border: 0;
    border-radius: 0;
}

.product-detail-editorial .gallery-slide {
    position: absolute;
    inset: 0;
    display: none;
    margin: 0;
}

.product-detail-editorial .gallery-slide.active {
    display: block;
}

.product-detail-editorial .gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: none !important;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 38px;
    height: 48px;
    color: #111;
    background: rgba(255, 255, 255, .9);
    border: 0;
    transform: translateY(-50%);
}

.gallery-prev { left: 0; }
.gallery-next { right: 0; }

.gallery-counter {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    padding: 6px 9px;
    color: #111;
    background: rgba(255, 255, 255, .9);
    font-size: 11px;
}

.product-detail-editorial .product-info-block {
    position: sticky;
    top: 22px;
    min-width: 0;
    padding-top: 6px;
}

.product-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.product-info-block .brand {
    margin-bottom: 7px;
    color: var(--store-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-info-block h1 {
    margin: 0;
    color: var(--store-ink);
    font-size: clamp(25px, 2.5vw, 38px);
    font-weight: 760;
    line-height: 1.12;
}

.favorite-form { margin: 0; }

.favorite-button {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--store-ink);
    background: transparent;
    border: 0;
    border-radius: 50%;
    font-size: 23px;
    text-decoration: none;
}

.favorite-button.active { color: #9d1424; }

.stock-urgency {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c62828;
    font-size: 13px;
    font-weight: 650;
}

.product-price-row {
    margin: 24px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.product-discount {
    padding: 10px;
    color: #fff;
    background: #090909;
    font-size: 12px;
    font-weight: 800;
}

.product-price-row .old {
    color: #aaa;
    font-size: 15px;
    text-decoration: line-through;
}

.product-price-row .new {
    color: var(--store-ink);
    font-size: 25px;
    font-weight: 850;
}

.product-lead {
    margin: -8px 0 26px;
    color: var(--store-muted);
    font-size: 14px;
    line-height: 1.6;
}

.variant-heading {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
}

.size-guide-link {
    padding: 0 0 2px;
    color: var(--store-muted);
    background: transparent;
    border: 0;
    border-bottom: 1px solid currentColor;
    font-size: 11px;
}

.size-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.size-btn {
    min-width: 50px;
    height: 50px;
    padding: 0 14px;
    color: var(--store-ink);
    background: var(--store-paper);
    border: 1px solid #ddd;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 650;
}

.size-btn.active {
    color: #fff;
    background: #090909;
    border-color: #090909;
}

.delivery-note {
    margin: 24px 0 18px;
    padding: 14px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--store-muted);
    border-top: 1px solid var(--store-line);
    border-bottom: 1px solid var(--store-line);
    font-size: 12px;
}

.delivery-note i { font-size: 20px; color: var(--store-ink); }
.delivery-note strong { color: var(--store-ink); }

.purchase-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 8px;
}

.qty-control {
    height: 54px;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    border: 1px solid var(--store-line);
}

.qty-control button,
.qty-control input {
    width: 100%;
    min-width: 0;
    color: var(--store-ink);
    background: transparent;
    border: 0;
    text-align: center;
}

.qty-control input { appearance: textfield; }

.add-to-cart-button,
.buy-now-button {
    min-height: 54px;
    display: grid;
    place-items: center;
    border-radius: 999px !important;
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
}

.add-to-cart-button {
    color: #fff;
    background: #222 !important;
    border: 1px solid #222;
}

.buy-now-button {
    width: 100%;
    margin-top: 8px;
    color: #090909;
    background: #fff;
    border: 1px solid #090909;
}

.add-to-cart-button:hover,
.buy-now-button:hover {
    color: #fff;
    background: #090909 !important;
}

.product-share {
    margin: 22px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.product-share a,
.product-share button {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: var(--store-ink);
    background: transparent;
    border: 1px solid var(--store-ink);
    border-radius: 50%;
    text-decoration: none;
}

.product-benefits {
    margin: 20px 0 26px;
    padding: 22px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    border-top: 1px solid var(--store-line);
    border-bottom: 1px solid var(--store-line);
}

.product-benefits > div {
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center;
}

.product-benefits i { font-size: 22px; }
.product-benefits span { font-size: 10px; line-height: 1.35; }

.product-accordion {
    background: var(--store-soft);
}

.product-accordion .accordion-toggle {
    width: 100%;
    padding: 17px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--store-ink);
    background: transparent;
    border: 0;
    font-size: 13px;
    font-weight: 700;
}

.product-accordion .accordion-body {
    padding: 0 18px 20px;
    color: #333;
    font-size: 13px;
    line-height: 1.6;
}

.product-accordion:not(.open) .accordion-body {
    display: none;
}

.product-reviews-wrap {
    padding-top: 54px !important;
    padding-bottom: 54px !important;
    border-top: 1px solid var(--store-line);
}

.product-reviews-section { margin: 0 !important; }
.product-reviews-section .reviews-header h2 { font-size: 26px; }
.product-reviews-section .review-item { border-radius: 0; }
.product-reviews-section .btn.btn-primary {
    color: #fff;
    background: #090909;
    border-radius: 0;
}
.product-reviews-section .alert-info {
    color: var(--store-ink);
    background: var(--store-soft);
    border-color: var(--store-line);
    border-radius: 0;
}
.product-reviews-section .modal-content,
.product-reviews-section .form-control {
    border-radius: 0;
}
.related-products-section { max-width: none !important; }

/* Footer */
.footer.premium-footer {
    padding: 60px 24px 18px;
    color: var(--store-ink);
    background: var(--store-paper);
    border-top: 1px solid #ececec;
}

.footer.premium-footer .footer-top {
    margin-bottom: 42px;
}

.footer.premium-footer .footer-logo img {
    height: 34px;
}

.footer.premium-footer .footer-inner.premium {
    width: min(100%, 1260px);
    max-width: 1260px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.35fr;
    gap: clamp(28px, 5vw, 72px);
}

.footer.premium-footer .footer-item .accordion-toggle,
.footer.premium-footer .footer-title {
    margin: 0 0 14px;
    padding: 0;
    color: var(--store-ink);
    background: transparent;
    border: 0;
    font-size: 13px;
    font-weight: 800;
}

.footer.premium-footer .footer-item .accordion-body {
    gap: 3px;
}

.footer.premium-footer .footer-item .accordion-body a {
    padding: 5px 0;
    color: #626262;
    font-size: 12px;
    text-decoration: none;
}

.footer.premium-footer .newsletter {
    max-width: none;
    justify-self: stretch;
}

.footer.premium-footer .newsletter .muted {
    color: #626262;
    font-size: 12px;
    line-height: 1.55;
}

.footer.premium-footer .newsletter form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
}

.footer.premium-footer .newsletter input {
    min-width: 0;
    height: 44px;
    padding: 0 13px;
    color: var(--store-ink);
    background: transparent;
    border: 1px solid var(--store-line);
    border-radius: 0;
}

.footer.premium-footer .newsletter button {
    min-width: 86px;
    color: #fff;
    background: #090909;
    border: 1px solid #090909;
    border-radius: 0;
    font-size: 11px;
    font-weight: 750;
}

.footer.premium-footer .footer-bottom,
.footer.premium-footer .footer-copy {
    width: min(100%, 1260px);
    max-width: 1260px;
    margin-inline: auto;
    padding-inline: 0;
}

/* Account, contact and checkout continuity */
body:not(.admin-body) main > .page-title {
    width: min(100%, 1280px);
    margin: 0 auto;
    padding: 48px 28px 0;
    color: var(--store-ink);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
}

.account-section,
.checkout,
.contact-page {
    color: var(--store-ink);
}

.account-section .card,
.checkout .card,
body:not(.admin-body) .section > .card {
    color: var(--store-ink) !important;
    background: var(--store-paper) !important;
    border: 1px solid var(--store-line) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.account-section .account-cards {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
}

.account-section .account-cards > div {
    min-height: 135px;
    padding: 22px;
    border: 0 !important;
    border-right: 1px solid var(--store-line) !important;
    border-radius: 0 !important;
}

.account-section .account-cards > div:last-child {
    border-right: 0 !important;
}

.account-section .account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
}

.account-section .account-actions .btn,
.account-section .btn {
    padding: 11px 16px;
    color: var(--store-ink);
    background: transparent;
    border: 1px solid var(--store-line);
    border-radius: 0;
    box-shadow: none;
    font-size: 12px;
}

.account-section .account-actions .btn {
    flex: 1 1 170px;
    border-width: 0 1px 0 0;
}

.account-section .admin-table {
    border-color: var(--store-line);
    border-radius: 0;
    box-shadow: none;
}

.account-section .admin-table th {
    color: var(--store-muted);
    background: var(--store-soft);
}

.form-grid input,
.form-grid select,
.form-grid textarea,
.checkout input,
.checkout select,
.checkout textarea {
    color: var(--store-ink);
    background: var(--store-paper);
    border: 1px solid var(--store-line);
    border-radius: 0;
    box-shadow: none;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus,
.checkout input:focus,
.checkout select:focus,
.checkout textarea:focus {
    border-color: var(--store-ink);
    box-shadow: none;
    outline: none;
}

.form-grid .btn-primary,
.checkout .btn-primary {
    color: #fff;
    background: #090909;
    border: 1px solid #090909;
    border-radius: 0;
    box-shadow: none;
}

.checkout {
    width: min(100%, 1220px);
    margin: 0 auto;
    padding: 54px 24px 80px;
    gap: clamp(30px, 5vw, 70px);
}

.checkout-header {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--store-line);
    font-size: 20px;
    font-weight: 750;
}

.checkout-steps {
    overflow: hidden;
    border: 1px solid var(--store-line);
    border-radius: 0;
}

.checkout-steps .step {
    color: var(--store-muted);
    background: var(--store-paper);
    border-right: 1px solid var(--store-line);
}

.checkout-steps .step.active {
    color: #fff;
    background: #090909;
}

.checkout-summary {
    padding: 24px;
    color: var(--store-ink);
    background: var(--store-soft);
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.checkout-summary h3,
.checkout-summary .summary-line span:last-child {
    color: var(--store-ink);
}

.shipping-option-content {
    border-color: var(--store-line);
    border-radius: 0;
    box-shadow: none;
}

.shipping-option input[type="radio"]:checked + .shipping-option-content,
.shipping-option input[type="radio"]:checked ~ .shipping-option-content {
    border-color: var(--store-ink);
}

.cart-neo {
    color: var(--store-ink);
}

.footer.premium-footer .footer-bottom {
    margin-top: 40px;
}

.footer.premium-footer .footer-copy {
    margin-top: 14px;
    padding-top: 14px;
    color: #777;
    font-size: 10px;
    text-align: left;
}

/* Dark storefront compatibility */
.theme-dark:not(.admin-body) {
    --store-ink: #f7f7f7;
    --store-muted: #aaa;
    --store-line: #343434;
    --store-soft: #171717;
    --store-paper: #0d0d0d;
}

.theme-dark:not(.admin-body) .header-premium .header-actions .icon-btn:hover,
.theme-dark:not(.admin-body) .product-card-view {
    background: #232323;
    color: #fff;
}

.theme-dark:not(.admin-body) .product-card-cta:hover,
.theme-dark:not(.admin-body) .auth-form .btn-primary:hover {
    color: #fff !important;
    background: #272727 !important;
}

.theme-dark:not(.admin-body) .size-btn,
.theme-dark:not(.admin-body) .buy-now-button {
    color: var(--store-ink);
    background: var(--store-paper);
}

@media (max-width: 1100px) {
    body:not(.admin-body) .section .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .product-detail.product-detail-editorial {
        grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
        gap: 34px;
    }

    .product-detail-editorial .product-gallery {
        grid-template-columns: 72px minmax(0, 1fr);
    }
}

@media (max-width: 900px) {
    .header-premium .header-inner {
        min-height: 62px;
        padding: 8px 14px;
    }

    .header-premium .logo-img { height: 28px; }
    .header-premium .header-actions .icon-btn { width: 34px; height: 34px; }

    .storefront-hero .hero-figure {
        height: clamp(420px, 112vw, 680px) !important;
    }

    .category-image-grid,
    .editorial-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .product-detail-editorial .product-info-block {
        position: static;
    }
}

@media (max-width: 720px) {
    body:not(.admin-body) .section {
        padding: 38px 14px;
    }

    body:not(.admin-body) .section .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 22px 10px !important;
    }

    body:not(.admin-body) .section .product-info {
        min-height: 142px;
    }

    body:not(.admin-body) .section .product-info .title {
        font-size: 11px !important;
    }

    body:not(.admin-body) .section .product-info .price .new {
        font-size: 14px !important;
    }

    .product-card-cta {
        min-height: 38px;
        font-size: 10px;
    }

    .product-card-view { display: none; }

    .category-image-grid,
    .editorial-mosaic {
        grid-template-columns: 1fr;
    }

    .category-image-card,
    .editorial-mosaic > a {
        min-height: 500px;
    }

    .storefront-trust {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .storefront-trust > div {
        justify-content: flex-start;
    }

    .auth-shell {
        min-height: auto;
        padding: 46px 20px 72px;
    }

    .auth-tabs .tab { font-size: 21px; }

    .product-detail.product-detail-editorial {
        padding-inline: 0;
    }

    .product-detail-editorial .product-gallery {
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;
    }

    .product-detail-editorial .gallery-main {
        width: 100%;
    }

    .product-detail-editorial .gallery-thumbs {
        width: 100%;
        padding: 0 14px;
        display: flex;
        overflow-x: auto;
    }

    .product-detail-editorial .gallery-thumbs button {
        flex: 0 0 66px;
    }

    .product-detail-editorial .product-info-block {
        padding: 26px 16px 0;
    }

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

    .product-benefits span { font-size: 9px; }

    .footer.premium-footer {
        padding: 44px 16px 16px;
    }

    .footer.premium-footer .footer-inner.premium {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer.premium-footer .footer-item .accordion-toggle {
        padding: 14px 0;
        border: 0;
        border-bottom: 1px solid var(--store-line);
        border-radius: 0;
    }

    .footer.premium-footer .footer-copy {
        text-align: center;
    }
}

/* Storefront corrections: adaptive banners, compact navigation and customer account */
.adaptive-banner {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    background: transparent;
}

.storefront-hero .hero-slider.adaptive-banner {
    position: relative;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden;
}

.storefront-hero .hero-slider.adaptive-banner .hero-slides {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
}

.storefront-hero .hero-slider.adaptive-banner .slide {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
}

.storefront-hero .hero-slider.adaptive-banner .slide:not(.active) {
    display: none !important;
}

.storefront-hero .hero-slider.adaptive-banner .slide.active {
    display: block !important;
}

.storefront-hero .hero-slider.adaptive-banner .hero-figure {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    background: transparent;
}

.storefront-hero .hero-slider.adaptive-banner .adaptive-banner-media {
    display: block;
    width: 100%;
    max-width: none;
    height: auto !important;
    object-fit: initial !important;
    object-position: center;
    transform: none !important;
    transition: opacity .3s ease, filter .3s ease;
}

.wide-banner.adaptive-banner {
    min-height: 0;
    height: auto !important;
    aspect-ratio: auto !important;
    background: transparent;
}

.wide-banner.adaptive-banner > .adaptive-banner-media {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    max-width: none;
    height: auto !important;
    object-fit: initial !important;
    object-position: center;
    transform: none !important;
    transition: opacity .3s ease, filter .3s ease;
}

/* Compact premium header */
.header.header-premium {
    box-shadow: none;
}

.header-premium .header-topbar {
    min-height: 29px;
}

.header-premium .header-topbar-inner {
    padding: 7px 16px;
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: .04em;
}

.header-premium .header-inner {
    min-height: 60px;
    padding: 0 24px;
    gap: 24px;
}

.header-premium .logo-img {
    height: 27px;
    max-width: 156px;
}

.header-premium .header-menu {
    align-self: stretch;
    gap: clamp(16px, 2vw, 30px);
}

.header-premium .header-menu > a,
.header-premium .header-menu > .menu-dropdown > button {
    min-height: 60px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
}

.header-premium .header-menu > a > i,
.header-premium .header-menu > .menu-dropdown > button > i:first-child {
    display: none;
}

.header-premium .header-menu a::after {
    bottom: 0;
}

.header-premium .header-menu a .menu-badge {
    position: static;
    order: 3;
    padding: 3px 6px;
    color: #fff;
    background: #111;
    border-radius: 4px;
    box-shadow: none;
    font-size: 8px;
    line-height: 1;
    letter-spacing: .03em;
    transform: none;
}

.header-premium .header-actions {
    gap: 4px;
}

.header-premium .header-actions .icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 6px;
}

.header-premium .header-actions .icon-btn i {
    font-size: 17px;
}

.header-ticker .header-ticker-track {
    min-height: 30px;
    padding: 0 14px;
    gap: 44px;
}

.header-ticker .header-ticker-item {
    padding: 7px 12px !important;
    font-size: 10px !important;
    line-height: 1.3;
    letter-spacing: .04em;
}

.home-ticker {
    margin: 0;
    padding: 0;
}

.home-ticker .home-ticker-track {
    min-height: 30px;
    padding: 0 14px;
    gap: 44px;
}

.home-ticker .home-ticker-item {
    padding: 7px 12px !important;
    font-size: 10px !important;
    line-height: 1.3;
    letter-spacing: .04em;
}

.category-shortcuts {
    gap: 8px 22px;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.category-shortcuts a {
    font-size: 11px;
    font-weight: 650;
}

.header-premium .menu-dropdown-body {
    top: calc(100% + 7px);
    overflow: hidden;
    padding: 7px;
    border: 1px solid #e2e2e2;
    border-radius: 9px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .11);
}

.header-premium .user-menu {
    min-width: 220px;
}

.header-premium .menu-dropdown-body a {
    min-height: 40px;
    padding: 9px 10px;
    gap: 10px;
    border-radius: 6px;
    font-size: 12px;
}

.header-premium .menu-dropdown-body a i {
    width: 16px;
    text-align: center;
}

/* Softer authentication screens */
.auth-shell {
    min-height: 540px;
    padding: clamp(42px, 6vw, 76px) 18px;
    background: #f7f7f7;
}

.auth-card.auth-editorial,
.auth-card {
    width: min(100%, 490px);
    padding: clamp(24px, 4vw, 34px);
    background: var(--store-paper);
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .055);
}

.auth-tabs {
    margin-bottom: 30px !important;
    gap: 18px !important;
}

.auth-tabs .tab {
    padding-bottom: 11px !important;
    border-radius: 0;
    font-size: 21px;
}

.auth-form {
    gap: 18px !important;
}

.auth-form .auth-field {
    gap: 7px;
    font-weight: 550;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    height: 46px;
    padding: 0 42px 0 13px !important;
    background: #fff;
    border: 1px solid #d8d8d8 !important;
    border-radius: 7px !important;
}

.auth-form input:focus {
    background: #fff;
    border-color: #111 !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .06) !important;
}

.password-toggle {
    right: 6px;
    bottom: 8px;
}

.auth-form .btn-primary,
.auth-form .btn-primary.block {
    min-height: 48px;
    border-radius: 7px;
}

.auth-form .checkbox-row {
    padding: 2px 0 !important;
    border-radius: 0 !important;
}

.auth-simple-head {
    margin-bottom: 28px;
}

.auth-simple-head h1 {
    font-size: clamp(27px, 4vw, 36px);
}

/* Customer account dashboard */
.account-dashboard {
    width: min(100%, 1220px);
    margin: 0 auto;
    padding: clamp(36px, 5vw, 64px) 24px 84px;
    color: var(--store-ink);
}

.account-dashboard-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 26px;
}

.account-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: var(--store-muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.account-dashboard-head h1 {
    margin: 0 0 8px;
    color: var(--store-ink);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 760;
    line-height: 1;
}

.account-dashboard-head p {
    margin: 0;
    color: var(--store-muted);
    font-size: 13px;
}

.account-head-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.account-head-actions a {
    min-height: 38px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.account-secondary-action {
    color: var(--store-ink);
    background: var(--store-paper);
    border: 1px solid var(--store-line);
}

.account-logout-action {
    color: #fff;
    background: #111;
    border: 1px solid #111;
}

.account-dashboard-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    overflow: hidden;
    background: var(--store-paper);
    border: 1px solid var(--store-line);
    border-radius: 10px;
}

.account-sidebar {
    padding: 20px 14px;
    background: #f8f8f8;
    border-right: 1px solid var(--store-line);
}

.account-identity {
    padding: 4px 6px 20px;
    display: flex;
    align-items: center;
    gap: 11px;
    border-bottom: 1px solid var(--store-line);
}

.account-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--store-burgundy);
    border-radius: 50%;
    font-size: 15px;
    font-weight: 800;
}

.account-identity div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.account-identity strong {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-identity small {
    overflow: hidden;
    color: var(--store-muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-nav {
    margin-top: 14px;
    display: grid;
    gap: 4px;
}

.account-nav a {
    min-height: 42px;
    padding: 0 11px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #454545;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 650;
    text-decoration: none;
}

.account-nav a i {
    width: 17px;
    color: #777;
    text-align: center;
}

.account-nav a:hover,
.account-nav a.active {
    color: #111;
    background: #fff;
}

.account-nav a.active {
    box-shadow: inset 3px 0 0 var(--store-burgundy);
}

.account-dashboard-main {
    min-width: 0;
    padding: clamp(20px, 3vw, 30px);
}

.account-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.account-stat {
    min-height: 126px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fafafa;
    border: 1px solid #ededed;
    border-radius: 8px;
}

.account-stat > span {
    color: var(--store-muted);
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
}

.account-stat > strong {
    margin: 7px 0 4px;
    color: var(--store-ink);
    font-size: 27px;
    line-height: 1;
}

.account-stat > strong.account-stat-order {
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-stat > small {
    color: var(--store-muted);
    font-size: 10px;
}

.account-shortcuts {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.account-shortcuts > a {
    min-height: 74px;
    padding: 14px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    color: var(--store-ink);
    border: 1px solid var(--store-line);
    border-radius: 8px;
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease;
}

.account-shortcuts > a:hover {
    background: #fafafa;
    border-color: #bcbcbc;
}

.account-shortcuts > a > i:first-child {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: #f1f1f1;
    border-radius: 7px;
}

.account-shortcuts span {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.account-shortcuts strong {
    font-size: 11px;
}

.account-shortcuts small {
    overflow: hidden;
    color: var(--store-muted);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-shortcuts > a > i:last-child {
    color: #999;
    font-size: 9px;
}

.account-orders-panel {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--store-line);
}

.account-panel-head {
    margin-bottom: 14px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.account-panel-head span {
    color: var(--store-muted);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.account-panel-head h2 {
    margin: 3px 0 0;
    font-size: 20px;
}

.account-panel-head a {
    color: var(--store-ink);
    border-bottom: 1px solid currentColor;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.account-order-list {
    display: grid;
    border-top: 1px solid var(--store-line);
}

.account-order-row {
    min-height: 72px;
    padding: 10px 8px;
    display: grid;
    grid-template-columns: 36px 1.35fr .8fr .9fr auto 12px;
    align-items: center;
    gap: 12px;
    color: var(--store-ink);
    border-bottom: 1px solid var(--store-line);
    text-decoration: none;
}

.account-order-row:hover {
    background: #fafafa;
}

.account-order-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: #f1f1f1;
    border-radius: 7px;
    font-size: 12px;
}

.account-order-row > span:not(.account-order-icon):not(.account-status) {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.account-order-row small {
    color: var(--store-muted);
    font-size: 9px;
}

.account-order-row strong {
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-status {
    padding: 6px 8px;
    color: #5b4200;
    background: #fff4c7;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 750;
    white-space: nowrap;
}

.account-status.status-completed,
.account-status.status-paid {
    color: #185c38;
    background: #e4f5eb;
}

.account-status.status-cancelled {
    color: #8b2525;
    background: #fde8e8;
}

.account-empty-state {
    padding: 42px 20px;
    display: grid;
    justify-items: center;
    text-align: center;
    background: #fafafa;
    border-radius: 8px;
}

.account-empty-state > i {
    margin-bottom: 12px;
    color: #999;
    font-size: 25px;
}

.account-empty-state h3 {
    margin: 0 0 6px;
    font-size: 15px;
}

.account-empty-state p {
    margin: 0 0 16px;
    color: var(--store-muted);
    font-size: 11px;
}

.account-empty-state a {
    padding: 10px 14px;
    color: #fff;
    background: #111;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 750;
    text-decoration: none;
}

.theme-dark:not(.admin-body) .auth-shell,
.theme-dark:not(.admin-body) .account-sidebar,
.theme-dark:not(.admin-body) .account-stat,
.theme-dark:not(.admin-body) .account-shortcuts > a:hover,
.theme-dark:not(.admin-body) .account-order-row:hover,
.theme-dark:not(.admin-body) .account-empty-state {
    background: #161616;
}

.theme-dark:not(.admin-body) .auth-form input[type="email"],
.theme-dark:not(.admin-body) .auth-form input[type="password"],
.theme-dark:not(.admin-body) .auth-form input[type="text"] {
    color: var(--store-ink);
    background: #111;
    border-color: #3a3a3a !important;
}

@media (max-width: 900px) {
    .header-premium .header-inner {
        min-height: 56px;
        padding: 0 12px;
    }

    .header-premium .logo-img {
        height: 24px;
    }

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

    .account-sidebar {
        border-right: 0;
        border-bottom: 1px solid var(--store-line);
    }

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

@media (max-width: 680px) {
    .header-premium .header-topbar {
        min-height: 27px;
    }

    .header-premium .header-topbar-inner {
        padding: 6px 10px;
        font-size: 9px;
    }

    .header-ticker .header-ticker-track {
        min-height: 27px;
        padding: 0 8px;
    }

    .header-ticker .header-ticker-item {
        padding: 6px 8px !important;
        font-size: 9px !important;
    }

    .home-ticker .home-ticker-track {
        min-height: 27px;
        padding: 0 8px;
    }

    .home-ticker .home-ticker-item {
        padding: 6px 8px !important;
        font-size: 9px !important;
    }

    .auth-shell {
        padding: 24px 12px 48px;
    }

    .auth-card.auth-editorial,
    .auth-card {
        padding: 22px 18px;
        border-radius: 9px;
    }

    .auth-tabs .tab {
        font-size: 18px;
    }

    .account-dashboard {
        padding: 30px 12px 58px;
    }

    .account-dashboard-head {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .account-head-actions a {
        flex: 1;
        justify-content: center;
    }

    .account-dashboard-layout {
        border-radius: 9px;
    }

    .account-identity {
        padding-bottom: 14px;
    }

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

    .account-nav a {
        min-height: 38px;
        padding: 0 8px;
        font-size: 10px;
    }

    .account-dashboard-main {
        padding: 16px;
    }

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

    .account-stat {
        min-height: 94px;
    }

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

    .account-order-row {
        grid-template-columns: 34px minmax(0, 1fr) auto 10px;
        gap: 9px;
    }

    .account-order-row > span:nth-child(3),
    .account-order-row > span:nth-child(4) {
        display: none !important;
    }
}

/* Customer account pages use the storefront's existing section, card and table language. */
body:not(.admin-body) main > .page-title {
    width: min(100%, 1100px);
    margin: 0 auto;
    padding: 38px 16px 14px;
    font-size: 32px;
    line-height: 1.15;
}

.account-page-nav {
    width: min(100%, 1100px);
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    gap: 24px;
    overflow-x: auto;
    border-bottom: 1px solid var(--store-line);
    scrollbar-width: thin;
}

.account-page-nav a {
    margin-bottom: -1px;
    padding: 12px 0 11px;
    flex: 0 0 auto;
    color: var(--store-muted);
    border-bottom: 2px solid transparent;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}

.account-page-nav a:hover,
.account-page-nav a.active {
    color: var(--store-ink);
    border-bottom-color: var(--store-ink);
}

.account-page-nav a.active {
    font-weight: 750;
}

.account-section {
    width: min(100%, 1100px);
    max-width: 1100px;
    padding: 24px 16px 72px !important;
    display: grid;
    gap: 14px;
}

.account-section .card,
.account-section.account-addresses > .card {
    margin: 0 !important;
    padding: 20px;
    border: 1px solid var(--store-line) !important;
    border-radius: 5px !important;
    box-shadow: none !important;
}

.account-section .card-title {
    margin: 0 0 14px;
    color: var(--store-ink);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0;
    line-height: 1.4;
    text-transform: uppercase;
}

.account-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.account-welcome .card-title {
    margin-bottom: 7px;
}

.account-welcome strong {
    display: block;
    font-size: 16px;
}

.account-welcome p {
    margin: 4px 0 0;
}

.account-section .account-cards {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    overflow: visible;
}

.account-section .account-cards > div {
    min-height: 122px;
    padding: 18px;
    border: 1px solid var(--store-line) !important;
    border-radius: 5px !important;
}

.account-section .account-cards > div:last-child {
    border-right: 1px solid var(--store-line) !important;
}

.account-summary-card .card-title {
    margin-bottom: 10px;
}

.account-summary-card .card-value {
    margin-bottom: 6px;
    font-size: 26px;
    line-height: 1;
}

.account-summary-card a,
.account-card-heading a {
    color: var(--store-ink);
    font-size: 11px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.account-last-order {
    margin: 2px 0 6px;
    font-size: 15px;
    font-weight: 750;
}

.account-card-heading {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.account-card-heading .card-title {
    margin: 0;
}

.account-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.account-section .admin-table {
    min-width: 620px;
    color: var(--store-ink);
    background: var(--store-paper);
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.account-section .admin-table th,
.account-section .admin-table td {
    padding: 12px 10px;
    border: 0;
    border-bottom: 1px solid var(--store-line);
    font-size: 12px;
}

.account-section .admin-table th {
    color: var(--store-muted);
    background: transparent;
    font-size: 10px;
    letter-spacing: .03em;
}

.account-section .admin-table tbody tr:hover {
    background: var(--store-soft);
}

.account-section .btn,
.account-section .btn-primary {
    min-height: 38px;
    padding: 10px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    box-shadow: none;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.account-section .btn {
    color: var(--store-ink);
    background: transparent;
    border: 1px solid var(--store-line);
}

.account-section .btn:hover {
    border-color: var(--store-ink);
}

.account-section .btn-primary {
    color: #fff;
    background: #090909;
    border: 1px solid #090909;
}

.account-section .form-grid {
    gap: 12px;
}

.account-section .form-grid input,
.account-section .form-grid select,
.account-section .form-grid textarea {
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 4px;
}

.account-section .form-grid textarea {
    min-height: 92px;
}

.account-section .form-grid .check-row {
    padding: 10px 12px;
    color: var(--store-ink);
    background: var(--store-soft);
    border-color: var(--store-line);
    border-radius: 4px;
}

.account-addresses {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: start;
}

.account-address-list {
    display: grid;
}

.account-address-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--store-line);
}

.account-address-item:first-child {
    padding-top: 0;
}

.account-address-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.account-address-title {
    font-size: 13px;
    font-weight: 750;
}

.account-address-location {
    margin: 5px 0;
}

.account-address-item .address-actions {
    margin-top: 10px;
}

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

.account-empty-simple {
    padding: 26px 0 8px;
    text-align: center;
}

.account-empty-simple p {
    margin: 0 0 14px;
}

@media (max-width: 760px) {
    body:not(.admin-body) main > .page-title {
        padding-top: 28px;
        font-size: 27px;
    }

    .account-page-nav {
        gap: 20px;
    }

    .account-section {
        padding-top: 18px !important;
        padding-bottom: 52px !important;
    }

    .account-section .account-cards {
        grid-template-columns: 1fr;
    }

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

    .account-section .account-cards > div {
        min-height: 0;
    }

    .account-welcome {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-welcome .btn {
        width: 100%;
    }

    .account-section .account-table {
        min-width: 0;
    }

    .account-section .account-table tr {
        padding: 10px;
        background: var(--store-paper);
        border: 1px solid var(--store-line);
        border-radius: 5px;
    }

    .account-section .account-table td {
        border-bottom: 0;
    }
}

/* Unified admin inner pages */
body.admin-body {
    --admin-ui-bg: #f4f5f7;
    --admin-ui-paper: #fff;
    --admin-ui-soft: #f7f7f8;
    --admin-ui-line: #dfe2e6;
    --admin-ui-text: #111318;
    --admin-ui-muted: #68707b;
    --admin-ui-danger: #b42318;
    background: var(--admin-ui-bg) !important;
    color: var(--admin-ui-text);
}

body.admin-body .admin-content {
    width: calc(100% - 232px);
    max-width: none !important;
    padding: 16px 20px 32px !important;
    background: var(--admin-ui-bg) !important;
}

body.admin-body .admin-page-shell {
    width: 100%;
    max-width: 1440px;
    min-width: 0;
    margin: 0 auto;
}

body.admin-body .admin-topnav,
body.admin-body .admin-toolbar {
    border: 1px solid var(--admin-ui-line) !important;
    border-radius: 6px !important;
    background: var(--admin-ui-paper) !important;
    box-shadow: none !important;
}

body.admin-body .admin-topnav {
    min-height: 46px;
    padding: 5px 8px !important;
    gap: 2px !important;
}

body.admin-body .admin-topnav .topnav-link {
    min-height: 34px;
    padding: 7px 10px;
    color: #303640;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 650;
}

body.admin-body .admin-topnav .topnav-link:hover,
body.admin-body .admin-topnav .topnav-link.active {
    color: #111;
    background: #f0f1f3;
}

body.admin-body .admin-toolbar {
    min-height: 48px;
    padding: 6px 10px !important;
}

body.admin-body .admin-toolbar .crumb,
body.admin-body .admin-toolbar .crumb.center {
    color: #303640;
    font-size: 13px;
    font-weight: 750;
    text-align: left;
}

body.admin-body .admin-page-shell > h1,
body.admin-body .admin-page-shell .admin-page-title,
body.admin-body .admin-page-shell .admin-head h1,
body.admin-body .admin-page-shell .page-header h1 {
    margin: 18px 0 14px !important;
    color: var(--admin-ui-text);
    font-size: 28px !important;
    font-weight: 720;
    line-height: 1.18;
    letter-spacing: 0 !important;
}

body.admin-body .admin-page-shell h2 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.25;
}

body.admin-body .admin-page-shell h3 {
    margin: 18px 0 10px;
    color: #23272e;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.35;
}

body.admin-body .admin-page-shell p,
body.admin-body .admin-page-shell li {
    line-height: 1.55;
}

body.admin-body .admin-page-shell .muted,
body.admin-body .admin-page-shell small {
    color: var(--admin-ui-muted) !important;
    font-size: 11px;
}

body.admin-body .admin-container,
body.admin-body .admin-page-shell .container-fluid {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 !important;
}

body.admin-body .admin-head,
body.admin-body .admin-page-shell .page-header,
body.admin-body .admin-page-shell .card-head {
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

body.admin-body .admin-head h1,
body.admin-body .admin-page-shell .page-header h1 {
    margin-bottom: 0 !important;
}

body.admin-body .admin-page-shell .eyebrow {
    margin-bottom: 4px;
    color: var(--admin-ui-muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
}

body.admin-body .admin-page-shell .card,
body.admin-body .admin-page-shell .settings-card,
body.admin-body .admin-page-shell .panel-card,
body.admin-body .admin-page-shell .chart-card,
body.admin-body .admin-page-shell .stat-card,
body.admin-body .admin-page-shell .home-builder-panel,
body.admin-body .admin-page-shell .home-builder-preview,
body.admin-body .admin-page-shell .home-preview-card {
    margin-bottom: 12px;
    padding: 16px;
    color: var(--admin-ui-text);
    background: var(--admin-ui-paper) !important;
    border: 1px solid var(--admin-ui-line) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}

body.admin-body .admin-page-shell .card-title {
    margin-bottom: 12px;
    color: #303640;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .02em;
    text-transform: uppercase;
}

body.admin-body .admin-page-shell .card-body {
    padding: 0;
}

body.admin-body .admin-page-shell > form.form-grid:not(.settings-grid),
body.admin-body .admin-page-shell > form.admin-form,
body.admin-body .admin-page-shell > .admin-container > form.form-grid:not(.card) {
    width: min(100%, 1120px);
    margin: 0;
    padding: 20px;
    background: var(--admin-ui-paper);
    border: 1px solid var(--admin-ui-line);
    border-radius: 6px;
    box-shadow: none;
}

body.admin-body .admin-page-shell > form.form-grid:not(.settings-grid),
body.admin-body .admin-page-shell > .admin-container > form.form-grid:not(.card) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}

body.admin-body .admin-page-shell > form.form-grid:not(.settings-grid) > h3,
body.admin-body .admin-page-shell > form.form-grid:not(.settings-grid) > label:has(textarea),
body.admin-body .admin-page-shell > form.form-grid:not(.settings-grid) > label:has(input[type="file"]),
body.admin-body .admin-page-shell > form.form-grid:not(.settings-grid) > label:has(input[type="checkbox"]),
body.admin-body .admin-page-shell > form.form-grid:not(.settings-grid) > .variants,
body.admin-body .admin-page-shell > form.form-grid:not(.settings-grid) > .images,
body.admin-body .admin-page-shell > form.form-grid:not(.settings-grid) > button,
body.admin-body .admin-page-shell > form.form-grid:not(.settings-grid) > .form-actions {
    grid-column: 1 / -1;
}

body.admin-body .admin-page-shell label,
body.admin-body .admin-page-shell .form-group {
    min-width: 0;
    display: grid;
    gap: 6px;
    color: #303640;
    font-size: 12px;
    font-weight: 650;
}

body.admin-body .admin-page-shell input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="color"]),
body.admin-body .admin-page-shell select,
body.admin-body .admin-page-shell textarea,
body.admin-body .admin-page-shell .form-control,
body.admin-body .admin-page-shell .admin-input {
    width: 100% !important;
    min-width: 0;
    min-height: 40px;
    padding: 9px 11px !important;
    color: var(--admin-ui-text) !important;
    background: #fff !important;
    border: 1px solid #cfd4da !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    font-size: 12.5px !important;
    line-height: 1.35;
}

body.admin-body .admin-page-shell textarea,
body.admin-body .admin-page-shell textarea.form-control {
    min-height: 108px;
    resize: vertical;
}

body.admin-body .admin-page-shell input:focus,
body.admin-body .admin-page-shell select:focus,
body.admin-body .admin-page-shell textarea:focus,
body.admin-body .admin-page-shell .form-control:focus,
body.admin-body .admin-page-shell .admin-input:focus {
    border-color: #505762 !important;
    outline: 2px solid rgba(17, 19, 24, .09) !important;
    outline-offset: 0;
    box-shadow: none !important;
}

body.admin-body .admin-page-shell input[type="file"] {
    padding: 6px !important;
}

body.admin-body .admin-page-shell input[type="file"]::file-selector-button {
    margin-right: 10px;
    padding: 7px 10px;
    color: #111;
    background: #f1f2f3;
    border: 0;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

body.admin-body .admin-page-shell label:has(> input[type="checkbox"]),
body.admin-body .admin-page-shell label:has(> input[type="radio"]) {
    min-height: 40px;
    padding: 9px 11px;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 9px;
    background: var(--admin-ui-soft);
    border: 1px solid var(--admin-ui-line);
    border-radius: 4px;
}

body.admin-body .admin-page-shell input[type="checkbox"],
body.admin-body .admin-page-shell input[type="radio"] {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin: 0;
    accent-color: #111;
}

body.admin-body .admin-page-shell .toggle-row {
    min-height: 40px;
    padding: 8px 0;
    background: transparent;
    border: 0;
}

body.admin-body .admin-page-shell .toggle-row input[type="checkbox"] {
    appearance: none;
    width: 38px !important;
    height: 22px !important;
    position: relative;
    background: #c9cdd2;
    border-radius: 999px;
    cursor: pointer;
}

body.admin-body .admin-page-shell .toggle-row input[type="checkbox"]::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    box-shadow: none;
    transition: transform .18s ease;
}

body.admin-body .admin-page-shell .toggle-row input[type="checkbox"]:checked {
    background: #242930;
}

body.admin-body .admin-page-shell .toggle-row input[type="checkbox"]:checked::after {
    transform: translateX(16px);
}

body.admin-body .admin-page-shell .variants,
body.admin-body .admin-page-shell .images {
    padding-top: 2px;
    border-top: 1px solid var(--admin-ui-line);
}

body.admin-body .admin-page-shell .variant-row {
    margin-bottom: 8px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

body.admin-body .admin-page-shell .images > img,
body.admin-body .admin-page-shell .thumb,
body.admin-body .admin-page-shell .thumb img {
    width: 76px;
    height: 76px;
    display: inline-block;
    object-fit: cover;
    border: 1px solid var(--admin-ui-line);
    border-radius: 4px;
}

body.admin-body .admin-page-shell .images > img {
    margin: 0 6px 8px 0;
}

body.admin-body .admin-page-shell .admin-image-list {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

body.admin-body .admin-page-shell .admin-image-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, .35fr);
    gap: 10px;
}

body.admin-body .admin-btn,
body.admin-body .admin-page-shell .btn,
body.admin-body .admin-page-shell .btn-primary,
body.admin-body .admin-page-shell button[type="submit"] {
    min-height: 36px;
    padding: 8px 12px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #fff;
    background: #111318;
    border: 1px solid #111318;
    border-radius: 4px !important;
    box-shadow: none !important;
    font-size: 11.5px !important;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transform: none !important;
    cursor: pointer;
}

body.admin-body .admin-page-shell > form.form-grid > button[type="submit"] {
    width: fit-content;
    min-width: 140px;
}

body.admin-body .admin-btn.secondary,
body.admin-body .admin-btn.ghost,
body.admin-body .admin-page-shell .btn.secondary {
    color: #242930 !important;
    background: #fff !important;
    border-color: #cfd4da !important;
}

body.admin-body .admin-btn.danger,
body.admin-body .admin-page-shell .btn-danger,
body.admin-body .admin-page-shell button.danger {
    color: #fff !important;
    background: var(--admin-ui-danger) !important;
    border-color: var(--admin-ui-danger) !important;
}

body.admin-body .admin-btn.success {
    color: #fff !important;
    background: #18794e !important;
    border-color: #18794e !important;
}

body.admin-body .admin-btn.full {
    width: 100%;
}

body.admin-body .admin-page-shell .form-actions,
body.admin-body .admin-page-shell .header-actions,
body.admin-body .admin-page-shell .actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

body.admin-body .admin-page-shell .admin-filter,
body.admin-body .admin-page-shell .admin-sort,
body.admin-body .admin-page-shell .filters,
body.admin-body .admin-page-shell .filter-form {
    margin: 0 0 12px;
    padding: 10px;
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 8px;
    background: var(--admin-ui-paper);
    border: 1px solid var(--admin-ui-line);
    border-radius: 6px;
}

body.admin-body .admin-page-shell .admin-filter .admin-input,
body.admin-body .admin-page-shell .admin-filter select,
body.admin-body .admin-page-shell .admin-filter input {
    min-width: 180px;
    flex: 1 1 220px;
}

body.admin-body .admin-page-shell .table-responsive {
    width: 100%;
    overflow-x: auto;
    background: var(--admin-ui-paper);
    border: 1px solid var(--admin-ui-line) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}

body.admin-body .admin-page-shell .admin-table,
body.admin-body .admin-page-shell table.table {
    width: 100%;
    margin: 0 0 12px;
    color: var(--admin-ui-text);
    background: var(--admin-ui-paper) !important;
    border: 1px solid var(--admin-ui-line) !important;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-size: 12px !important;
}

body.admin-body .admin-page-shell .table-responsive .admin-table,
body.admin-body .admin-page-shell .card .admin-table,
body.admin-body .admin-page-shell .card table.table {
    margin-bottom: 0;
    border: 0 !important;
    border-radius: 0 !important;
}

body.admin-body .admin-page-shell .admin-table th,
body.admin-body .admin-page-shell .admin-table td,
body.admin-body .admin-page-shell table.table th,
body.admin-body .admin-page-shell table.table td {
    padding: 10px 11px !important;
    vertical-align: middle;
    border: 0;
    border-bottom: 1px solid #e8eaed;
    text-align: left;
}

body.admin-body .admin-page-shell .admin-table thead th,
body.admin-body .admin-page-shell table.table thead th {
    color: #555d68;
    background: #f5f6f7 !important;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

body.admin-body .admin-page-shell .admin-table tbody tr:last-child td,
body.admin-body .admin-page-shell table.table tbody tr:last-child td {
    border-bottom: 0;
}

body.admin-body .admin-page-shell .admin-table tbody tr:hover,
body.admin-body .admin-page-shell table.table tbody tr:hover {
    background: #fafafa;
}

body.admin-body .admin-page-shell .admin-table td a,
body.admin-body .admin-page-shell .admin-table td button,
body.admin-body .admin-page-shell table.table td .btn {
    min-height: 30px;
    padding: 6px 9px !important;
    border-radius: 3px !important;
    box-shadow: none !important;
    font-size: 10.5px !important;
    transform: none !important;
}

body.admin-body .admin-page-shell .admin-table td form,
body.admin-body .admin-page-shell table.table td form {
    margin: 0 0 0 5px;
    display: inline-flex;
}

body.admin-body .admin-page-shell .admin-table button.drag-handle,
body.admin-body .admin-page-shell table.table button.drag-handle {
    min-width: 28px;
    min-height: 28px;
    padding: 4px !important;
    color: #68707b !important;
    background: transparent !important;
    border: 0 !important;
}

body.admin-body .admin-page-shell table.table .btn-warning,
body.admin-body .admin-page-shell table.table .btn-secondary {
    color: #242930 !important;
    background: #fff !important;
    border-color: #cfd4da !important;
}

body.admin-body .admin-page-shell .admin-detail-card {
    padding: 0;
    overflow: hidden;
}

body.admin-body .admin-page-shell .admin-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.admin-body .admin-page-shell .admin-detail-item {
    min-width: 0;
    padding: 14px 16px;
    display: grid;
    gap: 4px;
    border-right: 1px solid var(--admin-ui-line);
    border-bottom: 1px solid var(--admin-ui-line);
}

body.admin-body .admin-page-shell .admin-detail-item:nth-child(3n) {
    border-right: 0;
}

body.admin-body .admin-page-shell .admin-detail-item span {
    color: var(--admin-ui-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

body.admin-body .admin-page-shell .admin-detail-item strong {
    overflow-wrap: anywhere;
    font-size: 12.5px;
}

body.admin-body .admin-page-shell .admin-detail-wide {
    grid-column: 1 / -1;
    border-right: 0;
}

body.admin-body .admin-page-shell .admin-detail-item:last-child {
    border-bottom: 0;
}

body.admin-body .admin-page-shell .badge,
body.admin-body .admin-page-shell .admin-status-pill {
    padding: 4px 7px !important;
    border-radius: 3px !important;
    box-shadow: none;
    font-size: 10px !important;
    font-weight: 750;
}

body.admin-body .admin-page-shell .alert {
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 4px;
    box-shadow: none;
    font-size: 12px;
}

body.admin-body .admin-page-shell .modal-content {
    width: min(92vw, 680px);
    max-height: 86vh;
    overflow-y: auto;
    padding: 0;
    background: #fff;
    border: 1px solid var(--admin-ui-line);
    border-radius: 6px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .16);
}

body.admin-body .admin-page-shell .modal-header,
body.admin-body .admin-page-shell .modal-body {
    padding: 14px 16px;
}

body.admin-body .admin-page-shell .modal-header {
    border-bottom: 1px solid var(--admin-ui-line);
}

body.admin-body .admin-sidebar .nav-group-items a.active {
    color: #fff !important;
    background: #242c39 !important;
    box-shadow: inset 2px 0 0 #fff;
}

body.admin-body .admin-page-shell .chat-admin-page .agent-box,
body.admin-body .admin-page-shell .chat-admin-page .chat-thread,
body.admin-body .admin-page-shell .chat-admin-page .input-wrapper,
body.admin-body .admin-page-shell .chat-admin-page .file-preview {
    border-radius: 6px;
    box-shadow: none;
}

body.admin-body .admin-page-shell .chat-admin-page .chat-bubble {
    padding: 10px 12px;
    border-radius: 7px;
    animation: none;
}

body.admin-body .admin-page-shell .chat-admin-page .chat-admin {
    color: #fff;
    background: #242930;
    border-color: #242930;
}

body.admin-body .admin-page-shell .chat-admin-page .input-wrapper:focus-within {
    border-color: #505762;
    box-shadow: 0 0 0 2px rgba(17, 19, 24, .08);
}

body.admin-body .admin-page-shell .chat-admin-page .input-wrapper textarea {
    min-height: 38px;
    padding: 8px 0 !important;
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
}

body.admin-body .admin-page-shell .chat-admin-page .file-link,
body.admin-body .admin-page-shell .chat-admin-page .typing-indicator {
    border-radius: 5px;
}

body.admin-body .admin-page-shell .review-grid .avatar {
    background: #242930;
}

body.admin-body .admin-page-shell .review-grid .review-images img {
    border-radius: 4px;
}

body.admin-body .admin-page-shell .review-grid .admin-reply {
    background: var(--admin-ui-soft);
    border-left-color: #242930;
    border-radius: 4px;
}

body.admin-body .admin-page-shell .review-grid .reply-header {
    color: #242930;
}

body.admin-body .admin-page-shell .empty-state {
    padding: 34px 16px;
}

body.admin-body .admin-page-shell .pagination {
    padding: 12px 0 0;
}

@media (max-width: 1024px) {
    body.admin-body .admin-page-shell > form.form-grid:not(.settings-grid),
    body.admin-body .admin-page-shell > .admin-container > form.form-grid:not(.card) {
        grid-template-columns: 1fr;
    }

    body.admin-body .admin-page-shell > form.form-grid:not(.settings-grid) > * {
        grid-column: 1;
    }
}

@media (max-width: 900px) {
    body.admin-body .admin-content {
        width: 100%;
        margin-left: 0 !important;
        padding: 70px 12px 24px !important;
    }

    body.admin-body .admin-topnav {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    body.admin-body .admin-toolbar,
    body.admin-body .admin-head,
    body.admin-body .admin-page-shell .page-header {
        align-items: stretch;
        flex-direction: column;
    }

    body.admin-body .admin-toolbar .toolbar-actions,
    body.admin-body .admin-head > div,
    body.admin-body .admin-page-shell .header-actions {
        width: 100%;
    }

    body.admin-body .admin-toolbar .toolbar-actions > *,
    body.admin-body .admin-head > a,
    body.admin-body .admin-head > div > a {
        flex: 1 1 auto;
    }

    body.admin-body .admin-page-shell .variant-row {
        grid-template-columns: 1fr;
    }

    body.admin-body .admin-page-shell .admin-image-fields {
        grid-template-columns: 1fr;
    }

    body.admin-body .admin-page-shell .admin-detail-grid {
        grid-template-columns: 1fr;
    }

    body.admin-body .admin-page-shell .admin-detail-item,
    body.admin-body .admin-page-shell .admin-detail-item:nth-child(3n) {
        grid-column: 1;
        border-right: 0;
    }

    body.admin-body .admin-page-shell .admin-table,
    body.admin-body .admin-page-shell table.table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
