/* ========================================================================== 
   R SCRIPTS STORE — PUBLIC HOMEPAGE REDESIGN
   Scoped to .store-home-redesign so admin, checkout and system pages keep
   their original interface.
   ========================================================================== */

body.store-home-redesign {
    --home-bg: #08090b;
    --home-bg-soft: #101216;
    --home-surface: #121419;
    --home-surface-2: #181b20;
    --home-surface-3: #20242a;
    --home-silver: #d7d9dc;
    --home-silver-soft: #969ba3;
    --home-line: rgba(213, 217, 223, .16);
    --home-line-strong: rgba(213, 217, 223, .28);
    --home-red: #e21d2b;
    --home-red-bright: #ff3341;
    --home-red-dark: #8e0711;
    --home-text: #f7f7f8;
    --home-muted: #989da6;
    --home-shadow: 0 28px 80px rgba(0, 0, 0, .44);
    margin: 0;
    overflow-x: hidden;
    color: var(--home-text);
    background:
        radial-gradient(circle at 82% 4%, rgba(226, 29, 43, .14), transparent 26%),
        radial-gradient(circle at 12% 28%, rgba(208, 214, 224, .055), transparent 25%),
        linear-gradient(180deg, #0a0b0e 0%, #08090b 46%, #050608 100%) !important;
    font-family: "Segoe UI Variable", "Segoe UI", Inter, Arial, sans-serif;
}

body.store-home-redesign::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .26;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 80%);
}

body.store-home-redesign::after {
    content: "";
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 0;
    width: min(1180px, 86vw);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), var(--home-red), rgba(255, 255, 255, .35), transparent);
    pointer-events: none;
}

.store-home-redesign .particles-bg {
    opacity: .48;
    background: none !important;
}

.store-home-redesign .particles-bg::before,
.store-home-redesign .particles-bg::after {
    opacity: .15 !important;
    background-size: 150px 150px !important;
    animation-duration: 55s !important;
}

.store-home-redesign .particles-bg span {
    opacity: .12;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(226, 29, 43, .4), transparent);
}

.store-home-redesign .store-wrap {
    position: relative;
    z-index: 2;
    width: min(1380px, calc(100% - 48px));
    margin: 0 auto;
    padding: 20px 0 38px;
}

/* Header */
.store-home-redesign .store-header {
    position: sticky;
    top: 14px;
    z-index: 50;
    display: grid;
    grid-template-columns: auto minmax(380px, 1fr) minmax(290px, 390px);
    align-items: center;
    gap: 24px;
    min-height: 78px;
    padding: 10px 12px 10px 18px;
    border: 1px solid var(--home-line);
    border-radius: 18px;
    background: rgba(12, 13, 16, .96);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .045);
    backdrop-filter: none;
}

.store-home-redesign .store-header::before {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(226, 29, 43, .65), transparent);
}

.store-home-redesign .brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 218px;
}

.store-home-redesign .brand-logo img {
    display: block;
    width: 70px;
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 7px 16px rgba(226, 29, 43, .16));
}

.store-home-redesign .brand-copy {
    display: grid;
    gap: 2px;
    padding-left: 12px;
    border-left: 1px solid var(--home-line);
}

.store-home-redesign .brand-copy strong {
    font-size: 14px;
    letter-spacing: 1.8px;
}

.store-home-redesign .brand-copy small {
    color: var(--home-muted);
    font-size: 10px;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.store-home-redesign .top-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    color: var(--home-muted);
}

.store-home-redesign .top-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .2px;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.store-home-redesign .top-nav a i {
    color: #babec5;
    font-size: 12px;
    transition: color .2s ease;
}

.store-home-redesign .top-nav a:hover {
    color: #fff;
    border-color: var(--home-line);
    background: rgba(255, 255, 255, .045);
}

.store-home-redesign .top-nav a:hover i {
    color: var(--home-red-bright);
}

.store-home-redesign .search-box {
    position: relative;
    min-width: 0;
}

.store-home-redesign .search-box > i {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 2;
    transform: translateY(-50%);
    color: #a9adb4;
    font-size: 13px;
}

.store-home-redesign .search-box input {
    width: 100%;
    min-height: 50px;
    padding: 0 74px 0 42px;
    border: 1px solid var(--home-line);
    border-radius: 12px;
    outline: none;
    color: #fff;
    background: #0a0b0e;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.store-home-redesign .search-box input::placeholder {
    color: #6f747d;
}

.store-home-redesign .search-box input:focus {
    border-color: rgba(226, 29, 43, .72);
    background: #0d0e12;
    box-shadow: 0 0 0 3px rgba(226, 29, 43, .1);
}

.store-home-redesign .search-box kbd {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    padding: 5px 7px;
    border: 1px solid var(--home-line);
    border-bottom-color: rgba(255, 255, 255, .3);
    border-radius: 6px;
    color: #858a93;
    background: #16181c;
    font: 700 9px/1 "Segoe UI", sans-serif;
    letter-spacing: .5px;
}

.store-home-redesign .mobile-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--home-line);
    border-radius: 10px;
    color: #fff;
    background: #131519;
    cursor: pointer;
}

.store-home-redesign .mobile-nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    margin: 4px auto;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

.store-home-redesign .mobile-nav-toggle.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.store-home-redesign .mobile-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.store-home-redesign .mobile-nav-toggle.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Hero */
.store-home-redesign .hero-store {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
    align-items: stretch;
    gap: clamp(34px, 5vw, 76px);
    min-height: 690px;
    margin-top: 22px;
    padding: clamp(48px, 6vw, 92px);
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-radius: 28px;
    background:
        linear-gradient(110deg, rgba(18, 20, 25, .98) 0%, rgba(12, 13, 17, .96) 55%, rgba(15, 12, 15, .95) 100%);
    box-shadow: var(--home-shadow), inset 0 1px 0 rgba(255, 255, 255, .045);
}

.store-home-redesign .hero-store::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .75;
    background:
        linear-gradient(90deg, transparent 49.9%, rgba(255, 255, 255, .035) 50%, transparent 50.1%),
        radial-gradient(circle at 83% 40%, rgba(226, 29, 43, .2), transparent 32%),
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: auto, auto, 52px 52px, 52px 52px;
    mask-image: linear-gradient(90deg, #000, #000 75%, transparent 100%);
}

.store-home-redesign .hero-store::after {
    content: "R1";
    position: absolute;
    right: -38px;
    bottom: -92px;
    z-index: -1;
    color: transparent;
    font-size: clamp(260px, 34vw, 520px);
    font-weight: 950;
    line-height: .8;
    letter-spacing: -34px;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .035);
    pointer-events: none;
}

.store-home-redesign .hero-store > * {
    position: relative;
}

.store-home-redesign .hero-store-copy {
    align-self: center;
    max-width: 760px;
}

.store-home-redesign .hero-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--home-line);
    border-radius: 999px;
    color: #c7cad0;
    background: rgba(255, 255, 255, .035);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.store-home-redesign .hero-status span,
.store-home-redesign .support-availability span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--home-red-bright);
    box-shadow: 0 0 0 4px rgba(226, 29, 43, .11), 0 0 16px rgba(226, 29, 43, .5);
}

.store-home-redesign .hero-store h1 {
    max-width: 800px;
    margin: 28px 0 24px;
    color: #f8f8f9;
    font-size: clamp(50px, 6.2vw, 92px);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -4.8px;
    text-transform: none;
}

.store-home-redesign .hero-store h1 b {
    display: block;
    color: var(--home-red-bright);
    font-weight: 800;
    text-shadow: none;
}

.store-home-redesign .hero-store-copy > p {
    max-width: 690px;
    margin: 0;
    color: #a9adb5;
    font-size: 17px;
    line-height: 1.72;
}

.store-home-redesign .hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
}

.store-home-redesign .btn-primary,
.store-home-redesign .btn-secondary {
    min-height: 50px;
    gap: 11px;
    padding: 0 20px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .3px;
    box-shadow: none;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.store-home-redesign .btn-primary {
    border: 1px solid #ef3340;
    color: #fff;
    background: linear-gradient(135deg, #ed2634 0%, #bd101c 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 12px 30px rgba(168, 9, 20, .18);
}

.store-home-redesign .btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ff3644 0%, #ca111e 100%);
    box-shadow: 0 16px 34px rgba(180, 10, 22, .25);
}

.store-home-redesign .btn-secondary {
    border: 1px solid var(--home-line);
    color: #e0e2e5;
    background: #15171b;
}

.store-home-redesign .btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--home-line-strong);
    background: #1c1f24;
}

.store-home-redesign .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 690px;
    margin-top: 48px;
    border-top: 1px solid var(--home-line);
}

.store-home-redesign .hero-metrics > div {
    display: grid;
    gap: 4px;
    padding: 22px 18px 0 0;
}

.store-home-redesign .hero-metrics > div + div {
    padding-left: 22px;
    border-left: 1px solid var(--home-line);
}

.store-home-redesign .hero-metrics strong {
    color: #fff;
    font-size: 27px;
    line-height: 1;
}

.store-home-redesign .hero-metrics span {
    color: #7f848d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .65px;
    text-transform: uppercase;
}

/* Hero technical panel */
.store-home-redesign .hero-showcase {
    position: relative;
    align-self: center;
    min-height: 535px;
    overflow: hidden;
    border: 1px solid rgba(220, 224, 230, .2);
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(31, 34, 40, .96), rgba(10, 11, 14, .98) 58%);
    box-shadow: 0 34px 80px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.store-home-redesign .hero-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .04), transparent 35%),
        repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 255, 255, .014) 18px 19px);
}

.store-home-redesign .showcase-glow {
    position: absolute;
    top: 70px;
    right: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(226, 29, 43, .23);
    filter: blur(90px);
    pointer-events: none;
}

.store-home-redesign .showcase-topbar {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-bottom: 1px solid var(--home-line);
    background: rgba(4, 5, 7, .44);
}

.store-home-redesign .showcase-topbar > span {
    display: flex;
    gap: 6px;
}

.store-home-redesign .showcase-topbar i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6b7078;
}

.store-home-redesign .showcase-topbar i:first-child { background: var(--home-red); }
.store-home-redesign .showcase-topbar small { color: #777c84; font-size: 9px; letter-spacing: 1.3px; }
.store-home-redesign .showcase-topbar b { justify-self: end; color: #cfd2d7; font-size: 9px; letter-spacing: 1.4px; }

.store-home-redesign .showcase-brand {
    position: absolute;
    top: 72px;
    right: 26px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 180px;
    height: 180px;
}

.store-home-redesign .showcase-brand::before,
.store-home-redesign .showcase-brand::after,
.store-home-redesign .showcase-logo-ring {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
}

.store-home-redesign .showcase-brand::before { inset: 0; }
.store-home-redesign .showcase-brand::after { inset: 18px; border-color: rgba(226, 29, 43, .2); }
.store-home-redesign .showcase-logo-ring { inset: 38px; border-style: dashed; }

.store-home-redesign .showcase-brand img {
    position: relative;
    z-index: 2;
    width: 96px;
    height: 96px;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(226, 29, 43, .24));
}

.store-home-redesign .showcase-content {
    position: relative;
    z-index: 2;
    padding: 180px 32px 24px;
}

.store-home-redesign .showcase-label {
    color: var(--home-red-bright);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.8px;
}

.store-home-redesign .showcase-content h2 {
    max-width: 360px;
    margin: 9px 0 28px;
    font-size: clamp(30px, 3vw, 43px);
    line-height: 1.03;
    letter-spacing: -1.7px;
}

.store-home-redesign .showcase-features {
    display: grid;
    gap: 8px;
}

.store-home-redesign .showcase-features > div {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 11px;
    background: rgba(255, 255, 255, .025);
}

.store-home-redesign .showcase-features > div > i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(226, 29, 43, .25);
    border-radius: 9px;
    color: var(--home-red-bright);
    background: rgba(226, 29, 43, .075);
    font-size: 14px;
}

.store-home-redesign .showcase-features span {
    display: grid;
    gap: 3px;
}

.store-home-redesign .showcase-features strong { font-size: 12px; }
.store-home-redesign .showcase-features small { color: #777c85; font-size: 10px; }

.store-home-redesign .showcase-footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
    padding: 0 18px;
    border-top: 1px solid var(--home-line);
    color: #6f747c;
    background: rgba(4, 5, 7, .4);
    font-size: 8px;
    letter-spacing: 1.4px;
}

.store-home-redesign .showcase-footer strong { color: #aeb2b9; }

/* Trust strip */
.store-home-redesign .trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 16px;
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-radius: 16px;
    background: #0e1013;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .2);
}

.store-home-redesign .trust-strip > div {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 12px;
    min-height: 88px;
    padding: 14px 20px;
}

.store-home-redesign .trust-strip > div + div { border-left: 1px solid var(--home-line); }

.store-home-redesign .trust-strip i {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--home-line);
    border-radius: 8px;
    color: var(--home-red-bright);
    background: #16181d;
    font-size: 13px;
}

.store-home-redesign .trust-strip span { display: grid; gap: 3px; }
.store-home-redesign .trust-strip strong { font-size: 11px; }
.store-home-redesign .trust-strip small { color: #747982; font-size: 9px; }

/* Section headings */
.store-home-redesign .section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin: 88px 0 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--home-line);
}

.store-home-redesign .section-heading { max-width: 780px; }

.store-home-redesign .section-title .section-heading > span,
.store-home-redesign .eyebrow {
    color: var(--home-red-bright);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.store-home-redesign .section-title h2 {
    margin: 9px 0 8px;
    color: #f3f4f5;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.04;
    letter-spacing: -2.1px;
}

.store-home-redesign .section-heading p {
    max-width: 690px;
    margin: 0;
    color: #858a93;
    font-size: 14px;
    line-height: 1.65;
}

.store-home-redesign .section-seal {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 154px;
    padding: 11px 14px;
    border: 1px solid var(--home-line);
    border-radius: 10px;
    color: #888d95;
    background: #111317;
    font-size: 8px;
    letter-spacing: 1px;
}

.store-home-redesign .section-seal i { color: var(--home-red-bright); font-size: 16px; }
.store-home-redesign .section-seal strong { color: #d5d7da; font-size: 9px; }

/* Categories */
.store-home-redesign .shop-category-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(188px, 1fr)) !important;
    grid-auto-flow: unset !important;
    grid-auto-columns: unset !important;
    gap: 12px;
    overflow: visible !important;
    padding: 0 !important;
}

.store-home-redesign .shop-category-card {
    position: relative;
    min-width: 0;
    min-height: 178px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-radius: 14px;
    text-align: left;
    background: linear-gradient(145deg, #17191e, #0f1115);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .035);
    backdrop-filter: none;
    cursor: pointer;
    transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.store-home-redesign .shop-category-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 74px;
    height: 74px;
    background: linear-gradient(135deg, transparent 49%, rgba(255, 255, 255, .025) 50%);
}

.store-home-redesign .shop-category-card::after {
    content: "↗";
    position: absolute;
    top: 15px;
    right: 17px;
    color: #696e76;
    font-size: 14px;
    transition: color .2s ease, transform .2s ease;
}

.store-home-redesign .shop-category-card:hover,
.store-home-redesign .shop-category-card.active {
    transform: translateY(-4px);
    border-color: rgba(226, 29, 43, .58) !important;
    background: linear-gradient(145deg, #1b1d22, #121317) !important;
    box-shadow: 0 24px 55px rgba(0, 0, 0, .36), inset 3px 0 0 var(--home-red) !important;
}

.store-home-redesign .shop-category-card:hover::after,
.store-home-redesign .shop-category-card.active::after {
    color: var(--home-red-bright);
    transform: translate(2px, -2px);
}

.store-home-redesign .svg-icon {
    width: 46px;
    height: 46px;
    margin: 0 0 17px;
    border: 1px solid rgba(220, 224, 230, .16);
    border-radius: 10px;
    background: #1c1f24;
}

.store-home-redesign .svg-icon::before {
    inset: 13px;
    border-color: var(--home-red-bright);
    border-width: 1.5px;
}

.store-home-redesign .shop-category-card h3 {
    margin: 0 0 6px;
    color: #f0f1f2;
    font-size: 18px;
    letter-spacing: -.4px;
}

.store-home-redesign .shop-category-card p {
    color: #747982;
    font-size: 11px;
    letter-spacing: .3px;
}

/* Product catalog */
.store-home-redesign .store-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch;
    gap: 16px;
}

.store-home-redesign .store-product-grid.collapsed {
    max-height: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

.store-home-redesign .store-product-card {
    position: relative;
    min-width: 0;
    min-height: 440px;
    width: 100%;
    padding: 12px;
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-radius: 15px;
    background: linear-gradient(155deg, #17191e, #0d0f12 76%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .035);
    backdrop-filter: none;
    cursor: pointer;
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.store-home-redesign .store-product-card::before {
    content: "OFFICIAL LICENSE";
    position: absolute;
    top: 23px;
    left: 22px;
    z-index: 3;
    padding: 5px 7px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 5px;
    color: #c4c7cc;
    background: rgba(6, 7, 9, .76);
    font-size: 7px;
    font-weight: 850;
    letter-spacing: 1.2px;
}

.store-home-redesign .store-product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(226, 29, 43, .52);
    box-shadow: 0 28px 64px rgba(0, 0, 0, .42), 0 0 0 1px rgba(226, 29, 43, .08), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.store-home-redesign .product-cover {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1.25 / 1;
    min-height: 0 !important;
    height: auto !important;
    padding: 34px 22px 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 11px;
    background:
        radial-gradient(circle at 50% 45%, rgba(226, 29, 43, .15), transparent 46%),
        linear-gradient(145deg, #1b1e23, #101216);
}

.store-home-redesign .product-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .32;
    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 28px 28px;
}

.store-home-redesign .product-cover img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    max-width: 84% !important;
    max-height: 84% !important;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .45));
    transition: transform .3s ease, filter .3s ease;
}

.store-home-redesign .store-product-card:hover .product-cover img {
    transform: scale(1.035);
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55));
}

.store-home-redesign .product-info {
    display: grid;
    align-content: start;
    gap: 8px;
    flex: 1;
    padding: 18px 5px 14px;
}

.store-home-redesign .product-info small {
    color: var(--home-red-bright);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.store-home-redesign .product-info h3 {
    margin: 0;
    color: #f3f4f5;
    font-size: 23px;
    line-height: 1.08;
    letter-spacing: -.9px;
}

.store-home-redesign .product-info p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #7e838c;
    font-size: 12px;
    line-height: 1.58;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.store-home-redesign .product-info strong {
    align-self: end;
    margin-top: 5px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    color: #d7d9dd;
    font-size: 12px;
    font-weight: 750;
}

.store-home-redesign .acquire-btn {
    width: 100%;
    min-height: 47px;
    border-radius: 9px;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.store-home-redesign .catalog-toggle {
    flex: 0 0 auto;
    min-width: 224px;
}

/* Featured carousel */
.store-home-redesign .featured-shell {
    margin-bottom: 0;
    overflow: hidden;
}

.store-home-redesign .featured-track {
    gap: 16px;
}

.store-home-redesign .featured-track .store-product-card {
    flex: 0 0 calc((min(1380px, 100vw - 48px) - 48px) / 4);
    max-width: 333px;
}

.store-home-redesign .featured-shell:not(.is-carousel) .store-product-card {
    flex: 0 0 calc((100% - 48px) / 4);
    max-width: none;
}

.store-home-redesign .featured-shell.is-carousel .featured-track {
    animation-duration: 34s;
}

/* Search empty state */
.store-home-redesign .r1-search-empty {
    margin-top: 16px;
    padding: 30px;
    border: 1px dashed var(--home-line-strong);
    border-radius: 14px;
    color: var(--home-muted);
    background: #101216;
    text-align: center;
}

/* Support */
.store-home-redesign .support-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr);
    gap: 56px;
    align-items: center;
    margin-top: 92px;
    padding: clamp(36px, 5vw, 68px);
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-radius: 22px;
    background:
        radial-gradient(circle at 8% 100%, rgba(226, 29, 43, .12), transparent 31%),
        linear-gradient(135deg, #17191e, #0d0f12);
    box-shadow: var(--home-shadow), inset 0 1px 0 rgba(255, 255, 255, .045);
}

.store-home-redesign .support-panel::before {
    content: "SUPPORT";
    position: absolute;
    right: -10px;
    bottom: -24px;
    color: transparent;
    font-size: 115px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -7px;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .035);
}

.store-home-redesign .support-copy { position: relative; z-index: 2; }

.store-home-redesign .support-copy h2 {
    margin: 11px 0 16px;
    font-size: clamp(36px, 4.5vw, 62px);
    line-height: 1.02;
    letter-spacing: -2.5px;
}

.store-home-redesign .support-copy p {
    max-width: 630px;
    margin: 0;
    color: #9297a0;
    font-size: 14px;
    line-height: 1.7;
}

.store-home-redesign .support-availability {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    color: #c6c9ce;
    font-size: 10px;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.store-home-redesign .support-contact-store.icon-only-support {
    position: relative;
    z-index: 2;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px;
    margin: 0;
}

.store-home-redesign .support-contact-store.icon-only-support .support-contact-btn {
    display: grid !important;
    grid-template-columns: 50px 1fr 30px;
    align-items: center;
    gap: 14px;
    width: 100%;
    height: auto;
    min-height: 76px;
    padding: 11px 15px;
    border: 1px solid var(--home-line);
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, .035);
    box-shadow: none;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.store-home-redesign .support-contact-store.icon-only-support .support-contact-btn:hover {
    transform: translateX(5px);
    border-color: rgba(226, 29, 43, .5);
    background: rgba(255, 255, 255, .055);
    box-shadow: none;
}

.store-home-redesign .support-contact-store.icon-only-support .support-contact-btn > i:first-child {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(226, 29, 43, .2);
    border-radius: 10px;
    color: var(--home-red-bright);
    background: rgba(226, 29, 43, .07);
    font-size: 22px;
    filter: none;
}

.store-home-redesign .support-contact-store.icon-only-support .support-whatsapp > i:first-child { color: #5dd989; border-color: rgba(93, 217, 137, .18); background: rgba(93, 217, 137, .055); }

.store-home-redesign .support-contact-store.icon-only-support .support-contact-btn > span {
    display: grid !important;
    justify-items: start;
    gap: 3px;
    text-align: left;
}

.store-home-redesign .support-contact-store.icon-only-support .support-contact-btn > span small {
    color: #777c85;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.store-home-redesign .support-contact-store.icon-only-support .support-contact-btn > span strong {
    display: block !important;
    color: #eef0f2;
    font-size: 14px;
}

.store-home-redesign .support-contact-store.icon-only-support .support-contact-btn > i:last-child {
    justify-self: end;
    color: #6f747c;
    font-size: 11px;
    filter: none;
}

.store-home-redesign .support-contact-store.icon-only-support .support-contact-btn:hover > i:last-child {
    color: var(--home-red-bright);
}

/* Footer */
.store-home-redesign .store-footer {
    display: grid;
    grid-template-columns: auto minmax(260px, 1fr) auto;
    align-items: center;
    gap: 38px;
    margin-top: 26px;
    padding: 30px 4px 0;
    border-top: 1px solid var(--home-line);
}

.store-home-redesign .footer-brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.store-home-redesign .footer-brand img {
    width: 54px;
    height: 44px;
    object-fit: contain;
}

.store-home-redesign .footer-brand span { display: grid; gap: 2px; }
.store-home-redesign .footer-brand strong { font-size: 12px; letter-spacing: 1.4px; }
.store-home-redesign .footer-brand small { color: #6f747c; font-size: 9px; }

.store-home-redesign .store-footer > p {
    max-width: 520px;
    margin: 0;
    color: #747982;
    font-size: 11px;
    line-height: 1.6;
}

.store-home-redesign .footer-links {
    display: flex;
    gap: 18px;
    color: #8b9098;
    font-size: 10px;
    font-weight: 700;
}

.store-home-redesign .footer-links a:hover { color: #fff; }

.store-home-redesign .footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    padding-top: 17px;
    border-top: 1px solid rgba(255, 255, 255, .06);
    color: #555a62;
    font-size: 8px;
    letter-spacing: 1px;
}

/* Product detail and purchase modal refinement */
.store-home-redesign .modal-backdrop {
    background: rgba(3, 4, 6, .88);
    backdrop-filter: blur(6px);
}

.store-home-redesign .modal-window {
    border-color: var(--home-line-strong);
    border-radius: 18px;
    background: linear-gradient(150deg, #191b20, #090a0d 68%);
    box-shadow: 0 44px 130px rgba(0, 0, 0, .72), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.store-home-redesign .modal-close {
    border-color: var(--home-line);
    border-radius: 9px;
    background: #17191e;
    cursor: pointer;
}

.store-home-redesign .detail-image,
.store-home-redesign .checkout-left,
.store-home-redesign .checkout-center,
.store-home-redesign .checkout-right {
    border-color: var(--home-line);
    border-radius: 13px;
    background: rgba(255, 255, 255, .025);
}

.store-home-redesign .detail-image {
    background: radial-gradient(circle, rgba(226, 29, 43, .13), transparent 58%), #111318;
}

.store-home-redesign .detail-prices div,
.store-home-redesign .detail-meta p,
.store-home-redesign .choice-card,
.store-home-redesign .radio-card,
.store-home-redesign .pay-data {
    border-color: var(--home-line);
    border-radius: 10px;
    background: #14161a;
}

.store-home-redesign .choice-card.active,
.store-home-redesign .device-picker button.active {
    border-color: var(--home-red);
    background: rgba(226, 29, 43, .1);
    box-shadow: 0 0 0 2px rgba(226, 29, 43, .08);
}

.store-home-redesign .checkout-center input {
    border-color: var(--home-line);
    border-radius: 9px;
    background: #0f1114;
}

.store-home-redesign .preview-thumb {
    border-color: var(--home-line);
    border-radius: 9px;
}

/* Responsive */
@media (max-width: 1200px) {
    .store-home-redesign .store-header {
        grid-template-columns: auto 1fr;
        gap: 10px 20px;
    }

    .store-home-redesign .top-nav {
        justify-self: end;
    }

    .store-home-redesign .search-box {
        grid-column: 1 / -1;
    }

    .store-home-redesign .hero-store {
        grid-template-columns: minmax(0, 1fr) minmax(370px, .85fr);
        padding: 54px;
    }

    .store-home-redesign .hero-store h1 {
        font-size: clamp(48px, 6.6vw, 76px);
    }

    .store-home-redesign .store-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .store-home-redesign .featured-shell:not(.is-carousel) .store-product-card {
        flex-basis: calc((100% - 32px) / 3);
    }

    .store-home-redesign .featured-track .store-product-card {
        flex-basis: calc((min(1380px, 100vw - 48px) - 32px) / 3);
    }
}

@media (max-width: 980px) {
    .store-home-redesign .store-wrap {
        width: min(100% - 28px, 920px);
    }

    .store-home-redesign .store-header {
        grid-template-columns: 1fr auto;
        min-height: 70px;
        padding: 9px 10px 9px 14px;
    }

    .store-home-redesign .brand-logo { min-width: 0; }
    .store-home-redesign .brand-logo img { width: 58px; height: 46px; }
    .store-home-redesign .brand-copy { display: none; }

    .store-home-redesign .mobile-nav-toggle {
        display: block;
        grid-column: 2;
        grid-row: 1;
    }

    .store-home-redesign .top-nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: 0;
        display: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        padding: 10px;
        border: 1px solid var(--home-line);
        border-radius: 13px;
        background: #0c0d10;
        box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
    }

    .store-home-redesign .top-nav.is-open { display: grid; }

    .store-home-redesign .top-nav a {
        justify-content: center;
        border-color: rgba(255, 255, 255, .06);
        background: #131519;
    }

    .store-home-redesign .search-box {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .store-home-redesign .hero-store {
        grid-template-columns: 1fr;
        gap: 52px;
        min-height: 0;
        padding: clamp(34px, 7vw, 62px);
    }

    .store-home-redesign .hero-store::before {
        mask-image: linear-gradient(to bottom, #000, transparent 100%);
    }

    .store-home-redesign .hero-store-copy { max-width: none; }
    .store-home-redesign .hero-showcase { width: min(100%, 620px); min-height: 520px; justify-self: center; }

    .store-home-redesign .trust-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .store-home-redesign .trust-strip > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--home-line); }
    .store-home-redesign .trust-strip > div:nth-child(4) { border-top: 1px solid var(--home-line); }

    .store-home-redesign .store-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .store-home-redesign .featured-shell:not(.is-carousel) .store-product-card {
        flex-basis: calc((100% - 16px) / 2);
    }

    .store-home-redesign .featured-track .store-product-card {
        flex-basis: calc((100vw - 44px - 16px) / 2);
    }

    .store-home-redesign .support-panel {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .store-home-redesign .store-footer {
        grid-template-columns: auto 1fr;
    }

    .store-home-redesign .footer-links {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 650px) {
    body.store-home-redesign::before { background-size: 44px 44px; }

    .store-home-redesign .store-wrap {
        width: calc(100% - 20px);
        padding-top: 10px;
    }

    .store-home-redesign .store-header {
        top: 8px;
        border-radius: 14px;
    }

    .store-home-redesign .search-box input {
        min-height: 46px;
        padding-right: 44px;
        font-size: 12px;
    }

    .store-home-redesign .search-box kbd { display: none; }

    .store-home-redesign .hero-store {
        margin-top: 12px;
        padding: 32px 22px 24px;
        border-radius: 18px;
    }

    .store-home-redesign .hero-status {
        min-height: 30px;
        font-size: 8px;
        letter-spacing: 1.1px;
    }

    .store-home-redesign .hero-store h1 {
        margin: 22px 0 18px;
        font-size: clamp(43px, 13vw, 62px);
        letter-spacing: -3px;
    }

    .store-home-redesign .hero-store-copy > p {
        font-size: 14px;
    }

    .store-home-redesign .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .store-home-redesign .hero-actions a { width: 100%; }

    .store-home-redesign .hero-metrics {
        grid-template-columns: 1fr;
        margin-top: 34px;
    }

    .store-home-redesign .hero-metrics > div {
        grid-template-columns: 76px 1fr;
        align-items: center;
        padding: 14px 0;
        border-bottom: 1px solid var(--home-line);
    }

    .store-home-redesign .hero-metrics > div + div {
        padding-left: 0;
        border-left: 0;
    }

    .store-home-redesign .hero-metrics strong { font-size: 23px; }

    .store-home-redesign .hero-showcase {
        min-height: 500px;
        border-radius: 14px;
    }

    .store-home-redesign .showcase-brand {
        top: 68px;
        right: 8px;
        width: 140px;
        height: 140px;
    }

    .store-home-redesign .showcase-brand img { width: 76px; height: 76px; }
    .store-home-redesign .showcase-content { padding: 155px 18px 54px; }
    .store-home-redesign .showcase-content h2 { max-width: 250px; font-size: 31px; }

    .store-home-redesign .trust-strip {
        grid-template-columns: 1fr;
    }

    .store-home-redesign .trust-strip > div + div,
    .store-home-redesign .trust-strip > div:nth-child(3) {
        border-top: 1px solid var(--home-line);
        border-left: 0;
    }

    .store-home-redesign .section-title {
        align-items: start;
        margin-top: 66px;
    }

    .store-home-redesign .section-title h2 {
        font-size: 36px;
        letter-spacing: -1.5px;
    }

    .store-home-redesign .section-seal { display: none; }

    .store-home-redesign .available-title {
        display: grid;
    }

    .store-home-redesign .catalog-toggle {
        width: 100%;
        min-width: 0;
    }

    .store-home-redesign .shop-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .store-home-redesign .shop-category-card {
        min-height: 158px;
        padding: 17px;
    }

    .store-home-redesign .store-product-grid {
        grid-template-columns: 1fr !important;
    }

    .store-home-redesign .store-product-card {
        min-height: 0;
    }

    .store-home-redesign .featured-track .store-product-card,
    .store-home-redesign .featured-shell:not(.is-carousel) .store-product-card {
        flex-basis: calc(100vw - 40px);
    }

    .store-home-redesign .support-panel {
        margin-top: 68px;
        padding: 32px 20px;
        border-radius: 17px;
    }

    .store-home-redesign .support-copy h2 {
        font-size: 39px;
        letter-spacing: -1.7px;
    }

    .store-home-redesign .support-contact-store.icon-only-support .support-contact-btn {
        grid-template-columns: 44px 1fr 20px;
        min-height: 70px;
        padding: 10px;
    }

    .store-home-redesign .support-contact-store.icon-only-support .support-contact-btn > i:first-child {
        width: 42px;
        height: 42px;
        font-size: 19px;
    }

    .store-home-redesign .store-footer {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .store-home-redesign .footer-links {
        flex-wrap: wrap;
    }

    .store-home-redesign .footer-bottom {
        display: grid;
        gap: 8px;
    }

    .store-home-redesign .detail-copy h2 { font-size: 34px; }
    .store-home-redesign .detail-prices,
    .store-home-redesign .detail-meta,
    .store-home-redesign .plan-grid { grid-template-columns: 1fr; }
}

@media (max-width: 410px) {
    .store-home-redesign .shop-category-grid {
        grid-template-columns: 1fr !important;
    }

    .store-home-redesign .top-nav {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .store-home-redesign *,
    .store-home-redesign *::before,
    .store-home-redesign *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

/* ========================================================================== 
   CLEAN EDITORIAL HERO — refinement requested after the first redesign
   ========================================================================== */
.store-home-redesign .hero-store {
    display: flex;
    align-items: center;
    min-height: 590px;
    padding: clamp(64px, 8vw, 112px) clamp(38px, 7vw, 104px);
    background:
        linear-gradient(105deg, rgba(19, 21, 26, .99) 0%, rgba(11, 12, 15, .985) 72%, rgba(20, 13, 16, .96) 100%);
}

.store-home-redesign .hero-store::before {
    opacity: .62;
    background:
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        radial-gradient(circle at 90% 45%, rgba(226, 29, 43, .16), transparent 28%);
    background-size: 74px 74px, 74px 74px, auto;
    mask-image: linear-gradient(90deg, #000 0%, #000 60%, transparent 100%);
}

.store-home-redesign .hero-store::after {
    right: clamp(-56px, -2.5vw, -18px);
    bottom: -72px;
    font-size: clamp(250px, 31vw, 470px);
    letter-spacing: -30px;
    -webkit-text-stroke-color: rgba(255,255,255,.03);
}

.store-home-redesign .hero-store-copy {
    width: min(100%, 930px);
    max-width: 930px;
}

.store-home-redesign .hero-store h1 {
    max-width: 920px;
    margin-top: 30px;
    font-size: clamp(52px, 6.8vw, 98px);
    letter-spacing: clamp(-5.5px, -.48vw, -3px);
}

.store-home-redesign .hero-store-copy > p {
    max-width: 720px;
    color: #aeb2ba;
    font-size: 16px;
}

.store-home-redesign .hero-actions {
    margin-top: 32px;
}

.store-home-redesign .hero-metrics {
    max-width: 760px;
    margin-top: 52px;
}

.store-home-redesign .trust-strip {
    margin-top: 14px;
    border-radius: 16px;
    background: rgba(14, 15, 18, .9);
    box-shadow: none;
}

.store-home-redesign .trust-strip > div {
    min-height: 92px;
}

@media (max-width: 1050px) {
    .store-home-redesign .hero-store {
        display: flex;
        min-height: 570px;
    }
}

@media (max-width: 680px) {
    .store-home-redesign .hero-store {
        min-height: auto;
        padding: 56px 24px 42px;
    }

    .store-home-redesign .hero-store::after {
        right: -42px;
        bottom: -20px;
        font-size: 220px;
        letter-spacing: -17px;
    }

    .store-home-redesign .hero-store h1 {
        font-size: clamp(43px, 13vw, 62px);
        letter-spacing: -3px;
    }
}
