/* ==========================================================================
   North Click storefront — public web store theme
   Self-contained; independent of the admin app.css.
   ========================================================================== */

:root {
    --nc-ink: #191919;
    --nc-muted: #6e6e6e;
    --nc-line: #e8e7eb;
    --nc-bg: #f4f6f9;
    --nc-surface: #ffffff;
    --nc-secondary: #2e3132;     /* Secondary and footer background */
    --nc-dark: #2e3132;          /* Secondary color */
    --nc-dark-2: #383c3d;
    /* Primary accent — #2a3447 from northclick.ca */
    --nc-accent: #2a3447;
    --nc-accent-ink: #ffffff;    /* text that sits on the accent */
    --nc-accent-2: #1b212d;      /* hover / darker tone */
    --nc-accent-light: rgba(42, 52, 71, 0.08);
    --nc-green: #2fae66;
    --nc-radius: 10px;
    --nc-wrap: 1720px;           /* wide layout — reduces left and right margins */
}

* { box-sizing: border-box; }

/* Custom Themed Scrollbars */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 999px;
    border: 2px solid #f1f5f9;
}
::-webkit-scrollbar-thumb:hover {
    background: #2a3447;
}
* {
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 #f1f5f9;
}

/* Styled Date / Month Pickers */
input[type="date"],
input[type="month"] {
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    color: #1e293b;
    background-color: #ffffff;
    border: 1px solid var(--nc-line, #cbd5e1);
    border-radius: 7px;
    padding: .5rem .75rem;
    line-height: 1.4;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}
input[type="date"]:hover,
input[type="month"]:hover {
    border-color: #94a3b8;
}
input[type="date"]:focus,
input[type="month"]:focus {
    outline: none;
    border-color: #2a3447;
    box-shadow: 0 0 0 3px rgba(42, 52, 71, 0.12);
}
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: .65;
    transition: opacity .15s ease, transform .15s ease;
}
input[type="date"]:hover::-webkit-calendar-picker-indicator,
input[type="month"]:hover::-webkit-calendar-picker-indicator {
    opacity: 1;
    transform: scale(1.1);
}
/* Skeleton Shimmer Loaders */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.skeleton,
.is-skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 37%, #f1f5f9 63%) !important;
    background-size: 400% 100% !important;
    animation: shimmer 1.5s ease infinite !important;
    color: transparent !important;
    border-color: transparent !important;
}
.pcard__img:not(.is-loaded),
.cat-tile__img:not(.is-loaded) {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 37%, #f1f5f9 63%);
    background-size: 400% 100%;
    animation: shimmer 1.5s ease infinite;
}
.pcard__img img,
.cat-tile__img img {
    transition: opacity 0.25s ease;
}
.pcard__img:not(.is-loaded) img,
.cat-tile__img:not(.is-loaded) img {
    opacity: 0;
}
.pcard__img.is-loaded img,
.cat-tile__img.is-loaded img {
    opacity: 1;
}

body.store {
    margin: 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--nc-ink);
    background: var(--nc-bg);
    line-height: 1.5;
}
button, input, select, textarea {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.store a { color: inherit; text-decoration: none; }
.store img { max-width: 100%; display: block; }
.store-wrap { max-width: var(--nc-wrap); width: 100%; margin: 0 auto; padding: 0 1.5rem; }

/* Topbar (First banner/div) */
.store-topbar { background: #2e3132; color: #cfd2d8; font-size: 13px; }
.store-topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.store-topbar__links { display: flex; gap: 1.5rem; }
.store-topbar__links a { color: #cfd2d8; transition: color .15s; }
.store-topbar__links a:hover { color: #ffffff; }

/* Header — Base White */
.store-header { background: #ffffff; color: var(--nc-ink); border-bottom: 1px solid var(--nc-line); position: relative; }
.store-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 84px; }
.store-logo { display: flex; align-items: center; gap: .85rem; flex-shrink: 0; text-decoration: none; }
.store-logo__img { max-height: 52px; width: auto; object-fit: contain; display: block; }
.store-logo__mark { width: 46px; height: 46px; border-radius: 11px; background: #2a3447; border: 1px solid rgba(42,52,71,.2); color: #fff; font-weight: 800; font-size: 24px; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(42,52,71,.25); flex-shrink: 0; }
.store-logo__text { font-weight: 800; font-size: 26px; letter-spacing: -.02em; color: #2a3447; }
.store-logo__text span { color: #50617e; }
.store-search { flex: 1; display: flex; position: relative; background: #fff; border: 2px solid #e2e8f0; border-radius: 999px; max-width: 1080px; margin: 0 1.5rem; min-width: 0; box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
.store-search:focus-within { border-color: var(--nc-accent); box-shadow: 0 0 0 3px rgba(42, 52, 71, 0.12); }
.store-search input { flex: 1 1 auto; min-width: 0; width: 100%; border: 0; padding: .75rem 1.4rem; font-size: 14.5px; outline: none; color: var(--nc-ink); background: transparent; box-sizing: border-box; }
.store-search button { flex-shrink: 0; border: 0; background: var(--nc-accent); color: var(--nc-accent-ink); font-weight: 600; font-size: 14px; padding: 0 2rem; cursor: pointer; border-radius: 0 999px 999px 0; transition: background .15s; white-space: nowrap; }
.store-search button:hover { background: var(--nc-accent-2); color: #fff; }
.store-search__dropdown { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #ffffff; border: 1px solid var(--nc-line); border-radius: 12px; box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12); z-index: 100; overflow: hidden; display: none; max-height: 400px; overflow-y: auto; }
.store-search__dropdown.is-open { display: block; }
.store-search__item { display: flex; align-items: center; gap: 1rem; padding: .75rem 1.25rem; text-decoration: none; color: var(--nc-ink); border-bottom: 1px solid #f1f5f9; transition: background .12s; }
.store-search__item:hover { background: #f8fafc; }
.store-search__item-img { width: 42px; height: 42px; object-fit: contain; border-radius: 6px; background: #f8fafc; flex-shrink: 0; }
.store-search__item-info { flex: 1; min-width: 0; }
.store-search__item-title { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store-search__item-cat { font-size: 11.5px; color: var(--nc-muted); }
.store-search__item-price { font-size: 14px; font-weight: 700; color: var(--nc-accent); flex-shrink: 0; }
.store-header__actions { display: flex; gap: .85rem; margin-left: auto; align-items: center; flex-shrink: 0; }
.store-iconbtn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; color: #2a3447; transition: background .15s, color .15s; }
.store-iconbtn:hover { background: #f1f5f9; color: #1b212d; }
.store-ico { font-size: 20px; }
.store-badge { position: absolute; top: 3px; right: 3px; background: var(--nc-accent); color: #fff; font-size: 10px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; padding: 0 4px; box-shadow: 0 2px 4px rgba(0,0,0,.15); }

/* Nav + mega menu — Base White */
.store-nav { background: #ffffff; color: var(--nc-ink); position: relative; z-index: 40; border-bottom: 1px solid var(--nc-line); box-shadow: 0 2px 6px rgba(0,0,0,.02); }
.store-nav__inner { display: flex; align-items: center; gap: 1.75rem; height: 54px; }
.store-mega { position: relative; }
.store-mega__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    background: #242c3d;
    color: #ffffff;
    border: 0;
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: .02em;
    padding: 0 1.25rem;
    border-radius: 6px;
    cursor: pointer;
    height: 42px;
    width: 240px;
    box-sizing: border-box;
    transition: background .15s, transform .15s;
}
.store-mega__btn:hover { background: #1a202c; }
.store-mega__panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    width: 240px;
    height: 480px;
    background: #ffffff;
    color: var(--nc-ink);
    list-style: none;
    margin: 0;
    padding: .85rem 0;
    border-radius: var(--nc-radius);
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
    border: 1px solid var(--nc-line);
    display: none;
    flex-direction: column;
    z-index: 100;
    box-sizing: border-box;
}

/* Triangle pointer caret */
.store-mega__panel::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 36px;
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-left: 1px solid var(--nc-line);
    border-top: 1px solid var(--nc-line);
    transform: rotate(45deg);
}

.store-mega.is-open .store-mega__panel { display: flex; }
.store-mega__item { position: relative; }
.store-mega__item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .6rem 1.25rem;
    font-size: 14px;
    font-weight: 500;
    color: var(--nc-ink);
    text-decoration: none;
    transition: background .12s, color .12s, padding-left .12s;
}
.store-mega__item > a:hover {
    background: rgba(42, 52, 71, 0.05);
    color: var(--nc-accent);
    padding-left: 1.45rem;
}
.store-mega__caret { font-size: 15px; color: #94a3b8; font-weight: 600; }
.store-mega__sub {
    position: absolute;
    top: 0;
    left: 100%;
    width: 240px;
    min-height: 100%;
    background: #ffffff;
    list-style: none;
    margin: 0;
    padding: .75rem 0;
    border-radius: var(--nc-radius);
    box-shadow: 0 16px 40px rgba(0,0,0,.12);
    border: 1px solid var(--nc-line);
    display: none;
    z-index: 101;
}
.store-mega__item.has-children:hover .store-mega__sub { display: block; }
.store-mega__sub a {
    display: block;
    padding: .55rem 1.25rem;
    font-size: 13.5px;
    color: var(--nc-ink);
    text-decoration: none;
    transition: background .12s, color .12s;
}
.store-mega__sub a:hover {
    background: rgba(42, 52, 71, 0.05);
    color: var(--nc-accent);
}
.store-mega__item--all {
    margin-top: auto;
    border-top: 1px solid var(--nc-line);
    padding-top: .4rem;
}
.store-mega__item--all a {
    font-weight: 600;
    color: #475569;
}
.store-mega__plus {
    margin-right: .35rem;
    font-size: 13px;
    display: inline-block;
}
.store-nav__links { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 500; }
.store-nav__item { position: relative; display: flex; align-items: center; height: 54px; }
.store-nav__link { display: inline-flex; align-items: center; gap: .35rem; color: #334155; text-decoration: none; transition: color .15s; font-weight: 600; white-space: nowrap; height: 100%; }
.store-nav__link:hover { color: var(--nc-accent); }
.store-nav__caret { font-size: 10px; color: #94a3b8; transition: transform .2s ease; margin-top: 1px; }
.store-nav__item:hover .store-nav__caret { transform: rotate(180deg); color: var(--nc-accent); }

/* Category brand dropdown menu */
.store-nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    background: #ffffff;
    border: 1px solid var(--nc-line);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    padding: .5rem 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .2s ease;
    z-index: 100;
}
.store-nav__item:hover .store-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.store-nav__dropdown li { margin: 0; padding: 0; }
.store-nav__dropdown a {
    display: block;
    padding: .55rem 1.15rem;
    color: #334155;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: background .12s, color .12s;
    white-space: nowrap;
}
.store-nav__dropdown a:hover {
    background: #f8fafc;
    color: var(--nc-accent);
}
.store-nav__hotline { margin-left: auto; display: flex; align-items: center; gap: .5rem; font-size: 13.5px; color: #64748b; text-decoration: none; cursor: pointer; transition: color .15s; }
.store-nav__hotline:hover { color: var(--nc-accent); }
.store-nav__hotline strong { color: #1e293b; transition: color .15s; }
.store-nav__hotline:hover strong { color: var(--nc-accent); }
.store-hotline-btn { text-decoration: underline; text-underline-offset: 3px; }

/* Hero */
.store-hero { padding: 1.5rem 0; }
.store-hero__inner { display: grid; grid-template-columns: 240px 1fr 360px; gap: 1.25rem; align-items: stretch; }
.store-hero__cats-space { width: 240px; flex: none; }

.store-slider { position: relative; border-radius: var(--nc-radius); overflow: hidden; min-height: 480px; box-shadow: 0 4px 20px rgba(0,0,0,.08); background: #eef2f6; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.store-slider__track { display: flex; transition: transform .8s cubic-bezier(0.25, 1, 0.5, 1); height: 100%; min-height: 480px; touch-action: pan-y; }
.store-slide { min-width: 100%; min-height: 480px; display: flex; align-items: center; justify-content: flex-end; padding: 3.5rem 5rem; box-sizing: border-box; position: relative; overflow: hidden; background-size: cover; background-position: center; touch-action: pan-y; }

/* Subtle overlay on background images for high contrast readability */
.store-slide.has-bg-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.02) 25%, rgba(255,255,255,0.82) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Alignment modifiers per slide */
.store-slide--align-left { justify-content: flex-start; }
.store-slide--align-left.has-bg-img::before { background: linear-gradient(90deg, rgba(255,255,255,0.86) 0%, rgba(255,255,255,0.02) 65%); }
.store-slide--align-left .store-slide__content { text-align: left; margin-right: auto; margin-left: 0; }

.store-slide--align-right { justify-content: flex-end; }
.store-slide--align-right.has-bg-img::before { background: linear-gradient(90deg, rgba(255,255,255,0.02) 35%, rgba(255,255,255,0.86) 100%); }
.store-slide--align-right .store-slide__content { text-align: right; margin-left: auto; margin-right: 0; }

.store-slide--align-center { justify-content: center; }
.store-slide--align-center.has-bg-img::before { background: radial-gradient(circle at center, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.4) 100%); }
.store-slide--align-center .store-slide__content { text-align: center; margin: 0 auto; }

/* Text overlay container positioned firmly on top of background image */
.store-slide__content {
    max-width: 54%;
    position: relative;
    z-index: 10;
}

/* Individual typography animations: delayed by half a second (0.5s), one-by-one */
.store-slide__title {
    opacity: 0;
    transform: translateX(65px);
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.65s ease;
    will-change: transform, opacity;
    font-size: 52px !important;
    font-weight: 850 !important;
    line-height: 1.12 !important;
    margin: 0 0 .85rem !important;
    letter-spacing: -.03em !important;
}

.store-slide__sub {
    opacity: 0;
    transform: translateX(65px);
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.65s ease;
    will-change: transform, opacity;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.55 !important;
    margin: 0 !important;
    opacity: 0.85 !important;
}

/* When moving backwards, text comes from left */
.store-slider[data-dir="prev"] .store-slide:not(.is-active) .store-slide__title,
.store-slider[data-dir="prev"] .store-slide:not(.is-active) .store-slide__sub {
    transform: translateX(-65px);
}

/* Active slide: Half-second delay (0.5s); Title first (0.5s), then Subtitle (0.75s) */
.store-slide.is-active .store-slide__title {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.5s;
}

.store-slide.is-active .store-slide__sub {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.75s;
}

.store-slide.has-bg-img .store-slide__title { color: #111827; text-shadow: 0 1px 3px rgba(255,255,255,0.8); }
.store-slide.has-bg-img .store-slide__sub { color: #475569; }

.store-slide:not(.has-bg-img) { justify-content: flex-start; background: linear-gradient(135deg, #18202d 0%, #2a3447 100%); }
.store-slide:not(.has-bg-img) .store-slide__content { text-align: left; max-width: 65%; }
.store-slide:not(.has-bg-img) .store-slide__title { color: #ffffff; text-shadow: 0 2px 10px rgba(0,0,0,0.6); }
.store-slide:not(.has-bg-img) .store-slide__sub { color: #cbd5e1; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }

.store-slider__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #1b212d; font-size: 24px; cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.15); transition: background .15s, transform .15s, opacity .2s ease; z-index: 5; opacity: 0; pointer-events: none; }
.store-slider:hover .store-slider__nav, .store-hero__main:hover .store-slider__nav { opacity: 1; pointer-events: auto; }
.store-slider__nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.store-slider__nav--prev { left: 16px; } .store-slider__nav--next { right: 16px; }

/* Dots navigation matching screenshot */
.store-slider__dots { position: absolute; bottom: 22px; right: 28px; left: auto; display: inline-flex; align-items: center; gap: .45rem; z-index: 6; padding: 4px; }
.store-slider__dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; background: #94a3b8; cursor: pointer; padding: 0; transition: width .25s ease, background .25s ease, border-radius .25s ease; }
.store-slider__dots button:hover { background: #475569; }
.store-slider__dots button.is-active { width: 22px; height: 7px; border-radius: 999px; background: #2a3447; }

.store-hero__promos { display: grid; grid-template-rows: 1fr 1fr; gap: 1.25rem; }
.store-hero__promo {
    background: #18202d;
    border-radius: var(--nc-radius);
    color: #fff;
    min-height: 220px;
    display: block;
    border: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: box-shadow .3s ease;
}
.store-hero__promo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1);
    transition: transform .5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.store-hero__promo-fallback {
    width: 100%;
    height: 100%;
    transform: scale(1);
    transition: transform .5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    background: linear-gradient(145deg, #242e40 0%, #171d27 100%);
}
.store-hero__promo--1 { background: linear-gradient(145deg, #232c3c 0%, #161b24 100%); }
.store-hero__promo--2 { background: linear-gradient(145deg, #2a3447 0%, #1a202c 100%); }
.store-hero__promo:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
    outline: none;
}
.store-hero__promo:hover .store-hero__promo-img,
.store-hero__promo:hover .store-hero__promo-fallback {
    transform: scale(1.07);
}

/* Feature strip */
.store-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: .5rem auto 1.5rem; }
.store-feature { background: var(--nc-surface); border-radius: var(--nc-radius); padding: 1rem 1.25rem; display: flex; align-items: center; gap: .85rem; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.store-feature__ico { font-size: 24px; }
.store-feature strong { display: block; font-size: 14px; } .store-feature span { font-size: 12.5px; color: var(--nc-muted); }

/* Sections */
.store-section { margin: 2.5rem auto; }
.store-section__head { text-align: left; margin-bottom: 1.5rem; }
.store-section__head h2 { font-size: 24px; font-weight: 800; margin: 0 0 .35rem; }
.store-section__head p { color: var(--nc-muted); margin: 0; font-size: 14px; }
.store-empty { color: var(--nc-muted); text-align: center; padding: 2rem; }

/* Horizontal Carousels & Controls */
.carousel-track {
    display: flex !important;
    gap: 1.25rem !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: .5rem 0 1rem !important;
    scroll-snap-type: x mandatory;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { flex: 0 0 auto !important; scroll-snap-align: start; }
.cat-tiles.carousel-track > .cat-tile { width: 220px; }
.brand-strip.carousel-track > .brand-chip { min-width: 170px; height: 85px; }

.carousel-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #1e293b;
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .15s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.carousel-nav-btn:hover {
    background: #2a3447;
    color: #ffffff;
    border-color: #2a3447;
    transform: scale(1.05);
}

/* Category tiles */
.cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.cat-tile { background: var(--nc-surface); border-radius: var(--nc-radius); padding: 1.5rem; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.05); border: 1px solid var(--nc-line); transition: transform .15s, box-shadow .15s; }
.cat-tile:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.1); border-color: var(--nc-accent); }
.cat-tile__img { display: block; height: 90px; display: grid; place-items: center; margin-bottom: .75rem; }
.cat-tile__img img { max-height: 90px; object-fit: contain; }
.cat-tile__name { display: block; font-weight: 600; font-size: 15px; }
.cat-tile__count { display: block; color: var(--nc-muted); font-size: 12.5px; margin-top: .2rem; }

/* Product grid + cards */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.pcard { background: var(--nc-surface); border-radius: var(--nc-radius); overflow: hidden; border: 1.5px solid var(--nc-line); box-shadow: 0 2px 8px rgba(0,0,0,.04); display: flex; flex-direction: column; transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .25s ease, border-color .25s ease; position: relative; }
.pcard:hover { transform: translateY(-6px); border-color: var(--nc-accent); box-shadow: 0 16px 36px rgba(42,52,71,.12); }
.pcard__quick-actions { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: .35rem; z-index: 4; }
.pcard__btn-action,
.pcard__quick-btn {
    width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08);
    background: rgba(255,255,255,.94); color: #475569; font-size: 14px;
    cursor: pointer; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.1);
    transition: background .15s, color .15s, transform .15s, box-shadow .15s; padding: 0;
}
.pcard__btn-action:hover,
.pcard__quick-btn:hover { background: #fff; transform: scale(1.1); box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.pcard__btn-action--wish.is-active,
.pcard__btn-action--wish.is-active svg,
.pcard__quick-btn--wishlist.is-active { color: #dc2626 !important; fill: #dc2626 !important; }
.pcard__btn-action--comp.is-active,
.pcard__quick-btn--compare.is-active { color: var(--nc-accent) !important; border-color: var(--nc-accent); background: #f0fdf4; }
.pcard__tag { position: absolute; top: 12px; left: 12px; background: #e02424; color: #fff; font-size: 11px; font-weight: 700; padding: .25rem .55rem; border-radius: 4px; text-transform: uppercase; letter-spacing: .05em; z-index: 2; }
.pcard__tag--out { background: #ef4444 !important; color: #ffffff !important; }
.pcard__badge { position: absolute; top: 12px; left: 12px; background: #2fae66; color: #fff; font-size: 11px; font-weight: 700; padding: .25rem .55rem; border-radius: 4px; text-transform: uppercase; letter-spacing: .05em; z-index: 2; }
.pcard__badge--sale { background: #e02424; }
.pcard__img, .pcard__media { display: flex; align-items: center; justify-content: center; padding: 1.35rem 1.15rem; width: 100%; aspect-ratio: 1 / 1; height: auto; position: relative; background: #fff; box-sizing: border-box; overflow: hidden; }
.pcard__img img, .pcard__media img { max-height: 88%; max-width: 90%; width: auto; height: auto; object-fit: contain; display: block; margin: auto; transition: transform .25s ease; }
.pcard:hover .pcard__media img, .pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__body { padding: 1rem 1.25rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.pcard__brand { font-size: 11.5px; text-transform: uppercase; color: var(--nc-muted); font-weight: 600; letter-spacing: .06em; margin-bottom: .3rem; }
.pcard__name, .pcard__title { font-size: 14.5px; font-weight: 600; margin: 0 0 .5rem; line-height: 1.35; flex: 1; color: var(--nc-ink); }
.pcard__name a, .pcard__title a { color: inherit; text-decoration: none; }
.pcard__name a:hover, .pcard__title a:hover { color: var(--nc-accent); }
.pcard__meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: .85rem; }
.pcard__price { display: flex; align-items: baseline; gap: .4rem; }
.pcard__now, .pcard__price-now { font-size: 17px; font-weight: 800; color: var(--nc-accent); }
.pcard__was, .pcard__price-was { font-size: 13px; color: var(--nc-muted); text-decoration: line-through; }
.pcard__stock { font-size: 11.5px; color: #2fae66; font-weight: 600; }
.pcard__stock--out { color: #e02424; }
.pcard__add { width: 100%; border: 0; background: var(--nc-dark-2); color: #fff; padding: .65rem 1rem; border-radius: 8px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background .15s; font-family: inherit; }
.pcard__add:hover { background: var(--nc-accent); }
.pcard__add:disabled,
.pcard__add[disabled] {
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    border: 1px solid #e2e8f0 !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Tabs */
.store-tabs__head { display: flex; justify-content: center; gap: .5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.store-tabs__head button { border: 1px solid var(--nc-line); background: var(--nc-surface); padding: .55rem 1.35rem; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--nc-muted); }
.store-tabs__head button.is-active { background: var(--nc-dark-2); color: #fff; border-color: var(--nc-dark-2); }
.store-tabs__panel { display: none; } .store-tabs__panel.is-active { display: block; }

/* Promo banners */
.store-promobanners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 2rem auto; }
.store-promobanner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: var(--nc-radius);
    overflow: hidden;
    aspect-ratio: 870 / 270;
    text-decoration: none;
    position: relative;
    border: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    transition: box-shadow .3s ease;
}
.store-promobanner__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1);
    transition: transform .5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.store-promobanner__fallback {
    width: 100%;
    height: 100%;
    transform: scale(1);
    transition: transform .5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.store-promobanner:hover {
    box-shadow: 0 12px 28px rgba(42,52,71,.14);
}
.store-promobanner:hover .store-promobanner__img,
.store-promobanner:hover .store-promobanner__fallback {
    transform: scale(1.07);
}

/* Brands */
.brand-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.brand-chip { background: var(--nc-surface); border-radius: var(--nc-radius); height: 90px; display: grid; place-items: center; padding: 1.2rem; border: 1.5px solid var(--nc-line); box-shadow: 0 2px 6px rgba(0,0,0,.04); font-weight: 700; color: var(--nc-muted); text-decoration: none; transition: all .25s cubic-bezier(0.16, 1, 0.3, 1); }
.brand-chip img { max-height: 48px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: all .25s ease; }
.brand-chip:hover { transform: translateY(-5px); border-color: var(--nc-accent); background: #ffffff; box-shadow: 0 12px 26px rgba(42,52,71,.12); }
.store-newsletter { background: #2a3447; color: #fff; margin-top: 3.5rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.store-newsletter__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.75rem 1rem; flex-wrap: wrap; }
.store-newsletter h3 { margin: 0 0 .35rem; font-size: 22px; font-weight: 700; color: #fff; }
.store-newsletter p { margin: 0; color: #cbd5e1; font-size: 14px; }
.store-newsletter__form { display: flex; background: #fff; border-radius: 999px; overflow: hidden; min-width: 340px; flex: 1; max-width: 480px; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.store-newsletter__form input { flex: 1; border: 0; padding: .8rem 1.25rem; outline: none; font-family: inherit; font-size: 14px; }
.store-newsletter__form button { border: 0; background: #1b212d; color: #fff; font-weight: 600; font-size: 14px; padding: 0 1.85rem; cursor: pointer; font-family: inherit; transition: background .15s; }
.store-newsletter__form button:hover { background: #11151d; }

/* Footer */
.store-footer { background: #2e3132; color: #b8bcc6; }
.store-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding: 4rem 1rem 3rem; }
.store-logo--footer { margin-bottom: 1.25rem; }
.store-footer .store-logo__text { color: #ffffff !important; font-size: 24px; }
.store-footer .store-logo__text span { color: #9bb3d6 !important; }
.store-footer__about { font-size: 13.5px; line-height: 1.65; color: #cbd5e1; }
.store-footer__contact { font-size: 13px; margin-top: .85rem; color: #cbd5e1; }
.store-footer__col h4 { color: #fff; font-size: 16px; font-weight: 600; margin: 0 0 1.25rem; }
.store-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; font-size: 14px; }
.store-footer__col a { color: #b8bcc6; transition: color .15s; }
.store-footer__col a:hover { color: #ffffff; }
.store-social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.store-social a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; text-transform: uppercase; font-weight: 700; font-size: 13px; transition: background .15s; }
.store-social a:hover { background: var(--nc-accent); color: var(--nc-accent-ink); }
.store-footer__bar { border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 0 3.5rem; font-size: 13px; text-align: center; color: #94a3b8; }

/* Mobile bottom bar */
.store-mobilebar { display: none; }

/* Responsive */
@media (max-width: 1080px) {
    .store-hero__inner { grid-template-columns: 1fr; }
    .store-hero__cats, .store-hero__promos { display: none; }
    .pgrid, .cat-tiles { grid-template-columns: repeat(3, 1fr); }
    .brand-strip { grid-template-columns: repeat(4, 1fr); }
    .store-features { grid-template-columns: repeat(2, 1fr); }
    .store-nav__hotline, .store-nav__links { display: none; }
}
@media (max-width: 720px) {
    /* Header wraps: row 1 = logo + icons, row 2 = full-width search (not hidden). */
    .store-header__inner { flex-wrap: wrap; height: auto; gap: .75rem; padding-top: .75rem; padding-bottom: .75rem; }
    .store-logo { order: 1; }
    .store-logo__img { max-height: 46px; }
    .store-logo__mark { width: 40px; height: 40px; font-size: 21px; }
    .store-logo__text { font-size: 22px; }
    .store-header__actions { order: 2; margin-left: auto; }
    .store-search { order: 3; flex-basis: 100%; width: 100%; max-width: 100%; min-width: 0; margin: 0; box-sizing: border-box; }
    .store-search input { flex: 1 1 auto; min-width: 0 !important; width: 100%; padding: .65rem 1rem; font-size: 13.5px; box-sizing: border-box; }
    .store-search button { flex-shrink: 0; padding: 0 1.35rem; font-size: 13.5px; white-space: nowrap; }
    .store-topbar { display: none; }
    .pgrid, .cat-tiles, .store-promobanners { grid-template-columns: 1fr; gap: 1rem; }
    .brand-strip { grid-template-columns: repeat(3, 1fr); }
    .store-footer__grid { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 1rem 2rem; }
    
    /* Mega "All Categories" panel is full-width with centered title */
    .store-nav { width: 100%; }
    .store-nav__inner { gap: .75rem; width: 100%; }
    .store-mega { width: 100%; }
    .store-mega__btn {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: .8rem 1.25rem;
        font-size: 14px;
        border-radius: 8px;
        box-sizing: border-box;
    }
    .store-mega__btn span:first-child { flex: 1; text-align: center; font-weight: 700; letter-spacing: .04em; }
    .store-mega__panel { width: 100%; max-width: 100%; left: 0; right: 0; box-sizing: border-box; border-radius: 8px; }
    .store-mega__sub { position: static; width: auto; box-shadow: none; border-radius: 0; background: var(--nc-bg); }
    .store-mega__item.has-children:hover .store-mega__sub { display: block; }
    .store-mobilebar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: var(--nc-dark-2); z-index: 60; padding: .4rem 0; }
    .store-mobilebar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; color: #cfd2d8; font-size: 11px; }
    .store-mobilebar a span { font-size: 18px; }
    .store-main { padding-bottom: 74px; }
    .store-newsletter__inner { flex-direction: column; align-items: stretch !important; gap: 1.25rem !important; text-align: center; }
    .store-newsletter__form { width: 100% !important; max-width: 100% !important; min-width: 0 !important; display: flex; box-sizing: border-box; }
    .store-newsletter__form input { flex: 1 1 auto; min-width: 0 !important; width: 100%; box-sizing: border-box; padding: .75rem 1rem; }
    .store-newsletter__form button { flex-shrink: 0; white-space: nowrap; padding: 0 1.35rem; }
}

/* ==========================================================================
   Store Phase 2 — cart, checkout, account pages
   ========================================================================== */
.store-page { padding: 2rem 1rem 3rem; min-height: 50vh; }
.store-page__title { font-size: 28px; font-weight: 800; margin: 0 0 1.5rem; }
.store-alert { padding: .85rem 1.1rem; border-radius: 10px; margin-bottom: 1.25rem; font-size: 14px; }
.store-alert--error { background: #fdecec; color: #a12626; border: 1px solid #f5c6c6; }
.store-alert--info { background: #eef4fd; color: #24557f; border: 1px solid #cfe0f5; }
.store-alert--info a { color: inherit; font-weight: 700; text-decoration: underline; }
.store-empty-box { background: var(--nc-surface); border-radius: var(--nc-radius); padding: 3rem; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.store-empty-box p { color: var(--nc-muted); margin: 0 0 1.25rem; }

.store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .65rem 1.35rem;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all .15s ease;
    border: 1px solid transparent;
    line-height: 1.4;
    font-family: inherit;
}
.store-btn--dark,
a.store-btn--dark,
button.store-btn--dark { background: var(--nc-accent) !important; color: #ffffff !important; border-color: var(--nc-accent) !important; }
.store-btn--dark:hover,
a.store-btn--dark:hover,
button.store-btn--dark:hover { background: #1b212d !important; color: #ffffff !important; border-color: #1b212d !important; transform: translateY(-1px); }

.store-btn--ghost,
a.store-btn--ghost,
button.store-btn--ghost {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: var(--nc-ink) !important;
    font-weight: 600;
}
.store-btn--ghost:hover,
a.store-btn--ghost:hover,
button.store-btn--ghost:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: var(--nc-accent) !important;
    transform: translateY(-1px);
}

.store-btn--block,
a.store-btn--block,
button.store-btn--block { display: flex; text-align: center; width: 100%; border: 0; cursor: pointer; margin-top: .5rem; background: var(--nc-accent) !important; color: #ffffff !important; padding: .85rem; border-radius: 8px; font-weight: 700; }
.store-btn--block:hover,
a.store-btn--block:hover,
button.store-btn--block:hover { background: #1b212d !important; color: #ffffff !important; }

.cart-summary__cont {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: .75rem;
    padding: .65rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--nc-ink);
    text-decoration: none;
    transition: all .15s ease;
}
.cart-summary__cont:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: var(--nc-accent);
}

[data-shop-price-btn],
.shop-sidebar .store-btn,
.shop-head .store-btn,
.shop-empty .store-btn {
    background: var(--nc-accent) !important;
}
.shop-search button {
    background: var(--nc-accent) !important;
    color: #ffffff !important;
}

/* Floating Back-To-Top Button */
.store-back-to-top {
    position: fixed;
    left: 24px;
    right: auto;
    bottom: 80px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #2a3447;
    color: #ffffff !important;
    border: 2px solid rgba(255,255,255,.3);
    box-shadow: 0 6px 20px rgba(0,0,0,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .15s ease;
    text-decoration: none;
    line-height: 1;
}
.store-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.store-back-to-top:hover {
    background: #111827;
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(42,52,71,.45);
}

/* Cart */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 1.5rem; align-items: start; }
.cart-lines { background: var(--nc-surface); border-radius: var(--nc-radius); box-shadow: 0 1px 3px rgba(0,0,0,.05); overflow: hidden; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto auto auto; gap: 1rem; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--nc-line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line__img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 8px; }
.cart-line__name { font-weight: 600; font-size: 14.5px; display: block; }
.cart-line__price { font-size: 12.5px; color: var(--nc-muted); }
.cart-line__qty input { width: 64px; padding: .5rem; border: 1px solid var(--nc-line); border-radius: 8px; text-align: center; }
.cart-line__total { font-weight: 800; }
.cart-line__remove button { border: 0; background: none; color: var(--nc-muted); font-size: 16px; cursor: pointer; }
.cart-line__remove button:hover { color: var(--nc-accent-2); }
.cart-summary { background: var(--nc-surface); border-radius: var(--nc-radius); padding: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,.05); position: sticky; top: 1rem; }
.cart-summary h3 { margin: 0 0 1rem; font-size: 17px; }
.cart-summary__row { display: flex; justify-content: space-between; padding: .5rem 0; font-size: 14px; }
.cart-summary__item { display: flex; justify-content: space-between; padding: .35rem 0; font-size: 13px; color: var(--nc-muted); }
.cart-summary__row--total { border-top: 1px solid var(--nc-line); margin-top: .5rem; padding-top: .85rem; font-size: 18px; font-weight: 800; }
.cart-summary__cont { display: block; text-align: center; margin-top: .75rem; font-size: 13px; color: var(--nc-muted); }

/* Checkout */
.checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: 1.5rem; align-items: start; }
.checkout-fields { background: var(--nc-surface); border-radius: var(--nc-radius); padding: 1.75rem; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.checkout-fields h3 { margin: 0 0 1rem; font-size: 17px; } .checkout-fields h3 + * { margin-top: 0; }
.checkout-fields h3:not(:first-child) { margin-top: 1.75rem; border-top: 1px solid var(--nc-line); padding-top: 1.5rem; }
.form-row { margin-bottom: 1rem; } .form-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: .35rem; }
.form-row input, .form-row textarea { width: 100%; padding: .7rem .9rem; border: 1px solid var(--nc-line); border-radius: 9px; font-size: 14px; font-family: inherit; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) {
    .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }
}
.pay-option { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem; border: 1px solid var(--nc-line); border-radius: 10px; font-size: 14px; }
.checkout-note { font-size: 12.5px; color: var(--nc-muted); margin: .75rem 0 0; }

/* Confirmation */
.store-confirm { text-align: center; max-width: 620px; margin: 0 auto; }
.store-confirm__check { width: 68px; height: 68px; border-radius: 50%; background: var(--nc-green); color: #fff; font-size: 34px; display: grid; place-items: center; margin: 1rem auto 1.5rem; }
.store-confirm h1 { font-size: 26px; margin: 0 0 .5rem; }
.store-confirm__sub { color: var(--nc-muted); margin-bottom: 2rem; }
.store-confirm__card { background: var(--nc-surface); border-radius: var(--nc-radius); padding: 1.5rem; text-align: left; box-shadow: 0 1px 3px rgba(0,0,0,.05); margin-bottom: 2rem; }
.store-confirm__row { display: flex; justify-content: space-between; padding: .45rem 0; font-size: 14px; }
.store-confirm__row span:first-child { color: var(--nc-muted); }
.store-confirm__row--total { border-top: 1px solid var(--nc-line); margin-top: .5rem; padding-top: .75rem; font-weight: 800; font-size: 17px; }
.store-confirm__card hr { border: 0; border-top: 1px solid var(--nc-line); margin: .75rem 0; }

/* Auth */
.store-auth__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 820px; }
.store-auth__card { background: var(--nc-surface); border-radius: var(--nc-radius); padding: 1.75rem; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.store-auth__card h2 { margin: 0 0 1.25rem; font-size: 20px; }

/* Account */
.account-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.account-head p { color: var(--nc-muted); margin: .25rem 0 0; }
.account-subhead { font-size: 17px; margin: 1.5rem 0 1rem; }
.account-orders { background: var(--nc-surface); border-radius: var(--nc-radius); box-shadow: 0 1px 3px rgba(0,0,0,.05); overflow: hidden; }
.account-orders table { width: 100%; border-collapse: collapse; }
.account-orders th, .account-orders td { text-align: left; padding: .85rem 1.25rem; border-bottom: 1px solid var(--nc-line); font-size: 14px; }
.account-orders th { background: var(--nc-bg); font-size: 12px; text-transform: uppercase; color: var(--nc-muted); }
.mono { font-variant-numeric: tabular-nums; }
.order-badge { font-size: 12px; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; }
.order-badge.is-pending { background: #fff3e0; color: #b26a00; }
.order-badge.is-confirmed { background: #e7f6ed; color: #1f8a4c; }
.order-badge.is-cancelled { background: #fdecec; color: #a12626; }

@media (max-width: 860px) {
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .store-auth__grid { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
}

/* Cart line reflows on phones */
@media (max-width: 640px) {
    .cart-layout { grid-template-columns: 1fr; }
    .cart-line {
        display: grid;
        grid-template-columns: 64px 1fr auto;
        grid-template-areas:
            "img info remove"
            "img qty total";
        gap: .65rem .85rem;
        align-items: center;
        padding: 1rem .85rem;
    }
    .cart-line__img, .cart-line__media { grid-area: img; width: 64px; height: 64px; }
    .cart-line__info, .cart-line__name { grid-area: info; min-width: 0; }
    .cart-line__remove { grid-area: remove; justify-self: end; }
    .cart-line__qty { grid-area: qty; display: flex; align-items: center; }
    .cart-line__qty input { width: 54px; padding: .4rem; }
    .cart-line__total { grid-area: total; justify-self: end; font-size: 15px; font-weight: 800; }
}

/* ==========================================================================
   Responsive system + internal pages (shop listing, product detail)
   Added Phase 1 — fluid grids that fit every screen, blueish-black theme.
   ========================================================================== */

/* Fluid product grid: auto-fills columns by available width so large screens
   show more/larger cards and small screens never cramp. */
.pgrid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.cat-tiles { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.store-features { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Wide desktops: let content breathe up to the wider wrap. */
@media (min-width: 1500px) {
    .pgrid { grid-template-columns: repeat(5, 1fr); }
}

/* Laptops / small desktops */
@media (max-width: 1200px) {
    .store-hero__inner { grid-template-columns: 240px 1fr; }
    .store-hero__promos { display: none; }
}

/* Tablets */
@media (max-width: 992px) {
    .store-hero__inner { grid-template-columns: 1fr; }
    .store-hero__cats-space { display: none; }
    .cat-tiles { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .shop-layout { grid-template-columns: 1fr !important; }
}

/* Phones & Touch screens */
@media (hover: none), (pointer: coarse) {
    .store-slider__nav { display: none !important; }
}

@media (max-width: 768px) {
    .store-slider__nav { display: none !important; }
}

/* Phones */
@media (max-width: 640px) {
    :root { --nc-wrap: 100%; }
    .store-wrap { padding: 1.25rem 0.85rem; margin-bottom: 1rem; }
    .store-hero { padding: .5rem 0 1rem; }
    .store-slider { min-height: 0 !important; height: auto !important; aspect-ratio: 16 / 10; }
    .store-slider__track { min-height: 0 !important; height: 100% !important; }
    .store-slide {
        min-height: 0 !important;
        height: 100% !important;
        padding: 1rem 1.25rem !important;
        background-size: cover !important;
        background-position: center !important;
    }
    .store-slide__content { max-width: 58% !important; }
    .store-slide__title {
        font-size: 20px !important;
        line-height: 1.18 !important;
        margin: 0 0 .35rem !important;
        letter-spacing: -.02em !important;
    }
    .store-slide__sub {
        font-size: 11.5px !important;
        line-height: 1.35 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    .store-slider__nav { display: none !important; }
    .store-slider__dots { bottom: 10px !important; right: 14px !important; }
    .pgrid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
    .cat-tiles { grid-template-columns: repeat(2, 1fr); }
    .pdetail { grid-template-columns: 1fr !important; }
    .pcard__body { padding: .6rem .7rem .8rem; }
    .pcard__name { font-size: 13px; }
}

/* Very small phones */
@media (max-width: 380px) {
    .pgrid { grid-template-columns: 1fr; }
}

/* ---- Breadcrumb ---- */
.store-crumb { font-size: 13px; color: var(--nc-muted); margin: 1rem 0; }
.store-crumb a:hover { color: var(--nc-accent); }

/* ---- Shop listing page ---- */
.shop-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1rem; flex-wrap: wrap; }
.shop-head h1 { font-size: 22px; margin: 0; }
.shop-count { color: var(--nc-muted); font-size: 14px; }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 1.5rem; align-items: start; }
.shop-sidebar { background: var(--nc-surface); border-radius: var(--nc-radius); padding: 1.1rem; box-shadow: 0 1px 3px rgba(0,0,0,.05); position: sticky; top: 1rem; }
.shop-sidebar h4 { margin: 0 0 .6rem; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--nc-muted); }
.shop-sidebar__mobile-head { display: none; }
.shop-sidebar-backdrop { display: none; }
.shop-mobile-filter-btn {
    display: none;
    align-items: center;
    gap: .45rem;
    padding: .45rem .85rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--nc-ink);
    cursor: pointer;
}
.shop-filter-badge {
    background: var(--nc-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    padding: 1px 6px;
    line-height: 1.2;
}

@media (max-width: 992px) {
    .shop-mobile-filter-btn { display: inline-flex; }
    .shop-sidebar {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: -320px !important;
        width: 300px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        z-index: 10001 !important;
        background: #ffffff !important;
        padding: 1.25rem !important;
        overflow-y: auto !important;
        box-shadow: 4px 0 24px rgba(0,0,0,.25) !important;
        transition: left .3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        border-radius: 0 !important;
    }
    .shop-sidebar.is-open {
        left: 0 !important;
    }
    .shop-sidebar__mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid var(--nc-line);
    }
    .shop-sidebar__close {
        border: 0;
        background: #f1f5f9;
        color: #334155;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        font-size: 14px;
        cursor: pointer;
        font-weight: 700;
    }
    .shop-sidebar-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.55);
        backdrop-filter: blur(2px);
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, visibility .25s ease;
        display: block;
    }
    body.shop-filter-open .shop-sidebar-backdrop {
        opacity: 1;
        visibility: visible;
    }
    body.shop-filter-open {
        overflow: hidden;
    }
}

.shop-filter { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.shop-filter li { margin: 0 0 .15rem; }
.shop-filter a { display: block; padding: .4rem .55rem; border-radius: 7px; font-size: 14px; }
.shop-filter a:hover, .shop-filter a.is-active { background: var(--nc-bg); color: var(--nc-accent); font-weight: 600; }
.shop-subfilter-list { margin: .35rem 0 .5rem .75rem; padding-left: .75rem; border-left: 2px solid #cbd5e1; list-style: none; }
.shop-subfilter-list li { margin: 0 0 .25rem; }
.shop-subfilter-list a {
    display: flex; align-items: center; justify-content: space-between;
    padding: .35rem .6rem; border-radius: 6px; font-size: 13px;
    color: var(--nc-muted); font-weight: 500; text-decoration: none; transition: all .15s ease;
}
.shop-subfilter-list a:hover {
    color: var(--nc-accent); background: rgba(42,52,71,.06);
}
.shop-subfilter-list a.is-active {
    background: var(--nc-accent) !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 1px 4px rgba(42,52,71,.25);
}
.shop-toolbar { display: flex; gap: .6rem; align-items: center; margin: 0 0 1rem; }
.shop-search { flex: 1; display: flex; border: 1px solid var(--nc-line); border-radius: 999px; overflow: hidden; background: #fff; max-width: 420px; }
.shop-search input { flex: 1; border: 0; padding: .6rem 1rem; font: inherit; outline: none; }
.shop-search button { border: 0; background: var(--nc-accent); color: var(--nc-accent-ink); font-weight: 700; padding: 0 1.25rem; cursor: pointer; }
.shop-empty { background: var(--nc-surface); border-radius: var(--nc-radius); padding: 3rem 1rem; text-align: center; color: var(--nc-muted); }

/* ---- Product detail page ---- */
.pdetail { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; background: var(--nc-surface); border-radius: var(--nc-radius); padding: 1.75rem; box-shadow: 0 1px 3px rgba(0,0,0,.05); margin-bottom: 1.5rem; max-width: 100%; box-sizing: border-box; }
.pdetail__gallery { min-width: 0; max-width: 100%; display: flex; flex-direction: column; gap: .75rem; box-sizing: border-box; }
.pdetail__info { min-width: 0; max-width: 100%; box-sizing: border-box; word-break: break-word; overflow-wrap: anywhere; }
.pdetail__media { background: #fff; border: 1px solid var(--nc-line); border-radius: var(--nc-radius); padding: 1.5rem; display: grid; place-items: center; aspect-ratio: 1/1; max-width: 100%; box-sizing: border-box; }
.pdetail__media img { width: 100%; height: 100%; object-fit: contain; max-width: 100%; }
.pdetail__brand { color: var(--nc-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.pdetail__title { font-size: 26px; margin: .35rem 0 .75rem; line-height: 1.25; word-break: break-word; overflow-wrap: anywhere; max-width: 100%; }
.pdetail__price { display: flex; align-items: baseline; gap: .75rem; margin: .5rem 0 1rem; flex-wrap: wrap; }
.pdetail__now { font-size: 28px; font-weight: 800; color: var(--nc-accent); letter-spacing: -0.01em; }
.pdetail__was { font-size: 17px; font-weight: 500; color: var(--nc-muted); text-decoration: line-through; opacity: 0.85; }
.pdetail__stock { font-size: 14px; font-weight: 600; margin: 0 0 1rem; }
.pdetail__stock.in { color: var(--nc-green); }
.pdetail__stock.out { color: #c0392b; }
.pdetail__meta { list-style: none; margin: 1rem 0; padding: 1rem 0; border-top: 1px solid var(--nc-line); border-bottom: 1px solid var(--nc-line); max-width: 100%; box-sizing: border-box; }
.pdetail__meta li { display: flex; gap: .5rem; font-size: 14px; padding: .25rem 0; word-break: break-word; overflow-wrap: anywhere; }
.pdetail__meta span { color: var(--nc-muted); min-width: 100px; flex-shrink: 0; }
.pdetail__qty { display: flex; align-items: center; gap: .75rem; margin: 1rem 0; flex-wrap: wrap; }
.pdetail__qty input { width: 70px; padding: .55rem; border: 1px solid var(--nc-line); border-radius: 8px; font: inherit; text-align: center; }
.pdetail__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.pbtn { display: inline-flex; align-items: center; gap: .5rem; border: 0; border-radius: 999px; padding: .8rem 1.75rem; font-weight: 700; font-size: 15px; cursor: pointer; max-width: 100%; box-sizing: border-box; }
.pbtn--primary { background: var(--nc-accent); color: var(--nc-accent-ink); }
.pbtn--primary:hover:not(:disabled) { background: var(--nc-accent-2); }
.pbtn--primary:disabled,
.pbtn--primary[disabled],
.pbtn--disabled,
.pbtn--out {
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    border: 1px solid #e2e8f0 !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
    box-shadow: none !important;
    transform: none !important;
}
.pbtn--ghost { background: var(--nc-bg); color: var(--nc-ink); }
.pbtn--ghost:hover { background: #e6e8ec; }
.pdetail__desc { margin: 1.5rem 0; line-height: 1.7; word-break: break-word; overflow-wrap: anywhere; }
.section-title { font-size: 20px; margin: 2rem 0 1rem; }

/* ==========================================================================
   Product detail (reference-matched): gallery, feature strip, tabs, qty box
   ========================================================================== */
.pdetail__thumbs { display: flex; gap: .5rem; overflow-x: auto; max-width: 100%; padding-bottom: 4px; }
.pdetail__thumb { width: 68px; height: 68px; border: 1px solid var(--nc-line); border-radius: 8px; background: #fff; padding: 4px; cursor: pointer; flex-shrink: 0; }
.pdetail__thumb.is-active { border-color: var(--nc-accent); box-shadow: 0 0 0 2px rgba(30,79,216,.15); }
.pdetail__thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdetail__short-desc { background: #f8fafc; border-left: 3px solid var(--nc-accent); padding: .85rem 1rem; border-radius: 0 8px 8px 0; margin: 1.1rem 0; font-size: 14px; line-height: 1.6; color: #475569; max-width: 100%; box-sizing: border-box; word-break: break-word; overflow-wrap: anywhere; }
.pdetail__lead { color: var(--nc-muted); font-size: 14px; line-height: 1.6; margin: 0; word-break: break-word; overflow-wrap: anywhere; max-width: 100%; }
.pdetail__actionsbar { display: flex; gap: 1rem; margin: 0 0 1rem; flex-wrap: wrap; }
.pdetail__wish { background: none; border: 0; color: var(--nc-muted); font-size: 13px; cursor: pointer; padding: 0; }
.pdetail__wish:hover { color: var(--nc-accent); }
.pdetail__buy { display: flex; gap: .75rem; align-items: stretch; margin: 1.25rem 0; flex-wrap: wrap; max-width: 100%; box-sizing: border-box; }
.qtybox { display: inline-flex; align-items: center; border: 1px solid var(--nc-line); border-radius: 999px; overflow: hidden; background: #fff; }
.qtybox__btn { width: 42px; height: 48px; border: 0; background: #fff; font-size: 20px; cursor: pointer; color: var(--nc-ink); }
.qtybox__btn:hover:not(:disabled) { background: var(--nc-bg); }
.qtybox__input { width: 56px; height: 48px; border: 0; border-left: 1px solid var(--nc-line); border-right: 1px solid var(--nc-line); text-align: center; font: inherit; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.qtybox__input::-webkit-outer-spin-button,
.qtybox__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pbtn--lg { padding: .9rem 2.25rem; font-size: 16px; }
.pdetail__share { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; font-size: 13px; color: var(--nc-muted); flex-wrap: wrap; }
.pdetail__share a { width: 30px; height: 30px; border-radius: 50%; background: var(--nc-dark); color: #fff; display: grid; place-items: center; font-size: 13px; text-transform: capitalize; flex-shrink: 0; }
.pdetail__share a:hover { background: var(--nc-accent); }
.pdetail__meta a:hover { color: var(--nc-accent); }

/* Feature strip */
.pd-features { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; background: var(--nc-surface); border: 1px solid var(--nc-line); border-radius: var(--nc-radius); padding: 1.25rem; margin: 1.5rem 0; }
.pd-features > div { display: flex; flex-direction: column; text-align: center; gap: .2rem; border-right: 1px solid var(--nc-line); min-width: 0; }
.pd-features > div:last-child { border-right: 0; }
.pd-features strong { font-size: 12px; letter-spacing: .04em; color: var(--nc-dark); word-break: break-word; }
.pd-features span { font-size: 12px; color: var(--nc-muted); word-break: break-word; }

/* Tabs */
.pd-tabs { background: var(--nc-surface); border: 1px solid var(--nc-line); border-radius: var(--nc-radius); margin-bottom: 1.5rem; overflow: hidden; max-width: 100%; box-sizing: border-box; }
.pd-tabs__nav { display: flex; border-bottom: 1px solid var(--nc-line); overflow-x: auto; }
.pd-tab { border: 0; background: none; padding: 1rem 1.5rem; font: inherit; font-weight: 600; color: var(--nc-muted); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; flex-shrink: 0; }
.pd-tab.is-active { color: var(--nc-accent); border-bottom-color: var(--nc-accent); }
.pd-tabs__panel { display: none; padding: 1.5rem; line-height: 1.7; word-break: break-word; overflow-wrap: anywhere; }
.pd-tabs__panel.is-active { display: block; }
.pd-desc { white-space: normal; word-break: break-word; overflow-wrap: anywhere; }
.pd-specs { width: 100%; border-collapse: collapse; }
.pd-specs th, .pd-specs td { text-align: left; padding: .65rem 1rem; border-bottom: 1px solid var(--nc-line); font-size: 14px; word-break: break-word; overflow-wrap: anywhere; }
.pd-specs th { width: 220px; color: var(--nc-muted); font-weight: 600; background: var(--nc-bg); }

@media (max-width: 900px) {
    .pd-features { grid-template-columns: repeat(2, 1fr); }
    .pd-features > div:nth-child(2n) { border-right: 0; }
}
@media (max-width: 768px) {
    .pdetail { grid-template-columns: 1fr !important; gap: 1.5rem !important; padding: 1.25rem !important; }
}
@media (max-width: 640px) {
    .pd-features { grid-template-columns: 1fr 1fr; }
    .pd-specs th { width: 130px; }
}

/* Shop toolbar sort/per-page chips */
.shop-sort { display: inline-block; padding: .4rem .8rem; border-radius: 999px; background: var(--nc-surface); border: 1px solid var(--nc-line); font-size: 13px; }
.shop-sort:hover { border-color: var(--nc-accent); color: var(--nc-accent); }
.shop-sort.is-active { background: var(--nc-accent); color: var(--nc-accent-ink); border-color: var(--nc-accent); font-weight: 700; }
.shop-toolbar { flex-wrap: wrap; }

/* Wishlist / Compare active state */
.pdetail__wish.is-active { color: var(--nc-accent); font-weight: 700; }

/* ==========================================================================
   Mobile safety net — prevent horizontal overflow and keep tap targets usable
   ========================================================================== */
html, body.store { max-width: 100%; overflow-x: hidden; }
.store-wrap { width: 100%; }
img, table, iframe { max-width: 100%; }
@media (max-width: 480px) {
    .store-wrap { padding: 1.5rem 0.85rem 1.5rem; }
    .store-header__inner { gap: .5rem; padding-top: 1.5rem; padding-bottom: 1rem; }
    .store-logo__img { max-height: 42px; }
    .store-logo__mark { width: 36px; height: 36px; font-size: 19px; }
    .store-logo__text { font-size: 20px; }
    .store-header__actions { gap: .5rem; }
    .store-iconbtn { width: 38px; height: 38px; }
    .store-search { margin: 0; width: 100%; min-width: 0; }
    .store-search input { padding: .55rem .75rem; font-size: 13px; min-width: 0 !important; }
    .store-search button { padding: 0 1.15rem; font-size: 13px; flex-shrink: 0; }
    .store-newsletter__inner { padding: 2rem .85rem; }
    .store-newsletter__form input { padding: .65rem .85rem; font-size: 13px; min-width: 0 !important; }
    .store-newsletter__form button { padding: 0 1.15rem; font-size: 13px; flex-shrink: 0; }
    .shop-search { width: 100%; min-width: 0; }
    .shop-search input { padding: .5rem .75rem; font-size: 13px; min-width: 0 !important; }
    .shop-search button { padding: 0 1rem; font-size: 13px; flex-shrink: 0; }
    .shop-head h1, .store-page__title { font-size: 20px; }
    .pdetail { padding: 1rem .85rem !important; gap: 1.25rem !important; }
    .pdetail__title { font-size: 20px; line-height: 1.3; }
    .pdetail__now { font-size: 22px; }
    .pdetail__buy { flex-direction: column !important; align-items: stretch !important; width: 100% !important; gap: .65rem !important; }
    .pdetail__buy .qtybox { width: 100% !important; justify-content: space-between !important; }
    .pdetail__buy .qtybox__input { flex: 1 !important; width: auto !important; }
    .pdetail__buy .pbtn { width: 100% !important; justify-content: center !important; }
    .pdetail__sub-actions { width: 100% !important; }
    .pdetail__sub-actions .pbtn { flex: 1 !important; justify-content: center !important; padding: .65rem .75rem !important; font-size: 13px !important; }
    .pd-features { grid-template-columns: 1fr 1fr; }
    .store-features { grid-template-columns: 1fr 1fr; }
    .pbtn, .qtybox__btn, .serial-scan__input { min-height: 44px; } /* comfortable touch targets */
}

@media (max-width: 380px) {
    .store-wrap { padding: 0 .65rem; }
    .store-header__inner { gap: .4rem; }
    .store-logo__img { max-height: 38px; }
    .store-logo__mark { width: 32px; height: 32px; font-size: 17px; }
    .store-logo__text { font-size: 18px; }
    .store-header__actions { gap: .35rem; }
    .store-iconbtn { width: 34px; height: 34px; }
    .store-ico { font-size: 17px; }
    .store-badge { top: 1px; right: 1px; min-width: 16px; height: 16px; font-size: 9px; }
    .store-search input { padding: .5rem .6rem; font-size: 12px; min-width: 0 !important; }
    .store-search button { padding: 0 .85rem; font-size: 12px; flex-shrink: 0; }
    .store-mega__btn { padding: .65rem .85rem; font-size: 13px; }
    .store-newsletter h3 { font-size: 18px; }
    .store-newsletter p { font-size: 12.5px; }
    .store-newsletter__form input { padding: .55rem .65rem; font-size: 12px; min-width: 0 !important; }
    .store-newsletter__form button { padding: 0 .85rem; font-size: 12px; flex-shrink: 0; }
    .shop-search input { padding: .45rem .55rem; font-size: 12px; min-width: 0 !important; }
    .shop-search button { padding: 0 .75rem; font-size: 12px; flex-shrink: 0; }
    .pdetail__now { font-size: 20px; }
    .auth-split-card { padding: 1.5rem 1rem; }
}

@media (max-width: 340px) {
    .store-wrap { padding: 0 .5rem; }
    .store-search input { padding: .45rem .5rem; font-size: 11.5px; }
    .store-search button { padding: 0 .75rem; font-size: 11.5px; }
    .store-newsletter__form input { padding: .45rem .5rem; font-size: 11.5px; }
    .store-newsletter__form button { padding: 0 .75rem; font-size: 11.5px; }
}

/* ==========================================================================
   Split-Screen Auth Layout (Login & Register matching design)
   ========================================================================== */
.auth-split-wrapper {
    display: flex;
    min-height: calc(100vh - 120px);
    background: #ffffff;
    overflow: hidden;
    margin: 0;
}
.auth-split-left {
    flex: 0 0 45%;
    position: relative;
    background: linear-gradient(135deg, #a4c8fc 0%, #7daefa 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-split-left-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.auth-back-btn {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    color: #1e293b !important;
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    z-index: 10;
    text-decoration: none;
    transition: transform .15s, background .15s;
}
.auth-back-btn:hover {
    transform: scale(1.08);
    background: #ffffff;
}
.auth-split-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background-color: #fafbfd;
    background-image: radial-gradient(rgba(42, 52, 71, 0.09) 1px, transparent 0);
    background-size: 22px 22px;
    position: relative;
}
.auth-split-card {
    width: 100%;
    max-width: 490px;
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem 2.25rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 36px rgba(42, 52, 71, 0.06);
}
.auth-brand-logo {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1.5rem;
}
.auth-title {
    font-size: 26px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 .35rem;
    letter-spacing: -.02em;
}
.auth-subtitle {
    color: #64748b;
    font-size: 13.5px;
    margin: 0 0 1.75rem;
}
.auth-field {
    margin-bottom: 1.15rem;
}
.auth-field label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: .4rem;
}
.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.auth-input-wrap .auth-ico {
    position: absolute;
    left: 14px;
    font-size: 15px;
    color: #94a3b8;
    pointer-events: none;
}
.auth-input-wrap input {
    width: 100%;
    padding: .75rem 1rem .75rem 2.6rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 9px;
    font-size: 13.5px;
    color: #1e293b;
    background: #ffffff;
    transition: border-color .15s, box-shadow .15s;
    font-family: inherit;
    box-sizing: border-box;
}
.auth-input-wrap input:focus {
    border-color: #2a3447;
    box-shadow: 0 0 0 3px rgba(42, 52, 71, 0.12);
    outline: none;
}
.auth-eye-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: 0;
    color: #94a3b8;
    cursor: pointer;
    font-size: 15px;
    padding: 4px;
}
.auth-eye-btn:hover { color: #1e293b; }
.auth-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .85rem;
}
.auth-checkbox {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 12.5px;
    color: #64748b;
    margin: 1.1rem 0 1.4rem;
    cursor: pointer;
}
.auth-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: #2a3447;
}
.auth-checkbox a {
    color: #2a3447;
    font-weight: 600;
    text-decoration: underline;
}
.auth-submit-btn {
    width: 100%;
    padding: .85rem;
    border: 0;
    border-radius: 9px;
    background: #2a3447;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    transition: background .15s, transform .15s;
    font-family: inherit;
}
.auth-submit-btn:hover {
    background: #1b212d;
    transform: translateY(-1px);
}
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: #94a3b8;
    font-size: 12px;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}
.auth-divider span {
    padding: 0 1rem;
}
.auth-switch-link {
    text-align: center;
    font-size: 13px;
    color: #64748b;
}
.auth-switch-link a {
    color: #2a3447;
    font-weight: 700;
    text-decoration: none;
    margin-left: .3rem;
}
.auth-switch-link a:hover {
    text-decoration: underline;
}
@media (max-width: 880px) {
    .auth-split-wrapper { flex-direction: column; }
    .auth-split-left { min-height: 240px; flex: 0 0 240px; }
    .auth-split-right { padding: 2rem 1rem; }
}

