/* =========================================================
   SHARED MERDEKA JERSEY UI
   Digunakan oleh index.php dan product.php supaya top bar,
   mobile menu dan product thumbnails kekal konsisten.
========================================================= */
:root {
    --white: #ffffff;
    --dark: #07152f;
    --navy: #071f49;
    --blue: #0b49a5;
    --blue-2: #0a3c8a;
    --blue-dark: #072457;
    --blue-3: var(--blue-dark, #072457);
    --red: #d7181f;
    --yellow: #fbbf24;
    --line: #e5e7eb;
    --container: 1180px;
    --pad: clamp(18px, 5vw, 64px);
}
@font-face {
    font-family: 'Inter';
    src: url('../../fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../../fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Oswald';
    src: url('../../fonts/Oswald-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
* { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}
body {
    margin: 0;
    overflow-x: clip;
    font-family: 'Inter', Arial, sans-serif;
    color: #111827;
    background: #fff;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.font-heading { font-family: 'Oswald', Impact, sans-serif; }

.header {
    position: relative;
    z-index: 30;
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px max(var(--pad), calc((100% - 1440px) / 2));
    background: var(--white);
    border-bottom: 1px solid rgba(229,231,235,.65);
}
.nav-links,
.header-actions {
    display: flex;
    align-items: center;
}
.nav-links {
    gap: clamp(14px, 2.2vw, 32px);
    flex-wrap: wrap;
    color: #1f2937;
    font-size: 15px;
    font-weight: 700;
}
.nav-links a {
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
}
.logo-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 166px;
    padding: 18px 30px 20px;
    border-radius: 0 0 30px 30px;
    background: var(--dark);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(0,0,0,.13);
    text-decoration: none;
}
.logo-icon {
    margin-bottom: 4px;
    color: #fbbf24;
    font-size: 24px;
    line-height: 1;
}
.logo-text {
    text-align: center;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: .95;
}
.logo-subtext {
    display: block;
    margin-top: 4px;
    color: #d1d5db;
    font: 700 11px/1 'Inter', sans-serif;
    letter-spacing: .20em;
}
.header-actions {
    gap: 12px;
    justify-content: flex-end;
}
.search-wrapper {
    position: relative;
}
.search-input {
    width: min(224px, 32vw);
    height: 40px;
    padding: 8px 16px 8px 40px;
    border: 1px solid var(--blue);
    border-radius: 999px;
    outline: none;
    background: var(--navy);
    color: var(--white);
    font-size: 14px;
}
.search-input::placeholder {
    color: #9ca3af;
}
.search-icon {
    position: absolute;
    top: 12px;
    left: 16px;
    width: 16px;
    height: 16px;
    color: #9ca3af;
}
.icon-btn {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: #374151;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    transition: background .2s ease, transform .2s ease;
}
.icon-btn:hover {
    background: #f9fafb;
    transform: translateY(-1px);
}
.icon-btn svg {
    width: 20px;
    height: 20px;
}

.mobile-menu-btn,
.mobile-menu-close,
.mobile-menu-overlay,
.mobile-side-menu {
    display: none;
}

/* Product card / thumbnail style sama untuk index.php dan product.php */
.sp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.sp-card {
    min-height: 340px;
    display: flex;
    flex-direction: column;
    padding: 14px 14px 16px;
    border: 0;
    border-radius: var(--radius);
    background: var(--white);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 16px 36px rgba(0,0,0,.055);
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease;
    overflow: hidden;
}
.sp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(0,0,0,.085);
}
.sp-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 0;
}
.sp-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 7px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .02em;
}
.sp-badge.red { background: var(--red); }
.sp-badge.blue { background: var(--blue); }
.sp-badge.green { background: var(--green); }
.sp-badge.yellow { background: var(--yellow); color: #111827; }
.sp-heart {
    position: static;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 50px;
    color: #111827;
}
.sp-heart svg {
    width: 29px;
    height: 29px;
    stroke-width: 2.35;
}
.sp-product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: 0;
    display: block;
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: #f4f6f8;
    box-shadow: none;
    overflow: hidden;
}
.sp-product-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.sp-image-empty {
    width: 100%;
    height: 100%;
    min-height: 132px;
    display: grid;
    place-items: center;
    padding: 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #667085;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
}
.sp-image-empty small {
    display: block;
    margin-top: 6px;
    color: #98a2b3;
    font-size: 10px;
    font-weight: 700;
}
.sp-name {
    margin: 0 0 6px;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
}
.sp-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 2px;
}
.sp-info-text {
    min-width: 0;
}
.sp-price {
    margin: 0 0 5px;
    color: #1f1f1f;
    font-size: 14px;
    font-weight: 600;
}
.sp-size {
    margin: 0;
    color: #7a7a7a;
    font-size: 12px;
}
.sp-bottom {
    margin-top: 0;
    padding-top: 0;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.sp-cart {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
}
.sp-cart svg {
    width: 19px;
    height: 19px;
}

/* Gallery thumbs ratio di product.php ikut ratio product thumbnails */
.thumb-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}
.thumb-btn {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: 0;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background-color: #fff;
    background-image: var(--thumb-image);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(16,24,40,.04);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.thumb-btn.active {
    border-color: var(--red);
    box-shadow: 0 0 0 2px rgba(215,24,31,.14);
}
.thumb-btn:hover {
    transform: translateY(-2px);
}
.thumb-btn.has-thumb .thumb-placeholder {
    display: none;
}
.thumb-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    border-radius: inherit;
    background: #f2f4f7;
    color: #667085;
    font-size: 12px;
    text-align: center;
    font-weight: 700;
}

html,
body,
a,
button,
input,
textarea,
select,
[role="button"],
.sp-card,
.sp-cart,
.sp-heart {
    -webkit-tap-highlight-color: transparent;
}
a,
button,
[role="button"],
.sp-card,
.sp-cart,
.sp-heart {
    touch-action: manipulation;
}

@media (max-width: 1180px) {
    .header {
        padding-top: 104px;
        flex-direction: column;
        align-items: stretch;
    }
    .logo-container {
        width: min(260px, calc(100% - 56px));
    }
    .nav-links,
    .header-actions {
        justify-content: center;
    }
}

@media (max-width: 820px) {
    body.mobile-menu-open,
    body.menu-open {
        overflow: hidden;
    }
    .header {
        position: sticky;
        top: 0;
        z-index: 100;
        min-height: 66px;
        height: 66px;
        padding: 0 18px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,.98);
        border-bottom: 1px solid rgba(15,23,42,.08);
        box-shadow: 0 8px 22px rgba(15,23,42,.06);
    }
    .header .nav-links,
    .header .header-actions {
        display: none;
    }
    .logo-container {
        position: static;
        transform: none;
        min-width: auto;
        width: auto;
        padding: 0;
        border-radius: 0;
        background: transparent;
        color: var(--dark);
        box-shadow: none;
    }
    .logo-icon {
        display: none;
    }
    .logo-text {
        color: var(--dark);
        font-size: 22px;
        line-height: .92;
        letter-spacing: .02em;
    }
    .logo-subtext {
        margin-top: 3px;
        color: var(--blue-2, var(--blue));
        font-size: 10px;
        letter-spacing: .16em;
    }
    .mobile-menu-btn {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        gap: 4px;
        padding: 11px;
        border: 1px solid rgba(15,23,42,.10);
        border-radius: 14px;
        background: #ffffff;
        color: var(--dark);
        box-shadow: none;
    }
    .mobile-menu-btn span {
        width: 18px;
        height: 2px;
        display: block;
        border-radius: 999px;
        background: currentColor;
    }
    .mobile-menu-overlay {
        position: fixed;
        inset: 0;
        z-index: 190;
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        background: rgba(15,23,42,.48);
        backdrop-filter: blur(3px);
        transition: opacity .22s ease, visibility .22s ease;
    }
    .mobile-side-menu {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 200;
        display: flex;
        flex-direction: column;
        width: min(86vw, 360px);
        height: 100dvh;
        gap: 0;
        padding: 18px;
        background: #ffffff;
        color: var(--dark);
        box-shadow: 24px 0 60px rgba(15,23,42,.22);
        transform: translateX(-105%);
        transition: transform .26s ease;
    }
    body.mobile-menu-open .mobile-menu-overlay,
    body.menu-open .mobile-menu-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    body.mobile-menu-open .mobile-side-menu,
    body.menu-open .mobile-side-menu {
        transform: translateX(0);
    }
    .mobile-side-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding-bottom: 18px;
        border-bottom: 1px solid rgba(15,23,42,.08);
    }
    .mobile-side-logo {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
    }
    .mobile-side-mark {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: var(--yellow);
        color: var(--blue-3);
        font-size: 32px;
        line-height: 1;
        font-weight: 900;
    }
    .mobile-side-title {
        display: block;
        color: var(--dark);
        font-family: 'Oswald', sans-serif;
        font-size: 24px;
        line-height: .9;
        letter-spacing: .02em;
        text-transform: uppercase;
    }
    .mobile-side-title small {
        display: block;
        margin-top: 5px;
        color: var(--blue-2, var(--blue));
        font: 800 10px/1 'Inter', sans-serif;
        letter-spacing: .17em;
    }
    .mobile-menu-close {
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        border-radius: 12px;
        background: #f3f4f6;
        color: var(--dark);
        font-size: 28px;
        line-height: 1;
    }
    .mobile-side-search {
        position: relative;
        margin: 20px 0 14px;
    }
    .mobile-side-search input {
        width: 100%;
        height: 46px;
        padding: 0 16px 0 44px;
        border: 1px solid rgba(30,58,138,.22);
        border-radius: 14px;
        outline: none;
        background: #f8fafc;
        color: var(--dark);
        font-size: 14px;
        font-weight: 600;
    }
    .mobile-side-search-icon {
        position: absolute;
        top: 50%;
        left: 15px;
        width: 18px;
        height: 18px;
        transform: translateY(-50%);
        color: #64748b;
    }
    .mobile-side-nav {
        display: flex;
        flex-direction: column;
        gap: 7px;
        padding: 8px 0;
    }
    .mobile-side-nav a {
        display: flex;
        align-items: center;
        min-height: 46px;
        padding: 12px 14px;
        border-radius: 14px;
        background: transparent;
        color: #1f2937;
        font-size: 15px;
        font-weight: 800;
    }
    .mobile-side-nav a.active,
    .mobile-side-nav a:hover {
        background: #eff6ff;
        color: var(--blue);
    }
    .mobile-side-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: auto;
        padding-top: 18px;
        border-top: 1px solid rgba(15,23,42,.08);
    }
    .mobile-side-actions a,
    .mobile-side-actions button {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border-radius: 14px;
        background: var(--navy);
        color: #ffffff;
        font-size: 14px;
        font-weight: 800;
        border: 0;
        cursor: pointer;
        font-family: inherit;
        text-decoration: none;
    }
    .mobile-side-actions svg {
        width: 18px;
        height: 18px;
    }
    .sp-grid {
        grid-template-columns: 1fr;
    }
    .sp-card {
        min-height: 300px;
    }
    .sp-product-image {
        margin-bottom: 12px;
    }
}

@media (max-width: 560px) {
    .sp-top {
        gap: 8px;
    }
    .sp-heart {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        flex-basis: 44px;
    }
    .sp-heart svg {
        width: 25px;
        height: 25px;
    }
    .sp-info-row {
        gap: 10px;
    }
    .thumb-grid {
        gap: 8px;
    }
    .thumb-btn {
        border-radius: 12px;
    }
}

@media (max-width: 420px) {
    .header {
        min-height: 62px;
        height: 62px;
    }
    .mobile-menu-btn {
        width: 40px;
        height: 40px;
        left: 12px;
        border-radius: 13px;
    }
    .logo-text {
        font-size: 20px;
    }
    .mobile-side-menu {
        width: min(88vw, 340px);
        padding: 16px;
    }
}


/* 20260627g: thumbnail overlay dalam gambar, tiada background/border di belakang gambar */
.sp-card {
    overflow: visible;
}
.sp-product-image {
    position: relative !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden !important;
}
.sp-product-img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.sp-top.sp-top-overlay {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: 10px !important;
    z-index: 3 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin: 0 !important;
    pointer-events: none;
}
.sp-top.sp-top-overlay .sp-badge,
.sp-top.sp-top-overlay .sp-heart {
    pointer-events: auto;
}
.sp-top.sp-top-overlay .sp-heart {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    flex-basis: 42px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.96) !important;
    color: #111827 !important;
    box-shadow: 0 8px 20px rgba(16,24,40,.12) !important;
}
.sp-top.sp-top-overlay .sp-heart svg {
    width: 24px !important;
    height: 24px !important;
}
.sp-top.sp-top-overlay .sp-badge {
    box-shadow: 0 8px 20px rgba(16,24,40,.12) !important;
}
.sp-image-empty {
    background: transparent !important;
}
@media (max-width: 560px) {
    .sp-product-image {
        margin-bottom: 12px !important;
    }
    .sp-top.sp-top-overlay {
        top: 8px !important;
        left: 8px !important;
        right: 8px !important;
    }
    .sp-top.sp-top-overlay .sp-heart {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        flex-basis: 38px !important;
    }
    .sp-top.sp-top-overlay .sp-heart svg {
        width: 22px !important;
        height: 22px !important;
    }
}


/* 20260627i: fix badge text + buang shadow heart/label untuk semua thumbnail */
.sp-top.sp-top-overlay .sp-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: fit-content !important;
    max-width: calc(100% - 54px) !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: #ffffff !important;
    box-shadow: none !important;
}
.sp-top.sp-top-overlay .sp-badge.yellow {
    color: #111827 !important;
}
.sp-top.sp-top-overlay .sp-heart {
    box-shadow: none !important;
}


/* 20260627j: heart ada shadow ringan sahaja */
.sp-top.sp-top-overlay .sp-heart {
    box-shadow: 0 2px 8px rgba(16,24,40,.10) !important;
}


/* 20260627w: samakan thumbnail mobile index + product */
@media (max-width: 560px) {
    .sp-product-image {
        aspect-ratio: 1 / 1 !important;
    }
    .sp-top.sp-top-overlay {
        top: 7px !important;
        left: 7px !important;
        right: 7px !important;
        gap: 7px !important;
    }
    .sp-top.sp-top-overlay .sp-badge {
        min-height: 20px !important;
        padding: 3px 7px !important;
        border-radius: 6px !important;
        font-size: 9px !important;
        line-height: 1 !important;
    }
    .sp-top.sp-top-overlay .sp-heart {
        width: 31px !important;
        height: 31px !important;
        min-width: 31px !important;
        min-height: 31px !important;
        flex-basis: 31px !important;
        border-radius: 999px !important;
    }
    .sp-top.sp-top-overlay .sp-heart svg {
        width: 17px !important;
        height: 17px !important;
        stroke-width: 2.2 !important;
    }
}


/* 20260627aa: buang semua heart + label/badge overlay pada gambar */
.sp-top.sp-top-overlay,
.sp-top.sp-top-overlay .sp-badge,
.sp-top.sp-top-overlay .sp-heart {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Floating cart + thumbnail trolley action */
.sp-cart,
.shop-mini-cart {
    border: 0;
    cursor: pointer;
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
}
.sp-cart.is-disabled,
.shop-mini-cart.is-disabled,
.sp-cart:disabled,
.shop-mini-cart:disabled {
    opacity: .45;
    cursor: not-allowed;
}
.sp-cart.is-added,
.shop-mini-cart.is-added {
    transform: scale(1.08);
}
.floating-cart {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(18px) scale(.96);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}
.floating-cart.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
.floating-cart-btn {
    position: relative;
    min-width: 176px;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 999px;
    background: linear-gradient(180deg, #d7181f, #b61218);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: none !important;
    border: 1px solid rgba(255,255,255,.22);
}
.floating-cart-btn svg {
    width: 20px;
    height: 20px;
}
.floating-cart-count {
    min-width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    padding: 0 7px;
    border-radius: 999px;
    background: #fff;
    color: #b61218;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}
.floating-cart.cart-added-pulse .floating-cart-btn {
    animation: cartPulse .42s ease;
}
@keyframes cartPulse {
    0% { transform: scale(1); }
    45% { transform: scale(1.06); }
    100% { transform: scale(1); }
}
@media (max-width: 640px) {
    .floating-cart {
        right: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom));
    }
    .floating-cart-btn {
        min-width: 152px;
        min-height: 52px;
        padding: 12px 16px;
        font-size: 14px;
    }
}


/* 20260701: floating cart no shadow */
.floating-cart-btn,
.floating-cart-btn:hover,
.floating-cart-btn:focus,
.floating-cart-btn:active {
    box-shadow: none !important;
}

/* 20260701b: floating red cart button flat across all pages */
.floating-cart .floating-cart-btn,
.floating-cart .floating-cart-btn:hover,
.floating-cart .floating-cart-btn:focus,
.floating-cart .floating-cart-btn:active {
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;
}

/* 20260701c: shared right cart sidebar */
.floating-cart-btn {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
.cart-sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 1300;
    background: rgba(15, 23, 42, .38);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
}
.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1301;
    width: min(420px, 92vw);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-left: 1px solid rgba(15, 23, 42, .10);
    box-shadow: none !important;
    transform: translateX(104%);
    transition: transform .28s ease;
}
.cart-sidebar-open .cart-sidebar-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.cart-sidebar-open .cart-sidebar {
    transform: translateX(0);
}
.cart-sidebar-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 22px 18px;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}
.cart-sidebar-kicker {
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #d7181f;
}
.cart-sidebar-head h3 {
    margin: 0;
    color: #0f172a;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 950;
}
.cart-sidebar-close {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    box-shadow: none !important;
}
.cart-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px 16px;
}
.cart-sidebar-empty {
    min-height: 160px;
    display: grid;
    place-items: center;
    border: 1px dashed rgba(15, 23, 42, .18);
    border-radius: 18px;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}
.cart-sidebar-item {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}
.cart-sidebar-item-media,
.cart-sidebar-item-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: #f8fafc;
    color: #d7181f;
    border: 1px solid rgba(15, 23, 42, .08);
}
.cart-sidebar-item-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.cart-sidebar-item-fallback,
.cart-sidebar-item-media.is-fallback {
    background: #fff1f2;
}
.cart-sidebar-item-fallback svg,
.cart-sidebar-item-icon svg {
    width: 22px;
    height: 22px;
}
.cart-sidebar-item-info {
    min-width: 0;
}
.cart-sidebar-item-info strong {
    display: block;
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
}
.cart-sidebar-item-info small {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}
.cart-sidebar-item-qty {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, .08);
}
.cart-sidebar-item-qty button {
    width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    cursor: pointer;
    font-size: 16px;
    font-weight: 900;
    box-shadow: none !important;
}
.cart-sidebar-item-qty span {
    min-width: 18px;
    text-align: center;
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
}
.cart-sidebar-footer {
    padding: 16px 18px 18px;
    border-top: 1px solid rgba(15, 23, 42, .08);
    background: #fff;
}
.cart-sidebar-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}
.cart-sidebar-total strong {
    color: #0f172a;
    font-size: 17px;
    font-weight: 950;
}
.cart-sidebar-checkout,
.cart-sidebar-clear {
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: none !important;
}
.cart-sidebar-checkout {
    background: #d7181f;
    color: #fff;
    border: 1px solid #d7181f;
}
.cart-sidebar-checkout.is-disabled {
    opacity: .45;
    pointer-events: none;
}
.cart-sidebar-clear {
    margin-top: 8px;
    background: #fff;
    color: #64748b;
    border: 1px solid rgba(15, 23, 42, .10);
    cursor: pointer;
}
.cart-sidebar-open .floating-cart {
    pointer-events: none;
}
@media (max-width: 640px) {
    .cart-sidebar {
        width: min(380px, 94vw);
    }
    .cart-sidebar-head {
        padding: 20px 18px 16px;
    }
    .cart-sidebar-body {
        padding: 12px 14px;
    }
    .cart-sidebar-item {
        grid-template-columns: 44px 1fr;
    }
    .cart-sidebar-item-qty {
        grid-column: 2 / 3;
        justify-self: start;
    }
}



/* Footer */
.site-footer {
    position: relative;
    overflow: hidden;
    padding: 34px 0 14px;
    color: var(--white);
    background: #072a68;
}
.footer-inner {
    position: relative;
    z-index: 1;
    width: min(var(--container), calc(100% - 72px));
    margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr .85fr 1fr;
    gap: 44px;
    align-items: start;
    padding-bottom: 18px;
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.footer-logo-mark {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--yellow);
    color: #082b67;
    font-size: 26px;
    font-weight: 800;
}
.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.footer-logo-text strong {
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-size: 34px;
    letter-spacing: .02em;
}
.footer-logo-text span {
    margin-top: 2px;
    opacity: .9;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.footer-brand p {
    max-width: 320px;
    margin: 0 0 22px;
    color: rgba(255,255,255,.88);
    font-size: 16px;
    line-height: 1.45;
}
.footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-social a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    color: var(--white);
}
.footer-social svg {
    width: 18px;
    height: 18px;
}
.footer-col h4 {
    margin: 0 0 18px;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .04em;
}
.footer-links,
.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a,
.footer-contact-list a,
.footer-contact-text {
    color: rgba(255,255,255,.90);
    font-size: 16px;
    line-height: 1.35;
}
.footer-links a:hover,
.footer-contact-list a:hover {
    color: var(--yellow);
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.footer-contact-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    margin-top: 1px;
}
.footer-contact-icon svg {
    width: 100%;
    height: 100%;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 14px;
    text-align: center;
    color: rgba(255,255,255,.84);
    font-size: 14px;
}
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .footer-inner {
        width: min(100% - 28px, 520px);
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .footer-logo-mark {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 24px;
    }
    .footer-logo-text strong {
        font-size: 28px;
    }
    .footer-brand p,
    .footer-links a,
    .footer-contact-list a,
    .footer-contact-text {
        font-size: 15px;
    }
    .footer-bottom {
        font-size: 13px;
    }
}

/* Login page */
.login-page-wrap {
    min-height: calc(100vh - 92px);
    padding: clamp(34px, 4vw, 48px) max(18px, calc((100% - 1440px) / 2));
    background: var(--login-bg-image, url('../../background/section-login.png')) center center / cover no-repeat #06183c;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.login-page-wrap::before,
.login-page-wrap::after {
    display: none !important;
    content: none !important;
}
.login-page-wrap::before {
    top: -180px;
    right: -120px;
    width: 720px;
    height: 420px;
    transform: rotate(-16deg);
    background: linear-gradient(90deg, transparent 0 16%, rgba(255,255,255,.9) 16% 26%, transparent 26% 36%, rgba(215,24,31,.95) 36% 46%, transparent 46% 100%);
    filter: blur(.2px);
}
.login-page-wrap::after {
    right: -220px;
    bottom: -180px;
    width: 620px;
    height: 360px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255,255,255,.26), rgba(255,255,255,0) 62%);
}
.login-auth-stage {
    position: relative;
    z-index: 1;
    width: min(1440px, 100%);
    min-height: calc(100vh - 92px - clamp(68px, 8vw, 96px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(420px, .85fr);
    align-items: center;
    gap: clamp(28px, 5vw, 74px);
}
.login-auth-visual {
    min-height: 640px;
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 4.8vw, 58px) 0 clamp(24px, 4vw, 46px);
    isolation: isolate;
}
.login-auth-visual::before {
    display: none !important;
    content: none !important;
}
.login-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin-bottom: clamp(48px, 8vw, 96px);
}
.login-brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #facc15;
    font-size: 34px;
    line-height: 1;
}
.login-brand-text {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 800;
    line-height: .88;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.login-brand-text span {
    display: block;
    margin-top: 7px;
    font: 900 14px/1 'Inter', sans-serif;
    letter-spacing: .26em;
}
.login-visual-copy {
    position: relative;
    z-index: 2;
    max-width: 660px;
}
.login-visual-copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(48px, 6.5vw, 92px);
    line-height: .94;
    letter-spacing: -.035em;
    text-transform: uppercase;
    text-shadow: 0 2px 0 rgba(0,0,0,.08);
}
.login-visual-copy h1 span {
    color: #e0242b;
}
.login-visual-copy p {
    margin: 30px 0 0;
    max-width: 420px;
    color: rgba(255,255,255,.92);
    font-size: clamp(16px, 1.7vw, 21px);
    line-height: 1.58;
    font-weight: 700;
}
.login-visual-features {
    position: relative;
    z-index: 2;
    margin-top: clamp(42px, 5.5vw, 72px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 150px));
    gap: clamp(16px, 3vw, 48px);
}
.login-visual-features div {
    display: grid;
    justify-items: center;
    gap: 12px;
    text-align: center;
    color: rgba(255,255,255,.94);
    font-size: 13px;
    line-height: 1.35;
}
.login-mini-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 16px;
    color: #fff;
    font-size: 24px;
}
.login-model-scene {
    display: none !important;
}
.login-model-card {
    position: absolute;
    bottom: 0;
    width: 46%;
    height: 88%;
    border-radius: 42% 42% 18px 18px;
    background: linear-gradient(145deg, #0b2f73 0 44%, #fff 44% 58%, #d7181f 58% 67%, #0b2f73 67% 100%);
    filter: drop-shadow(0 28px 36px rgba(0,0,0,.28));
    opacity: .92;
}
.login-model-card::before {
    content: '';
    position: absolute;
    top: -48px;
    left: 50%;
    width: 78px;
    height: 78px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: linear-gradient(145deg, #d8a37a, #8b4a2d);
}
.login-model-card::after {
    content: '';
    position: absolute;
    inset: 24% 18% auto;
    height: 54px;
    border-radius: 999px;
    background: rgba(251,191,36,.88);
    opacity: .78;
}
.login-model-card-one {
    left: 5%;
    height: 82%;
    transform: rotate(-2deg);
}
.login-model-card-two {
    right: 8%;
    height: 74%;
    transform: rotate(2deg);
    background: linear-gradient(145deg, #fff 0 48%, #d7181f 48% 58%, #0b2f73 58% 72%, #fff 72% 100%);
}

.login-model-card,
.login-model-card::before,
.login-model-card::after {
    display: none !important;
}

.login-auth-card {
    width: min(100%, 520px);
    margin-left: auto;
    align-self: center;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 30px;
    background: rgba(255,255,255,.96);
    padding: 44px clamp(26px, 3vw, 46px);
    box-shadow: none;
    backdrop-filter: blur(12px);
}

.login-auth-card > :last-child {
    margin-bottom: 0;
}
.login-auth-card .login-register-text:last-child {
    margin-bottom: 0;
}

.login-form-head {
    margin-bottom: 28px;
}
.login-form-head h2 {
    margin: 0 0 12px;
    color: #0a234f;
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1;
    letter-spacing: -.015em;
    text-transform: uppercase;
}
.login-form-head p {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
}
.login-alert {
    margin-bottom: 18px;
    padding: 13px 14px;
    border-radius: 16px;
    background: #ecfdf5;
    color: #047857;
    font-size: 14px;
    font-weight: 800;
}
.login-form {
    display: grid;
    gap: 18px;
}
.login-field label {
    display: block;
    margin-bottom: 10px;
    color: #10203d;
    font-size: 13px;
    font-weight: 900;
}
.login-input-wrap {
    position: relative;
}
.login-input-icon,
.login-input-eye {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #98a2b3;
    pointer-events: none;
}
.login-input-icon {
    left: 18px;
    width: 20px;
    height: 20px;
}
.login-input-eye {
    right: 18px;
    width: 20px;
    height: 20px;
}
.login-field input {
    width: 100%;
    height: 58px;
    border: 1px solid #d7dce5;
    border-radius: 12px;
    padding: 0 48px;
    background: #fff;
    color: #0f172a;
    font-size: 15px;
    font-weight: 800;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, .04);
}
.login-field input::placeholder {
    color: #9ca3af;
}
.login-field input:focus {
    border-color: #0b2f73;
}
.login-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: -4px;
    color: #6b7280;
    font-size: 13px;
}
.login-row-right {
    justify-content: flex-end;
}
.login-row-between a {
    color: #1d5cff;
    font-weight: 900;
    text-decoration: none;
}
.login-submit {
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    border-radius: 10px;
    background: #062554;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .03em;
    cursor: pointer;
    box-shadow: none;
}
.login-submit svg {
    width: 22px;
    height: 22px;
}
.login-submit:hover {
    background: #082d66;
}
.login-divider {
    position: relative;
    margin: 30px 0 26px;
    text-align: center;
    color: #7b8496;
    font-size: 13px;
    font-weight: 800;
}
.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}
.login-divider span {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 0 18px;
    background: rgba(255,255,255,.96);
}
.login-google-btn {
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1px solid #dfe4ec;
    border-radius: 12px;
    background: #fff;
    color: #233047;
    text-decoration: none;
    font-size: 14px;
    box-shadow: none;
}
.login-google-mark {
    color: #4285f4;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}
.login-register-text {
    margin: 26px 0 0;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
}
.login-register-text a {
    color: #1d5cff;
    font-weight: 900;
    text-decoration: none;
}
.login-logged-card {
    display: grid;
    gap: 16px;
}
.login-user-chip {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}
.login-user-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #062554;
    color: #fff;
    font-weight: 900;
}
.login-user-chip strong,
.login-user-chip span {
    display: block;
}
.login-user-chip span {
    margin-top: 3px;
    color: #6b7280;
    font-size: 13px;
}
.login-actions {
    display: grid;
    gap: 10px;
}
.login-action-link,
.login-logout-link {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 900;
}
.login-action-link {
    background: #062554;
    color: #fff;
}
.login-logout-link {
    background: #f3f4f6;
    color: #374151;
}

/* Login cleanup: use only real background image crop, no dummy person shapes */
.login-page-wrap::before,
.login-page-wrap::after,
.login-auth-visual::before,
.login-model-scene,
.login-model-card,
.login-model-card::before,
.login-model-card::after {
    display: none !important;
    content: none !important;
}
.login-auth-card {
    padding-top: 44px !important;
    padding-bottom: 44px !important;
}
.login-auth-card > *:first-child {
    margin-top: 0 !important;
}
.login-auth-card > *:last-child,
.login-auth-card .login-register-text:last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 1180px) {
    .login-auth-stage {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 28px;
    }
    .login-auth-visual {
        min-height: 520px;
    }
    .login-auth-card {
        width: min(620px, 100%);
        margin: 0 auto;
    }
    .login-model-scene {
        width: min(44%, 440px);
    }
}
@media (max-width: 760px) {
    .login-page-wrap {
        padding: 28px 14px;
        background-position: center center;
        background-size: cover;
    }
    .login-auth-visual {
        min-height: auto;
        padding: 14px 0 20px;
    }
    .login-brand-lockup {
        margin-bottom: 38px;
    }
    .login-visual-copy h1 {
        font-size: clamp(40px, 12vw, 62px);
    }
    .login-visual-features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-top: 34px;
    }
    .login-visual-features div {
        font-size: 11px;
    }
    .login-mini-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .login-model-scene {
        display: none;
    }
    .login-auth-card {
        border-radius: 24px;
        padding: 28px 24px !important;
    }
}
@media (max-width: 460px) {
    .login-brand-text {
        font-size: 27px;
    }
    .login-brand-text span {
        font-size: 11px;
    }
    .login-visual-copy p {
        margin-top: 20px;
    }
    .login-visual-features {
        grid-template-columns: 1fr 1fr;
        justify-items: start;
    }
    .login-form-head h2 {
        font-size: 28px;
    }
    .login-field input {
        height: 54px;
    }
}


/* Login vertical center fix */
.login-merdeka-auth {
    display: flex !important;
    align-items: center !important;
}
.login-merdeka-auth .login-auth-stage {
    min-height: calc(100vh - 92px - clamp(68px, 8vw, 96px)) !important;
    align-items: center !important;
}
.login-merdeka-auth .login-auth-card {
    align-self: center !important;
}
@media (max-width: 1180px) {
    .login-merdeka-auth {
        align-items: flex-start !important;
    }
    .login-merdeka-auth .login-auth-stage {
        min-height: auto !important;
    }
}

/* Login page: match normal page content width and responsive spacing */
.login-page-wrap {
    min-height: calc(100svh - 92px) !important;
    padding-left: max(18px, calc((100% - var(--container)) / 2)) !important;
    padding-right: max(18px, calc((100% - var(--container)) / 2)) !important;
    padding-top: clamp(32px, 4vw, 50px) !important;
    padding-bottom: clamp(32px, 4vw, 50px) !important;
    align-items: center !important;
    background-size: cover !important;
    background-position: center center !important;
}
.login-auth-stage {
    width: min(var(--container), 100%) !important;
    min-height: min(680px, calc(100svh - 92px - clamp(64px, 8vw, 100px))) !important;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 460px) !important;
    gap: clamp(28px, 4vw, 56px) !important;
    align-items: center !important;
}
.login-auth-visual {
    min-height: 520px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding-top: clamp(24px, 4vw, 48px) !important;
    padding-bottom: clamp(24px, 4vw, 48px) !important;
}
.login-brand-lockup {
    margin-bottom: clamp(34px, 5vw, 64px) !important;
}
.login-visual-copy {
    max-width: 580px !important;
}
.login-visual-copy h1 {
    font-size: clamp(44px, 5.2vw, 76px) !important;
}
.login-visual-copy p {
    max-width: 380px !important;
    font-size: clamp(15px, 1.45vw, 18px) !important;
}
.login-visual-features {
    margin-top: clamp(30px, 4vw, 52px) !important;
    grid-template-columns: repeat(3, minmax(0, 135px)) !important;
    gap: clamp(12px, 2vw, 28px) !important;
}
.login-auth-card {
    width: min(100%, 460px) !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    padding: clamp(30px, 3vw, 42px) !important;
}
@media (max-width: 1180px) {
    .login-page-wrap {
        min-height: auto !important;
        padding-left: max(18px, calc((100% - var(--container)) / 2)) !important;
        padding-right: max(18px, calc((100% - var(--container)) / 2)) !important;
        align-items: flex-start !important;
    }
    .login-auth-stage {
        width: min(var(--container), 100%) !important;
        min-height: auto !important;
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
    .login-auth-visual {
        min-height: 360px !important;
        padding: 26px 0 8px !important;
    }
    .login-auth-card {
        width: min(520px, 100%) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
@media (max-width: 760px) {
    .login-page-wrap {
        padding: 22px 18px 30px !important;
    }
    .login-auth-stage {
        gap: 20px !important;
    }
    .login-auth-visual {
        min-height: auto !important;
        padding: 12px 0 0 !important;
    }
    .login-brand-lockup {
        margin-bottom: 28px !important;
    }
    .login-visual-copy h1 {
        font-size: clamp(38px, 11vw, 58px) !important;
        line-height: .96 !important;
    }
    .login-visual-copy p {
        margin-top: 18px !important;
        max-width: 320px !important;
        font-size: 14px !important;
    }
    .login-visual-features {
        margin-top: 26px !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
    .login-auth-card {
        width: 100% !important;
        max-width: 520px !important;
        border-radius: 22px !important;
        padding: 24px 18px !important;
    }
    .login-form-head {
        margin-bottom: 22px !important;
    }
    .login-form-head h2 {
        font-size: 28px !important;
    }
    .login-field input {
        height: 54px !important;
        padding-left: 44px !important;
        padding-right: 44px !important;
    }
}
@media (max-width: 460px) {
    .login-page-wrap {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    .login-visual-features {
        grid-template-columns: 1fr 1fr !important;
        justify-items: stretch !important;
    }
    .login-mini-icon {
        width: 38px !important;
        height: 38px !important;
    }
    .login-auth-card {
        padding: 22px 16px !important;
    }
    .login-submit,
    .login-google-btn {
        height: 52px !important;
    }
}
