/* ExotElectronics storefront homepage — homepage only */

.store-home,
.store-home * { box-sizing: border-box; }

.store-home {
    width: min(100% - 30px, 1540px);
    margin: 0 auto;
    padding: 14px 0 28px;
    color: #071b49;
}

.store-layout {
    display: grid;
    grid-template-columns: 263px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
}

/* Sidebar */
.store-sidebar {
    overflow: hidden;
    border: 1px solid #cbd9ea;
    border-radius: 12px;
    background: #f5f8fc;
}

.sidebar-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 18px;
    color: #fff;
    background: linear-gradient(110deg, #06417f, #0874b5);
    font-size: 1.15rem;
    font-weight: 800;
}

.category-menu { display: flex; flex-direction: column; }

.category-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 40px;
    padding: 8px 15px 8px 19px;
    border-top: 1px solid #d7e1ed;
    color: #071b49;
    font-size: .94rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.category-menu a i { font-size: .78rem; }
.category-menu a:hover,
.category-menu a.active { color: #075a9a; background: #e5f1fc; }

/* Main hero */
.store-main { min-width: 0; }

.store-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
    align-items: center;
    min-height: 253px;
    padding: 24px 34px;
    overflow: hidden;
    border-radius: 13px;
    color: #fff;
    background:
        radial-gradient(ellipse at 75% 22%, rgba(17, 157, 220, .45), transparent 42%),
        linear-gradient(110deg, #062d69 0%, #07518f 57%, #087eb2 100%);
    isolation: isolate;
}

.store-hero::before,
.store-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(115, 216, 255, .2);
    border-radius: 50%;
}
.store-hero::before { width: 410px; height: 410px; right: -80px; top: -260px; }
.store-hero::after { width: 330px; height: 330px; right: 15%; bottom: -280px; }

.store-hero-copy { position: relative; z-index: 2; max-width: 600px; }
.store-eyebrow {
    display: inline-block;
    margin-bottom: 9px;
    color: #a9e9ff;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .15em;
}
.store-hero h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(2rem, 3.1vw, 3.05rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -.035em;
}
.store-hero h1 span { color: #ffdf00; }
.store-hero p {
    max-width: 500px;
    margin: 0 0 17px;
    color: #fff;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.45;
}
.store-shop-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 45px;
    padding: 0 23px;
    border-radius: 10px;
    color: #082c69;
    background: #ffdf00;
    font-size: 1.05rem;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,.13);
    transition: transform .15s ease, background .15s ease;
}
.store-shop-button:hover { color: #082c69; background: #ffe94d; transform: translateY(-2px); }

.store-hero-art {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 205px;
}
.hero-component {
    display: grid;
    min-width: 0;
    height: 125px;
    padding: 10px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 13px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.hero-component img { display: block; width: 100%; height: 100%; object-fit: contain; }
.component-main { transform: translateY(12px); }
.component-cap { transform: translateY(-12px); }
.component-board {
    grid-column: 1 / -1;
    width: 64%;
    height: 83px;
    justify-self: center;
    margin-top: -9px;
}
.hero-orbit { position: absolute; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; pointer-events: none; }
.hero-orbit-one { width: 270px; height: 270px; right: 5%; top: -30px; }
.hero-orbit-two { width: 190px; height: 190px; right: 17%; top: 10px; }
.hero-circuit-lines {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .14;
    pointer-events: none;
    background-image: linear-gradient(30deg, transparent 48%, #8ce7ff 49%, transparent 50%);
    background-size: 70px 70px;
}

/* Category shortcut cards */
.shortcut-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
    margin-top: 13px;
}
.shortcut-card {
    display: flex;
    min-width: 0;
    min-height: 126px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px;
    border: 1px solid #cbd9ea;
    border-radius: 12px;
    color: #071b49;
    background: linear-gradient(145deg, #fff, #edf4fc);
    text-align: center;
    text-decoration: none;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.shortcut-card:hover {
    transform: translateY(-3px);
    border-color: #76b8e5;
    color: #075a9a;
    box-shadow: 0 7px 18px rgba(7,49,93,.1);
}
.shortcut-image { display: grid; width: 100%; height: 75px; place-items: center; }
.shortcut-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.shortcut-card strong { font-size: .9rem; line-height: 1.15; }

/* Benefits */
.store-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
    padding: 14px 12px;
    border-radius: 12px;
    background: #e8f2ff;
}
.store-benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    padding: 2px 10px;
    border-right: 1px solid #9db9d9;
}
.store-benefit:last-child { border-right: 0; }
.store-benefit > i { flex: 0 0 auto; color: #071b49; font-size: 1.8rem; }
.store-benefit strong { display: block; color: #071b49; font-size: .91rem; font-weight: 850; }
.store-benefit span { display: block; margin-top: 3px; color: #142b52; font-size: .84rem; }

/* Product list */
.store-products-section { margin-top: 22px; }
.store-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 13px;
}
.store-heading-title { display: flex; align-items: center; gap: 13px; min-width: 0; }
.heading-accent { width: 8px; height: 34px; flex: 0 0 8px; border-radius: 6px; background: #ed1724; }
.store-section-heading h2 { margin: 0; color: #071b49; font-size: 1.65rem; font-weight: 850; line-height: 1.1; }
.store-section-heading p { margin: 4px 0 0; color: #687991; font-size: .83rem; }
.store-view-all { color: #071b9b; font-weight: 800; text-decoration: none; white-space: nowrap; }
.store-view-all:hover { color: #e31724; }

.store-product-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 11px;
}
.store-product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #cfdae8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 7px rgba(10,42,82,.035);
    transition: transform .15s ease, box-shadow .15s ease;
}
.store-product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(10,42,82,.1); }
.store-product-photo { display: block; height: 122px; padding: 8px; }
.store-product-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.store-product-details { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 0 10px 10px; }
.store-product-category { display: none; }
.store-product-details h3 { width: 100%; margin: 0 0 7px; font-size: .84rem; font-weight: 800; line-height: 1.25; }
.store-product-details h3 a { color: #071b49; text-decoration: none; }
.store-product-details h3 a:hover { color: #0874b5; }
.store-product-price { margin: auto 0 5px; color: #e31717; font-size: 1.25rem; font-weight: 900; }
.store-stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 8px;
    padding: 6px 9px;
    border-radius: 8px;
    font-size: .76rem;
    font-weight: 800;
    white-space: nowrap;
}
.in-stock { color: #08651f; background: #d8f6dc; }
.out-stock { color: #9f2020; background: #fde1e1; }
.store-product-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 34px;
    margin-top: auto;
    border-radius: 7px;
    color: #fff;
    background: #075a9a;
    font-size: .78rem;
    font-weight: 750;
    text-decoration: none;
}
.store-product-button:hover { color: #fff; background: #043e70; }
.store-no-products { grid-column: 1 / -1; padding: 35px; border: 1px dashed #b9cadd; border-radius: 12px; text-align: center; }
.store-no-products > i { color: #0874b5; font-size: 2rem; }
.store-no-products h3 { margin: 10px 0 5px; }
.store-no-products a { color: #075a9a; font-weight: 700; }

/* Bottom trust strip */
.store-trust-strip {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    padding: 14px 20px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(105deg, #073d8d, #172a91 65%, #12277d);
}
.trust-brand,
.trust-feature { display: flex; align-items: center; gap: 13px; min-width: 0; }
.trust-brand > i { font-size: 2.5rem; }
.trust-brand h2 { margin: 0; color: #fff; font-size: 1.1rem; font-weight: 850; line-height: 1.15; }
.trust-brand h2 span { color: #ffdf00; }
.trust-feature { min-height: 48px; padding-left: 15px; border-left: 1px solid rgba(255,255,255,.65); }
.trust-feature > i { flex: 0 0 auto; font-size: 2rem; }
.trust-feature strong { display: block; color: #fff; font-size: .95rem; }
.trust-feature span { display: block; margin-top: 3px; color: #fff; font-size: .79rem; }

/* Responsive */
@media (max-width: 1250px) {
    .store-layout { grid-template-columns: 225px minmax(0, 1fr); gap: 13px; }
    .store-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .shortcut-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .store-benefit { padding: 2px 5px; }
    .store-benefit > i { font-size: 1.5rem; }
}
@media (max-width: 850px) {
    .store-layout { grid-template-columns: 1fr; }
    .store-sidebar { order: 0; }
    .category-menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .category-menu a { border-right: 1px solid #d7e1ed; }
    .store-hero { min-height: 250px; }
    .store-trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trust-feature:nth-child(3) { border-left: 0; }
}
@media (max-width: 600px) {
    .store-home { width: min(100% - 20px, 1540px); padding-top: 10px; }
    .category-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .category-menu a { min-height: 38px; padding: 7px 10px; font-size: .82rem; }
    .store-hero { grid-template-columns: 1fr; gap: 15px; padding: 25px 20px 18px; }
    .store-hero h1 { font-size: 2.05rem; }
    .store-hero p { font-size: .92rem; }
    .store-hero-art { min-height: 145px; max-width: 370px; width: 100%; margin: 0 auto; }
    .hero-component { height: 90px; }
    .component-board { height: 65px; }
    .shortcut-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .shortcut-card { min-height: 112px; }
    .shortcut-image { height: 65px; }
    .store-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 4px; padding: 13px 8px; }
    .store-benefit { justify-content: flex-start; border-right: 0; padding: 0 5px; }
    .store-benefit > i { font-size: 1.35rem; }
    .store-benefit strong { font-size: .78rem; }
    .store-benefit span { font-size: .72rem; }
    .store-section-heading { align-items: flex-start; flex-direction: column; }
    .store-section-heading h2 { font-size: 1.4rem; }
    .store-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .store-product-photo { height: 145px; }
    .store-product-details { padding: 0 9px 9px; }
    .store-product-details h3 { font-size: .86rem; }
    .store-product-price { font-size: 1.15rem; }
    .store-trust-strip { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
    .trust-feature { border-left: 0; padding-left: 0; }
}

/* FINAL HOMEPAGE VISUAL REFINEMENTS */

/* Category sidebar: force clean white rows */
.store-home .store-sidebar .category-menu a {
    display: flex !important;
    width: 100%;
    min-height: 41px;
    padding: 9px 16px;
    align-items: center;
    justify-content: space-between;
    color: #071b49 !important;
    background: #fff !important;
    border: 0;
    border-bottom: 1px solid #d7e1ed;
    border-radius: 0 !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

.store-home .store-sidebar .category-menu a:hover,
.store-home .store-sidebar .category-menu a.active {
    color: #075a9a !important;
    background: #eaf4ff !important;
}

.store-home .store-sidebar .category-menu a i {
    color: #071b49;
}

/* Hero: reduce component overlap */
.store-home .store-hero {
    grid-template-columns: 1.15fr .85fr;
}

.store-home .store-hero-art {
    width: 100%;
    max-width: 390px;
    justify-self: end;
    gap: 10px;
    padding: 12px;
}

.store-home .hero-component {
    height: 105px;
    padding: 5px;
    overflow: hidden;
    background: rgba(255,255,255,.94);
    border: 0;
    box-shadow: 0 5px 14px rgba(0,0,0,.12);
    transform: none;
}

.store-home .hero-component img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-home .component-board {
    height: 72px;
    width: 75%;
    margin-top: 0;
}

/* Category shortcut images */
.store-home .shortcut-image {
    height: 76px;
    padding: 3px;
    overflow: hidden;
}

.store-home .shortcut-image img {
    object-fit: contain;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .store-home .store-hero {
        grid-template-columns: 1fr;
    }

    .store-home .store-hero-art {
        justify-self: center;
        max-width: 330px;
    }

    .store-home .hero-component {
        height: 85px;
    }
}


/* FINAL HOMEPAGE VISUAL REFINEMENTS */

/* Category sidebar: force clean white rows */
.store-home .store-sidebar .category-menu a {
    display: flex !important;
    width: 100%;
    min-height: 41px;
    padding: 9px 16px;
    align-items: center;
    justify-content: space-between;
    color: #071b49 !important;
    background: #fff !important;
    border: 0;
    border-bottom: 1px solid #d7e1ed;
    border-radius: 0 !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

.store-home .store-sidebar .category-menu a:hover,
.store-home .store-sidebar .category-menu a.active {
    color: #075a9a !important;
    background: #eaf4ff !important;
}

.store-home .store-sidebar .category-menu a i {
    color: #071b49;
}

/* Hero: reduce component overlap */
.store-home .store-hero {
    grid-template-columns: 1.15fr .85fr;
}

.store-home .store-hero-art {
    width: 100%;
    max-width: 390px;
    justify-self: end;
    gap: 10px;
    padding: 12px;
}

.store-home .hero-component {
    height: 105px;
    padding: 5px;
    overflow: hidden;
    background: rgba(255,255,255,.94);
    border: 0;
    box-shadow: 0 5px 14px rgba(0,0,0,.12);
    transform: none;
}

.store-home .hero-component img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-home .component-board {
    height: 72px;
    width: 75%;
    margin-top: 0;
}

/* Category shortcut images */
.store-home .shortcut-image {
    height: 76px;
    padding: 3px;
    overflow: hidden;
}

.store-home .shortcut-image img {
    object-fit: contain;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .store-home .store-hero {
        grid-template-columns: 1fr;
    }

    .store-home .store-hero-art {
        justify-self: center;
        max-width: 330px;
    }

    .store-home .hero-component {
        height: 85px;
    }
}
/* page  patching*/
/* Category sidebar: force clean white rows */
.store-home .store-sidebar .category-menu a {
    display: flex !important;
    width: 100%;
    min-height: 41px;
    padding: 9px 16px;
    align-items: center;
    justify-content: space-between;
    color: #071b49 !important;
    background: #fff !important;
    border: 0;
    border-bottom: 1px solid #d7e1ed;
    border-radius: 0 !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

.store-home .store-sidebar .category-menu a:hover,
.store-home .store-sidebar .category-menu a.active {
    color: #075a9a !important;
    background: #eaf4ff !important;
}

.store-home .store-sidebar .category-menu a i {
    color: #071b49;
}

/* Hero: reduce component overlap */
.store-home .store-hero {
    grid-template-columns: 1.15fr .85fr;
}

.store-home .store-hero-art {
    width: 100%;
    max-width: 390px;
    justify-self: end;
    gap: 10px;
    padding: 12px;
}

.store-home .hero-component {
    height: 105px;
    padding: 5px;
    overflow: hidden;
    background: rgba(255,255,255,.94);
    border: 0;
    box-shadow: 0 5px 14px rgba(0,0,0,.12);
    transform: none;
}

.store-home .hero-component img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-home .component-board {
    height: 72px;
    width: 75%;
    margin-top: 0;
}

/* Category shortcut images */
.store-home .shortcut-image {
    height: 76px;
    padding: 3px;
    overflow: hidden;
}

.store-home .shortcut-image img {
    object-fit: contain;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .store-home .store-hero {
        grid-template-columns: 1fr;
    }

    .store-home .store-hero-art {
        justify-self: center;
        max-width: 330px;
    }

    .store-home .hero-component {
        height: 85px;
    }
}
/* Make category links fill the entire sidebar */
.store-home .store-sidebar .category-menu {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

.store-home .store-sidebar .category-menu a {
    display: flex !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    align-self: stretch !important;
    min-height: 42px;
    padding: 9px 16px !important;
    justify-content: space-between !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #071b49 !important;
    border-bottom: 1px solid #d7e1ed !important;
}
  display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: 105px 90px !important;
    align-content: center;
    align-items: stretch;
    gap: 12px !important;
    min-height: 225px;
    padding: 0 8px !important;
}

.store-home .store-hero-art .hero-component {
    width: 100% !important;
    height: 105px !important;
    min-width: 0;
    padding: 7px !important;
    transform: none !important;
    overflow: hidden;
}

.store-home .store-hero-art .hero-component img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.store-home .store-hero-art .component-board {
    grid-column: 1 / -1 !important;
    width: 85% !important;
    height: 90px !important;
    justify-self: center;
    margin: 0 !important;
}

@media (max-width: 600px) {
    .store-home .store-hero-art {
        max-width: 340px;
        margin: 10px auto 0;
        min-height: 205px;
        grid-template-rows: 85px 75px !important;
    }

    .store-home .store-hero-art .hero-component {
        height: 85px !important;
    }

    .store-home .store-hero-art .component-board {
        height: 75px !important;
    }
}
