:root {
    --bg: #f6f7fb;
    --surface: #ffffff;
    --surface-soft: #f3f8fb;
    --primary: #ef5a36;
    --primary-dark: #c73f1d;
    --secondary: #0f7f87;
    --ink: #172236;
    --muted: #5c667a;
    --success: #15803d;
    --warning: #b45309;
    --danger: #b91c1c;
    --border: #dce3ee;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 6px 18px rgba(23, 34, 54, 0.08);
    --shadow-lg: 0 18px 45px rgba(23, 34, 54, 0.12);
    --section-gap: clamp(3.8rem, 7.6vw, 6rem);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    color: var(--ink);
    background: #f8f8f8;
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.has-fixed-header {
    padding-top: var(--header-fixed-height, 0px);
}

main.page-wrap {
    flex: 1 0 auto;
}

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

.page-wrap {
    width: min(1280px, calc(100% - 2rem));
    margin-inline: auto;
}

.top-strip {
    border-bottom: 1px solid #d9d9d9;
    background: #f7f7f7;
}

.top-strip-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.top-strip-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    color: #4a4f59;
    font-size: 0.95rem;
}

.top-strip-left span {
    position: relative;
}

.top-strip-left span:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -0.52rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 0.85rem;
    background: #d6dbe2;
}

.top-strip-right {
    color: #4a4f59;
    font-size: 0.95rem;
}

.top-strip-right strong {
    color: #ff3124;
}

.site-header {
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid #e3e3e3;
    position: sticky;
    top: 0;
    transition: box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
    will-change: transform;
}

.site-header.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 90;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.3rem;
    min-height: 94px;
}

.site-header.is-sticky {
    border-bottom-color: rgba(208, 216, 228, 0.92);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.1);
    backdrop-filter: blur(8px);
}

.brand {
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.brand-logo-image {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    border: 1px solid rgba(174, 188, 212, 0.55);
    background: #fff;
}

.brand-logo-image-admin {
    width: 1.72rem;
    height: 1.72rem;
    border-radius: 7px;
}

.brand-dot {
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff3124, #ff5f38);
    box-shadow: 0 0 0 5px rgba(255, 49, 36, 0.14);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.main-nav a {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #28313f;
    font-size: 0.95rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.main-nav a:hover {
    color: #ff3124;
    background: #f8ebea;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.header-actions a {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    line-height: 0;
    font-size: 1.03rem;
    color: #3a4455;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    position: relative;
}

.header-actions button {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    line-height: 0;
    font-size: 1.03rem;
    color: #3a4455;
    border: 1px solid transparent;
    background: transparent;
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}

.header-actions a:hover {
    border-color: #d7dde9;
    background: #f6f8fb;
    color: #111928;
}

.header-actions button:hover {
    border-color: #d7dde9;
    background: #f6f8fb;
    color: #111928;
}

.mobile-nav-toggle {
    display: none;
    width: 2.45rem;
    height: 2.45rem;
    border: 1px solid #d7deea;
    border-radius: 999px;
    background: #fff;
    color: #2d3a52;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: auto;
    flex-shrink: 0;
}

.mobile-nav-toggle:hover {
    border-color: #c9d5e8;
    background: #f6f8fb;
    color: #111928;
}

.mobile-nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
}

.mobile-nav-drawer.is-open {
    pointer-events: auto;
}

.mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(8, 12, 20, 0.52);
    opacity: 0;
    transition: opacity 0.22s ease;
    cursor: pointer;
}

.mobile-nav-drawer.is-open .mobile-nav-backdrop {
    opacity: 1;
}

.mobile-nav-panel {
    position: relative;
    width: min(360px, 86vw);
    height: 100%;
    background: #f7f9fc;
    border-left: 1px solid #d7deea;
    box-shadow: -16px 0 32px rgba(17, 24, 39, 0.2);
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.72rem;
    transform: translateX(100%);
    transition: transform 0.22s ease;
}

.mobile-nav-drawer.is-open .mobile-nav-panel {
    transform: translateX(0);
}

.mobile-nav-head {
    min-height: 2.7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
}

.mobile-nav-head strong {
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.mobile-nav-close {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    border: 1px solid #d3ddeb;
    background: #fff;
    font-size: 1.5rem;
    line-height: 1;
    color: #2d3a52;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mobile-nav-links {
    display: grid;
    gap: 0.45rem;
}

.mobile-nav-quickactions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
}

.mobile-nav-icon-link,
.mobile-nav-icon-btn {
    min-height: 2.7rem;
    border-radius: 10px;
    border: 1px solid #d5deec;
    background: #fff;
    color: #1f2c44;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.2s ease;
}

.mobile-nav-icon-btn {
    width: 100%;
    cursor: pointer;
    padding: 0;
}

.mobile-nav-icon-link:hover,
.mobile-nav-icon-btn:hover {
    border-color: #c8d4e8;
    background: #f3f7fd;
    color: #111928;
}

.mobile-nav-icon-link .header-icon,
.mobile-nav-icon-btn .header-icon {
    width: 1.14rem;
    height: 1.14rem;
}

.mobile-nav-link {
    width: 100%;
    min-height: 2.55rem;
    border-radius: 10px;
    border: 1px solid #d5deec;
    background: #fff;
    color: #1f2c44;
    padding: 0.65rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    font-size: 0.93rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    border-color: #c8d4e8;
    background: #f3f7fd;
    color: #111928;
}

.mobile-nav-divider {
    height: 1px;
    background: #d9e1ee;
    margin: 0.12rem 0;
}

.mobile-nav-count {
    min-width: 1.3rem;
    height: 1.3rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: #ff3124;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.67rem;
    font-weight: 700;
}

.mobile-nav-icon-link .mobile-nav-count {
    position: absolute;
    top: 0.26rem;
    right: 0.26rem;
    min-width: 1.08rem;
    height: 1.08rem;
    font-size: 0.62rem;
    padding-inline: 0.18rem;
}

.mobile-nav-account {
    display: grid;
    gap: 0.45rem;
}

.mobile-nav-profile-toggle {
    width: 100%;
    min-height: 3rem;
    border-radius: 11px;
    border: 1px solid #d5deec;
    background: #fff;
    color: #1f2c44;
    padding: 0.5rem 0.62rem;
    display: flex;
    align-items: center;
    gap: 0.58rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-nav-profile-toggle:hover {
    border-color: #c8d4e8;
    background: #f3f7fd;
}

.mobile-nav-avatar {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid #d1d9e8;
    background: #f1f4fa;
    flex-shrink: 0;
}

.mobile-nav-profile-meta {
    min-width: 0;
    display: grid;
    gap: 0.02rem;
    text-align: left;
}

.mobile-nav-profile-meta strong {
    color: #1f2c44;
    font-size: 0.9rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-nav-profile-meta small {
    color: #5f6f89;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
}

.mobile-nav-profile-caret {
    margin-left: auto;
    color: #51617c;
    font-size: 0.74rem;
    transition: transform 0.2s ease;
}

.mobile-nav-profile-toggle[aria-expanded="true"] .mobile-nav-profile-caret {
    transform: rotate(180deg);
}

.mobile-nav-profile-menu {
    display: grid;
    gap: 0.45rem;
    padding-top: 0.1rem;
}

.mobile-nav-user {
    margin: 0;
    padding: 0.58rem 0.68rem;
    border: 1px solid #d9e2ef;
    border-radius: 10px;
    background: #fff;
    color: #33425e;
    font-size: 0.82rem;
    line-height: 1.45;
}

.mobile-nav-user strong {
    color: #1f2c44;
}

.mobile-nav-role {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.4rem;
    margin-left: 0.35rem;
    border-radius: 999px;
    font-size: 0.65rem;
    letter-spacing: 0.03em;
    font-weight: 700;
    background: #dcfce7;
    color: #166534;
}

.mobile-nav-auth-btn,
.mobile-nav-logout-btn {
    width: 100%;
    min-height: 2.6rem;
    border-radius: 10px;
    border: 1px solid transparent;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.mobile-nav-auth-btn {
    background: #ef5a36;
    color: #fff;
}

.mobile-nav-auth-btn:hover {
    background: #d34b2a;
}

.mobile-nav-logout-form {
    margin: 0;
}

.mobile-nav-logout-btn {
    border-color: #f0c2bc;
    background: #fff1ef;
    color: #bf3525;
}

.mobile-nav-logout-btn:hover {
    background: #ffe4df;
}

.header-account-menu {
    position: relative;
}

.header-account-toggle {
    width: 2.35rem;
    height: 2.35rem;
}

.header-account-dropdown {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #d7deea;
    border-radius: 12px;
    box-shadow: 0 16px 30px rgba(17, 24, 39, 0.14);
    padding: 0.7rem;
    display: grid;
    gap: 0.35rem;
    z-index: 40;
}

.header-account-user {
    margin: 0;
    font-size: 0.8rem;
    color: #63718b;
    padding: 0.22rem 0.25rem 0.4rem;
    border-bottom: 1px solid #e7ebf3;
}

.header-account-user strong {
    color: #1f2c44;
}

.header-account-role {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.45rem;
    margin-left: 0.35rem;
    border-radius: 999px;
    font-size: 0.66rem;
    letter-spacing: 0.03em;
    font-weight: 700;
    color: #166534;
    background: #dcfce7;
}

.header-account-dropdown a,
.header-account-logout-form button {
    width: 100%;
    min-height: 2.3rem;
    border-radius: 8px;
    border: 1px solid transparent;
    background: #f5f8fc;
    color: #253148;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 0.75rem;
    font-size: 0.87rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-account-dropdown a:hover,
.header-account-logout-form button:hover {
    border-color: #d5deec;
    background: #edf2fa;
}

.header-account-logout-form {
    margin: 0;
}

.header-account-logout-form button {
    background: #fff1ef;
    color: #bf3525;
}

.header-account-logout-form button:hover {
    border-color: #f2c0ba;
    background: #ffe4df;
}

.header-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.05;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.badge-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 0.3rem;
    margin-left: 0.3rem;
    border-radius: 999px;
    background: #ff3124;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
}

.header-actions .badge-cart {
    position: absolute;
    top: -0.45rem;
    right: -0.45rem;
    margin-left: 0;
    min-width: 1.2rem;
    height: 1.2rem;
    font-size: 0.66rem;
    padding-inline: 0.2rem;
}

body.is-cart-drawer-open {
    overflow: hidden;
}

body.is-mobile-nav-open {
    overflow: hidden;
}

body.is-search-modal-open {
    overflow: hidden;
}

body.is-admin-login-modal-open {
    overflow: hidden;
}

body.is-shop-filter-open {
    overflow: hidden;
}

.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
}

.cart-drawer.is-open {
    pointer-events: auto;
}

.cart-drawer-backdrop {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(8, 12, 20, 0.58);
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.25s ease;
}

.cart-drawer.is-open .cart-drawer-backdrop {
    opacity: 1;
}

.cart-drawer-panel {
    position: relative;
    width: min(390px, 92vw);
    height: 100%;
    background: #f7f8fb;
    border-left: 1px solid #d7deea;
    box-shadow: -18px 0 45px rgba(7, 12, 22, 0.28);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
}

.cart-drawer.is-open .cart-drawer-panel {
    transform: translateX(0);
}

.cart-drawer-head {
    min-height: 78px;
    padding: 1.15rem 1.15rem 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    border-bottom: 1px solid #dee5f1;
    background: #fff;
}

.cart-drawer-head h3 {
    margin: 0;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: 1.68rem;
    color: #1a2334;
}

.cart-drawer-close {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    border: 1px solid #d5ddeb;
    background: #fff;
    color: #2f3a50;
    font-size: 1.6rem;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-drawer-close:hover {
    border-color: #ef5a36;
    color: #ef5a36;
}

.cart-drawer-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0.75rem 1.15rem 0.8rem;
}

.cart-drawer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
}

.cart-drawer-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.95rem 0;
    border-bottom: 1px solid #dbe3ef;
}

.cart-drawer-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #dce3ee;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.cart-drawer-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-drawer-thumb span {
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: 1.3rem;
    color: #fff;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #30425f, #5577aa);
}

.cart-drawer-meta h4 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.25;
    color: #2d3750;
}

.cart-drawer-meta p {
    margin: 0.35rem 0 0;
    color: #6c778b;
    font-size: 0.9rem;
}

.cart-drawer-remove-form {
    margin: 0;
}

.cart-drawer-remove {
    width: 1.9rem;
    height: 1.9rem;
    border: 1px solid #d7deea;
    background: #fff;
    color: #7d8798;
    border-radius: 8px;
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.cart-drawer-remove svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-drawer-remove:hover {
    border-color: #ef5a36;
    color: #ef5a36;
}

.cart-drawer-empty {
    border: 1px dashed #d3dce9;
    border-radius: 12px;
    background: #fff;
    padding: 1rem;
    display: grid;
    gap: 0.7rem;
}

.cart-drawer-empty p {
    margin: 0;
    color: #50607b;
}

.cart-drawer-foot {
    border-top: 1px solid #dbe3ef;
    background: #fff;
    padding: 0.95rem 1.15rem 1.15rem;
    display: grid;
    gap: 0.85rem;
}

.cart-drawer-subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.cart-drawer-subtotal span {
    color: #55627c;
    font-size: 0.95rem;
}

.cart-drawer-subtotal strong {
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: 1.05rem;
    color: #202b3f;
}

.cart-drawer-actions {
    display: grid;
    gap: 0.55rem;
}

.cart-drawer-btn {
    width: 100%;
    min-height: 2.6rem;
    border-radius: 8px;
    border: 1px solid #212b3b;
    background: #212b3b;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.98rem;
    transition: all 0.2s ease;
}

.cart-drawer-btn:hover {
    background: #111a28;
    border-color: #111a28;
}

.search-modal {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.search-modal.is-open {
    pointer-events: auto;
}

.search-modal-backdrop {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(250, 251, 253, 0.9);
    backdrop-filter: blur(1px);
    opacity: 0;
    transition: opacity 0.22s ease;
    cursor: pointer;
}

.search-modal.is-open .search-modal-backdrop {
    opacity: 1;
}

.search-modal-close {
    position: absolute;
    top: clamp(0.7rem, 2.2vw, 1.3rem);
    right: clamp(0.75rem, 2.2vw, 1.35rem);
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    background: transparent;
    color: #121a2a;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease, color 0.2s ease;
}

.search-modal.is-open .search-modal-close {
    opacity: 1;
    transform: none;
}

.search-modal-close:hover {
    color: #ef5a36;
}

.search-modal-dialog {
    position: relative;
    width: min(680px, calc(100% - 2rem));
    padding: clamp(1.7rem, 4vw, 2.9rem) clamp(0.5rem, 2vw, 1rem);
    text-align: center;
    transform: translateY(16px);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.search-modal.is-open .search-modal-dialog {
    transform: none;
    opacity: 1;
}

.search-modal-hint {
    margin: 0;
    color: #2e3647;
    font-size: clamp(1rem, 1.8vw, 2rem);
    line-height: 1.5;
}

.search-modal-form {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border-bottom: 1px solid #2f3645;
    gap: 0.6rem;
}

.search-modal-form input {
    border: none;
    border-radius: 0;
    min-height: clamp(3rem, 6vw, 4rem);
    font-size: clamp(1.35rem, 3.2vw, 2.1rem);
    color: #232a3b;
    text-align: center;
    background: transparent;
    padding: 0 0.3rem 0.3rem;
}

.search-modal-form input::placeholder {
    color: #525b6f;
}

.search-modal-form input:focus {
    box-shadow: none;
}

.search-modal-form button {
    width: 2.6rem;
    height: 2.6rem;
    border: none;
    background: transparent;
    color: #3f4758;
    display: grid;
    place-items: center;
    cursor: pointer;
    margin-bottom: 0.18rem;
}

.search-modal-form button:hover {
    color: #ef5a36;
}

.search-modal-form svg {
    width: 1.4rem;
    height: 1.4rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-login-modal {
    position: fixed;
    inset: 0;
    z-index: 135;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.admin-login-modal.is-open {
    pointer-events: auto;
}

.admin-login-modal-backdrop {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(11, 16, 27, 0.62);
    opacity: 0;
    transition: opacity 0.22s ease;
    cursor: pointer;
}

.admin-login-modal.is-open .admin-login-modal-backdrop {
    opacity: 1;
}

.admin-login-modal-dialog {
    position: relative;
    width: min(430px, calc(100% - 1.6rem));
    background: #fff;
    border: 1px solid #d8e0ed;
    border-radius: 16px;
    padding: 1.2rem 1.05rem 1rem;
    box-shadow: 0 24px 45px rgba(8, 12, 20, 0.28);
    transform: translateY(12px);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.admin-login-modal.is-open .admin-login-modal-dialog {
    transform: none;
    opacity: 1;
}

.admin-login-modal-close {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    width: 2rem;
    height: 2rem;
    border: 1px solid #d5deea;
    border-radius: 999px;
    background: #fff;
    color: #344158;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.2s ease;
}

.admin-login-modal-close:hover {
    border-color: #ef5a36;
    color: #ef5a36;
}

.admin-login-modal-kicker {
    margin: 0;
    color: #6b7890;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 700;
}

.admin-login-modal-dialog h3 {
    margin: 0.35rem 0 0;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: 1.7rem;
    color: #1d2940;
}

.admin-login-modal-desc {
    margin: 0.55rem 0 0;
    color: #5c6781;
    font-size: 0.92rem;
    line-height: 1.6;
}

.admin-login-modal-form {
    margin-top: 0.95rem;
    display: grid;
    gap: 0.82rem;
}

.admin-login-modal-form .btn {
    min-height: 2.9rem;
    width: 100%;
}

.admin-login-modal-form .btn:disabled {
    opacity: 0.56;
    cursor: not-allowed;
    transform: none;
    background: #f08b72;
}

.account-auth-tabs {
    margin-top: 0.88rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.account-auth-tab {
    border: 1px solid #d4ddeb;
    background: #fff;
    color: #394662;
    min-height: 2.35rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0 0.3rem;
    text-align: center;
}

.account-auth-tab:hover {
    border-color: #b7c7e2;
}

.account-auth-tab.is-active {
    border-color: #ef5a36;
    background: #fff3f0;
    color: #d04a2a;
}

.account-auth-panel {
    margin-top: 0.2rem;
}

.admin-login-modal.is-otp-step .account-auth-tabs {
    display: none;
}

.field-note {
    font-size: 0.8rem;
    color: #63718a;
}

.field-note.is-loading {
    color: #1f5e74;
}

.field-note.is-ok {
    color: #166534;
}

.field-note.is-error {
    color: #b91c1c;
}

.flash-stack {
    margin-top: 1rem;
    display: grid;
    gap: 0.7rem;
}

.flash {
    border-radius: var(--radius-md);
    padding: 0.95rem 1rem;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.92rem;
}

.flash-success {
    background: #ecfdf3;
    border-color: #bbf7d0;
    color: #166534;
}

.flash-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.member-dashboard-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.member-dashboard-page .section-title {
    margin-top: 1.35rem;
}

.member-dashboard-page .section-title h2 {
    overflow-wrap: anywhere;
}

.member-dashboard-head > :first-child {
    min-width: 0;
    flex: 1 1 280px;
}

.member-kicker {
    margin: 0;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #66758f;
    font-weight: 700;
}

.member-dashboard-head h3 {
    margin: 0.32rem 0 0;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.26rem, 2.2vw, 1.72rem);
    color: #1e2a42;
}

.member-dashboard-quick {
    display: grid;
    gap: 0.45rem;
    justify-items: start;
    min-width: 220px;
}

.member-dashboard-quick span {
    color: #5f6d85;
    font-size: 0.9rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.member-dashboard-quick strong {
    color: #1f2c44;
}

.member-dashboard-quick form {
    margin: 0;
}

.member-dashboard-quick .btn {
    min-height: 2.5rem;
    width: auto;
}

.member-stat-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.8rem;
}

.member-stat-card p {
    margin: 0;
    color: #5f6c84;
    font-size: 0.83rem;
    font-weight: 600;
}

.member-stat-card h3 {
    margin: 0.35rem 0 0;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.15rem, 1.8vw, 1.55rem);
    color: #1f2b42;
}

.member-order-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.member-order-actions .btn {
    min-height: 2.05rem;
    width: auto;
    font-size: 0.78rem;
    padding: 0.52rem 0.72rem;
    border-radius: 9px;
}

.showcase-wrap {
    margin-top: 0;
}

.showcase-bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
}

.showcase-carousel {
    position: relative;
    overflow: hidden;
    height: clamp(400px, 70vh, 700px);
    background: #0a0d14;
}

.showcase-track {
    display: flex;
    height: 100%;
}

.showcase-slide {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
    background-image:
        linear-gradient(90deg, rgba(9, 12, 20, 0.9) 0%, rgba(9, 12, 20, 0.5) 44%, rgba(9, 12, 20, 0.12) 100%),
        var(--slide-bg);
    background-size: cover;
    background-position: center;
}

.showcase-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(6, 9, 16, 0.08), rgba(6, 9, 16, 0.58));
}

.showcase-content-shell {
    position: relative;
    z-index: 2;
    height: 100%;
    width: min(1280px, calc(100% - 2rem));
    margin-inline: auto;
    display: flex;
    align-items: center;
}

.showcase-content {
    max-width: 630px;
    padding: 1rem 0;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    transform: translateX(34px);
    opacity: 0;
    transition: transform 500ms ease 100ms, opacity 500ms ease 100ms;
}

.showcase-slide.is-active .showcase-content {
    transform: translateX(0);
    opacity: 1;
}

.showcase-tag {
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: clamp(1.05rem, 1.45vw, 1.75rem);
}

.showcase-content h1 {
    margin: 0.5rem 0 0;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(2.2rem, 6.2vw, 5.2rem);
    line-height: 1.08;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.showcase-subtitle {
    margin: 0.9rem 0 0;
    font-size: clamp(0.95rem, 1.6vw, 1.95rem);
    max-width: 30ch;
    line-height: 1.28;
    text-transform: none;
}

.showcase-content .btn {
    margin-top: 1rem;
    align-self: flex-start;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 0.93rem;
    background: #ff3124;
    padding-inline: 1.6rem;
}

.showcase-nav {
    position: absolute;
    z-index: 4;
    top: 50%;
    transform: translateY(-50%);
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(9, 12, 20, 0.24);
    color: #fff;
    font-size: 2.05rem;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.showcase-nav:hover {
    background: rgba(255, 49, 36, 0.85);
    border-color: rgba(255, 49, 36, 0.9);
}

.showcase-nav.prev {
    left: 1.2rem;
}

.showcase-nav.next {
    right: 1.2rem;
}

.showcase-scroll {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(8, 12, 20, 0.42);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    animation: bob 1.6s ease-in-out infinite;
}

.showcase-scroll:hover {
    background: rgba(255, 49, 36, 0.88);
    border-color: rgba(255, 49, 36, 1);
}

@keyframes bob {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-4px);
    }
}

.showcase-dots {
    position: absolute;
    left: 50%;
    bottom: 0.7rem;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0;
}

.showcase-dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 999px;
    border: none;
    background: #c7ceda;
    cursor: pointer;
    transition: all 0.2s ease;
}

.showcase-dot.is-active {
    width: 1.7rem;
    background: #ff3124;
}

.hero-cta {
    margin-top: 1.3rem;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.content-two {
    --content-two-margin-top: calc(var(--section-gap) / 2);
    --content-two-pad-top: clamp(2.2rem, 4.2vw, 3.4rem);
    position: relative;
    margin-top: var(--content-two-margin-top);
    margin-bottom: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-top: var(--content-two-pad-top);
    padding-bottom: calc(var(--content-two-pad-top) + var(--content-two-margin-top));
    background:
        linear-gradient(180deg, #f6f6f6 0%, #f0f1f4 100%);
    display: grid;
    gap: 1.2rem;
    overflow: hidden;
}

.content-two::before,
.content-two::after {
    --content-two-sketch-size: clamp(760px, 82vw, 1250px);
    content: "";
    position: absolute;
    top: 59%;
    transform: translateY(-50%);
    width: var(--content-two-sketch-size);
    aspect-ratio: 13 / 10;
    background: url("car-sketch-outline.svg") center / contain no-repeat;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.content-two::before {
    left: calc(var(--content-two-sketch-size) * -0.5);
}

.content-two::after {
    right: calc(var(--content-two-sketch-size) * -0.5);
    transform: translateY(-50%) scaleX(-1);
}

.content-two > * {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100% - 2rem));
    margin-inline: auto;
}

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

.trend-card {
    position: relative;
    min-height: 255px;
    border-radius: 8px;
    overflow: hidden;
    background-image: var(--trend-bg);
    background-size: cover;
    background-position: center;
}

.trend-card::after {
    content: none;
}

.trend-overlay {
    position: relative;
    z-index: 2;
    color: #fff;
    height: 100%;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.trend-meta {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.86);
}

.trend-overlay h3 {
    margin: 0.45rem 0 0;
    font-size: 2rem;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    line-height: 1.05;
    text-transform: uppercase;
}

.trend-price {
    margin: 0.55rem 0 0;
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.92);
}

.trend-overlay .btn {
    margin-top: auto;
    width: auto;
    border-radius: 0;
    font-size: 0.86rem;
    padding: 0.62rem 1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.service-strip {
    position: relative;
    background: rgba(250, 250, 251, 0.94);
    border: 1px solid #e5e5e5;
    border-radius: 0;
    padding: 1.15rem 1.2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.service-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    border: 2px solid #f17878;
    color: #d84646;
    display: grid;
    place-items: center;
    font-size: 1.28rem;
    flex-shrink: 0;
}

.service-item h4 {
    margin: 0;
    font-size: 1.05rem;
}

.service-item p {
    margin: 0.4rem 0 0;
    color: #404a5b;
    font-size: 0.95rem;
    line-height: 1.45;
}

.deal-section {
    --deal-margin-top: calc(var(--section-gap) / 2);
    --deal-pad-top: 0px;
    margin-top: var(--deal-margin-top);
    margin-bottom: 0;
    padding-top: var(--deal-pad-top);
    padding-bottom: calc(var(--deal-pad-top) + var(--deal-margin-top));
    width: min(1120px, 100%);
    margin-inline: auto;
}

.deal-header {
    margin-bottom: 1rem;
}

.deal-header h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    letter-spacing: 0.02em;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
}

.deal-header p {
    margin: 0.45rem 0 0;
    color: #4d586d;
}

.deal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 255px;
    gap: 1rem;
    min-width: 0;
}

.deal-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    min-width: 0;
    align-items: start;
}

.deal-card {
    border: 1px solid #e2e4ea;
    background: #fff;
    min-width: 0;
    overflow: hidden;
    align-self: start;
}

.deal-card-featured {
    grid-column: span 2;
    min-width: 0;
}

.deal-card-top-match {
    align-self: stretch;
}

.deal-card-top-match .deal-image-wrap {
    height: 100%;
    min-height: 100%;
    aspect-ratio: auto;
}

.deal-card-top-match .deal-image {
    height: 100%;
    object-fit: cover;
}

.deal-image-wrap {
    position: relative;
    background: #f6f7fb;
    overflow: hidden;
}

.deal-image-wrap:not(.deal-image-featured) {
    aspect-ratio: 1 / 1;
}

.deal-image-featured {
    aspect-ratio: 16 / 10;
}

.deal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 420ms ease, filter 420ms ease;
}

.deal-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 14, 24, 0.08) 30%, rgba(8, 14, 24, 0.68) 100%);
    opacity: 1;
    transition: opacity 320ms ease;
    pointer-events: none;
    z-index: 1;
}

.deal-image-fallback {
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: grid;
    place-items: center;
    font-family: "Sora", sans-serif;
    font-size: 2.4rem;
    color: #fff;
    background: linear-gradient(135deg, #25354f, #4a6ca3);
}

.deal-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 0.92rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.45rem;
}

.deal-overlay-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.deal-info-inline,
.deal-actions {
    position: relative;
    z-index: 2;
}

.deal-info-inline h3 {
    margin: 0;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.2;
    max-width: 20ch;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.deal-card-featured .deal-info-inline h3 {
    font-size: clamp(1.15rem, 2.1vw, 1.42rem);
}

.deal-price-inline {
    margin: 0.16rem 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.89rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
    max-height: 2rem;
    opacity: 1;
    overflow: hidden;
    transition: max-height 240ms ease, opacity 200ms ease, margin 240ms ease;
}

.deal-price-inline span {
    color: #ff8d80;
    font-weight: 800;
}

.deal-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: opacity 260ms ease, transform 260ms ease, max-height 260ms ease;
}

.deal-action-form {
    margin: 0;
}

.deal-action-btn {
    width: 2rem;
    height: 2rem;
    border: 1px solid #d5dbe8;
    background: rgba(255, 255, 255, 0.97);
    color: #34445d;
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.deal-action-btn svg {
    width: 1.02rem;
    height: 1.02rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.deal-action-btn:hover {
    border-color: #ff3124;
    color: #ff3124;
    background: #fff;
}

.deal-card:hover .deal-image,
.deal-card:focus-within .deal-image {
    transform: scale(1.08);
    filter: brightness(1.06);
}

.deal-card:hover .deal-image-wrap::after,
.deal-card:focus-within .deal-image-wrap::after {
    opacity: 0.86;
}

.deal-card:hover .deal-price-inline,
.deal-card:focus-within .deal-price-inline {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.deal-card:hover .deal-actions,
.deal-card:focus-within .deal-actions {
    opacity: 1;
    max-height: 3rem;
    transform: translateY(0);
}

.deal-banner {
    background:
        linear-gradient(170deg, rgba(5, 10, 18, 0.95), rgba(8, 27, 42, 0.86)),
        url("https://images.unsplash.com/photo-1539185441755-769473a23570?auto=format&fit=crop&w=1200&q=80");
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 1.4rem 1.25rem;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.deal-banner-tag {
    margin: 0;
    font-size: 0.84rem;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.85);
}

.deal-banner h3 {
    margin: 0.5rem 0 0;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: 2rem;
    line-height: 1.08;
}

.deal-banner p {
    margin: 0.8rem 0 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
}

.deal-banner .btn {
    margin-top: auto;
    width: auto;
    align-self: flex-start;
    border-radius: 0;
}

.newsletter-section {
    --newsletter-gap: calc(var(--section-gap) / 2);
    --newsletter-gap-bottom: calc((var(--newsletter-gap) + 0.9rem) * 1.5);
    margin-top: var(--newsletter-gap);
    margin-bottom: var(--newsletter-gap-bottom);
    padding-top: 0;
    padding-bottom: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-inline: max(1rem, calc((100vw - 1280px) / 2));
    border-top: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
    border-left: none;
    border-right: none;
    background: #efefef;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    overflow: hidden;
}

.newsletter-media {
    position: relative;
    min-height: 320px;
    background: linear-gradient(140deg, #f5f5f5, #ececec);
    display: grid;
    place-items: center;
}

.newsletter-media-shape {
    position: absolute;
    inset: auto auto 1.2rem -2.4rem;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 49, 36, 0.18), rgba(255, 49, 36, 0));
}

.newsletter-media::after {
    content: "";
    position: absolute;
    top: -3rem;
    right: 3rem;
    width: 6px;
    height: 180px;
    transform: rotate(36deg);
    background: linear-gradient(180deg, #ff3124, rgba(255, 49, 36, 0.1));
}

.newsletter-media img {
    width: min(100%, 560px);
    height: 100%;
    max-height: 360px;
    object-fit: contain;
    display: block;
    z-index: 1;
    filter: drop-shadow(0 20px 35px rgba(18, 26, 42, 0.2));
}

.newsletter-content {
    padding: 2.2rem 2rem;
}

.newsletter-kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ef4b2f;
    font-weight: 800;
    font-size: 0.8rem;
}

.newsletter-content h2 {
    margin: 0.5rem 0 0;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.2rem, 2.35vw, 1.95rem);
    line-height: 1.16;
    text-transform: uppercase;
    color: #293345;
    max-width: 16.8ch;
}

.newsletter-content > p {
    margin: 0.9rem 0 0;
    color: #445165;
    max-width: 48ch;
    line-height: 1.55;
}

.newsletter-form {
    margin-top: 1.25rem;
    max-width: 560px;
    display: flex;
    align-items: stretch;
}

.newsletter-form input {
    border-radius: 0;
    border: 1px solid #d8d8d8;
    border-right: none;
    background: #f8f8f8;
    min-height: 52px;
    padding-inline: 0.95rem;
}

.newsletter-form .btn {
    border-radius: 0;
    min-width: 170px;
    width: auto;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 0.86rem;
    padding-inline: 1.25rem;
}

.newsletter-error {
    margin: 0.65rem 0 0;
    color: #b91c1c;
    font-size: 0.86rem;
    font-weight: 600;
}

.newsletter-note {
    margin-top: 0.65rem;
    font-size: 0.83rem;
    color: #586479;
}

.popular-items-section {
    --popular-margin-top: calc(var(--section-gap) / 2);
    --popular-pad-top: 1.6rem;
    position: relative;
    margin-top: var(--popular-margin-top);
    margin-bottom: 0;
    padding: var(--popular-pad-top) 1rem calc(var(--popular-pad-top) + var(--popular-margin-top));
    border: 1px solid #e1e1e1;
    background: #efefef;
    overflow: hidden;
}

.popular-items-section::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    left: -95px;
    bottom: -95px;
    border-radius: 999px;
    border: 6px solid rgba(104, 114, 133, 0.14);
}

.popular-header {
    position: relative;
    z-index: 1;
    margin-bottom: 1.1rem;
}

.popular-header h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    letter-spacing: 0.02em;
}

.popular-header p {
    margin: 0.5rem 0 0;
    color: #4e596d;
    max-width: 64ch;
}

.popular-products-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.popular-deal-card .deal-image-wrap {
    aspect-ratio: 1 / 1;
}

.popular-deal-card .deal-info-inline h3 {
    font-size: 1.03rem;
}

.final-cta-section {
    --final-cta-margin-top: calc(var(--section-gap) / 2);
    --final-cta-pad-top: 0px;
    margin-top: var(--final-cta-margin-top);
    margin-bottom: 0;
    padding-top: var(--final-cta-pad-top);
    padding-bottom: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-inline: max(1rem, calc((100vw - 1280px) / 2));
    border: 1px solid #e1e1e1;
    background:
        radial-gradient(circle at 7% 78%, rgba(56, 65, 81, 0.14) 0 82px, transparent 83px),
        radial-gradient(circle at 93% 22%, rgba(56, 65, 81, 0.14) 0 82px, transparent 83px),
        linear-gradient(180deg, #f1f1f1 0%, #ececec 100%);
    overflow: hidden;
}

.final-cta-inner {
    min-height: 260px;
    padding: 2rem 1rem;
    display: grid;
    place-items: center;
    text-align: center;
    position: relative;
}

.final-cta-inner::before,
.final-cta-inner::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border: 6px solid rgba(99, 108, 124, 0.18);
    border-radius: 999px;
}

.final-cta-inner::before {
    left: -95px;
    top: 45px;
}

.final-cta-inner::after {
    right: -95px;
    bottom: 45px;
}

.final-cta-tag {
    margin: 0;
    color: #5b6475;
    font-size: clamp(0.95rem, 1.6vw, 1.3rem);
}

.final-cta-inner h2 {
    margin: 0.45rem 0 0;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.65rem, 4.4vw, 3.15rem);
    line-height: 1.15;
    text-transform: uppercase;
    color: #313c50;
    max-width: 18ch;
}

.final-cta-button {
    margin-top: 1.1rem;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    width: auto;
    min-width: 170px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.section-title {
    margin: 2rem 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.section-title h2 {
    margin: 0;
    font-size: 1.35rem;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
}

.text-muted {
    color: var(--muted);
    line-height: 1.6;
}

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

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.product-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(15, 127, 135, 0.9), rgba(72, 205, 215, 0.84)),
        #0f7f87;
    display: grid;
    place-items: center;
    color: #fff;
    font-family: "Sora", sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.95rem;
}

.product-card h3 {
    margin: 0;
    font-size: 1.07rem;
}

.price {
    margin: 0.65rem 0 0;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: 1.2rem;
}

.stock {
    margin: 0.42rem 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.product-card form {
    margin-top: auto;
    padding-top: 0.9rem;
}

.btn {
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.72rem 1rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-1px);
    background: var(--primary-dark);
}

.btn-outline {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: #eef3fb;
}

.btn-secondary {
    background: var(--secondary);
    color: #fff;
}

.btn-secondary:hover {
    background: #0b6369;
}

.btn-danger {
    background: #ffe5e3;
    color: #af2f1f;
}

.btn-danger:hover {
    background: #ffcfc8;
}

.btn-sm {
    font-size: 0.78rem;
    padding: 0.45rem 0.72rem;
    border-radius: 10px;
}

.stack {
    display: grid;
    gap: 1rem;
}

.panel {
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.two-col {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 1rem;
}

.checkout-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.95fr);
    align-items: start;
    margin-bottom: clamp(1rem, 2.4vw, 1.8rem);
}

.checkout-main-panel,
.checkout-summary-panel {
    min-width: 0;
}

.checkout-summary-panel {
    align-self: start;
    position: sticky;
    top: calc(var(--header-fixed-height, 0px) + 1rem);
}

.payment-upload-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: start;
    margin-bottom: clamp(1.25rem, 3vw, 2.25rem);
}

.payment-upload-main,
.payment-upload-aside {
    min-width: 0;
}

.payment-upload-aside {
    align-self: start;
    position: sticky;
    top: calc(var(--header-fixed-height, 0px) + 1rem);
}

.checkout-contact-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.payment-method-preview {
    margin-top: 0.65rem;
    border: 1px solid #d8e0ed;
    border-radius: 12px;
    background: #f6f9fd;
    padding: 0.7rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.payment-method-logo {
    width: 52px;
    height: 34px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #d3ddeb;
    border-radius: 8px;
    padding: 0.2rem 0.3rem;
    flex-shrink: 0;
}

.payment-method-logo-fallback {
    width: 52px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #d3ddeb;
    background: #eef3fb;
    color: #31415f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: 0.03em;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.payment-method-logo.is-hidden,
.payment-method-logo-fallback.is-hidden {
    display: none;
}

.payment-method-preview-text {
    display: grid;
    gap: 0.15rem;
}

.payment-method-preview-text strong {
    color: #1e2a42;
    font-size: 0.95rem;
}

.payment-method-preview-text small {
    font-size: 0.78rem;
}

.payment-method-logo-list {
    margin-top: 0.55rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.payment-method-logo-item {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    border: 1px solid #d7deea;
    border-radius: 999px;
    background: #fff;
    padding: 0.24rem 0.5rem 0.24rem 0.26rem;
    transition: all 0.2s ease;
}

.payment-method-logo-item img,
.payment-method-logo-item .payment-method-logo-fallback {
    width: 28px;
    height: 20px;
    border-radius: 6px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #d7deea;
    padding: 0.1rem 0.16rem;
    font-size: 0.62rem;
}

.payment-method-logo-item .payment-method-logo-fallback {
    background: #eef3fb;
}

.payment-method-logo-item small {
    color: #3b4862;
    font-size: 0.73rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.payment-method-logo-item.is-active {
    border-color: #ef5a36;
    background: #fff3f0;
}

.shipping-method-preview {
    margin-top: 0.65rem;
    border: 1px solid #d8e0ed;
    border-radius: 12px;
    background: #f6f9fd;
    padding: 0.7rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.shipping-method-logo {
    width: 52px;
    height: 34px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #d3ddeb;
    border-radius: 8px;
    padding: 0.2rem 0.3rem;
    flex-shrink: 0;
}

.shipping-method-logo-fallback {
    width: 52px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #d3ddeb;
    background: #eef3fb;
    color: #31415f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: 0.03em;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.shipping-method-logo.is-hidden,
.shipping-method-logo-fallback.is-hidden {
    display: none;
}

.shipping-method-preview-text {
    display: grid;
    gap: 0.15rem;
}

.shipping-method-preview-text strong {
    color: #1e2a42;
    font-size: 0.95rem;
}

.shipping-method-preview-text small {
    font-size: 0.78rem;
}

.shipping-method-logo-list {
    margin-top: 0.55rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.shipping-method-logo-item {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    border: 1px solid #d7deea;
    border-radius: 999px;
    background: #fff;
    padding: 0.24rem 0.5rem 0.24rem 0.26rem;
    transition: all 0.2s ease;
}

.shipping-method-logo-item img,
.shipping-method-logo-item .shipping-method-logo-fallback {
    width: 28px;
    height: 20px;
    border-radius: 6px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #d7deea;
    padding: 0.1rem 0.16rem;
    font-size: 0.62rem;
}

.shipping-method-logo-item .shipping-method-logo-fallback {
    background: #eef3fb;
}

.shipping-method-logo-item small {
    color: #3b4862;
    font-size: 0.73rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.shipping-method-logo-item.is-active {
    border-color: #ef5a36;
    background: #fff3f0;
}

.cart-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.85rem 0;
    border-bottom: 1px dashed var(--border);
}

.cart-row:last-child {
    border-bottom: none;
}

.cart-item-main {
    display: grid;
    gap: 0.2rem;
}

.cart-item-main h4 {
    margin: 0;
}

.field {
    display: grid;
    gap: 0.35rem;
}

.field label {
    font-weight: 700;
    font-size: 0.9rem;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid #cfd8e8;
    border-radius: 10px;
    font: inherit;
    padding: 0.66rem 0.75rem;
    background: #fff;
    color: var(--ink);
}

textarea {
    min-height: 110px;
    resize: vertical;
}

.checkout-address-textarea {
    min-height: 82px;
    resize: both;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(15, 127, 135, 0.15);
}

.error {
    color: #b91c1c;
    font-size: 0.82rem;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.45rem;
}

.summary-total {
    margin-top: 0.9rem;
    padding-top: 0.8rem;
    border-top: 1px dashed var(--border);
    font-weight: 800;
    font-size: 1.1rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
}

.status-pending {
    color: #92400e;
    background: #fef3c7;
}

.status-paid {
    color: #166534;
    background: #dcfce7;
}

.status-rejected,
.status-cancelled {
    color: #991b1b;
    background: #fee2e2;
}

.status-shipped {
    color: #0c4a6e;
    background: #dbeafe;
}

.status-completed {
    color: #14532d;
    background: #dcfce7;
}

.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

.timeline li {
    border-left: 2px solid #c7d3ea;
    padding-left: 0.8rem;
}

.timeline li strong {
    display: block;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    padding: 0.72rem 0.55rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
}

th {
    color: #43506a;
    font-weight: 700;
    font-size: 0.83rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.auth-card {
    width: min(440px, 100%);
    margin: 4.5rem auto;
}

.auth-card h1 {
    margin-top: 0;
}

.admin-auth-shell {
    position: relative;
    padding: clamp(1rem, 3.4vw, 2rem) 0 clamp(2rem, 4.8vw, 3rem);
}

.admin-auth-card {
    border-radius: 20px;
    border: 1px solid #dbe3f1;
    box-shadow: 0 16px 42px rgba(14, 22, 38, 0.09);
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.admin-kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64728b;
}

.admin-auth-hint {
    margin: 0.2rem 0 0.1rem;
    border-radius: 12px;
    border: 1px solid #d9e2f0;
    background: #f6f8fd;
    padding: 0.65rem 0.8rem;
    display: grid;
    gap: 0.2rem;
    font-size: 0.88rem;
    color: #40506c;
}

.admin-auth-hint strong {
    color: #2b3a55;
}

.admin-auth-hint code {
    border-radius: 6px;
    padding: 0.09rem 0.34rem;
    background: #eef2fb;
    border: 1px solid #d4deed;
    color: #24314b;
    font-size: 0.8rem;
}

.admin-shell {
    margin: 1.15rem 0 2rem;
    display: grid;
    gap: 1rem;
}

.admin-page-head {
    padding: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.95rem;
    flex-wrap: wrap;
}

.admin-page-head-main h1 {
    margin: 0.22rem 0 0;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
}

.admin-page-head-main p {
    margin: 0.35rem 0 0;
    max-width: 72ch;
}

.admin-page-head-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.admin-page-head-actions .btn {
    min-height: 2.65rem;
}

.admin-page-head-actions form {
    margin: 0;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.admin-stat-card {
    display: grid;
    gap: 0.18rem;
    border-radius: 14px;
}

.admin-stat-label {
    color: #5f6c85;
    font-size: 0.82rem;
    font-weight: 600;
}

.admin-stat-number {
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    color: #25324a;
    font-size: clamp(1.2rem, 2.3vw, 1.7rem);
}

.admin-stat-card-highlight {
    background: linear-gradient(135deg, #ef5a36 0%, #ff7b4f 100%);
    border-color: #e85a37;
}

.admin-stat-card-highlight .admin-stat-label,
.admin-stat-card-highlight .admin-stat-number {
    color: #ffffff;
}

.admin-dashboard-chart-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.admin-chart-card {
    display: grid;
    gap: 0.28rem;
}

.admin-chart-card .text-muted {
    margin: 0;
}

.admin-chart-wrap {
    position: relative;
    min-height: 280px;
    margin-top: 0.35rem;
}

.admin-chart-wrap canvas {
    width: 100% !important;
    height: 100% !important;
}

.admin-quick-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.admin-quick-action-card {
    border: 1px solid #d6e0ef;
    border-radius: 14px;
    background: linear-gradient(180deg, #fdfefe 0%, #f5f8fe 100%);
    padding: 0.85rem;
    display: grid;
    gap: 0.4rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.admin-quick-action-card h4 {
    margin: 0;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: 1rem;
    color: #233550;
}

.admin-quick-action-card p {
    margin: 0;
    color: #55637d;
    font-size: 0.86rem;
    line-height: 1.55;
}

.admin-quick-action-card span {
    color: #ef5a36;
    font-size: 0.8rem;
    font-weight: 700;
}

.admin-quick-action-card:hover {
    border-color: #ef5a36;
    box-shadow: 0 10px 18px rgba(34, 57, 91, 0.1);
    transform: translateY(-2px);
}

.admin-filter-panel {
    padding: 0.9rem 1rem;
}

.admin-filter-form {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.admin-filter-form .field {
    min-width: 230px;
    flex: 1 1 230px;
}

.admin-pagination-wrap {
    margin-top: 0.1rem;
}

.admin-back-row {
    display: flex;
    align-items: center;
}

.admin-two-col {
    gap: 1rem;
}

.admin-card-title {
    margin: 0 0 0.55rem;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: 1.06rem;
}

.admin-block-text {
    margin: 0;
}

.admin-status-row {
    margin: 0.2rem 0 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
}

.admin-sub-panel {
    background: var(--surface-soft);
    margin-top: 1rem;
}

.admin-summary-row {
    margin-top: 0.8rem;
}

.admin-settings-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1rem;
}

.admin-settings-note {
    border: 1px solid #d7e0ef;
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    background: #f9fbff;
}

.admin-settings-note h4 {
    margin: 0;
    font-size: 0.96rem;
}

.admin-settings-note ul {
    margin: 0.55rem 0 0;
    padding-left: 1rem;
    color: #4b576f;
    line-height: 1.55;
    display: grid;
    gap: 0.35rem;
}

.admin-body {
    background: linear-gradient(180deg, #f2f5fb 0%, #edf1f8 100%);
    color: #1f2b42;
}

.admin-layout {
    min-height: 100dvh;
    height: 100dvh;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    overflow: hidden;
}

.admin-sidebar {
    background: linear-gradient(180deg, #101a2d 0%, #0d1627 100%);
    border-right: 1px solid rgba(188, 203, 227, 0.16);
    position: sticky;
    top: 0;
    height: 100dvh;
    align-self: start;
}

.admin-sidebar-inner {
    height: 100%;
    padding: 1rem 0.9rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

body.is-admin-nav-open {
    overflow: hidden;
}

.admin-mobile-header {
    display: none;
}

.admin-mobile-brand {
    color: #16263e;
}

.admin-mobile-menu-btn {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #cdd8ea;
    border-radius: 12px;
    background: #fff;
    color: #1f2b42;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.24rem;
    cursor: pointer;
    padding: 0;
}

.admin-mobile-menu-btn span {
    width: 1.1rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.admin-sidebar-close {
    display: none;
}

.admin-sidebar-backdrop {
    display: none;
}

.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.02rem, 1.8vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.admin-sidebar-brand {
    color: #f4f7ff;
}

.admin-sidebar-subtitle {
    margin: 0.38rem 0 0;
    color: #93a4c3;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.admin-sidebar-nav {
    margin-top: 1rem;
    display: grid;
    gap: 0.4rem;
}

.admin-sidebar-nav a {
    color: #cdd8eb;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 0.62rem 0.72rem;
    font-size: 0.86rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.admin-sidebar-nav a:hover {
    color: #fff;
    border-color: rgba(189, 205, 228, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.admin-sidebar-nav a.is-active {
    color: #fff;
    border-color: rgba(239, 90, 54, 0.6);
    background: rgba(239, 90, 54, 0.22);
}

.admin-sidebar-bottom {
    margin-top: auto;
    display: grid;
    gap: 0.6rem;
}

.admin-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    border-radius: 999px;
    border: 1px solid rgba(188, 202, 225, 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: #dce6f8;
    padding: 0.38rem 0.68rem;
    font-size: 0.78rem;
}

.admin-user-label {
    color: #9fb0cd;
}

.admin-sidebar-logout {
    width: 100%;
}

.admin-content-shell {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100dvh;
    height: 100dvh;
    overflow-y: auto;
}

.admin-main-content {
    flex: 1 0 auto;
    width: min(1600px, 100%);
    margin-inline: auto;
    padding: 0 1.1rem 1.4rem;
}

.admin-main-content-auth {
    padding-top: 1rem;
}

.admin-auth-header {
    border-bottom: 1px solid #d5deec;
    background: #ffffff;
}

.admin-auth-header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.admin-auth-header .admin-brand {
    color: #16263e;
}

.admin-shell {
    margin: 0 0 2rem;
    display: grid;
    gap: 1rem;
}

.admin-page-head {
    width: calc(100% + 2.2rem);
    margin: 0 -1.1rem 0;
    border-radius: 0 0 16px 16px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-color: #d4ddec;
    box-shadow: none;
    background: #fff;
    padding: 1rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.admin-page-head-main {
    min-width: 0;
}

.admin-page-head-main h1 {
    margin: 0.22rem 0 0;
}

.admin-page-head-main p {
    margin: 0.32rem 0 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.admin-page-head-actions {
    display: flex;
    align-items: center;
}

.admin-head-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d6deeb;
    background: #f6f9ff;
    border-radius: 999px;
    color: #3a4963;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.72rem;
}

.admin-site-footer {
    margin-top: auto;
    border-top: 1px solid #d2dcec;
    background: #e8eef8;
    padding-inline: 1.1rem;
}

.admin-site-footer-auth {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.admin-site-footer-inner {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
}

.admin-site-footer-inner p {
    margin: 0;
    color: #52627e;
    font-size: 0.84rem;
}

.admin-product-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: end;
}

.admin-filter-button-row {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.admin-filter-button-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.admin-filter-button-group.is-primary {
    margin-left: auto;
}

.admin-product-cell {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.admin-product-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #d9e2f1;
    background: #f6f8fd;
    flex-shrink: 0;
}

.admin-product-thumb-fallback {
    display: grid;
    place-items: center;
    color: #fff;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3c516f, #6183b1);
}

.admin-table-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.admin-table-actions form {
    margin: 0;
}

.admin-form-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.admin-form-three-col {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.admin-repeater-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.admin-repeater-list {
    display: grid;
    gap: 0.8rem;
}

.admin-repeater-item {
    border: 1px dashed #d1dced;
    border-radius: 14px;
    background: #f8fbff;
    padding: 0.85rem;
    display: grid;
    gap: 0.72rem;
}

.admin-repeater-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.admin-repeater-item-head strong {
    font-size: 0.93rem;
    font-weight: 800;
    color: #22324d;
}

.admin-inline-check {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #3f4c65;
    font-weight: 600;
    font-size: 0.92rem;
}

.admin-inline-check input[type="checkbox"] {
    width: 1.06rem;
    height: 1.06rem;
    accent-color: #ef5a36;
}

.admin-form-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.admin-payment-preview {
    margin-top: 0.55rem;
    padding: 0.5rem;
    border: 1px solid #d4deee;
    border-radius: 12px;
    background: #f4f8ff;
    width: fit-content;
    max-width: 100%;
}

.admin-payment-preview img {
    width: 100%;
    max-width: 180px;
    max-height: 180px;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    background: #ffffff;
    border: 1px solid #d8e1ef;
}

.admin-current-image-preview {
    margin-top: 0.7rem;
    border: 1px solid #dbe4f1;
    border-radius: 12px;
    background: #f7faff;
    padding: 0.6rem;
    display: grid;
    gap: 0.45rem;
}

.admin-current-image-preview span {
    font-size: 0.8rem;
    font-weight: 700;
    color: #41506a;
}

.admin-current-image-preview img {
    width: 100%;
    max-width: 230px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #d7e1f0;
    background: #f2f6fd;
}

.admin-product-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
}

.admin-uploaded-image-card {
    border: 1px solid #d7e0ef;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    display: grid;
    gap: 0;
    cursor: pointer;
}

.admin-uploaded-image-card.is-marked {
    border-color: rgba(185, 28, 28, 0.45);
    box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.12);
}

.admin-uploaded-image-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    background: #f3f6fb;
}

.admin-uploaded-image-check {
    padding: 0.55rem 0.6rem;
    border-top: 1px solid #e3e9f2;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #3f4e67;
}

.admin-uploaded-image-check input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: #b91c1c;
}

.admin-legacy-image-list {
    border: 1px dashed #d4deee;
    border-radius: 12px;
    background: #f8fbff;
    padding: 0.55rem 0.65rem;
    display: grid;
    gap: 0.38rem;
}

.admin-legacy-image-list a {
    font-size: 0.8rem;
    color: #1f4f8f;
    text-decoration: underline;
    word-break: break-all;
}

.admin-logo-preview {
    min-height: 96px;
    border: 1px dashed #cfd9eb;
    border-radius: 12px;
    background: #f8fbff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem;
}

.admin-logo-preview img {
    width: auto;
    max-width: 100%;
    max-height: 74px;
    object-fit: contain;
    border-radius: 8px;
}

.admin-logo-preview span {
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #25334b;
}

.site-footer {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: auto;
    background: linear-gradient(180deg, #0f1727 0%, #101a2d 100%);
    color: #dce5f5;
    border-top: 1px solid #1d2a41;
    flex-shrink: 0;
}

.site-footer-top {
    padding: clamp(2.2rem, 4.5vw, 3.2rem) 0;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.3vw, 2.1rem);
    align-items: start;
}

.footer-brand {
    font-size: clamp(1.3rem, 2.3vw, 1.65rem);
    letter-spacing: 0.03em;
}

.footer-brand-block p {
    margin: 0.9rem 0 0;
    max-width: 38ch;
    color: #9fb0cd;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-links h4,
.footer-social h4 {
    margin: 0 0 0.75rem;
    font-size: 0.92rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #f4f7ff;
}

.footer-links a {
    display: block;
    color: #bfd0ea;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.8;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.25rem;
}

.social-link {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 999px;
    border: 1px solid #334766;
    background: rgba(255, 255, 255, 0.03);
    color: #d7e4fa;
    display: grid;
    place-items: center;
    transition: all 0.2s ease;
}

.social-link:hover {
    color: #ffffff;
    border-color: #ff6a44;
    background: rgba(239, 90, 54, 0.16);
    transform: translateY(-2px);
}

.social-link svg {
    width: 1.12rem;
    height: 1.12rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.social-link svg.is-fill,
.social-link .is-fill {
    fill: currentColor;
    stroke: none;
}

.site-footer-bottom {
    border-top: 1px solid #22334e;
    background: rgba(8, 13, 22, 0.35);
}

.site-footer-bottom-inner {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.55rem 0;
}

.site-footer-bottom-inner p {
    margin: 0;
    color: #9fb0cd;
    font-size: 0.86rem;
    text-align: center;
}

.product-detail-page {
    margin-top: 1.35rem;
}

.product-detail-card {
    background: #fff;
    border: 1px solid #e4e9f2;
    border-radius: 18px;
    box-shadow: 0 16px 42px rgba(20, 28, 42, 0.08);
    padding: clamp(1rem, 2.4vw, 1.8rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(1rem, 2.2vw, 1.8rem);
    align-items: start;
}

.product-gallery {
    display: grid;
    gap: 0.65rem;
}

.product-gallery-main {
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid #e5e9f1;
    background: #f6f8fc;
    border-radius: 14px;
    padding: clamp(0.7rem, 1.7vw, 1rem);
    position: relative;
    cursor: zoom-in;
    overflow: hidden;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.35s ease;
}

.product-gallery-main:hover img {
    transform: scale(1.03);
}

.product-gallery-main.is-fallback {
    display: grid;
    place-items: center;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(2rem, 5vw, 4.2rem);
    color: #fff;
    background: linear-gradient(140deg, #29364f, #4a6ca3);
}

.product-gallery-main.is-fallback span {
    line-height: 1;
}

.product-gallery-zoom {
    position: absolute;
    left: 0.65rem;
    bottom: 0.65rem;
    padding: 0.4rem 0.65rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #fff;
    background: rgba(8, 14, 26, 0.72);
}

.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.48rem;
}

.product-gallery-thumb {
    border: 1px solid #d5ddea;
    border-radius: 10px;
    background: #fff;
    padding: 0.2rem;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-gallery-thumb:hover {
    transform: translateY(-2px);
    border-color: #ef5a36;
}

.product-gallery-thumb.is-active {
    border-color: #ef5a36;
    box-shadow: 0 0 0 2px rgba(239, 90, 54, 0.2);
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 7px;
}

.product-detail-breadcrumb {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    font-size: 0.83rem;
    color: #68748a;
}

.product-detail-breadcrumb strong {
    color: #2d3950;
    font-weight: 700;
}

.product-detail-category {
    margin: 0.75rem 0 0;
    display: inline-flex;
    align-items: center;
    min-height: 1.85rem;
    border-radius: 999px;
    padding: 0 0.8rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0f4f7f;
    background: #dbeafe;
}

.product-detail-info h1 {
    margin: 0.7rem 0 0;
    font-size: clamp(1.35rem, 3.1vw, 2.2rem);
    line-height: 1.15;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
}

.product-detail-rating {
    margin-top: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 1rem;
}

.product-detail-rating .is-active {
    color: #ef5a36;
}

.product-detail-rating .is-muted {
    color: #bbc5d4;
}

.product-rating-text {
    margin-left: 0.6rem;
    font-size: 0.86rem;
    color: #66738a;
}

.product-detail-price {
    margin: 0.85rem 0 0;
    font-size: clamp(1.45rem, 2.8vw, 2.2rem);
    line-height: 1.1;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    color: #1f2c43;
}

.product-detail-stock {
    margin: 0.65rem 0 0;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.72rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.product-detail-stock.is-available {
    background: #e8f8ee;
    color: #0f7a3a;
}

.product-detail-stock.is-empty {
    background: #feeeee;
    color: #b42318;
}

.product-detail-description {
    margin: 0.95rem 0 0;
    color: #37455f;
    line-height: 1.76;
    font-size: 0.98rem;
}

.product-detail-actions {
    margin-top: 1rem;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.product-detail-cart-form {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.product-detail-qty {
    display: grid;
    gap: 0.25rem;
}

.product-detail-qty label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #627089;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-detail-qty input {
    width: 86px;
    min-height: 2.8rem;
    padding: 0 0.65rem;
    border: 1px solid #d0d9e6;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
}

.product-detail-cta-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.product-btn-cart,
.product-btn-direct {
    min-height: 2.8rem;
    border-radius: 12px;
    font-weight: 700;
    padding-inline: 1.15rem;
}

.product-btn-cart {
    border-color: #d0d9e6;
    color: #24324a;
    background: #fff;
}

.product-btn-cart:hover {
    border-color: #b8c4d8;
    background: #f8fbff;
}

.product-btn-direct {
    box-shadow: 0 10px 24px rgba(239, 90, 54, 0.26);
    padding-inline: 1.35rem;
}

.product-btn-direct:hover {
    box-shadow: 0 12px 28px rgba(199, 63, 29, 0.34);
}

.product-back-link {
    display: inline-flex;
    margin-top: 0.55rem;
    color: #5e6b82;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.product-related-section {
    margin-top: 1.45rem;
    margin-bottom: 1rem;
}

.product-related-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.product-related-header h2 {
    margin: 0;
    font-size: clamp(1.18rem, 2.6vw, 1.72rem);
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
}

.product-related-header a {
    color: #ef5a36;
    font-weight: 700;
    font-size: 0.9rem;
}

.product-related-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.product-related-nav {
    display: none;
    align-items: center;
    gap: 0.35rem;
}

.product-related-nav-btn {
    width: 1.92rem;
    height: 1.92rem;
    border-radius: 999px;
    border: 1px solid #d3dceb;
    background: #fff;
    color: #2c3952;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.02rem;
    line-height: 1;
}

.product-related-nav-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.product-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.product-related-carousel {
    --related-visible: 3;
    --related-gap: 0.9rem;
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
}

.product-related-track {
    display: flex;
    margin-right: calc(var(--related-gap) * -1);
    will-change: transform;
}

.product-related-slide {
    flex: 0 0 calc(100% / var(--related-visible));
    min-width: 0;
    padding-right: var(--related-gap);
}

.product-related-carousel:active {
    cursor: grabbing;
}

.product-related-link {
    display: block;
    width: 100%;
    height: 100%;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: grid;
    place-items: center;
}

.image-lightbox[hidden] {
    display: none !important;
}

.image-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 10, 18, 0.85);
}

.image-lightbox-dialog {
    position: relative;
    z-index: 2;
    margin: 0;
    width: min(980px, calc(100% - 1.6rem));
    min-height: 260px;
    max-height: calc(100vh - 2rem);
    background: #0b1322;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 2.2rem 1rem 1rem;
    overflow: hidden;
}

.image-lightbox-dialog img {
    width: 100%;
    max-height: calc(100vh - 6rem);
    object-fit: contain;
    display: block;
    margin-inline: auto;
}

.image-lightbox.is-loading .image-lightbox-dialog::after {
    content: "Memuat gambar...";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
}

.image-lightbox-error {
    margin: 0.85rem 0 0;
    color: #ffd3d0;
    font-size: 0.9rem;
    text-align: center;
}

.image-lightbox-error a {
    color: #fff;
    text-decoration: underline;
}

.image-lightbox-close {
    position: absolute;
    top: 0.45rem;
    right: 0.55rem;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    font-size: 1.45rem;
    line-height: 1;
}

body.is-lightbox-open {
    overflow: hidden;
}

.shop-hero {
    margin-top: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    border: 1px solid #e0e5ef;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 243, 248, 0.96)),
        url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1600&q=80") center / cover no-repeat;
    overflow: hidden;
}

.shop-hero-inner {
    width: min(1280px, calc(100% - 2rem));
    margin-inline: auto;
    min-height: 164px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 1.4rem clamp(1.1rem, 2.3vw, 2.2rem);
}

.shop-hero-copy {
    max-width: 35ch;
}

.shop-hero-kicker {
    margin: 0;
    color: #6a7487;
    font-size: 0.79rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
}

.shop-hero h1 {
    margin: 0.25rem 0 0;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.35rem, 2.8vw, 2rem);
    text-transform: uppercase;
    color: #222c3f;
}

.shop-hero-breadcrumb {
    margin: 0.45rem 0 0;
    color: #5f6a7f;
    font-size: 0.85rem;
}

.shop-hero-car {
    width: clamp(190px, 27vw, 330px);
    max-width: 42%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    filter: drop-shadow(0 10px 22px rgba(17, 23, 36, 0.23));
}

.shop-page {
    margin-top: 1.2rem;
    margin-bottom: clamp(1.2rem, 2.6vw, 1.9rem);
    display: grid;
    grid-template-columns: 268px minmax(0, 1fr);
    gap: 1.1rem;
    align-items: start;
}

.shop-sidebar {
    position: sticky;
    top: 0.8rem;
}

.shop-filter-fab,
.shop-filter-backdrop,
.shop-filter-mobile-head {
    display: none;
}

.shop-filter-fab {
    border: 1px solid #d6ddec;
    background: #fff;
    color: #24324b;
    border-radius: 999px;
    min-height: 2.5rem;
    padding: 0 0.9rem;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.2);
}

.shop-filter-fab svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shop-filter-form {
    display: grid;
    gap: 1.25rem;
}

.shop-filter-card {
    background: #f3f4f6;
    border: 1px solid #e7eaf0;
    border-radius: 0;
    padding: 1.5rem 1.2rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.shop-search-card {
    padding: 1.75rem 1.2rem;
}

.shop-search-field {
    width: 100%;
    display: flex;
    align-items: stretch;
    border: 1px solid #d1d8e4;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.04);
}

.shop-search-field input {
    border: none;
    border-radius: 0;
    min-height: 3.35rem;
    padding: 0 1.05rem;
    background: transparent;
    font-size: 1.02rem;
    color: #404d63;
}

.shop-search-field input:focus {
    box-shadow: none;
}

.shop-search-field button {
    width: 3.1rem;
    border: none;
    border-left: 1px solid #d9e0ec;
    background: #fff;
    color: #5e6a80;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.shop-search-field button:hover {
    color: #ef5a36;
    background: #fff5f2;
}

.shop-search-field svg {
    width: 1.03rem;
    height: 1.03rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shop-filter-card h3 {
    margin: 0 0 0.95rem;
    font-size: 1.06rem;
    text-transform: none;
    letter-spacing: 0;
    color: #2f3c53;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
}

.shop-filter-card h3::before {
    content: "";
    width: 8px;
    height: 0.88rem;
    background: #ef5a36;
    border-radius: 0;
}

.shop-filter-option {
    display: flex;
    align-items: center;
    gap: 0.56rem;
    padding: 0.25rem 0;
    color: #5f6b80;
    font-size: 0.97rem;
    cursor: pointer;
    line-height: 1.45;
    transition: color 0.2s ease;
}

.shop-filter-option:hover {
    color: #2f3c53;
}

.shop-filter-option input[type="radio"],
.shop-filter-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 0.95rem;
    height: 0.95rem;
    margin: 0;
    border: 1.8px solid #b8c2d4;
    border-radius: 999px;
    background: #fff;
    display: inline-block;
    flex-shrink: 0;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.shop-filter-option input[type="radio"]:checked {
    border-color: #ef5a36;
    background: #ef5a36;
    box-shadow: inset 0 0 0 3px #fff;
}

.shop-price-slider {
    position: relative;
    height: 3.1rem;
    margin-top: 0.25rem;
}

.shop-price-track,
.shop-price-track-fill {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    border-radius: 999px;
    pointer-events: none;
}

.shop-price-track {
    left: 0;
    right: 0;
    background: #d5dbe6;
}

.shop-price-track-fill {
    left: 0;
    width: 100%;
    background: #ef5a36;
}

.shop-price-range {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 1.4rem;
    margin: 0;
    background: transparent;
    pointer-events: none;
    appearance: none;
    -webkit-appearance: none;
}

.shop-price-range::-webkit-slider-runnable-track {
    background: transparent;
    height: 4px;
}

.shop-price-range::-moz-range-track {
    background: transparent;
    height: 4px;
}

.shop-price-range::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    margin-top: -6.5px;
    border-radius: 999px;
    border: 2px solid #ef5a36;
    background: #fff;
    box-shadow: 0 0 0 2px #fff;
    pointer-events: auto;
    cursor: pointer;
}

.shop-price-range::-moz-range-thumb {
    width: 17px;
    height: 17px;
    border-radius: 999px;
    border: 2px solid #ef5a36;
    background: #fff;
    box-shadow: 0 0 0 2px #fff;
    pointer-events: auto;
    cursor: pointer;
}

.shop-price-badge {
    position: absolute;
    top: 0.08rem;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.55rem;
    min-height: 1.28rem;
    padding: 0 0.36rem;
    border-radius: 6px;
    background: #ef5a36;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.shop-filter-hint {
    margin: 0.72rem 0 0;
    color: #6f7a90;
    font-size: 0.79rem;
    line-height: 1.5;
}

.shop-filter-hint strong {
    color: #2c3850;
}

.shop-filter-check {
    display: flex;
    align-items: flex-start;
    gap: 0.58rem;
    color: #4e5970;
    font-size: 0.95rem;
    line-height: 1.4;
    cursor: pointer;
}

.shop-filter-check input[type="checkbox"] {
    margin-top: 0.18rem;
    border-radius: 4px;
}

.shop-filter-check input[type="checkbox"]:checked {
    border-color: #ef5a36;
    background: #ef5a36;
    box-shadow: inset 0 0 0 2px #fff;
}

.shop-filter-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.shop-filter-actions .btn {
    min-height: 3.1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 12px;
}

.shop-main {
    min-width: 0;
    display: grid;
    gap: 1rem;
}

.shop-toolbar {
    display: block;
}

.shop-toolbar-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.shop-found {
    margin: 0;
    color: #50607b;
    font-size: 0.95rem;
    border: 1px solid #cfd8e6;
    border-radius: 999px;
    background: #fff;
    padding: 0.82rem 1.35rem;
    white-space: nowrap;
}

.shop-found strong {
    color: #ef5a36;
}

.shop-found > span {
    color: #2c3850;
}

.shop-view-toggle {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cfd8e6;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
    padding: 0.15rem;
}

.shop-view-btn {
    width: 2rem;
    height: 2rem;
    border: none;
    border-right: none;
    border-radius: 999px;
    background: #fff;
    color: #556178;
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
}

.shop-view-btn:last-child {
    border-right: none;
}

.shop-view-btn svg {
    width: 0.92rem;
    height: 0.92rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shop-view-btn.is-active {
    background: #f9ebe7;
    color: #ef5a36;
}

.shop-view-btn:hover {
    color: #ef5a36;
}

.shop-sort-form {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #fff;
    border: 1px solid #cfd8e6;
    border-radius: 999px;
    padding: 0.22rem 0.6rem 0.22rem 0.82rem;
}

.shop-sort-form label {
    color: #5b667e;
    font-size: 0.78rem;
    font-weight: 600;
}

.shop-sort-form select {
    border: none;
    border-radius: 999px;
    min-height: 1.9rem;
    padding: 0 0.85rem 0 0.2rem;
    font-size: 0.82rem;
    background: transparent;
    width: auto;
    min-width: 128px;
}

.shop-sort-form select:focus {
    box-shadow: none;
}

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

.shop-deal-card {
    border: none;
    background: transparent;
    border-bottom: 2px solid #f4dddf;
    padding-bottom: 0.85rem;
}

.shop-deal-card .deal-image-wrap {
    border: 1px solid #e2e6ef;
    background: #fff;
}

.shop-deal-card .deal-info-inline h3 {
    font-size: 1rem;
}

.shop-products-grid:not(.is-list) .shop-list-content {
    display: none;
}

.shop-products-grid.is-list {
    grid-template-columns: 1fr;
    gap: 1.35rem;
}

.shop-products-grid.is-list .shop-deal-card {
    display: grid;
    grid-template-columns: clamp(170px, 24vw, 255px) minmax(0, 1fr);
    gap: 1.35rem;
    align-items: center;
    border-bottom: 2px solid #f4dddf;
    padding: 0 0 1.25rem;
    background: transparent;
}

.shop-products-grid.is-list .shop-deal-card .deal-image-wrap {
    border: none;
    background: transparent;
    aspect-ratio: 1 / 1;
}

.shop-products-grid.is-list .shop-deal-card .deal-image {
    object-fit: contain;
    transform: none;
    filter: none;
    padding: 0.35rem;
}

.shop-products-grid.is-list .shop-deal-card .deal-image-wrap::after,
.shop-products-grid.is-list .shop-deal-card .deal-overlay {
    display: none;
}

.shop-products-grid.is-list .shop-deal-card:hover .deal-image,
.shop-products-grid.is-list .shop-deal-card:focus-within .deal-image {
    transform: none;
    filter: none;
}

.shop-products-grid.is-list .shop-list-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
}

.shop-list-content h3 {
    margin: 0;
    color: #1e2a42;
    font-size: clamp(1.14rem, 2vw, 1.65rem);
    line-height: 1.2;
    font-weight: 700;
}

.shop-list-price {
    margin: 0;
    color: #25324a;
    font-size: clamp(1rem, 1.5vw, 1.32rem);
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-weight: 500;
}

.shop-list-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    line-height: 1;
}

.shop-list-rating .is-active {
    color: #ef5a36;
}

.shop-list-rating .is-muted {
    color: #b9c3d4;
}

.shop-list-desc {
    margin: 0.1rem 0 0;
    color: #35435d;
    font-size: 0.98rem;
    line-height: 1.72;
    max-width: 66ch;
}

.shop-list-actions {
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    opacity: 1;
    max-height: none;
    transform: none;
}

.shop-list-actions .deal-action-btn {
    width: 2.45rem;
    height: 2.45rem;
    border: 1px solid #ced7e6;
    background: #fff;
    color: #66748a;
    border-radius: 0;
}

.shop-list-actions .deal-action-btn:hover {
    border-color: #ef5a36;
    color: #ef5a36;
}

.shop-list-actions .deal-action-form {
    margin: 0;
}

.shop-product-card {
    background: transparent;
    border: none;
    border-bottom: 2px solid #f4dddf;
    padding: 0.4rem 0.15rem 0.92rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 0.25s ease;
}

.shop-product-card:hover {
    transform: translateY(-3px);
}

.shop-product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.shop-product-image img {
    width: 86%;
    height: 86%;
    object-fit: contain;
    display: block;
}

.shop-product-fallback {
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #3f4c63;
}

.shop-product-meta {
    min-height: 74px;
}

.shop-product-card h3 {
    margin: 0;
    font-size: 1rem;
    color: #1f2a41;
    line-height: 1.35;
    font-weight: 700;
}

.shop-product-category {
    margin: 0.32rem 0 0;
    font-size: 0.78rem;
    color: #67748c;
}

.shop-product-price {
    margin: 0.3rem 0 0;
    color: #3d4961;
    font-size: 0.92rem;
    max-height: 1.4rem;
    opacity: 1;
    transition: all 0.2s ease;
}

.shop-product-price span {
    color: #ef5a36;
    font-weight: 700;
}

.shop-product-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(6px);
    transition: all 0.2s ease;
}

.shop-product-card:hover .shop-product-actions {
    opacity: 1;
    max-height: 3rem;
    transform: none;
}

.shop-product-card:hover .shop-product-price {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.shop-action-form {
    margin: 0;
}

.shop-action-btn {
    width: 2.05rem;
    height: 2.05rem;
    border: 1px solid #d6ddea;
    background: #fff;
    color: #667289;
    display: grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.shop-action-btn:hover {
    color: #ef5a36;
    border-color: #ef5a36;
}

.shop-action-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.shop-action-btn svg {
    width: 0.95rem;
    height: 0.95rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shop-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    margin-top: 0.1rem;
}

.shop-page-link {
    width: 1.95rem;
    height: 1.95rem;
    border: 1px solid #d3dbe8;
    display: grid;
    place-items: center;
    color: #43506a;
    background: #fff;
    font-size: 0.84rem;
    font-weight: 700;
}

.shop-page-link.is-active {
    background: #ef5a36;
    border-color: #ef5a36;
    color: #fff;
}

.shop-page-link.is-disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

.wishlist-page {
    margin-top: 1.2rem;
    margin-bottom: clamp(1.2rem, 2.6vw, 2rem);
}

.wishlist-empty-panel {
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 0.7rem;
    padding: clamp(1.4rem, 3vw, 2rem);
}

.wishlist-empty-panel h2 {
    margin: 0;
    font-size: clamp(1.3rem, 2.7vw, 1.9rem);
    color: #1f2b43;
}

.wishlist-empty-panel p {
    margin: 0;
    max-width: 60ch;
    color: #60708a;
}

.wishlist-empty-panel .btn {
    width: auto;
    min-width: 180px;
}

.wishlist-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid #e1e6ef;
}

.wishlist-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.wishlist-table th,
.wishlist-table td {
    border-bottom: 1px solid #e5e9f1;
    text-align: center;
    padding: 0.95rem 0.75rem;
    vertical-align: middle;
}

.wishlist-table th {
    color: #2f3c53;
    font-size: 0.83rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    white-space: nowrap;
}

.wishlist-remove-form,
.wishlist-cart-form {
    margin: 0;
}

.wishlist-remove-btn {
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid #d5dde9;
    background: #fff;
    color: #607089;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wishlist-remove-btn svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wishlist-remove-btn:hover {
    color: #ef5a36;
    border-color: #ef5a36;
}

.wishlist-image-link {
    width: 86px;
    height: 86px;
    display: inline-grid;
    place-items: center;
    background: #f5f7fb;
    border: 1px solid #e2e7f0;
    overflow: hidden;
}

.wishlist-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wishlist-image-fallback {
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #51607a;
}

.wishlist-product-name {
    color: #1f2c45;
    font-size: 1.03rem;
    font-weight: 700;
}

.wishlist-product-name:hover {
    color: #ef5a36;
}

.wishlist-product-category {
    margin: 0.2rem 0 0;
    color: #66758d;
    font-size: 0.82rem;
}

.wishlist-price-cell {
    color: #ef5a36;
    font-weight: 700;
    white-space: nowrap;
}

.wishlist-stock {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.26rem 0.6rem;
    border-radius: 999px;
}

.wishlist-stock.is-in-stock {
    background: rgba(33, 173, 95, 0.13);
    color: #17834b;
}

.wishlist-stock.is-out-stock {
    background: rgba(234, 83, 73, 0.13);
    color: #cc3a2f;
}

.wishlist-cart-form .btn {
    width: auto;
    min-width: 130px;
    min-height: 2.45rem;
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.proof-preview {
    max-width: 300px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 960px) {
    .product-detail-card {
        grid-template-columns: 1fr;
    }

    .product-gallery-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .product-gallery-main {
        aspect-ratio: 4 / 3;
    }

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

    .product-related-carousel {
        --related-visible: 2;
    }

    .content-two::before,
    .content-two::after {
        --content-two-sketch-size: clamp(520px, 105vw, 780px);
        opacity: 0.15;
    }

    .content-two::before {
        left: calc(var(--content-two-sketch-size) * -0.53);
    }

    .content-two::after {
        right: calc(var(--content-two-sketch-size) * -0.53);
    }

    .showcase-carousel {
        height: clamp(360px, 58vh, 520px);
    }

    .trend-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .deal-overlay {
        padding: 0.82rem;
    }

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

    .newsletter-media {
        min-height: 250px;
    }

    .newsletter-content {
        padding: 1.4rem 1.2rem 1.5rem;
    }

    .newsletter-content h2 {
        max-width: none;
    }

    .popular-items-section {
        --popular-pad-top: 1.2rem;
        padding: var(--popular-pad-top) 0.8rem calc(var(--popular-pad-top) + var(--popular-margin-top));
    }

    .popular-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .final-cta-inner {
        min-height: 220px;
    }

    .deal-card-featured {
        grid-column: span 2;
    }

    .deal-card-top-match {
        align-self: start;
    }

    .deal-card-top-match .deal-image-wrap {
        height: auto;
        min-height: 0;
        aspect-ratio: 1 / 1;
    }

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

    .two-col {
        grid-template-columns: 1fr;
    }

    .checkout-summary-panel {
        position: static;
        top: auto;
    }

    .payment-upload-aside {
        position: static;
        top: auto;
    }

    .checkout-contact-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .payment-method-logo-list {
        gap: 0.38rem;
    }

    .shipping-method-logo-list {
        gap: 0.38rem;
    }

    .admin-layout {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .admin-sidebar-inner {
        padding: 0.9rem 0.75rem;
    }

    .admin-main-content {
        padding: 0 0.85rem 1rem;
    }

    .admin-page-head {
        width: calc(100% + 1.7rem);
        margin-inline: -0.85rem;
        padding: 0.92rem 0.85rem;
    }

    .admin-page-head-actions {
        width: auto;
    }

    .admin-product-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-dashboard-chart-grid {
        grid-template-columns: 1fr;
    }

    .admin-quick-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-filter-button-row {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .admin-filter-button-group.is-primary {
        margin-left: 0;
    }

    .admin-form-two-col {
        grid-template-columns: 1fr;
    }

    .admin-form-three-col {
        grid-template-columns: 1fr;
    }

    .admin-product-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

    .member-dashboard-page .section-title {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .admin-settings-grid {
        grid-template-columns: 1fr;
    }

    .admin-filter-form .field {
        min-width: 0;
        flex: 1 1 100%;
    }

    .shop-page {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
    }

    .shop-toolbar {
        padding: 0.1rem 0;
    }

    .shop-toolbar-meta {
        justify-content: flex-start;
        width: 100%;
        gap: 0.55rem;
    }

    .shop-found {
        padding: 0.68rem 1rem;
        font-size: 0.86rem;
    }

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

    .shop-products-grid.is-list {
        grid-template-columns: 1fr;
    }

    .shop-products-grid.is-list .shop-deal-card {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 1rem;
        padding-bottom: 1rem;
    }

    .shop-products-grid.is-list .shop-list-content h3 {
        font-size: 1.2rem;
    }

    .shop-products-grid.is-list .shop-list-desc {
        font-size: 0.9rem;
        line-height: 1.55;
    }

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

    .footer-brand-block {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .product-detail-page {
        margin-top: 0.95rem;
    }

    .product-detail-card {
        border-radius: 14px;
        padding: 0.85rem;
    }

    .product-gallery-main {
        aspect-ratio: 1 / 1;
        border-radius: 10px;
    }

    .product-gallery-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.42rem;
    }

    .product-gallery-zoom {
        font-size: 0.71rem;
    }

    .product-rating-text {
        font-size: 0.78rem;
        margin-left: 0.4rem;
    }

    .product-detail-actions,
    .product-detail-cart-form {
        width: 100%;
    }

    .product-detail-cta-group,
    .product-detail-cta-group .btn {
        width: 100%;
    }

    .product-detail-qty {
        width: 100%;
    }

    .product-detail-qty input {
        width: 100%;
    }

    .product-back-link {
        margin-top: 0.75rem;
    }

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

    .product-related-carousel {
        --related-visible: 1;
        --related-gap: 0.75rem;
    }

    .product-related-header {
        align-items: flex-start;
        gap: 0.65rem;
    }

    .product-related-header-actions {
        gap: 0.5rem;
    }

    .product-related-nav {
        display: inline-flex;
    }

    .content-two {
        --content-two-pad-top: 1.3rem;
        padding-top: var(--content-two-pad-top);
        padding-bottom: calc(var(--content-two-pad-top) + var(--content-two-margin-top));
        margin-bottom: 0;
    }

    .content-two::before,
    .content-two::after {
        --content-two-sketch-size: clamp(400px, 132vw, 620px);
        opacity: 0.11;
    }

    .content-two::before {
        left: calc(var(--content-two-sketch-size) * -0.56);
    }

    .content-two::after {
        right: calc(var(--content-two-sketch-size) * -0.56);
    }

    .content-two > * {
        width: calc(100% - 1.2rem);
    }

    .page-wrap {
        width: min(1120px, calc(100% - 1.2rem));
    }

    .checkout-contact-row {
        grid-template-columns: 1fr;
    }

    .payment-method-preview {
        padding: 0.62rem 0.65rem;
    }

    .payment-method-logo-item {
        width: 100%;
        justify-content: flex-start;
        border-radius: 10px;
    }

    .shipping-method-preview {
        padding: 0.62rem 0.65rem;
    }

    .shipping-method-logo-item {
        width: 100%;
        justify-content: flex-start;
        border-radius: 10px;
    }

    .top-strip {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .site-header-inner {
        min-height: 76px;
        padding-block: 0.55rem;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.7rem;
    }

    .brand {
        font-size: 1.3rem;
        letter-spacing: 0.03em;
        max-width: calc(100% - 3.1rem);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .brand-logo-image {
        width: 1.72rem;
        height: 1.72rem;
    }

    .mobile-nav-toggle {
        display: inline-flex;
    }

    .header-actions {
        display: none;
    }

    .cart-drawer-panel {
        width: 100vw;
        border-left: none;
    }

    .cart-drawer-head {
        min-height: 72px;
        padding: 0.95rem 0.9rem 0.8rem;
    }

    .cart-drawer-head h3 {
        font-size: 1.4rem;
    }

    .cart-drawer-body {
        padding: 0.55rem 0.9rem 0.72rem;
    }

    .cart-drawer-foot {
        padding: 0.85rem 0.9rem 0.95rem;
    }

    .search-modal-dialog {
        width: calc(100% - 1.4rem);
    }

    .search-modal-hint {
        font-size: 0.95rem;
    }

    .search-modal-form {
        margin-top: 1.35rem;
    }

    .search-modal-form input {
        font-size: 1.05rem;
        text-align: left;
        min-height: 2.7rem;
    }

    .search-modal-form svg {
        width: 1.2rem;
        height: 1.2rem;
    }

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

    .grid-products {
        grid-template-columns: 1fr;
    }

    .admin-layout {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 100dvh;
        overflow: visible;
    }

    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(84vw, 300px);
        max-width: 84vw;
        z-index: 141;
        transform: translateX(-108%);
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.22s ease, visibility 0.22s ease;
        box-shadow: 16px 0 30px rgba(17, 24, 39, 0.25);
        overflow-y: auto;
    }

    body.is-admin-nav-open .admin-sidebar {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .admin-sidebar-inner {
        padding: 0.8rem 0.65rem;
    }

    .admin-sidebar-close {
        display: inline-flex;
        position: absolute;
        top: 0.72rem;
        right: 0.6rem;
        width: 2.1rem;
        height: 2.1rem;
        border-radius: 999px;
        border: 1px solid rgba(188, 203, 227, 0.4);
        background: rgba(255, 255, 255, 0.08);
        color: #e6eeff;
        font-size: 1.35rem;
        line-height: 1;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 1;
    }

    .admin-sidebar-nav {
        margin-top: 0.78rem;
        gap: 0.36rem;
    }

    .admin-sidebar-nav a {
        font-size: 0.8rem;
        padding: 0.52rem 0.6rem;
    }

    .admin-sidebar-bottom {
        gap: 0.45rem;
    }

    .admin-user-pill {
        font-size: 0.72rem;
        padding: 0.32rem 0.58rem;
    }

    .admin-sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 140;
        border: none;
        background: rgba(8, 12, 20, 0.52);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease;
        cursor: pointer;
    }

    body.is-admin-nav-open .admin-sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .admin-content-shell {
        min-height: 100dvh;
        height: auto;
        overflow: visible;
    }

    .admin-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.62rem;
        position: sticky;
        top: 0;
        z-index: 120;
        margin: 0 0 0.82rem;
        padding: 0.68rem 0.6rem;
        border-radius: 0 0 12px 12px;
        border-bottom: 1px solid #d4ddec;
        background: #ffffff;
    }

    .admin-mobile-brand {
        font-size: 1rem;
        max-width: calc(100% - 3.2rem);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .admin-mobile-menu-btn {
        display: inline-flex;
        flex-shrink: 0;
    }

    .admin-main-content {
        padding: 0 0.6rem 1rem;
    }

    .admin-main-content-auth {
        padding-top: 0.8rem;
    }

    .admin-shell {
        margin-bottom: 1.3rem;
        gap: 0.85rem;
    }

    .admin-page-head {
        width: 100%;
        margin-inline: 0;
        border-radius: 12px;
        padding: 0.82rem 0.6rem;
    }

    .admin-page-head-main {
        width: 100%;
    }

    .admin-page-head-main h1 {
        font-size: clamp(1.3rem, 6.2vw, 1.65rem);
    }

    .admin-page-head-main .text-muted {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .admin-page-head-actions {
        width: 100%;
    }

    .admin-head-pill {
        width: auto;
    }

    .panel {
        padding: 0.82rem;
    }

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

    .admin-chart-wrap {
        min-height: 240px;
    }

    .admin-quick-action-grid {
        grid-template-columns: 1fr;
    }

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

    .member-dashboard-page .section-title {
        margin: 1rem 0 0.8rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
    }

    .member-dashboard-page .section-title .btn {
        width: 100%;
    }

    .member-dashboard-head {
        gap: 0.72rem;
    }

    .member-dashboard-head h3 {
        font-size: clamp(1.12rem, 6.2vw, 1.38rem);
    }

    .member-dashboard-quick {
        width: 100%;
        min-width: 0;
    }

    .member-dashboard-quick span {
        font-size: 0.84rem;
        line-height: 1.45;
    }

    .member-dashboard-quick .btn {
        width: 100%;
    }

    .member-dashboard-page .table-wrap {
        overflow: visible;
    }

    .member-dashboard-page .table-wrap table,
    .member-dashboard-page .table-wrap thead,
    .member-dashboard-page .table-wrap tbody,
    .member-dashboard-page .table-wrap tr,
    .member-dashboard-page .table-wrap th,
    .member-dashboard-page .table-wrap td {
        display: block;
        width: 100%;
    }

    .member-dashboard-page .table-wrap thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .member-dashboard-page .table-wrap tbody {
        display: grid;
        gap: 0.65rem;
    }

    .member-dashboard-page .table-wrap tbody tr {
        border: 1px solid #d6dfed;
        border-radius: 12px;
        background: #ffffff;
        padding: 0.35rem 0.65rem;
    }

    .member-dashboard-page .table-wrap tbody td {
        border-bottom: 1px dashed #e2e8f3;
        padding: 0.52rem 0;
        font-size: 0.86rem;
        display: grid;
        gap: 0.16rem;
    }

    .member-dashboard-page .table-wrap tbody td:last-child {
        border-bottom: none;
    }

    .member-dashboard-page .table-wrap tbody td::before {
        content: attr(data-label);
        color: #5d6c87;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .member-dashboard-page .table-wrap tbody td[data-label="Aksi"] {
        padding-top: 0.62rem;
    }

    .member-order-actions {
        width: 100%;
        gap: 0.4rem;
    }

    .member-order-actions .btn {
        width: 100%;
    }

    .admin-product-filter-grid {
        grid-template-columns: 1fr;
        gap: 0.62rem;
    }

    .admin-filter-button-row {
        justify-content: stretch;
    }

    .admin-filter-button-group {
        width: 100%;
    }

    .admin-filter-button-row .btn {
        width: 100%;
    }

    .admin-filter-form {
        gap: 0.55rem;
    }

    .admin-filter-form .btn,
    .admin-back-row .btn {
        width: 100%;
    }

    .admin-product-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .admin-table-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-table-actions .btn,
    .admin-table-actions form,
    .admin-table-actions form .btn {
        width: 100%;
    }

    .admin-main-content .table-wrap {
        overflow: visible;
    }

    .admin-main-content .table-wrap table,
    .admin-main-content .table-wrap thead,
    .admin-main-content .table-wrap tbody,
    .admin-main-content .table-wrap tr,
    .admin-main-content .table-wrap th,
    .admin-main-content .table-wrap td {
        display: block;
        width: 100%;
    }

    .admin-main-content .table-wrap thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .admin-main-content .table-wrap tbody {
        display: grid;
        gap: 0.65rem;
    }

    .admin-main-content .table-wrap tbody tr {
        border: 1px solid #d6dfed;
        border-radius: 12px;
        background: #ffffff;
        padding: 0.35rem 0.65rem;
    }

    .admin-main-content .table-wrap tbody td {
        border-bottom: 1px dashed #e2e8f3;
        padding: 0.52rem 0;
        font-size: 0.86rem;
        text-align: left;
        display: grid;
        gap: 0.18rem;
    }

    .admin-main-content .table-wrap tbody td:last-child {
        border-bottom: none;
    }

    .admin-main-content .table-wrap tbody td::before {
        content: attr(data-label);
        color: #5d6c87;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .admin-main-content .table-wrap tbody td[data-label=""],
    .admin-main-content .table-wrap tbody td[data-label="Info"] {
        gap: 0;
    }

    .admin-main-content .table-wrap tbody td[data-label=""]::before,
    .admin-main-content .table-wrap tbody td[data-label="Info"]::before {
        content: none;
    }

    .admin-main-content .table-wrap tbody td .btn {
        width: auto;
        min-width: 96px;
    }

    .admin-auth-header-inner {
        min-height: 64px;
        flex-wrap: wrap;
        padding-block: 0.55rem;
    }

    .admin-auth-header-inner .btn {
        width: auto;
    }

    .admin-site-footer-inner {
        min-height: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
        padding: 0.7rem 0 0.8rem;
    }

    .trend-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(84vw, 1fr);
        overflow-x: auto;
        overscroll-behavior-x: contain;
        padding-bottom: 0.28rem;
        scroll-snap-type: x proximity;
    }

    .trend-card {
        min-height: 215px;
        scroll-snap-align: start;
    }

    .trend-overlay h3 {
        font-size: 1.6rem;
    }

    .deal-products {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0.72rem;
    }

    .deal-products > .deal-card {
        grid-column: span 2;
    }

    .deal-products > .deal-card:nth-child(1),
    .deal-products > .deal-card:nth-child(2) {
        grid-column: span 3;
    }

    .deal-products > .deal-card:nth-child(n+3) .deal-actions {
        opacity: 0;
        max-height: 0;
        margin-top: 0;
        overflow: hidden;
        pointer-events: none;
    }

    .deal-products > .deal-card:nth-child(n+3) .deal-price-inline {
        max-height: 0;
        opacity: 0;
        margin-top: 0;
        overflow: hidden;
    }

    .deal-products > .deal-card:nth-child(1) .deal-image-wrap,
    .deal-products > .deal-card:nth-child(2) .deal-image-wrap {
        aspect-ratio: 1 / 1;
    }

    .deal-card-top-match .deal-image-wrap {
        aspect-ratio: 1 / 1;
    }

    .deal-overlay {
        padding: 0.75rem;
    }

    .deal-info-inline h3 {
        font-size: 0.88rem;
        line-height: 1.14;
        max-width: none;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .deal-price-inline {
        font-size: 0.75rem;
        margin-top: 0.1rem;
    }

    .newsletter-content h2 {
        font-size: clamp(1.08rem, 6.1vw, 1.48rem);
        max-width: 19ch;
    }

    .deal-action-btn {
        width: 1.88rem;
        height: 1.88rem;
    }

    .showcase-carousel {
        height: 360px;
    }

    .showcase-content-shell {
        width: calc(100% - 1.2rem);
    }

    .showcase-content {
        max-width: min(92%, 520px);
    }

    .showcase-content h1 {
        font-size: clamp(2rem, 12vw, 3.6rem);
        line-height: 1.03;
    }

    .showcase-subtitle {
        margin-top: 0.75rem;
        max-width: 23ch;
        font-size: clamp(0.98rem, 4.6vw, 1.3rem);
        line-height: 1.3;
    }

    .showcase-nav {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.45rem;
    }

    .showcase-scroll {
        bottom: 1.9rem;
        padding: 0.38rem 0.7rem;
        font-size: 0.76rem;
    }

    .newsletter-media {
        min-height: 220px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        border-right: 1px solid #d8d8d8;
        border-bottom: none;
    }

    .newsletter-form .btn {
        width: 100%;
        min-height: 49px;
    }

    .popular-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .final-cta-inner {
        min-height: 200px;
        padding: 1.5rem 0.8rem;
    }

    .final-cta-inner::before,
    .final-cta-inner::after {
        width: 110px;
        height: 110px;
        border-width: 4px;
    }

    .final-cta-inner::before {
        left: -58px;
        top: 60px;
    }

    .final-cta-inner::after {
        right: -58px;
        bottom: 60px;
    }

    .final-cta-button {
        width: auto;
        min-width: 0;
    }

    .btn {
        width: 100%;
    }

    .wishlist-empty-panel .btn,
    .wishlist-cart-form .btn {
        width: auto;
    }

    .showcase-content .btn {
        width: auto;
    }

    .hero-cta .btn {
        width: auto;
    }

    .shop-hero {
        margin-top: 0;
    }

    .shop-hero-inner {
        min-height: 0;
        align-items: flex-start;
        padding: 1rem 0.95rem;
    }

    .shop-hero-car {
        width: 150px;
        max-width: 38%;
    }

    .shop-hero h1 {
        font-size: 1.08rem;
    }

    .shop-hero-breadcrumb {
        font-size: 0.78rem;
    }

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

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

    .shop-search-field input {
        min-height: 2.6rem;
    }

    .shop-page.has-shop-filter-ui .shop-filter-fab {
        position: fixed;
        left: 0.7rem;
        bottom: 1.05rem;
        z-index: 116;
        display: inline-flex;
    }

    .shop-page.has-shop-filter-ui .shop-filter-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 114;
        border: none;
        background: rgba(8, 12, 20, 0.52);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease;
        cursor: pointer;
    }

    .shop-page.has-shop-filter-ui.is-filter-open .shop-filter-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .shop-page.has-shop-filter-ui .shop-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(88vw, 360px);
        max-width: 88vw;
        z-index: 115;
        background: #eceff4;
        padding: 0.82rem 0.72rem 1rem;
        overflow-y: auto;
        box-shadow: 16px 0 30px rgba(17, 24, 39, 0.22);
        transform: translateX(-108%);
        visibility: hidden;
        transition: transform 0.22s ease;
        pointer-events: none;
    }

    .shop-page.has-shop-filter-ui.is-filter-open .shop-sidebar {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .shop-page.has-shop-filter-ui .shop-filter-mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.7rem;
        min-height: 2.5rem;
        margin-bottom: 0.75rem;
        padding: 0 0.1rem;
    }

    .shop-page.has-shop-filter-ui .shop-filter-mobile-head strong {
        font-family: "Sora", "Plus Jakarta Sans", sans-serif;
        font-size: 1rem;
        color: #26344d;
    }

    .shop-page.has-shop-filter-ui .shop-filter-mobile-close {
        width: 2.2rem;
        height: 2.2rem;
        border-radius: 999px;
        border: 1px solid #d1d9e8;
        background: #fff;
        color: #2f3d56;
        font-size: 1.45rem;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .shop-toolbar-meta {
        gap: 0.45rem;
    }

    .shop-found {
        width: 100%;
        white-space: normal;
    }

    .shop-view-toggle {
        width: auto;
    }

    .shop-sort-form {
        width: 100%;
        justify-content: space-between;
    }

    .shop-sort-form select {
        min-width: 0;
        width: 100%;
    }

    .shop-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.72rem;
    }

    .shop-products-grid.is-list .shop-deal-card {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .shop-products-grid.is-list .shop-deal-card .deal-image-wrap {
        aspect-ratio: 4 / 3;
    }

    .shop-products-grid.is-list .shop-list-content h3 {
        font-size: 1.12rem;
    }

    .shop-products-grid.is-list .shop-list-price {
        font-size: 1rem;
    }

    .shop-product-meta {
        min-height: 62px;
    }

    .shop-pagination {
        justify-content: center;
    }

    .site-footer {
        margin-top: 0;
    }

    .site-footer-top {
        padding: 1.65rem 0 1.45rem;
    }

    .site-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 0.9rem;
        align-items: start;
    }

    .footer-brand-block {
        grid-column: 1 / -1;
    }

    .footer-social {
        grid-column: 1 / -1;
    }

    .footer-brand-block p {
        max-width: none;
    }

    .social-link {
        width: 2.35rem;
        height: 2.35rem;
    }

    .site-footer-bottom-inner {
        min-height: 0;
        padding: 0.85rem 0 1rem;
        flex-direction: column;
        align-items: center;
        gap: 0.38rem;
    }

    .site-footer-bottom-inner p {
        font-size: 0.82rem;
    }
}

@media (hover: none) {
    .deal-actions {
        opacity: 1;
        max-height: 3rem;
        transform: none;
        margin-top: 0.2rem;
    }

    .deal-price-inline {
        max-height: 2rem;
        opacity: 1;
        margin-top: 0.16rem;
    }

    .shop-product-actions {
        opacity: 1;
        max-height: 3rem;
        transform: none;
        margin-top: 0.2rem;
    }
}
