/* =========================================================
   NETDEALSGO HOMEPAGE — GLOBAL LAYOUT, HEADER AND SECTIONS
   ========================================================= */
:root {
    --ndg-ink: #172033;
    --ndg-muted: #667085;
    --ndg-blue: #3157d5;
    --ndg-blue-dark: #203b9b;
    --ndg-purple: #6844d8;
    --ndg-border: #e7eaf1;
    --ndg-soft: #f5f7fc;
    --ndg-white: #ffffff;
    --ndg-shadow: 0 12px 35px rgba(24, 39, 75, .08);
    --ndg-radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.55;
    color: var(--ndg-ink);
    background: #f7f8fc;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, video { max-width: 100%; }

/* Announcement ticker */
.ticker-container {
    height: 36px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
    background: #173a85;
    border-bottom: 2px solid #8bc34a;
    white-space: nowrap;
}
.ticker-track {
    display: flex;
    width: max-content;
    min-width: 200%;
    animation: ndgTicker 65s linear infinite;
}
.ticker-content {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 52px;
    padding-right: 52px;
}
.ticker-content a {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}
.ticker-container:hover .ticker-track { animation-play-state: paused; }
@keyframes ndgTicker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Header */
.site-header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--ndg-border);
}
.header-inner {
    width: min(1500px, calc(100% - 48px));
    min-height: 160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(160px, 240px) minmax(0, 800px) minmax(70px, 120px);
    gap: 28px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}
.brand-link { display: flex; justify-content: center; align-items: center; }
.logo {
    display: block;
    width: 220px;
    height: 130px;
    object-fit: contain;
    margin: 0;
    animation: none;
}
.banner-wrapper { width: 100%; max-width: 800px; min-width: 0; margin: 0 auto; }
.banner-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 800 / 150;
    height: auto;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.banner { position: relative; width: 100%; height: 100%; }
.banner-images { position: absolute; inset: 0; width: 100%; height: 100%; }
.banner-images a {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: ndgBannerFade 15s infinite;
}
.banner-images a:nth-child(1) { animation-delay: 0s; }
.banner-images a:nth-child(2) { animation-delay: 5s; }
.banner-images a:nth-child(3) { animation-delay: 10s; }
.banner-images a img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center center;
    margin: 0;
}
@keyframes ndgBannerFade {
    0%, 2% { opacity: 0; }
    5%, 31% { opacity: 1; }
    34%, 100% { opacity: 0; }
}
.header-deal-link { display: flex; justify-content: center; align-items: center; }
.side-img {
    display: block;
    width: 112px;
    height: 112px;
    object-fit: contain;
    border-radius: 14px;
}

/* Main navigation */
.site-nav {
    width: 100%;
    background: #172b58;
    box-shadow: 0 4px 14px rgba(20, 35, 75, .12);
}
.nav-inner {
    width: min(1500px, calc(100% - 40px));
    min-height: 54px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.nav-inner a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 24px;
    border-radius: 9px;
    color: #eef3ff;
    font-size: 15px;
    font-weight: 700;
    transition: background .2s ease, color .2s ease;
}
.nav-inner a:hover, .nav-inner a.nav-current {
    color: #fff;
    background: rgba(255,255,255,.14);
}

/* Coupon strip */
.home-promo-strip {
    background: #14254C;
    color: #fff;
}
.home-promo-inner {
    width: min(1450px, calc(100% - 40px));
    min-height: 54px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px 0;
}
.promo-eyebrow {
    padding: 4px 9px;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 5px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}
.promo-message { font-size: 18px; font-weight: 700; }
.promo-code-label, .promo-note { font-weight: 700; color: #e1e8ff; font-size: 16px; }
.promo-code-button {
    border: 1px dashed rgba(255,255,255,.85);
    border-radius: 7px;
    padding: 4px 8px;
    color: #172b58;
    background: #fff;
    font-size: 15px; 
    font-weight: 800;
    cursor: pointer;
}
.promo-code-button:hover { background: #edf2ff; }

/* Main page width */
.home-main {
    display: block;
    width: min(1450px, calc(100% - 48px));
    margin: 0 auto;
    padding: 34px 0 70px;
}

/* Hero */
.hero-section {
    min-height: 330px;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    align-items: center;
    gap: 42px;
    padding: 42px 54px;
    overflow: hidden;
    border: 1px solid #e6e9f5;
    border-radius: 24px;
    background: linear-gradient(115deg, #fff 0%, #f4f6ff 62%, #eeedff 100%);
    box-shadow: var(--ndg-shadow);
}
.section-kicker {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--ndg-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}
.hero-copy h1 {
    margin: 0 0 16px;
    color: #172033;
    font-size: clamp(32px, 4vw, 51px);
    line-height: 1.12;
    letter-spacing: -1.6px;
}
.hero-copy h1 span { color: var(--ndg-blue); }
.hero-copy > p {
    max-width: 650px;
    margin: 0;
    color: #5c667c;
    font-size: 16px;
    line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.primary-action, .secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 19px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease;
}
.primary-action {
    color: #fff;
    background: linear-gradient(110deg, #3157d5, #6746d4);
    box-shadow: 0 7px 18px rgba(63, 78, 190, .22);
}
.secondary-action { color: #283b75; background: #fff; border: 1px solid #dce2f4; }
.primary-action:hover, .secondary-action:hover { transform: translateY(-2px); }
.hero-trust-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 23px;
    color: #667085;
    font-size: 11px;
}
.hero-trust-points b { color: #249568; margin-right: 4px; }

/* CSS-built decorative hero art, no external asset dependency */
.hero-art {
    position: relative;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-art-glow {
    position: absolute;
    width: 290px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(114, 93, 225, .22), rgba(114, 93, 225, 0) 70%);
}
.hero-art-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(42, 48, 110, .16);
}
.hero-art-card-back {
    width: 220px;
    height: 185px;
    padding: 22px;
    right: 8%;
    top: 15px;
    color: #fff;
    background: linear-gradient(145deg, #263f91, #7652d4);
    transform: rotate(8deg);
}
.hero-art-icon { font-size: 30px; margin-bottom: 8px; }
.hero-art-card-back strong { font-size: 20px; line-height: 1.2; }
.hero-art-card-back small { margin-top: 12px; font-size: 8px; letter-spacing: 1px; opacity: .8; }
.hero-art-card-front {
    width: 260px;
    min-height: 190px;
    left: 5%;
    bottom: 5px;
    padding: 18px;
    background: rgba(255,255,255,.96);
    transform: rotate(-5deg);
}
.hero-art-label { color: #6c63ba; font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.hero-art-books { display: flex; align-items: end; gap: 7px; height: 68px; margin: 10px 0; }
.hero-book {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 60px;
    padding: 4px;
    border-radius: 5px;
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    text-align: center;
    box-shadow: 2px 4px 8px rgba(0,0,0,.16);
}
.book-one { height: 62px; background: linear-gradient(145deg,#234f9a,#4f83d5); }
.book-two { height: 52px; background: linear-gradient(145deg,#0b806f,#38b79b); }
.book-three { height: 68px; background: linear-gradient(145deg,#8a4cbd,#c47bd8); }
.hero-art-card-front strong { color: #202c52; font-size: 17px; line-height: 1.2; }
.hero-floating-badge {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 9px 13px;
    border: 1px solid #e5e8f7;
    border-radius: 30px;
    color: #34416f;
    background: #fff;
    box-shadow: 0 8px 22px rgba(30, 45, 90, .12);
    font-size: 11px;
    font-weight: 700;
}
.hero-floating-badge span { color: #e5a52b; margin-right: 5px; }

/* Shared section headings */
.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}
.section-heading h2 {
    margin: 0;
    color: #19233b;
    font-size: clamp(23px, 2.4vw, 30px);
    line-height: 1.2;
    letter-spacing: -.5px;
}
.section-heading p { margin: 7px 0 0; color: var(--ndg-muted); font-size: 14px; }
.live-shopping-section, .category-explorer, .catalog-section { margin-top: 54px; }

/* Live shopping */
.live-heading { align-items: center; }
.live-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid #f3d4d7;
    border-radius: 30px;
    color: #b42335;
    background: #fff5f5;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .8px;
}
.live-status i, .live-caption-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e33b4d;
    box-shadow: 0 0 0 4px rgba(227,59,77,.12);
}
.live-shopping-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(240px, .75fr);
    gap: 20px;
    align-items: stretch;
}
.live-video-panel {
    overflow: hidden;
    border: 1px solid #e1e5ef;
    border-radius: 17px;
    background: #101827;
    box-shadow: var(--ndg-shadow);
}
.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #080d18;
}
#hls-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: #080d18;
    object-fit: contain;
}
#unmuteBtn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 11px 20px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 30px;
    color: #fff;
    background: rgba(29, 47, 101, .92);
    box-shadow: 0 8px 25px rgba(0,0,0,.3);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}
#unmuteBtn[hidden] { display: none; }
#unmuteBtn:hover { background: #3157d5; }
.live-video-caption {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 17px;
    color: #e6ebf5;
    font-size: 12px;
}
.live-caption-dot { width: 7px; height: 7px; }
.live-side-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 27px;
    border: 1px solid #e2e6f1;
    border-radius: 17px;
    background: linear-gradient(150deg, #fff, #f0f2ff);
}
.side-panel-kicker { color: #5264bd; font-size: 10px; font-weight: 800; letter-spacing: 1.2px; }
.live-side-panel h3 { margin: 12px 0 8px; color: #202b49; font-size: 23px; line-height: 1.2; }
.live-side-panel > p { margin: 0; color: #687187; font-size: 13px; line-height: 1.7; }
.side-panel-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 19px; color: #3157d5; font-size: 13px; font-weight: 800; }
.live-side-divider { height: 1px; margin: 23px 0 18px; background: #e1e5f0; }
.live-side-feature { display: flex; align-items: center; gap: 11px; margin: 8px 0; }
.live-feature-icon {
    display: flex;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #4b4ac0;
    background: #e9eaff;
    font-weight: 800;
}
.live-side-feature strong { display: block; color: #293653; font-size: 12px; }
.live-side-feature small { display: block; margin-top: 2px; color: #788196; font-size: 10px; }

/* Category filter controls */
.category-explorer {
    padding: 26px;
    border: 1px solid #e6e9f1;
    border-radius: 18px;
    background: #fff;
}
.category-explorer .section-heading { margin-bottom: 16px; }
.category-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    width: 100%;
    margin: 0;
}
.category-buttons button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 39px;
    margin: 0;
    padding: 8px 15px;
    border: 1px solid #e0e5f0;
    border-radius: 30px;
    color: #46516a;
    background: #f8f9fc;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.category-buttons button:hover {
    border-color: #b9c5f3;
    color: #2c4cb5;
    background: #f0f3ff;
    transform: translateY(-1px);
}
.category-buttons button.active {
    border-color: #3157d5;
    color: #fff;
    background: #3157d5;
    box-shadow: 0 4px 12px rgba(49,87,213,.18);
}
.category-button-icon { font-size: 16px; }

/* Product catalog section headings */
.catalog-section { min-height: 100px; }
.catalog-heading { margin: 0 0 18px; padding-top: 4px; }
.catalog-heading .section-kicker { margin-bottom: 5px; }
.catalog-heading h2.category-title { display: block; width: auto; margin: 0; padding: 0; color: #19233b; text-align: left; font-size: clamp(23px, 2.4vw, 30px); }
.heading-accent {
    padding: 6px 11px;
    border-radius: 6px;
    color: #fff;
    background: #2d9b72;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}
.category-count { color: #7a8498; font-size: 12px; white-space: nowrap; }
.category-product-section { margin-top: 42px; }
.category-product-section:first-child { margin-top: 0; }

/* Footer visual treatment */
.site-footer {
    width: 100%;
    padding: 28px 20px;
    color: #e7ebf5;
    background: #17233e;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}
.site-footer p { margin: 6px 0; font-size: 13px; }
.site-footer a { color: #b8c8ff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* Accessibility and reduced motion */
a:focus-visible, button:focus-visible {
    outline: 3px solid #f0b429;
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Responsive */
@media (max-width: 1100px) {
    .header-inner {
        grid-template-columns: 190px minmax(250px, 1fr) 95px;
        gap: 18px;
    }
    .logo { width: 185px; height: 115px; }
    .banner-container { height: auto; aspect-ratio: 800 / 150; }
    .side-img { width: 90px; height: 90px; }
    .hero-section { padding: 35px; gap: 20px; }
}
@media (max-width: 800px) {
    .header-inner {
        grid-template-columns: 1fr 100px;
        gap: 10px 18px;
        padding: 12px 0;
    }
    .brand-link { justify-content: flex-start; }
    .logo { width: 185px; height: 95px; }
    .header-deal-link { grid-column: 2; grid-row: 1; }
    .banner-wrapper { grid-column: 1 / -1; grid-row: 2; max-width: 100%; }
    .banner-container { height: auto; aspect-ratio: 800 / 150; }
    .side-img { width: 78px; height: 78px; }
    .hero-section { grid-template-columns: 1fr; padding: 32px; }
    .hero-art { min-height: 245px; }
    .live-shopping-layout { grid-template-columns: 1fr; }
    .live-side-panel { padding: 22px; }
}
@media (max-width: 560px) {
    .ticker-container { height: 32px; }
    .ticker-content { gap: 28px; padding-right: 28px; }
    .ticker-content a { font-size: 11px; }
    .header-inner { width: calc(100% - 28px); }
    .logo { width: 155px; height: 82px; }
    .side-img { width: 65px; height: 65px; }
    .banner-container { border-radius: 8px; }
    .nav-inner { width: calc(100% - 20px); gap: 2px; min-height: 48px; }
    .nav-inner a { flex: 1; min-height: 38px; padding: 7px 8px; font-size: 12px; }
    .home-promo-inner { width: calc(100% - 24px); gap: 7px; min-height: 50px; }
    .promo-eyebrow { font-size: 9px; }
    .promo-message { font-size: 12px; }
    .promo-code-label, .promo-note { font-size: 11px; }
    .promo-code-button { padding: 4px 8px; font-size: 11px; }
    .home-main { width: calc(100% - 26px); padding-top: 18px; }
    .hero-section { min-height: auto; padding: 25px 20px 18px; border-radius: 17px; }
    .hero-copy h1 { font-size: 34px; letter-spacing: -1px; }
    .hero-copy > p { font-size: 14px; }
    .hero-actions { gap: 8px; }
    .primary-action, .secondary-action { min-height: 42px; padding: 0 12px; font-size: 12px; }
    .hero-trust-points { gap: 7px 12px; font-size: 10px; }
    .hero-art { min-height: 220px; transform: scale(.9); transform-origin: center; margin: -4px 0; }
    .live-shopping-section, .category-explorer, .catalog-section { margin-top: 36px; }
    .category-explorer { padding: 19px 15px; }
    .category-buttons { gap: 7px; }
    .category-buttons button { min-height: 36px; padding: 7px 11px; font-size: 11px; }
    .section-heading { align-items: flex-start; }
    .live-status { font-size: 9px; padding: 6px 8px; }
    .live-side-panel h3 { font-size: 20px; }
}



/* =========================================================
   NETDEALSGO — VIBRANT, WELCOMING HOMEPAGE REFRESH
   Appended overrides: keeps the existing PHP and interactions intact.
   ========================================================= */
:root {
    --ndg-ink: #20213a;
    --ndg-muted: #687087;
    --ndg-blue: #5146e5;
    --ndg-blue-dark: #3429b8;
    --ndg-purple: #8b45d9;
    --ndg-border: #e9e6f3;
    --ndg-soft: #fff8f1;
    --ndg-white: #ffffff;
    --ndg-shadow: 0 18px 48px rgba(49, 38, 104, .10);
    --ndg-radius: 20px;
}

html { scroll-padding-top: 18px; }
body {
    color: var(--ndg-ink);
    background:
        radial-gradient(ellipse at 8% 16%, rgba(255, 193, 112, .13), transparent 28rem),
        radial-gradient(ellipse at 94% 34%, rgba(151, 111, 255, .09), transparent 30rem),
        #fffaf6;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Announcement bar */
.ticker-container {
    background: linear-gradient(90deg, #3429b8 0%, #6244d8 52%, #a342c6 100%);
    border-bottom: 3px solid #ffbf47;
}
.ticker-content a { font-size: 13px; letter-spacing: .15px; }

/* Header and navigation */
.site-header {
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid rgba(81,70,229,.10);
}
.header-inner { min-height: 142px; }
.logo { filter: drop-shadow(0 5px 10px rgba(51,40,120,.08)); }
.banner-container {
    overflow: hidden;
    border-radius: 16px;
    background: #fff7ed;
}
.banner-images a img { border-radius: 16px; }
.side-img {
    border: 3px solid #fff;
    box-shadow: 0 8px 24px rgba(49,38,104,.13);
    transition: transform .25s ease, box-shadow .25s ease;
}
.header-deal-link:hover .side-img {
    transform: translateY(-3px) rotate(2deg);
    box-shadow: 0 13px 28px rgba(49,38,104,.18);
}
.site-nav {
    background: linear-gradient(100deg, #29246f 0%, #4937b9 54%, #713ab4 100%);
    box-shadow: 0 8px 22px rgba(53,39,130,.18);
}
.nav-inner { gap: 8px; }
.nav-inner a {
    min-height: 42px;
    border-radius: 999px;
    padding: 8px 22px;
    color: rgba(255,255,255,.91);
    transition: background .2s ease, transform .2s ease, color .2s ease;
}
.nav-inner a:hover, .nav-inner a.nav-current {
    color: #2b246d;
    background: #ffcf70;
    transform: translateY(-1px);
}

/* Coupon / offer strip */
.home-promo-strip {
    color: #33245d;
    background: linear-gradient(100deg, #ffe6a9 0%, #ffd3a1 48%, #ffc4b7 100%);
    border-bottom: 1px solid rgba(190,107,65,.15);
}
.home-promo-inner { min-height: 58px; }
.promo-eyebrow {
    color: #fff;
    background: #e85b45;
    border: 0;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 10px;
    letter-spacing: 1.1px;
}
.promo-message { color: #39275f; font-size: 17px; }
.promo-code-label, .promo-note { color: #654b70; font-size: 14px; }
.promo-code-button {
    color: #fff;
    background: #5146e5;
    border: 1px dashed rgba(255,255,255,.85);
    border-radius: 9px;
    padding: 6px 12px;
    box-shadow: 0 4px 12px rgba(81,70,229,.18);
}
.promo-code-button:hover { color: #fff; background: #3429b8; }

/* Page canvas */
.home-main {
    width: min(1450px, calc(100% - 48px));
    padding-top: 38px;
}

/* Hero — confident, colorful, still easy to read */
.hero-section {
    position: relative;
    min-height: 360px;
    gap: 30px;
    padding: clamp(30px, 4vw, 58px);
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 30px;
    background:
        radial-gradient(circle at 86% 20%, rgba(255,255,255,.36), transparent 15rem),
        linear-gradient(118deg, #fff0d6 0%, #ffe0d2 43%, #e9ddff 100%);
    box-shadow: 0 22px 60px rgba(76,48,132,.12);
}
.hero-section::before,
.hero-section::after {
    position: absolute;
    content: "";
    pointer-events: none;
    border-radius: 50%;
}
.hero-section::before {
    width: 180px;
    height: 180px;
    top: -92px;
    left: 42%;
    background: rgba(255,255,255,.24);
}
.hero-section::after {
    width: 110px;
    height: 110px;
    bottom: -54px;
    left: 5%;
    background: rgba(255,177,107,.18);
}
.hero-copy { position: relative; z-index: 1; }
.section-kicker {
    color: #6947c8;
    font-size: 11px;
    letter-spacing: 1.8px;
}
.hero-copy h1 {
    color: #282044;
    font-size: clamp(36px, 4.2vw, 56px);
    line-height: 1.08;
    letter-spacing: -2px;
}
.hero-copy h1 span {
    color: #6142d5;
    background: linear-gradient(90deg, #5945d8, #a044c4 55%, #e05b79);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-copy > p {
    max-width: 610px;
    color: #625d75;
    font-size: 16px;
    line-height: 1.8;
}
.primary-action, .secondary-action {
    min-height: 49px;
    border-radius: 999px;
    padding: 0 23px;
    font-size: 14px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.primary-action {
    color: #fff;
    background: linear-gradient(105deg, #5146e5, #873fca);
    box-shadow: 0 10px 22px rgba(81,70,229,.25);
}
.primary-action:hover {
    color: #fff;
    box-shadow: 0 14px 28px rgba(81,70,229,.31);
    transform: translateY(-3px);
}
.secondary-action {
    color: #4936a2;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(105,76,184,.20);
}
.secondary-action:hover {
    color: #3429b8;
    background: #fff;
    box-shadow: 0 8px 20px rgba(64,48,125,.10);
    transform: translateY(-3px);
}
.hero-trust-points {
    color: #706981;
    font-size: 12px;
    gap: 9px 19px;
}
.hero-trust-points span::before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 17px;
    height: 17px;
    margin-right: 6px;
    border-radius: 50%;
    color: #fff;
    background: #22a889;
    font-size: 10px;
    font-weight: 900;
}
.hero-trust-points b { color: #168b70; }

/* Hero illustration cards */
.hero-art { z-index: 1; }
.hero-art-glow {
    width: 330px;
    height: 290px;
    background: radial-gradient(circle, rgba(132,83,225,.25), rgba(255,143,144,.12) 48%, transparent 72%);
}
.hero-art-card {
    border: 1px solid rgba(255,255,255,.72);
    box-shadow: 0 22px 50px rgba(58,43,123,.19);
    backdrop-filter: blur(8px);
}
.hero-art-card-back {
    background: linear-gradient(145deg, #4637ba, #9b48c9 70%, #d45d9b);
}
.hero-art-card-front {
    background: rgba(255,255,255,.95);
    box-shadow: 0 20px 44px rgba(57,42,112,.16);
}
.hero-art-label { color: #7954d2; }
.book-one { background: linear-gradient(145deg,#5146e5,#8477f4); }
.book-two { background: linear-gradient(145deg,#079c91,#48c6ad); }
.book-three { background: linear-gradient(145deg,#e46b57,#f4ad68); }
.hero-art-card-front strong { color: #292044; }
.hero-floating-badge {
    color: #514080;
    border-color: rgba(255,255,255,.8);
    background: rgba(255,255,255,.94);
    box-shadow: 0 10px 28px rgba(57,42,112,.14);
}

/* Section hierarchy */
.section-heading h2,
.catalog-heading h2.category-title {
    color: #282044;
    letter-spacing: -.7px;
}
.section-heading p { color: #77748a; }
.live-shopping-section, .category-explorer, .catalog-section { margin-top: 58px; }
.catalog-heading { margin-bottom: 20px; }
.catalog-heading .section-kicker { color: #8b55c7; }
.category-count {
    color: #6e6685;
    background: #f2edff;
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 700;
}
.heading-accent {
    color: #fff;
    background: linear-gradient(100deg, #13a58f, #39b98f);
    border-radius: 999px;
    padding: 7px 13px;
}

/* Live shopping */
.live-status {
    color: #c43f57;
    background: #fff0f1;
    border: 1px solid #ffd2d8;
    border-radius: 999px;
}
.live-status i, .live-caption-dot {
    background: #ed5268;
    box-shadow: 0 0 0 4px rgba(237,82,104,.13);
}
.live-video-panel {
    border: 1px solid #2c2850;
    border-radius: 22px;
    box-shadow: 0 18px 44px rgba(29,25,66,.17);
}
.video-wrapper { background: #17142b; }
#hls-video { background: #17142b; }
#unmuteBtn {
    color: #fff;
    background: linear-gradient(105deg, #5146e5, #8a43c9);
    border: 1px solid rgba(255,255,255,.55);
}
#unmuteBtn:hover { background: #e35e72; }
.live-video-caption {
    background: #211d3b;
    color: #f2efff;
}
.live-side-panel {
    border: 1px solid #e9e0fa;
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255,198,135,.24), transparent 11rem),
        linear-gradient(145deg, #fff 0%, #f6f0ff 100%);
    box-shadow: 0 14px 34px rgba(65,46,123,.08);
}
.side-panel-kicker { color: #8350c8; }
.live-side-panel h3 { color: #2b224a; }
.live-side-panel > p { color: #6d6880; }
.side-panel-link { color: #5945d8; }
.side-panel-link:hover { color: #d65377; }
.live-side-divider { background: #e8e0f4; }
.live-feature-icon {
    color: #fff;
    background: linear-gradient(145deg, #6652df, #a34bc3);
    border-radius: 11px;
}
.live-side-feature strong { color: #30264f; }
.live-side-feature small { color: #777188; }

/* Category picker */
.category-explorer {
    padding: 30px;
    border: 1px solid #eee5f5;
    border-radius: 23px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 14px 38px rgba(68,48,120,.07);
}
.category-buttons { gap: 10px; }
.category-buttons button {
    min-height: 42px;
    padding: 9px 17px;
    color: #5b5570;
    background: #faf8ff;
    border: 1px solid #e9e3f5;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    transition: all .2s ease;
}
.category-buttons button:hover {
    color: #5141c9;
    background: #f0ebff;
    border-color: #cfc2f5;
    transform: translateY(-2px);
}
.category-buttons button.active {
    color: #fff;
    background: linear-gradient(100deg, #5146e5, #9146ca);
    border-color: transparent;
    box-shadow: 0 7px 17px rgba(81,70,229,.22);
}

/* Product cards — targets the markup rendered by the existing PHP function */
.product-grid {
    gap: 22px;
}
.product-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #eee8f4;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(49,38,104,.06);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: #d7c9f5;
    box-shadow: 0 18px 38px rgba(65,45,130,.14);
}
.product-card-link { color: inherit; }
.product-media-frame {
    overflow: hidden;
    background: linear-gradient(135deg, #fff3e5, #f0eaff);
}
.product-media,
.product-preview-poster {
    transition: transform .35s ease;
}
.product-card:hover .product-media,
.product-card:hover .product-preview-poster {
    transform: scale(1.045);
}
.product-card h3 {
    color: #30264f;
    font-weight: 750;
    line-height: 1.35;
}
.product-price {
    color: #169879;
    font-weight: 850;
}
.product-price-contact { color: #6d6680; }
.product-view-link {
    color: #fff;
    background: linear-gradient(100deg, #5146e5, #8a45ca);
    border-radius: 999px;
    font-weight: 750;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.product-view-link:hover {
    color: #fff;
    background: linear-gradient(100deg, #3e34c7, #7436b5);
    box-shadow: 0 7px 16px rgba(81,70,229,.2);
    transform: translateY(-2px);
}
.product-video-controls button {
    border-radius: 999px;
}

/* Customer quote panel */
.quote-slider {
    border: 1px solid #eee2fa;
    border-radius: 24px;
    background:
        radial-gradient(circle at 8% 100%, rgba(255,192,128,.22), transparent 13rem),
        linear-gradient(120deg, #fff8ee, #f4efff 75%, #fceef5);
    box-shadow: 0 16px 38px rgba(65,45,130,.09);
    color: #30264f;
}
.quote-slider::before { background: rgba(145,91,220,.09); }
.quote-slider::after { background: rgba(255,172,112,.12); }
.quote-slider .label { color: #8b55c7; }
.quote-slider .heading { color: #2c224b; }
.quote-slider .quote-card {
    border: 1px solid rgba(133,103,184,.12);
    border-radius: 17px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 8px 22px rgba(65,45,130,.07);
}
.quote-slider .quote-mark { color: #e77d70; }
.quote-slider blockquote { color: #41375d; }
.quote-slider .quote-number { color: #9186a2; }
.quote-slider .progress-track { background: rgba(81,70,229,.13); }
.quote-slider .progress-bar { background: linear-gradient(90deg, #5146e5, #e16c86); }
.quote-slider .slide-count { color: #76688d; }

/* Footer */
.site-footer {
    margin-top: 30px;
    padding: 38px 20px;
    color: #eeeaff;
    background: linear-gradient(110deg, #211c50, #35266f 58%, #512c75);
}
.site-footer a { color: #ffd18b; }
.site-footer a:hover { color: #fff; }

/* Keyboard focus remains obvious against the richer palette */
a:focus-visible, button:focus-visible {
    outline: 3px solid #ffad42;
    outline-offset: 3px;
}

/* Responsive polish */
@media (max-width: 1100px) {
    .hero-section { padding: 36px; }
}
@media (max-width: 800px) {
    .header-inner { min-height: 0; }
    .hero-section { padding: 32px; }
    .category-explorer { padding: 24px; }
}
@media (max-width: 560px) {
    .home-main { padding-top: 20px; }
    .hero-section {
        padding: 26px 20px 20px;
        border-radius: 22px;
    }
    .hero-copy h1 { font-size: 34px; }
    .hero-copy > p { font-size: 14px; }
    .hero-art { min-height: 220px; }
    .home-promo-strip { padding: 5px 0; }
    .promo-message { font-size: 12px; }
    .category-explorer {
        padding: 20px 15px;
        border-radius: 18px;
    }
    .category-buttons button {
        min-height: 37px;
        padding: 7px 12px;
        font-size: 12px;
    }
    .live-shopping-section, .category-explorer, .catalog-section { margin-top: 40px; }
    .product-grid { gap: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-media,
    .product-preview-poster,
    .side-img,
    .nav-inner a,
    .primary-action,
    .secondary-action {
        transition: none !important;
    }
}
