/**
 * Marketplace - Estilos base complementarios a Tailwind CSS
 */

/* ══════════════════════════════════════
   BASE
   ══════════════════════════════════════ */

* {
    -webkit-tap-highlight-color: transparent;
}

.public-brand-link.has-logo {
    min-width: 0;
}

.public-brand-logo-image {
    display: block;
    width: var(--header-logo-width, 180px);
    max-width: min(var(--header-logo-width, 180px), 32vw);
    height: var(--header-logo-height, 52px);
    object-fit: contain;
}

.auth-brand-link.has-logo {
    justify-content: center;
    max-width: 100%;
}

.auth-brand-logo-image {
    display: block;
    width: var(--auth-logo-width, 180px);
    max-width: min(var(--auth-logo-width, 180px), 76vw);
    height: var(--auth-logo-height, 52px);
    object-fit: contain;
    filter: drop-shadow(0 18px 34px rgb(0 0 0 / 0.2));
}

.sidebar-logo-image {
    display: block;
    width: var(--sidebar-logo-width, 120px);
    max-width: 11.8rem;
    height: var(--sidebar-logo-height, 34px);
    object-fit: contain;
}

.public-footer-logo-row.has-logo {
    align-items: center;
}

.public-footer-logo-image {
    display: block;
    width: var(--footer-logo-width, 180px);
    max-width: min(var(--footer-logo-width, 180px), 80vw);
    height: var(--footer-logo-height, 58px);
    object-fit: contain;
}

/* Home refresh: hero, eventos, productos y footer */
.home-hero {
    min-height: clamp(34rem, 78vh, 48rem);
    background: #08020c;
}

.home-hero-video {
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.02);
}

.home-hero-overlay {
    background:
        radial-gradient(circle at 50% 42%, rgb(255 255 255 / 0.04), transparent 22rem),
        linear-gradient(180deg, rgb(10 3 15 / 0.50) 0%, rgb(10 3 15 / 0.74) 54%, rgb(10 3 15 / 0.92) 100%),
        linear-gradient(90deg, rgb(8 2 12 / 0.92) 0%, rgb(8 2 12 / 0.62) 28%, rgb(8 2 12 / 0.62) 72%, rgb(8 2 12 / 0.92) 100%);
    backdrop-filter: blur(1.5px);
}

.floating-store-logo {
    width: 5rem;
    height: 5rem;
    border-radius: 1.15rem;
    background: rgb(255 255 255 / 0.98);
    box-shadow: 0 22px 52px rgb(0 0 0 / 0.34), inset 0 0 0 1px rgb(255 255 255 / 0.82);
    opacity: 1;
    filter: saturate(1.08) contrast(1.08);
}

.floating-store-logo img {
    filter: none;
}

@keyframes floatStoreLogoUp {
    0% {
        opacity: 0;
        top: calc(100% + 5rem);
        transform: translateY(0) scale(var(--logo-scale, 1)) rotate(-2deg);
    }
    10%, 88% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        top: -7rem;
        transform: translateY(0) scale(var(--logo-scale, 1)) rotate(2deg);
    }
}

.home-events-section {
    background:
        linear-gradient(180deg, #fff 0%, #fbfbfc 45%, #f2f4f7 100%);
}

.home-events-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(19rem, 0.78fr);
    gap: 1.35rem;
    align-items: stretch;
}

.home-event-feature {
    position: relative;
    display: grid;
    grid-template-rows: minmax(18rem, 0.9fr) auto auto;
    overflow: hidden;
    border-radius: 1.35rem;
    background: rgb(255 255 255 / 0.84);
    box-shadow: 0 30px 70px rgb(15 23 42 / 0.13);
    backdrop-filter: blur(16px);
}

.home-event-feature-media {
    position: relative;
    display: block;
    min-height: clamp(18rem, 33vw, 28rem);
    overflow: hidden;
    background: #0f172a;
}

.home-event-feature-media img,
.home-news-feature-media img,
.home-agenda-thumb img,
.home-news-row-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-event-feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgb(2 6 23 / 0.48) 100%);
}

.home-event-feature-content {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.1rem;
    padding: 1.4rem;
}

.home-event-feature-date {
    display: grid;
    place-items: center;
    align-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    background: #0f172a;
    color: #fff;
    box-shadow: 0 16px 38px rgb(15 23 42 / 0.2);
}

.home-event-feature-date span {
    color: color-mix(in srgb, var(--brand-accent) 82%, white);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.home-event-feature-date strong {
    font-size: 2.1rem;
    line-height: 1;
    font-weight: 900;
}

.home-event-eyebrow {
    display: inline-flex;
    width: fit-content;
    border-radius: 9999px;
    background: color-mix(in srgb, var(--brand-primary) 10%, white);
    padding: 0.32rem 0.65rem;
    color: var(--brand-primary);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.home-event-feature .home-event-copy a {
    margin-top: 0.55rem;
    font-size: clamp(1.8rem, 3.6vw, 3.35rem);
    line-height: 0.98;
}

.home-event-feature .home-event-copy p {
    max-width: 52rem;
}

.home-event-feature .home-event-countdown {
    margin: 0 1.4rem 1.4rem;
    overflow: hidden;
    border-radius: 1rem;
    background: linear-gradient(90deg, var(--brand-primary), color-mix(in srgb, var(--brand-primary) 70%, #020617));
    box-shadow: 0 18px 42px color-mix(in srgb, var(--brand-primary) 28%, transparent);
}

.home-agenda-panel {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 0.8rem;
    border-radius: 1.35rem;
    background: #111827;
    padding: 1rem;
    color: #fff;
    box-shadow: 0 30px 70px rgb(15 23 42 / 0.16);
}

.home-agenda-rows {
    display: grid;
    gap: 0.75rem;
    align-content: start;
}

.home-agenda-row {
    display: grid;
    grid-template-columns: 4.2rem minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
    border-radius: 1rem;
    background: rgb(255 255 255 / 0.08);
    padding: 0.75rem;
    color: #fff;
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.home-agenda-row:hover {
    transform: translateX(3px);
    background: rgb(255 255 255 / 0.14);
    color: #fff;
}

.home-agenda-row .home-agenda-date {
    border: 0;
    border-radius: 0.8rem;
    background: #fff;
}

.home-agenda-row .home-agenda-copy strong {
    color: #fff;
}

.home-agenda-row .home-agenda-copy > span:last-child {
    color: #cbd5e1;
}

.home-agenda-arrow {
    display: grid;
    place-items: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 9999px;
    background: rgb(255 255 255 / 0.10);
}

.home-agenda-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 1rem;
    background: #fff;
    padding: 0.85rem 1rem;
    color: #0f172a;
    font-size: 0.875rem;
    font-weight: 900;
}

.home-products-section {
    position: relative;
    overflow: hidden;
    padding: 4.8rem 0;
    background:
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%),
        radial-gradient(circle at 12% 20%, rgb(220 38 38 / 0.08), transparent 20rem);
}

.home-products-icons-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.home-products-bg-icon {
    position: absolute;
    left: calc((var(--icon-index) * 9%) - 4%);
    top: calc((var(--icon-index) % 5) * 19%);
    color: rgb(15 23 42 / 0.055);
    font-size: clamp(2.4rem, 6vw, 5.5rem);
    animation: productIconDrift 15s linear infinite;
    animation-delay: calc(var(--icon-index) * -1.2s);
}

@keyframes productIconDrift {
    from {
        transform: translateY(110%) rotate(-8deg);
    }
    to {
        transform: translateY(-130%) rotate(8deg);
    }
}

.product-glass-card {
    border-radius: 1.15rem;
    background: rgb(255 255 255 / 0.56);
    box-shadow: 0 22px 55px rgb(15 23 42 / 0.10);
    backdrop-filter: blur(18px);
}

.product-glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.62);
}

.product-glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgb(15 23 42 / 0.16);
}

.product-glass-media {
    border-radius: 1.15rem 1.15rem 0 0;
}

.product-glass-body p:first-child {
    color: var(--brand-primary);
}

.product-glass-body a:not(.product-glass-link):not(.product-glass-primary) {
    color: #0f172a;
}

.product-glass-body a:not(.product-glass-link):not(.product-glass-primary):hover {
    color: var(--brand-primary);
}

.product-glass-link {
    background: rgb(255 255 255 / 0.66);
    color: #334155;
    box-shadow: inset 0 0 0 1px rgb(148 163 184 / 0.24);
}

.product-glass-link:hover {
    background: #fff;
    color: #0f172a;
}

.product-glass-primary {
    background: var(--brand-primary);
}

.product-glass-primary:hover {
    filter: brightness(0.94);
}

.public-footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #111827 0%, #0f172a 45%, #141018 100%);
    color: #cbd5e1;
}

.public-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--brand-primary) 28%, transparent), transparent 18rem),
        radial-gradient(circle at 85% 8%, color-mix(in srgb, var(--brand-accent) 18%, transparent), transparent 16rem);
    opacity: 0.82;
    pointer-events: none;
}

.public-footer > * {
    position: relative;
    z-index: 1;
}

.public-footer-wave {
    height: 5rem;
    background: #f8fafc;
}

.public-footer-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

.public-footer-wave path {
    fill: #111827;
}

.public-footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: -0.5rem;
    margin-bottom: 3rem;
    border-radius: 1.35rem;
    background: rgb(255 255 255 / 0.08);
    padding: 1.4rem;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.10);
    backdrop-filter: blur(18px);
}

.public-footer-kicker {
    color: color-mix(in srgb, var(--brand-accent) 80%, white);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.public-footer-cta h2 {
    margin-top: 0.35rem;
    color: #fff;
    font-size: clamp(1.45rem, 3vw, 2.45rem);
    line-height: 1.08;
    font-weight: 900;
}

.public-footer-cta-actions,
.public-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.public-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 9999px;
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    font-weight: 900;
}

.public-footer-btn-light {
    background: #fff;
    color: #0f172a;
}

.public-footer-btn-primary {
    background: var(--footer-primary, var(--brand-primary));
    color: #fff;
}

.public-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.9fr));
    gap: 2rem;
    padding-bottom: 2.5rem;
}

.public-footer-logo-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
}

.public-footer-logo {
    display: grid;
    place-items: center;
    width: 3.1rem;
    height: 3.1rem;
    overflow: hidden;
    border-radius: 0.95rem;
    color: #fff;
}

.public-footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.public-footer-brand p {
    margin-top: 1rem;
    max-width: 24rem;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.8;
}

.public-footer-location {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1.15rem;
    border-radius: 9999px;
    background: rgb(255 255 255 / 0.08);
    padding: 0.65rem 0.9rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
}

.public-footer-col h4 {
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 900;
}

.public-footer-col ul {
    display: grid;
    gap: 0.65rem;
}

.public-footer-col a,
.public-footer-contact li {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.public-footer-col a:hover {
    color: #fff;
    transform: translateX(2px);
}

.public-footer-col i {
    width: 1rem;
    color: color-mix(in srgb, var(--brand-accent) 80%, white);
}

.public-footer-social {
    margin-top: 1rem;
}

.public-footer-social a {
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 9999px;
    background: rgb(255 255 255 / 0.10);
    color: #fff;
}

.public-footer-social a:hover {
    background: var(--brand-primary);
    transform: translateY(-2px);
}

.public-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgb(255 255 255 / 0.10);
    padding: 1.15rem 0;
    color: #94a3b8;
    font-size: 0.78rem;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.site-chatbot {
    position: fixed;
    right: clamp(1rem, 2vw, 1.4rem);
    bottom: clamp(1rem, 2vw, 1.4rem);
    z-index: 80;
    font-family: inherit;
}

.site-chatbot-launcher {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.site-chatbot-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    width: 3.9rem;
    height: 3.9rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.site-chatbot-toggle:hover {
    filter: brightness(0.96);
    transform: translateY(-2px);
}

.site-chatbot.is-open .site-chatbot-toggle {
    transform: scale(0.96);
}

.site-chatbot-toggle-avatar {
    display: grid;
    place-items: center;
    width: 3.9rem;
    height: 3.9rem;
    overflow: hidden;
    border: 3px solid #ffffff;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 22px 45px color-mix(in srgb, var(--brand-primary, #dc2626) 32%, transparent), 0 10px 26px rgb(15 23 42 / 0.18);
}

.site-chatbot-toggle-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-chatbot-teaser {
    position: absolute;
    right: 4.55rem;
    bottom: 0.35rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.45rem;
    width: min(15.7rem, calc(100vw - 6.5rem));
    border: 1px solid #e2e8f0;
    border-radius: 1rem 1rem 0.25rem 1rem;
    background: rgb(255 255 255 / 0.97);
    padding: 0.68rem 0.78rem;
    color: #0f172a;
    text-align: left;
    font-size: 0.82rem;
    font-weight: 850;
    line-height: 1.25;
    box-shadow: 0 16px 40px rgb(15 23 42 / 0.15);
}

.site-chatbot-teaser.is-hidden {
    display: none;
}

.site-chatbot-teaser::after {
    content: "";
    position: absolute;
    right: -0.44rem;
    bottom: 0.62rem;
    width: 0.8rem;
    height: 0.8rem;
    border-top: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    background: #ffffff;
    transform: rotate(45deg);
}

.site-chatbot.is-open .site-chatbot-teaser {
    display: none;
}

.site-chatbot-teaser-text,
.site-chatbot-teaser-close {
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
}

.site-chatbot-teaser-text {
    min-width: 0;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

.site-chatbot-teaser-close {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 999px;
    color: #64748b;
    cursor: pointer;
}

.site-chatbot-teaser-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.site-chatbot-teaser-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.18rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand-primary, #dc2626) 10%, white);
    padding: 0.38rem 0.44rem;
}

.site-chatbot-teaser-dots span {
    width: 0.28rem;
    height: 0.28rem;
    border-radius: 999px;
    background: var(--brand-primary, #dc2626);
    animation: siteChatbotTyping 0.9s ease-in-out infinite;
}

.site-chatbot-teaser-dots span:nth-child(2) {
    animation-delay: 0.12s;
}

.site-chatbot-teaser-dots span:nth-child(3) {
    animation-delay: 0.24s;
}

.site-chatbot-panel {
    position: absolute;
    right: 0;
    bottom: 4.55rem;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(23.5rem, calc(100vw - 2rem));
    height: min(34rem, calc(100vh - 7rem));
    overflow: hidden;
    border: 1px solid rgb(226 232 240 / 0.95);
    border-radius: 1.15rem;
    background: rgb(255 255 255 / 0.96);
    box-shadow: 0 28px 80px rgb(15 23 42 / 0.22);
    backdrop-filter: blur(18px);
}

.site-chatbot-panel[hidden] {
    display: none;
}

.site-chatbot-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem;
    background:
        radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--brand-primary, #dc2626) 18%, transparent), transparent 9rem),
        #0f172a;
    color: #ffffff;
}

.site-chatbot-avatar {
    display: grid;
    place-items: center;
    width: 2.55rem;
    height: 2.55rem;
    overflow: hidden;
    border-radius: 0.85rem;
    border: 2px solid rgb(255 255 255 / 0.65);
    background: #ffffff;
}

.site-chatbot-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-chatbot-head p {
    margin: 0;
    color: #ffffff;
    font-size: 0.94rem;
    font-weight: 900;
}

.site-chatbot-head span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #cbd5e1;
    font-size: 0.72rem;
    font-weight: 800;
}

.site-chatbot-head span::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #22c55e;
}

.site-chatbot-head button {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.10);
    color: #ffffff;
    cursor: pointer;
}

.site-chatbot-messages {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    min-height: 0;
    overflow-y: auto;
    padding: 0.95rem;
    background:
        radial-gradient(circle at 10% 8%, color-mix(in srgb, var(--brand-primary, #dc2626) 9%, transparent), transparent 9rem),
        #f8fafc;
}

.site-chatbot-bubble {
    max-width: 86%;
    border-radius: 1rem;
    padding: 0.75rem 0.85rem;
    font-size: 0.86rem;
    line-height: 1.55;
    box-shadow: 0 10px 24px rgb(15 23 42 / 0.07);
}

.site-chatbot-bubble-assistant {
    align-self: flex-start;
    border-top-left-radius: 0.28rem;
    background: #ffffff;
    color: #334155;
}

.site-chatbot-bubble-user {
    align-self: flex-end;
    border-top-right-radius: 0.28rem;
    background: var(--brand-primary, #dc2626);
    color: #ffffff;
}

.site-chatbot-bubble.is-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    min-width: 4.2rem;
}

.site-chatbot-bubble.is-loading span {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: #94a3b8;
    animation: siteChatbotTyping 0.9s ease-in-out infinite;
}

.site-chatbot-bubble.is-loading span:nth-child(2) {
    animation-delay: 0.12s;
}

.site-chatbot-bubble.is-loading span:nth-child(3) {
    animation-delay: 0.24s;
}

.site-chatbot-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 0.75rem;
}

.site-chatbot-form input {
    min-width: 0;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 0.72rem 0.9rem;
    color: #0f172a;
    font-size: 0.86rem;
    outline: none;
}

.site-chatbot-form input:focus {
    border-color: var(--brand-primary, #dc2626);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary, #dc2626) 13%, transparent);
}

.site-chatbot-form button {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 999px;
    background: var(--brand-primary, #dc2626);
    color: #ffffff;
    cursor: pointer;
}

.site-chatbot-form button:disabled,
.site-chatbot-form input:disabled {
    opacity: 0.65;
    cursor: wait;
}

@keyframes siteChatbotTyping {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.45;
    }
    50% {
        transform: translateY(-0.18rem);
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .site-chatbot {
        right: 0.85rem;
        bottom: 0.85rem;
    }

    .site-chatbot-panel {
        width: calc(100vw - 1.7rem);
        height: min(33rem, calc(100vh - 6.5rem));
    }
}

.admin-body {
    margin: 0;
    background: #f3f4f6;
    color: #1f2937;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.admin-shell {
    display: flex;
    height: 100vh;
    min-height: 0;
    overflow: hidden;
}

.admin-main {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.admin-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 1.5rem;
}

.admin-body header {
    min-height: 4rem;
}

.admin-body .bg-white {
    background-color: #fff;
}

.admin-body .bg-slate-900 {
    background-color: #0f172a;
}

.admin-body .bg-slate-950 {
    background-color: #020617;
}

.admin-body .text-white {
    color: #fff;
}

.admin-body .text-gray-950 {
    color: #030712;
}

.admin-body .text-gray-800 {
    color: #1f2937;
}

.admin-body .text-gray-700 {
    color: #374151;
}

.admin-body .text-gray-600 {
    color: #4b5563;
}

.admin-body .text-gray-500 {
    color: #6b7280;
}

.admin-body .text-gray-400 {
    color: #9ca3af;
}

.admin-body .border,
.admin-body .border-b {
    border-color: #e5e7eb;
}

.admin-body .rounded-lg {
    border-radius: .5rem;
}

.admin-body .rounded-xl {
    border-radius: .75rem;
}

.admin-body .rounded-2xl {
    border-radius: 1rem;
}

.admin-body .shadow-sm {
    box-shadow: 0 1px 2px rgb(15 23 42 / .06);
}

.hidden { display: none !important; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1 1 0%; }
.min-w-0 { min-width: 0; }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.overflow-x-auto { overflow-x: auto; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.inset-y-0 { top: 0; bottom: 0; }
.right-0 { right: 0; }
.left-0 { left: 0; }
.top-0 { top: 0; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.transition { transition: all .18s ease; }
.-translate-x-full { transform: translateX(-100%); }
.border { border: 1px solid #e5e7eb; }
.border-b { border-bottom: 1px solid #e5e7eb; }
.divide-y > * + * { border-top: 1px solid #f3f4f6; }
.object-cover { object-fit: cover; }

.gap-1 { gap: .25rem; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.space-y-1 > * + * { margin-top: .25rem; }
.space-y-3 > * + * { margin-top: .75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.p-1\.5 { padding: .375rem; }
.p-2 { padding: .5rem; }
.p-3 { padding: .75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: .5rem; padding-right: .5rem; }
.px-3 { padding-left: .75rem; padding-right: .75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-0\.5 { padding-top: .125rem; padding-bottom: .125rem; }
.py-1 { padding-top: .25rem; padding-bottom: .25rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-2\.5 { padding-top: .625rem; padding-bottom: .625rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.ml-auto { margin-left: auto; }

.w-5 { width: 1.25rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-11 { width: 2.75rem; }
.w-14 { width: 3.5rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-52 { width: 13rem; }
.w-64 { width: 16rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (min-width: 640px) {
    .sm\:block { display: block !important; }
    .sm\:flex { display: flex !important; }
    .sm\:inline-flex { display: inline-flex !important; }
}

@media (min-width: 768px) {
    .md\:block { display: block !important; }
    .md\:flex { display: flex !important; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:flex-row { flex-direction: row; }
    .md\:items-center { align-items: center; }
    .md\:p-8 { padding: 2rem; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
}

@media (min-width: 1024px) {
    .lg\:flex { display: flex !important; }
    .lg\:block { display: block !important; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:inline-flex { display: inline-flex !important; }
    .lg\:hidden { display: none !important; }
    .lg\:translate-x-0 { transform: translateX(0) !important; }
}

@media (min-width: 1280px) {
    .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .xl\:grid-cols-\[1fr_420px\] { grid-template-columns: minmax(0, 1fr) 420px; }
}

.panel-body {
    overflow: hidden;
}

.panel-shell {
    height: 100vh;
    min-height: 0;
    overflow: hidden;
}

.panel-shell > .flex-1,
.panel-shell main {
    min-height: 0;
}

@supports (height: 100dvh) {
    .panel-shell {
        height: 100dvh;
    }

    .app-sidebar {
        height: 100dvh;
        min-height: 100dvh;
    }
}

/* ══════════════════════════════════════
   UTILIDADES
   ══════════════════════════════════════ */

.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ══════════════════════════════════════
   ANIMACIONES
   ══════════════════════════════════════ */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* ══════════════════════════════════════
   SCROLLBAR PERSONALIZADO
   ══════════════════════════════════════ */

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Sidebar oscuro */
.bg-slate-900 ::-webkit-scrollbar-thumb {
    background: #334155;
}

.bg-slate-900 ::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

.app-sidebar {
    width: 16rem;
    height: 100vh;
    min-height: 100vh;
    position: sticky;
    top: 0;
    align-self: stretch;
    background-color: #0f172a;
    color: #fff;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: transform .24s ease, width .2s ease;
}

.app-sidebar a {
    color: #cbd5e1;
    text-decoration: none;
}

.app-sidebar a:hover {
    color: #fff;
}

.app-sidebar nav {
    overflow-y: auto;
}

.product-actionbar {
    max-height: 4.25rem;
}

.product-detail-page,
.product-detail-page * {
    box-sizing: border-box;
    min-width: 0;
}

.product-detail-page img,
.product-detail-page iframe {
    max-width: 100%;
}

.product-detail-layout {
    align-items: start;
}

.product-detail-media-column,
.product-detail-info-column {
    min-width: 0;
}

.product-store-card {
    max-width: 100%;
    overflow: hidden;
}

.product-store-card img {
    flex: 0 0 auto;
}

.product-store-card a {
    overflow-wrap: anywhere;
}

.app-sidebar.is-collapsed {
    width: 5rem !important;
}

.app-sidebar.is-collapsed .sidebar-text {
    display: none !important;
}

.app-sidebar.is-collapsed nav a {
    justify-content: center;
}

.app-sidebar.is-collapsed nav a i {
    margin: 0;
}

.app-sidebar.is-collapsed .px-5 {
    justify-content: center;
    padding-left: 1rem;
    padding-right: 1rem;
}

.sidebar-backdrop {
    display: none;
}

@media (max-width: 1023px) {
    .admin-shell,
    .panel-shell {
        position: relative;
    }

    .app-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 60;
        width: min(18rem, 86vw) !important;
        height: 100dvh;
        min-height: 100dvh;
        box-shadow: 18px 0 45px rgb(15 23 42 / .28);
        transform: translateX(0);
    }

    .app-sidebar.-translate-x-full {
        transform: translateX(-105%);
    }

    .admin-main,
    .panel-shell > .flex-1 {
        width: 100%;
        min-width: 0;
    }

    .admin-content,
    .panel-shell main {
        padding: 1rem !important;
    }

    .admin-body header,
    .panel-body header {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .admin-body.sidebar-mobile-open,
    .panel-body.sidebar-mobile-open {
        overflow: hidden;
    }

    .sidebar-mobile-open .sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 50;
        border: 0;
        background: rgb(15 23 42 / .48);
    }
}

@media (max-width: 640px) {
    .admin-content,
    .panel-shell main {
        padding: .875rem !important;
    }

    .admin-body header h1,
    .panel-body header h1 {
        max-width: 11rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 1rem !important;
    }
}

/* ══════════════════════════════════════
   FORMULARIOS
   ══════════════════════════════════════ */

input:focus, select:focus, textarea:focus {
    outline: none;
}

/* File input personalizado */
input[type="file"]::-webkit-file-upload-button {
    cursor: pointer;
}

/* ══════════════════════════════════════
   TABLAS
   ══════════════════════════════════════ */

table {
    border-collapse: collapse;
}

/* ══════════════════════════════════════
   IMAGEN PLACEHOLDER
   ══════════════════════════════════════ */

.img-placeholder {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

/* Tema configurable desde Admin > Configuracion */
:root {
    --brand-primary: #4f46e5;
    --brand-secondary: #7c3aed;
    --brand-accent: #10b981;
    --brand-link: #4f46e5;
    --brand-link-hover: #4338ca;
    --brand-topbar: #4f46e5;
}

.bg-indigo-600,
.hover\:bg-indigo-600:hover,
.config-tab.bg-indigo-600 {
    background-color: var(--brand-primary) !important;
}

.bg-indigo-700,
.hover\:bg-indigo-700:hover {
    background-color: var(--brand-link-hover) !important;
}

.bg-indigo-50,
.hover\:bg-indigo-50:hover {
    background-color: color-mix(in srgb, var(--brand-primary) 10%, white) !important;
}

.bg-indigo-100 {
    background-color: color-mix(in srgb, var(--brand-primary) 18%, white) !important;
}

.text-indigo-300,
.text-indigo-400,
.text-indigo-500,
.text-indigo-600,
.hover\:text-indigo-600:hover {
    color: var(--brand-link) !important;
}

.text-indigo-700,
.text-indigo-800,
.hover\:text-indigo-700:hover {
    color: var(--brand-link-hover) !important;
}

.border-indigo-200 {
    border-color: color-mix(in srgb, var(--brand-primary) 26%, white) !important;
}

.border-indigo-300,
.hover\:border-indigo-300:hover {
    border-color: color-mix(in srgb, var(--brand-primary) 38%, white) !important;
}

.border-indigo-600,
.peer:checked ~ .peer-checked\:border-indigo-600 {
    border-color: var(--brand-primary) !important;
}

.focus\:ring-indigo-500:focus,
.focus\:ring-indigo-200:focus,
.focus\:ring-2:focus {
    --tw-ring-color: color-mix(in srgb, var(--brand-primary) 68%, transparent) !important;
}

.focus\:border-indigo-500:focus {
    border-color: var(--brand-primary) !important;
}

.peer:checked ~ .peer-checked\:bg-indigo-50 {
    background-color: color-mix(in srgb, var(--brand-primary) 10%, white) !important;
}

.peer:checked ~ .peer-checked\:text-indigo-700 {
    color: var(--brand-link-hover) !important;
}

.theme-secondary-bg {
    background-color: var(--brand-secondary) !important;
}

.theme-accent-bg {
    background-color: var(--brand-accent) !important;
}

.bg-purple-50 {
    background-color: color-mix(in srgb, var(--brand-secondary) 10%, white) !important;
}

.bg-purple-100 {
    background-color: color-mix(in srgb, var(--brand-secondary) 18%, white) !important;
}

.bg-purple-500,
.bg-purple-600,
.hover\:bg-purple-600:hover {
    background-color: var(--brand-secondary) !important;
}

.text-purple-400,
.text-purple-500,
.text-purple-600,
.hover\:text-purple-600:hover {
    color: var(--brand-secondary) !important;
}

.bg-emerald-50 {
    background-color: color-mix(in srgb, var(--brand-accent) 10%, white) !important;
}

.bg-emerald-100 {
    background-color: color-mix(in srgb, var(--brand-accent) 18%, white) !important;
}

.bg-emerald-500,
.bg-emerald-600,
.hover\:bg-emerald-600:hover {
    background-color: var(--brand-accent) !important;
}

.text-emerald-600,
.text-emerald-700,
.text-emerald-800,
.hover\:text-emerald-600:hover {
    color: var(--brand-accent) !important;
}

.from-indigo-100,
.from-indigo-400,
.from-indigo-500,
.from-indigo-600,
.from-indigo-700 {
    --tw-gradient-from: var(--brand-primary) var(--tw-gradient-from-position) !important;
    --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

.via-indigo-700,
.via-indigo-950 {
    --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), color-mix(in srgb, var(--brand-primary) 55%, #111827) var(--tw-gradient-via-position), var(--tw-gradient-to) !important;
}

.to-indigo-600,
.to-indigo-800,
.to-indigo-950 {
    --tw-gradient-to: var(--brand-link-hover) var(--tw-gradient-to-position) !important;
}

.to-purple-100,
.to-purple-400,
.to-purple-500,
.to-purple-600 {
    --tw-gradient-to: var(--brand-secondary) var(--tw-gradient-to-position) !important;
}

.to-emerald-600 {
    --tw-gradient-to: var(--brand-accent) var(--tw-gradient-to-position) !important;
}

.from-slate-900 {
    --tw-gradient-from: color-mix(in srgb, var(--brand-primary) 22%, #0f172a) var(--tw-gradient-from-position) !important;
    --tw-gradient-to: rgb(15 23 42 / 0) var(--tw-gradient-to-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

a:not(.text-white):not(.text-gray-400):not(.text-gray-500):hover {
    color: var(--brand-link-hover);
}

.home-carousel {
    position: relative;
}

.home-carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
}

.home-carousel-track::-webkit-scrollbar {
    display: none;
}

.home-carousel-card {
    flex: 0 0 86vw;
    scroll-snap-align: start;
    min-width: 0;
}

@media (min-width: 640px) {
    .home-carousel-card {
        flex-basis: 18rem;
    }
}

@media (min-width: 1280px) {
    .home-carousel-card {
        flex-basis: calc((100% - 5rem) / 6);
    }
}

.home-carousel-control {
    display: inline-flex;
    height: 2.5rem;
    width: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #334155;
    box-shadow: 0 4px 12px rgb(15 23 42 / 0.08);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.home-carousel-control:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #ffffff;
    transform: translateY(-1px);
}

.home-section-kicker {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.home-section-kicker-primary {
    color: var(--brand-primary);
}

.home-section-kicker-accent {
    color: var(--brand-accent);
}

.event-countdown-unit {
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    padding: 0.65rem 0.35rem;
    min-width: 0;
    border-right: 1px solid rgb(255 255 255 / 0.16);
}

.event-countdown-unit:first-child {
    border-radius: 0.85rem 0 0 0.85rem;
}

.event-countdown-unit:last-child {
    border-right: 0;
    border-radius: 0 0.85rem 0.85rem 0;
}

.event-countdown-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    text-align: center;
    overflow: hidden;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, var(--brand-primary), color-mix(in srgb, var(--brand-primary) 72%, #020617));
    box-shadow: 0 16px 32px color-mix(in srgb, var(--brand-primary) 22%, transparent);
}

.event-countdown-unit p:last-child {
    color: rgb(255 255 255 / 0.72);
}

.home-news-badge {
    border-radius: 9999px;
    background: color-mix(in srgb, var(--brand-accent) 18%, white);
    color: var(--brand-accent);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 800;
}

.public-video-hero {
    position: relative;
    min-height: 13.75rem;
    overflow: hidden;
    background: #020617;
}

.public-video-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.public-video-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgb(2 6 23 / 0.88), rgb(2 6 23 / 0.62), rgb(2 6 23 / 0.84)),
        color-mix(in srgb, var(--brand-primary) 18%, transparent);
}

.public-video-hero-inner {
    position: relative;
    z-index: 1;
    min-height: 13.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    color: #ffffff;
}

.public-video-hero h1 {
    margin-top: 0.85rem;
    max-width: 46rem;
    font-size: clamp(2.25rem, 5vw, 4.25rem);
    line-height: 0.98;
    font-weight: 800;
}

.public-video-hero p {
    margin-top: 1rem;
    max-width: 42rem;
    color: rgb(255 255 255 / 0.82);
    font-size: 1.05rem;
    line-height: 1.75;
}

.public-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    background: rgb(255 255 255 / 0.12);
    padding: 0.45rem 0.8rem;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    border: 1px solid rgb(255 255 255 / 0.22);
}

.public-hero-count {
    min-width: 8.5rem;
    border-radius: 1rem;
    border: 1px solid rgb(255 255 255 / 0.18);
    background: rgb(255 255 255 / 0.10);
    padding: 1rem;
    text-align: center;
    box-shadow: 0 18px 38px rgb(2 6 23 / 0.22);
    backdrop-filter: blur(10px);
}

.public-hero-count strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
}

.public-hero-count span {
    display: block;
    margin-top: 0.35rem;
    color: rgb(255 255 255 / 0.78);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.content-list-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.25rem;
}

.content-card {
    display: grid;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #ffffff;
    color: inherit;
    box-shadow: 0 12px 30px rgb(15 23 42 / 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.content-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--brand-primary) 26%, #e2e8f0);
    box-shadow: 0 22px 46px rgb(15 23 42 / 0.12);
}

.content-card-media {
    position: relative;
    height: 14rem;
    overflow: hidden;
    background: #020617;
}

.content-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255 255 255 / 0.72);
    background: linear-gradient(135deg, var(--brand-primary), #020617);
}

.content-card-type {
    position: absolute;
    left: 1rem;
    top: 1rem;
    border-radius: 9999px;
    background: rgb(255 255 255 / 0.92);
    padding: 0.35rem 0.75rem;
    color: #0f172a;
    font-size: 0.72rem;
    font-weight: 800;
}

.content-card-body {
    padding: 1.2rem;
}

.content-card-body h2 {
    color: #020617;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.35;
}

.content-card:hover h2 {
    color: var(--brand-link-hover);
}

.content-card-body > p {
    margin-top: 0.65rem;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
    margin-top: 1rem;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
}

.content-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.content-countdown,
.content-detail-countdown {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: fit-content;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--brand-primary), color-mix(in srgb, var(--brand-primary) 72%, #020617));
    color: #ffffff;
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 12px 28px color-mix(in srgb, var(--brand-primary) 20%, transparent);
}

.content-countdown {
    margin-bottom: 0.85rem;
}

.content-detail-hero {
    position: relative;
    min-height: 28rem;
    overflow: hidden;
    background: #020617;
}

.content-detail-media {
    position: absolute;
    inset: 0;
}

.content-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-detail-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(2 6 23 / 0.26), rgb(2 6 23 / 0.78) 72%, rgb(2 6 23 / 0.94));
}

.content-detail-copy {
    position: relative;
    z-index: 1;
    min-height: 28rem;
    display: flex;
    align-items: flex-end;
    padding: 4rem 0 3rem;
    color: #ffffff;
}

.content-detail-copy h1 {
    margin-top: 1rem;
    max-width: 54rem;
    font-size: clamp(2.35rem, 5vw, 4.75rem);
    line-height: 0.98;
    font-weight: 800;
}

.content-detail-copy p {
    margin-top: 1rem;
    max-width: 46rem;
    color: rgb(255 255 255 / 0.84);
    font-size: 1.1rem;
    line-height: 1.75;
}

.content-detail-countdown {
    margin-top: 1.2rem;
}

.content-detail-body {
    border-radius: 1rem;
    background: #ffffff;
}

.content-detail-body p {
    text-align: left;
}

.content-detail-info {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #ffffff;
    padding: 1.25rem;
    box-shadow: 0 12px 30px rgb(15 23 42 / 0.06);
}

.content-detail-info h2 {
    margin-bottom: 1rem;
    color: #020617;
    font-size: 1rem;
    font-weight: 800;
}

.content-detail-info ul {
    display: grid;
    gap: 0.8rem;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 700;
}

.home-menu-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    padding: 0.55rem 0.8rem;
    font-size: 0.875rem;
    font-weight: 800;
    color: #475569;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.home-menu-link:hover {
    background: #ffffff;
    color: var(--brand-link-hover);
    box-shadow: 0 8px 20px rgb(15 23 42 / 0.08);
}

.home-menu-link.is-active {
    background: var(--brand-primary);
    color: #ffffff;
    box-shadow: 0 12px 26px color-mix(in srgb, var(--brand-primary) 30%, transparent);
}

.home-mobile-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0.75rem;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: 800;
    background: #f8fafc;
    color: #374151;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.home-mobile-link:hover {
    background: color-mix(in srgb, var(--brand-primary) 10%, white);
    color: var(--brand-link-hover);
}

.home-mobile-link.is-active {
    background: var(--brand-primary);
    color: #ffffff;
}

.home-hero {
    min-height: 38rem;
}

.home-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgb(2 6 23 / 0.84) 0%, rgb(2 6 23 / 0.70) 25%, rgb(2 6 23 / 0.68) 50%, rgb(2 6 23 / 0.70) 75%, rgb(2 6 23 / 0.84) 100%),
        color-mix(in srgb, var(--brand-primary) 22%, transparent);
}

.home-hero-search {
    display: grid;
    grid-template-columns: 1fr auto;
    overflow: hidden;
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 24px 60px rgb(2 6 23 / 0.32);
}

.home-hero-search button {
    background: var(--brand-primary);
}

.floating-logo-field {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.floating-store-logo {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1.25rem;
    background: rgb(255 255 255 / 0.92);
    box-shadow: 0 18px 45px rgb(2 6 23 / 0.28);
    opacity: 0.9;
    animation: floatStoreLogoUp var(--logo-duration, 20s) linear infinite;
    animation-delay: var(--logo-delay, 0s);
    transform: translateY(100%) scale(var(--logo-scale, 1));
}

.floating-store-logo.is-left {
    left: clamp(1rem, 5vw, 5rem);
    margin-left: var(--logo-x, 0%);
}

.floating-store-logo.is-right {
    right: clamp(1rem, 5vw, 5rem);
    margin-right: var(--logo-x, 0%);
}

.floating-store-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

@keyframes floatStoreLogoUp {
    0% {
        opacity: 0;
        top: calc(100% + 5rem);
        transform: translateY(0) scale(var(--logo-scale, 1)) rotate(-3deg);
    }
    12% {
        opacity: 0.9;
    }
    88% {
        opacity: 0.9;
    }
    100% {
        opacity: 0;
        top: -7rem;
        transform: translateY(0) scale(var(--logo-scale, 1)) rotate(3deg);
    }
}

.featured-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 1.25rem;
}

.featured-content-main,
.featured-content-item {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 10px 26px rgb(15 23 42 / 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-content-main:hover,
.featured-content-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgb(15 23 42 / 0.12);
}

.featured-content-main {
    overflow: hidden;
    border-radius: 1.25rem;
}

.featured-content-item {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: 0.875rem;
    overflow: hidden;
    border-radius: 1rem;
    min-height: 8.25rem;
}

.featured-content-link {
    color: var(--brand-link);
}

.featured-content-link:hover {
    color: var(--brand-link-hover);
}

.featured-content-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border-radius: 9999px;
    background: color-mix(in srgb, var(--brand-primary) 12%, white);
    color: var(--brand-primary);
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 800;
}

.featured-mini-countdown {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    background: color-mix(in srgb, var(--brand-accent) 18%, white);
    color: var(--brand-accent);
    padding: 0.3rem 0.6rem;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
}

.home-events-section,
.home-news-section {
    position: relative;
    padding: 4.5rem 0;
    overflow: hidden;
    isolation: isolate;
}

.home-events-section {
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.home-news-section {
    background: #0f172a;
    color: #ffffff;
}

.home-editorial-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.home-editorial-head h2 {
    margin-top: 0.45rem;
    color: #020617;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
    font-weight: 900;
}

.home-editorial-head p:not(.home-section-kicker) {
    margin-top: 0.65rem;
    max-width: 40rem;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
}

.home-editorial-head-dark h2 {
    color: #ffffff;
}

.home-editorial-head-dark p:not(.home-section-kicker) {
    color: #cbd5e1;
}

.home-events-section .home-section-kicker-primary {
    color: #2563eb;
}

.home-news-section .home-section-kicker-accent {
    color: #34d399;
}

.home-section-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    padding: 0.7rem 1rem;
    color: #0f172a;
    font-size: 0.875rem;
    font-weight: 900;
    box-shadow: 0 10px 24px rgb(15 23 42 / 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.home-section-action:hover {
    transform: translateY(-1px);
    border-color: #94a3b8;
    background: #f8fafc;
    color: #0f172a;
}

.home-news-section .home-section-action {
    border-color: rgb(255 255 255 / 0.18);
    background: rgb(255 255 255 / 0.08);
    color: #ffffff;
}

.home-news-section .home-section-action:hover {
    background: rgb(255 255 255 / 0.14);
    color: #ffffff;
}

.home-events-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.24fr) minmax(22rem, 0.76fr);
    gap: 1.35rem;
    align-items: stretch;
}

.home-event-hero {
    display: grid;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 24px 60px rgb(15 23 42 / 0.10);
}

.home-event-hero-media {
    position: relative;
    display: block;
    min-height: 25rem;
    overflow: hidden;
    background: #0f172a;
}

.home-event-hero-media img,
.home-news-feature-media img,
.home-agenda-thumb img,
.home-news-row-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-event-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(2 6 23 / 0.10), rgb(2 6 23 / 0.72));
}

.home-event-date-card {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    display: grid;
    min-width: 5rem;
    border-radius: 0.85rem;
    overflow: hidden;
    text-align: center;
    background: #ffffff;
    box-shadow: 0 18px 40px rgb(2 6 23 / 0.24);
}

.home-event-date-card strong {
    padding: 0.7rem 0.85rem 0;
    color: #020617;
    font-size: 2rem;
    line-height: 1;
    font-weight: 900;
}

.home-event-date-card span {
    padding: 0.2rem 0.85rem 0.7rem;
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.home-event-hero-body {
    position: relative;
    display: grid;
    gap: 1.25rem;
    padding: 1.35rem;
}

.home-event-countdown {
    margin-top: -3.25rem;
    border: 1px solid rgb(255 255 255 / 0.22);
    background: #0f172a;
    box-shadow: 0 18px 34px rgb(15 23 42 / 0.20);
}

.home-event-countdown .event-countdown-unit p:first-child {
    font-size: 1.35rem;
}

.home-event-copy a {
    display: block;
    color: #0f172a;
    font-size: clamp(1.6rem, 3vw, 2.65rem);
    line-height: 1.02;
    font-weight: 900;
}

.home-event-copy a:hover {
    color: #2563eb;
}

.home-event-copy p {
    margin-top: 0.85rem;
    max-width: 44rem;
    color: #475569;
    font-size: 1rem;
    line-height: 1.75;
}

.home-event-meta,
.home-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-top: 1rem;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 800;
}

.home-event-meta span,
.home-news-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.home-agenda-list {
    display: grid;
    gap: 0.85rem;
    align-content: start;
}

.home-agenda-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 1rem;
    background: #0f172a;
    padding: 1rem 1.1rem;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 900;
}

.home-agenda-list-head i {
    color: #93c5fd;
}

.home-agenda-item {
    display: grid;
    grid-template-columns: 4.75rem 6.5rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: stretch;
    min-height: 8.5rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 12px 30px rgb(15 23 42 / 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-agenda-item:hover {
    transform: translateY(-2px);
    border-color: #bfdbfe;
    box-shadow: 0 20px 42px rgb(15 23 42 / 0.12);
}

.home-agenda-date {
    display: grid;
    place-items: center;
    align-content: center;
    border-right: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #020617;
}

.home-agenda-date strong {
    font-size: 1.6rem;
    line-height: 1;
    font-weight: 900;
}

.home-agenda-date span {
    margin-top: 0.2rem;
    color: #2563eb;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.home-agenda-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    margin: 0.65rem 0;
    overflow: hidden;
    border-radius: 0.8rem;
    background: #dbeafe;
    color: #2563eb;
}

.home-agenda-copy {
    display: grid;
    align-content: center;
    min-width: 0;
    padding: 0.9rem 0.9rem 0.9rem 0;
}

.home-agenda-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.45rem;
}

.home-agenda-topline span {
    border-radius: 9999px;
    background: #ecfdf5;
    padding: 0.25rem 0.55rem;
    color: #047857;
    font-size: 0.68rem;
    font-weight: 900;
}

.home-agenda-copy strong {
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 900;
}

.home-agenda-copy > span:last-child {
    display: -webkit-box;
    margin-top: 0.35rem;
    overflow: hidden;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
    gap: 1.35rem;
}

.home-news-feature {
    display: grid;
    grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 0.14);
    border-radius: 1rem;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 28px 60px rgb(2 6 23 / 0.35);
}

.home-news-feature-media {
    min-height: 25rem;
    overflow: hidden;
    background: #1e293b;
}

.home-news-feature-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.home-news-label {
    display: inline-flex;
    width: fit-content;
    border-radius: 9999px;
    background: #ecfdf5;
    padding: 0.4rem 0.8rem;
    color: #047857;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.home-news-feature-body > a {
    display: block;
    margin-top: 1rem;
    color: #020617;
    font-size: clamp(1.65rem, 3vw, 2.75rem);
    line-height: 1.02;
    font-weight: 900;
}

.home-news-feature-body > a:hover {
    color: #047857;
}

.home-news-feature-body > p {
    margin-top: 1rem;
    color: #475569;
    font-size: 1rem;
    line-height: 1.75;
}

.home-news-stack {
    display: grid;
    gap: 0.85rem;
    align-content: start;
}

.home-news-row {
    display: grid;
    grid-template-columns: 3.2rem minmax(0, 1fr) 7rem;
    gap: 1rem;
    align-items: center;
    min-height: 8.25rem;
    border: 1px solid rgb(255 255 255 / 0.12);
    border-radius: 1rem;
    background: rgb(255 255 255 / 0.06);
    padding: 0.65rem;
    color: #ffffff;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.home-news-row:hover {
    transform: translateY(-2px);
    border-color: rgb(52 211 153 / 0.45);
    background: rgb(255 255 255 / 0.10);
    color: #ffffff;
}

.home-news-row-number {
    display: grid;
    place-items: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 9999px;
    background: #ffffff;
    color: #0f172a;
    font-weight: 900;
}

.home-news-row-copy {
    display: grid;
    min-width: 0;
}

.home-news-row-copy > span {
    color: #86efac;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

.home-news-row-copy strong {
    margin-top: 0.25rem;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 900;
}

.home-news-row-copy em {
    display: -webkit-box;
    margin-top: 0.3rem;
    overflow: hidden;
    color: #cbd5e1;
    font-size: 0.82rem;
    font-style: normal;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-news-row-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7rem;
    height: 6.5rem;
    overflow: hidden;
    border-radius: 0.8rem;
    background: rgb(255 255 255 / 0.10);
    color: #86efac;
}

.home-content-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: #1e293b;
    color: #93c5fd;
}

.home-content-placeholder.is-news {
    color: #86efac;
}

.home-content-placeholder i {
    font-size: 3.5rem;
}

.home-events-section {
    background:
        linear-gradient(180deg, #07111f 0%, #0f172a 58%, #111827 100%);
    color: #ffffff;
}

.home-events-section .home-editorial-head h2 {
    color: #ffffff;
}

.home-events-section .home-editorial-head p:not(.home-section-kicker) {
    color: #cbd5e1;
}

.home-events-section .home-section-action {
    border-color: rgb(255 255 255 / 0.18);
    background: rgb(255 255 255 / 0.08);
    color: #ffffff;
    box-shadow: none;
}

.home-events-section .home-section-action:hover {
    border-color: rgb(147 197 253 / 0.55);
    background: rgb(255 255 255 / 0.14);
    color: #ffffff;
}

.home-events-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(21rem, 0.55fr);
    gap: 1.5rem;
    align-items: stretch;
}

.home-event-feature {
    position: relative;
    min-height: 39rem;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 0.12);
    border-radius: 0.75rem;
    background: #020617;
    box-shadow: 0 30px 70px rgb(2 6 23 / 0.42);
}

.home-event-feature-media {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    background: #020617;
}

.home-event-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-event-feature-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgb(2 6 23 / 0.88) 0%, rgb(2 6 23 / 0.62) 42%, rgb(2 6 23 / 0.24) 100%),
        linear-gradient(180deg, rgb(2 6 23 / 0.10) 0%, rgb(2 6 23 / 0.78) 100%);
}

.home-event-feature-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    max-width: 48rem;
    padding: 2rem;
}

.home-event-feature-date {
    display: grid;
    place-items: center;
    border-left: 2px solid #60a5fa;
    padding: 0.25rem 0 0.25rem 1rem;
    text-align: left;
}

.home-event-feature-date span {
    justify-self: start;
    color: #93c5fd;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.home-event-feature-date strong {
    justify-self: start;
    color: #ffffff;
    font-size: 3.5rem;
    line-height: 0.95;
    font-weight: 900;
}

.home-event-eyebrow {
    display: inline-flex;
    width: fit-content;
    border: 1px solid rgb(147 197 253 / 0.32);
    border-radius: 9999px;
    background: rgb(147 197 253 / 0.12);
    padding: 0.35rem 0.7rem;
    color: #bfdbfe;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.home-event-feature .home-event-copy a {
    margin-top: 1rem;
    color: #ffffff;
    font-size: clamp(2rem, 4.2vw, 4.5rem);
    letter-spacing: 0;
    text-wrap: balance;
}

.home-event-feature .home-event-copy a:hover {
    color: #bfdbfe;
}

.home-event-feature .home-event-copy p {
    max-width: 39rem;
    color: #dbeafe;
    font-size: 1.04rem;
}

.home-event-feature .home-event-meta {
    color: #e2e8f0;
}

.home-event-feature .home-event-meta i {
    color: #93c5fd;
}

.home-event-feature .home-event-countdown {
    position: absolute;
    z-index: 2;
    right: 1.25rem;
    bottom: 1.25rem;
    left: 1.25rem;
    margin-top: 0;
    border: 1px solid rgb(255 255 255 / 0.16);
    border-radius: 0.55rem;
    background: rgb(2 6 23 / 0.82);
    box-shadow: none;
    backdrop-filter: blur(12px);
}

.home-event-feature .event-countdown-unit {
    padding: 0.85rem 0.4rem;
}

.home-agenda-panel {
    display: flex;
    flex-direction: column;
    border: 1px solid rgb(255 255 255 / 0.12);
    border-radius: 0.75rem;
    background: rgb(255 255 255 / 0.055);
    overflow: hidden;
}

.home-agenda-panel .home-agenda-list-head {
    border-radius: 0;
    border-bottom: 1px solid rgb(255 255 255 / 0.10);
    background: transparent;
    color: #ffffff;
}

.home-agenda-rows {
    display: grid;
}

.home-agenda-row {
    display: grid;
    grid-template-columns: 4.6rem minmax(0, 1fr) 2rem;
    gap: 1rem;
    align-items: center;
    min-height: 8.25rem;
    border-bottom: 1px solid rgb(255 255 255 / 0.10);
    padding: 1rem;
    color: #ffffff;
    transition: background-color 0.2s ease;
}

.home-agenda-row:hover {
    background: rgb(255 255 255 / 0.07);
    color: #ffffff;
}

.home-agenda-row .home-agenda-date {
    display: grid;
    align-content: center;
    justify-items: start;
    border: 0;
    border-left: 2px solid #60a5fa;
    background: transparent;
    padding-left: 0.85rem;
    color: #ffffff;
}

.home-agenda-row .home-agenda-date span {
    order: 1;
    margin-top: 0;
    color: #93c5fd;
}

.home-agenda-row .home-agenda-date strong {
    order: 2;
    color: #ffffff;
    font-size: 1.75rem;
}

.home-agenda-row .home-agenda-copy {
    padding: 0;
}

.home-agenda-row .home-agenda-topline span {
    background: rgb(52 211 153 / 0.15);
    color: #a7f3d0;
}

.home-agenda-row .home-agenda-copy strong {
    color: #ffffff;
}

.home-agenda-row .home-agenda-copy > span:last-child {
    color: #cbd5e1;
}

.home-agenda-arrow {
    display: grid;
    place-items: center;
    color: #93c5fd;
    opacity: 0.75;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.home-agenda-row:hover .home-agenda-arrow {
    transform: translateX(3px);
    opacity: 1;
}

.home-agenda-all {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding: 1rem;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 900;
}

.home-agenda-all:hover {
    color: #bfdbfe;
}

@keyframes homeWaveDrift {
    from { transform: translateX(-2rem); }
    to { transform: translateX(2rem); }
}

.home-events-section::before,
.home-news-section::before {
    content: "";
    position: absolute;
    inset: auto -8% 0;
    z-index: 0;
    height: 7rem;
    opacity: 0.42;
    background:
        radial-gradient(55% 110% at 18% 100%, rgb(96 165 250 / 0.22), transparent 62%),
        radial-gradient(42% 90% at 62% 100%, rgb(52 211 153 / 0.20), transparent 64%),
        linear-gradient(90deg, transparent, rgb(255 255 255 / 0.10), transparent);
    clip-path: polygon(0 54%, 8% 44%, 17% 52%, 27% 38%, 38% 48%, 48% 33%, 60% 47%, 72% 34%, 84% 48%, 100% 36%, 100% 100%, 0 100%);
    animation: homeWaveDrift 9s ease-in-out infinite alternate;
}

.home-events-section > .max-w-7xl,
.home-news-section > .max-w-7xl {
    position: relative;
    z-index: 1;
}

.home-events-section {
    padding: 3.25rem 0;
}

.home-events-section .home-editorial-head,
.home-news-section .home-editorial-head {
    margin-bottom: 1.35rem;
}

.home-events-section .home-editorial-head h2,
.home-news-section .home-editorial-head h2 {
    font-size: clamp(1.85rem, 3vw, 2.9rem);
}

.home-events-stage {
    grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
    gap: 1rem;
}

.home-event-feature {
    min-height: 28rem;
    border-radius: 0.5rem;
}

.home-event-feature-content {
    max-width: 40rem;
    padding: 1.45rem;
}

.home-event-feature-date strong {
    font-size: 2.85rem;
}

.home-event-feature .home-event-copy a {
    font-size: clamp(1.8rem, 3vw, 3.45rem);
}

.home-event-feature .home-event-copy p {
    margin-top: 0.65rem;
    font-size: 0.96rem;
    line-height: 1.6;
}

.home-event-feature .home-event-countdown {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
}

.home-event-feature .event-countdown-unit {
    padding: 0.65rem 0.35rem;
}

.home-event-feature .home-event-countdown .event-countdown-unit p:first-child {
    font-size: 1.05rem;
}

.home-agenda-panel {
    border-radius: 0.5rem;
}

.home-agenda-row {
    min-height: 6.25rem;
    padding: 0.75rem 0.85rem;
}

.home-agenda-row .home-agenda-date strong {
    font-size: 1.35rem;
}

.home-agenda-copy > span:last-child {
    -webkit-line-clamp: 1;
}

.home-agenda-all {
    padding: 0.85rem 1rem;
}

.home-news-section {
    padding: 3.25rem 0;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #0f172a;
}

.home-news-section::before {
    opacity: 0.30;
    background:
        radial-gradient(55% 110% at 18% 100%, rgb(16 185 129 / 0.16), transparent 62%),
        radial-gradient(42% 90% at 62% 100%, rgb(79 70 229 / 0.12), transparent 64%),
        linear-gradient(90deg, transparent, rgb(15 23 42 / 0.07), transparent);
}

.home-news-section .home-editorial-head h2 {
    color: #0f172a;
}

.home-news-section .home-editorial-head p:not(.home-section-kicker) {
    color: #64748b;
}

.home-news-section .home-section-action {
    border-color: #dbe3ef;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 10px 24px rgb(15 23 42 / 0.06);
}

.home-news-section .home-section-action:hover {
    background: #f8fafc;
    color: #0f172a;
}

.home-news-layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 1.08fr);
    gap: 1rem;
}

.home-news-feature {
    grid-template-columns: 1fr;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    box-shadow: 0 20px 46px rgb(15 23 42 / 0.09);
}

.home-news-feature-media {
    min-height: 13rem;
}

.home-news-feature-body {
    padding: 1.25rem;
}

.home-news-feature-body > a {
    font-size: clamp(1.35rem, 2vw, 2rem);
}

.home-news-feature-body > p {
    margin-top: 0.75rem;
    font-size: 0.93rem;
    line-height: 1.6;
}

.home-news-stack {
    gap: 0.65rem;
}

.home-news-row {
    min-height: 5.6rem;
    grid-template-columns: 2.7rem minmax(0, 1fr) 5.2rem;
    border-color: #e2e8f0;
    border-radius: 0.5rem;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 10px 26px rgb(15 23 42 / 0.05);
}

.home-news-row:hover {
    border-color: #bbf7d0;
    background: #f8fffb;
    color: #0f172a;
}

.home-news-row-number {
    width: 2.7rem;
    height: 2.7rem;
    background: #0f172a;
    color: #ffffff;
}

.home-news-row-copy strong {
    color: #0f172a;
}

.home-news-row-copy em {
    color: #64748b;
    -webkit-line-clamp: 1;
}

.home-news-row-media {
    width: 5.2rem;
    height: 4.55rem;
    border-radius: 0.4rem;
    background: #ecfdf5;
    color: #047857;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.gallery-lightbox.hidden {
    display: none;
}

.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgb(2 6 23 / 0.82);
}

.gallery-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 64rem);
    max-height: calc(100vh - 2.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.gallery-lightbox-image {
    max-width: 100%;
    max-height: calc(100vh - 7rem);
    border-radius: 0.75rem;
    object-fit: contain;
    background: #020617;
    box-shadow: 0 24px 80px rgb(0 0 0 / 0.38);
}

.gallery-lightbox-title {
    max-width: 100%;
    border-radius: 9999px;
    background: rgb(255 255 255 / 0.92);
    padding: 0.45rem 0.85rem;
    color: #0f172a;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: center;
}

.gallery-lightbox-close {
    position: absolute;
    top: -0.75rem;
    right: -0.75rem;
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid rgb(255 255 255 / 0.3);
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 12px 32px rgb(0 0 0 / 0.28);
}

@media (max-width: 1023px) {
    .floating-store-logo {
        width: 3.75rem;
        height: 3.75rem;
    }

    .public-video-hero-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .public-hero-count {
        text-align: left;
    }

    .featured-content-grid {
        grid-template-columns: 1fr;
    }

    .home-events-layout,
    .home-events-stage,
    .home-news-layout,
    .home-news-feature {
        grid-template-columns: 1fr;
    }

    .home-news-feature-media {
        min-height: 18rem;
    }
}

@media (min-width: 768px) {
    .content-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .content-list-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-hero-search {
        grid-template-columns: 1fr;
    }

    .public-video-hero,
    .public-video-hero-inner {
        min-height: 18rem;
    }

    .public-video-hero h1 {
        font-size: 2.35rem;
    }

    .public-video-hero p {
        font-size: 0.95rem;
    }

    .content-detail-hero,
    .content-detail-copy {
        min-height: 26rem;
    }

    .featured-content-item {
        grid-template-columns: 5.5rem minmax(0, 1fr);
    }

    .home-events-section,
    .home-news-section {
        padding: 3rem 0;
    }

    .home-editorial-head {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 1.4rem;
    }

    .home-editorial-head h2 {
        font-size: 2.15rem;
    }

    .home-section-action {
        width: 100%;
        justify-content: center;
    }

    .home-event-hero-media {
        min-height: 19rem;
    }

    .home-event-feature {
        min-height: 35rem;
    }

    .home-event-feature-content {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        padding: 1.25rem;
    }

    .home-event-feature-date {
        width: fit-content;
        grid-auto-flow: column;
        gap: 0.6rem;
        align-items: baseline;
        padding-left: 0.75rem;
    }

    .home-event-feature-date strong {
        font-size: 2.25rem;
    }

    .home-event-feature .home-event-copy a {
        font-size: 2.3rem;
    }

    .home-event-feature .home-event-countdown {
        right: 0.85rem;
        bottom: 0.85rem;
        left: 0.85rem;
    }

    .home-agenda-row {
        grid-template-columns: 3.6rem minmax(0, 1fr);
        min-height: 0;
    }

    .home-agenda-arrow {
        display: none;
    }

    .home-event-date-card {
        top: 1rem;
        left: 1rem;
        min-width: 4.4rem;
    }

    .home-event-date-card strong {
        font-size: 1.65rem;
    }

    .home-event-hero-body {
        padding: 1rem;
    }

    .home-event-countdown {
        margin-top: -2.5rem;
    }

    .home-event-countdown .event-countdown-unit p:first-child {
        font-size: 1rem;
    }

    .event-countdown-unit {
        padding: 0.55rem 0.2rem;
    }

    .home-agenda-item {
        grid-template-columns: 3.75rem minmax(0, 1fr);
        gap: 0.75rem;
        min-height: 0;
        padding-right: 0.85rem;
    }

    .home-agenda-thumb {
        display: none;
    }

    .home-agenda-copy {
        padding: 0.9rem 0;
    }

    .home-news-feature-body {
        padding: 1.25rem;
    }

    .home-news-feature-media {
        min-height: 16rem;
    }

    .home-news-row {
        grid-template-columns: 2.75rem minmax(0, 1fr);
        gap: 0.75rem;
        min-height: 0;
    }

    .home-news-row-number {
        width: 2.75rem;
        height: 2.75rem;
    }

    .home-news-row-media {
        display: none;
    }
}

/* Home editorial compacto: eventos y noticias */
.home-events-section,
.home-news-section {
    padding: 2.75rem 0 !important;
}

.home-events-section {
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    color: #0f172a !important;
}

.home-events-section::before,
.home-news-section::before {
    top: 0.75rem;
    bottom: auto;
    height: 4.5rem;
    opacity: 0.22;
    background:
        radial-gradient(42% 95% at 20% 100%, rgb(59 130 246 / 0.22), transparent 60%),
        radial-gradient(38% 80% at 78% 80%, rgb(16 185 129 / 0.16), transparent 62%);
    clip-path: polygon(0 62%, 10% 50%, 20% 64%, 34% 44%, 47% 60%, 62% 42%, 74% 56%, 88% 40%, 100% 54%, 100% 100%, 0 100%);
}

.home-events-section .home-editorial-head,
.home-news-section .home-editorial-head {
    margin-bottom: 1rem !important;
}

.home-events-section .home-editorial-head h2,
.home-news-section .home-editorial-head h2 {
    color: #0f172a !important;
    font-size: clamp(1.65rem, 2.45vw, 2.35rem) !important;
}

.home-events-section .home-editorial-head p:not(.home-section-kicker),
.home-news-section .home-editorial-head p:not(.home-section-kicker) {
    max-width: 34rem;
    color: #64748b !important;
    font-size: 0.95rem;
}

.home-events-section .home-section-action,
.home-news-section .home-section-action {
    border-color: #dbe3ef !important;
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: 0 8px 20px rgb(15 23 42 / 0.05) !important;
}

.home-events-stage {
    grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr) !important;
    gap: 1rem !important;
}

.home-event-feature {
    display: grid !important;
    grid-template-columns: 15rem minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    min-height: 0 !important;
    overflow: hidden;
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.5rem !important;
    background: #ffffff !important;
    box-shadow: 0 14px 34px rgb(15 23 42 / 0.07) !important;
}

.home-event-feature-media {
    position: relative !important;
    inset: auto !important;
    grid-row: 1 / span 2;
    min-height: 17rem !important;
    background: #e2e8f0 !important;
}

.home-event-feature-overlay {
    display: none !important;
}

.home-event-feature-content {
    grid-template-columns: 4rem minmax(0, 1fr) !important;
    gap: 1rem !important;
    max-width: none !important;
    padding: 1.1rem 1.2rem 0.8rem !important;
}

.home-event-feature-date {
    border-left: 0 !important;
    border-right: 1px solid #e2e8f0;
    padding: 0 0.8rem 0 0 !important;
}

.home-event-feature-date span {
    color: #2563eb !important;
    font-size: 0.7rem !important;
}

.home-event-feature-date strong {
    color: #0f172a !important;
    font-size: 2.15rem !important;
}

.home-event-eyebrow {
    border-color: #bfdbfe !important;
    background: #eff6ff !important;
    color: #2563eb !important;
}

.home-event-feature .home-event-copy a {
    margin-top: 0.65rem !important;
    color: #0f172a !important;
    font-size: clamp(1.35rem, 2.1vw, 2.05rem) !important;
    line-height: 1.08 !important;
}

.home-event-feature .home-event-copy a:hover {
    color: #2563eb !important;
}

.home-event-feature .home-event-copy p {
    margin-top: 0.55rem !important;
    max-width: 34rem !important;
    color: #64748b !important;
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
}

.home-event-feature .home-event-meta {
    margin-top: 0.75rem !important;
    color: #475569 !important;
    font-size: 0.8rem !important;
}

.home-event-feature .home-event-meta i {
    color: #2563eb !important;
}

.home-event-feature .home-event-countdown {
    position: static !important;
    grid-column: 2;
    margin: 0 1.2rem 1.1rem !important;
    border: 0 !important;
    border-radius: 0.45rem !important;
    background: #0f172a !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.home-event-feature .event-countdown-unit {
    padding: 0.52rem 0.25rem !important;
}

.home-event-feature .home-event-countdown .event-countdown-unit p:first-child {
    font-size: 0.98rem !important;
}

.home-agenda-panel {
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.5rem !important;
    background: #ffffff !important;
    box-shadow: 0 14px 34px rgb(15 23 42 / 0.05);
}

.home-agenda-panel .home-agenda-list-head {
    border-bottom: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    padding: 0.8rem 1rem !important;
}

.home-agenda-row {
    min-height: 5.15rem !important;
    grid-template-columns: 3.6rem minmax(0, 1fr) 1.5rem !important;
    gap: 0.75rem !important;
    border-bottom: 1px solid #eef2f7 !important;
    padding: 0.72rem 0.9rem !important;
    color: #0f172a !important;
}

.home-agenda-row:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
}

.home-agenda-row .home-agenda-date {
    border-left: 0 !important;
    border-right: 1px solid #e2e8f0 !important;
    padding-left: 0 !important;
    color: #0f172a !important;
}

.home-agenda-row .home-agenda-date span {
    color: #2563eb !important;
    font-size: 0.66rem !important;
}

.home-agenda-row .home-agenda-date strong {
    color: #0f172a !important;
    font-size: 1.25rem !important;
}

.home-agenda-row .home-agenda-topline {
    margin-bottom: 0.28rem !important;
}

.home-agenda-row .home-agenda-topline span {
    background: #ecfdf5 !important;
    color: #047857 !important;
    padding: 0.18rem 0.45rem !important;
}

.home-agenda-row .home-agenda-copy strong {
    color: #0f172a !important;
    font-size: 0.92rem !important;
}

.home-agenda-row .home-agenda-copy > span:last-child {
    color: #64748b !important;
    font-size: 0.78rem !important;
}

.home-agenda-arrow,
.home-agenda-all {
    color: #2563eb !important;
}

.home-agenda-all {
    padding: 0.75rem 0.95rem !important;
    font-size: 0.82rem !important;
}

.home-news-section {
    padding-top: 2.9rem !important;
}

.home-news-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr) !important;
}

.home-news-feature-media {
    min-height: 11.25rem !important;
}

.home-news-feature-body {
    padding: 1rem !important;
}

.home-news-row {
    min-height: 4.9rem !important;
}

@media (max-width: 1023px) {
    .home-events-stage,
    .home-news-layout {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .home-events-section,
    .home-news-section {
        padding: 2.2rem 0 !important;
    }

    .home-editorial-head {
        gap: 0.85rem;
    }

    .home-event-feature {
        grid-template-columns: 1fr !important;
    }

    .home-event-feature-media {
        grid-row: auto;
        min-height: 12.5rem !important;
    }

    .home-event-feature-content {
        grid-template-columns: 1fr !important;
    }

    .home-event-feature-date {
        width: fit-content;
        grid-auto-flow: column;
        gap: 0.5rem;
        border-right: 0;
        border-left: 2px solid #2563eb !important;
        padding-left: 0.65rem !important;
    }

    .home-event-feature .home-event-countdown {
        grid-column: auto;
        margin: 0 1rem 1rem !important;
    }

    .home-agenda-row {
        grid-template-columns: 3.25rem minmax(0, 1fr) !important;
    }
}

/* Ajustes finales ligados al tema del admin */
.home-events-section {
    --section-primary: var(--brand-primary);
    --section-accent: var(--brand-accent);
}

.home-events-section .home-section-kicker-primary,
.home-event-feature-date span,
.home-agenda-row .home-agenda-date span,
.home-agenda-arrow,
.home-agenda-all,
.home-event-feature .home-event-meta i {
    color: var(--section-primary) !important;
}

.home-event-feature-date,
.home-agenda-row .home-agenda-date {
    border-color: color-mix(in srgb, var(--section-primary) 22%, #e2e8f0) !important;
}

.home-event-eyebrow {
    border-color: color-mix(in srgb, var(--section-primary) 28%, #ffffff) !important;
    background: color-mix(in srgb, var(--section-primary) 10%, #ffffff) !important;
    color: var(--section-primary) !important;
}

.home-event-feature .home-event-copy a:hover {
    color: var(--section-primary) !important;
}

.home-agenda-row .home-agenda-topline span {
    background: color-mix(in srgb, var(--section-accent) 14%, #ffffff) !important;
    color: color-mix(in srgb, var(--section-accent) 82%, #0f172a) !important;
}

.home-events-section::before,
.home-news-section::before {
    background:
        radial-gradient(42% 95% at 20% 100%, color-mix(in srgb, var(--brand-primary) 20%, transparent), transparent 60%),
        radial-gradient(38% 80% at 78% 80%, color-mix(in srgb, var(--brand-accent) 18%, transparent), transparent 62%) !important;
}

.home-products-section {
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0;
    background:
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.home-products-icons-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.home-products-icons-bg::before,
.home-products-icons-bg::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 7rem;
    background: linear-gradient(90deg, rgb(248 250 252 / 0), #f8fafc 52%, rgb(248 250 252 / 0));
    opacity: 0.75;
}

.home-products-icons-bg::before {
    left: 0;
}

.home-products-icons-bg::after {
    right: 0;
}

.home-products-bg-icon {
    position: absolute;
    left: 2.5rem;
    top: calc(-2rem + var(--icon-index) * 5.1rem);
    display: grid;
    place-items: center;
    width: 3.1rem;
    height: 3.1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    color: #cbd5e1;
    font-size: 1.1rem;
    transform: rotate(-8deg);
}

.home-products-bg-icon:nth-child(even) {
    left: auto;
    right: 2.25rem;
    transform: rotate(8deg);
}

.home-products-bg-icon:nth-child(4n + 1) {
    left: 5.75rem;
}

.home-products-bg-icon:nth-child(4n + 2) {
    right: 5.5rem;
}

.home-products-section .text-indigo-600,
.home-products-section .hover\:text-indigo-700:hover {
    color: var(--brand-primary) !important;
}

@media (max-width: 1023px) {
    .home-products-bg-icon {
        opacity: 0.45;
    }
}

@media (max-width: 640px) {
    .home-products-section {
        padding: 2.6rem 0;
    }

    .home-products-bg-icon {
        display: none;
    }
}

/* Final home visual pass */
.home-hero {
    min-height: clamp(34rem, 78vh, 48rem);
    background: #08020c;
}

.home-hero-video {
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.02);
}

.home-hero-overlay {
    background:
        radial-gradient(circle at 50% 42%, rgb(255 255 255 / 0.04), transparent 22rem),
        linear-gradient(180deg, rgb(10 3 15 / 0.50) 0%, rgb(10 3 15 / 0.74) 54%, rgb(10 3 15 / 0.92) 100%),
        linear-gradient(90deg, rgb(8 2 12 / 0.92) 0%, rgb(8 2 12 / 0.62) 28%, rgb(8 2 12 / 0.62) 72%, rgb(8 2 12 / 0.92) 100%);
    backdrop-filter: blur(1.5px);
}

.floating-store-logo {
    width: 5rem;
    height: 5rem;
    background: rgb(255 255 255 / 0.98);
    box-shadow: 0 22px 52px rgb(0 0 0 / 0.34), inset 0 0 0 1px rgb(255 255 255 / 0.82);
    opacity: 1;
    filter: saturate(1.08) contrast(1.08);
}

.home-events-section {
    background: linear-gradient(180deg, #fff 0%, #fbfbfc 45%, #f2f4f7 100%);
}

.home-events-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(19rem, 0.78fr);
    gap: 1.35rem;
    align-items: stretch;
}

.home-event-feature {
    position: relative;
    display: grid;
    grid-template-rows: minmax(18rem, 0.9fr) auto auto;
    overflow: hidden;
    border: 0;
    border-radius: 1.35rem;
    background: rgb(255 255 255 / 0.84);
    box-shadow: 0 30px 70px rgb(15 23 42 / 0.13);
    backdrop-filter: blur(16px);
}

.home-event-feature-media {
    position: relative;
    display: block;
    min-height: clamp(18rem, 33vw, 28rem);
    overflow: hidden;
    background: #0f172a;
}

.home-event-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-event-feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgb(2 6 23 / 0.48) 100%);
}

.home-event-feature-content {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.1rem;
    padding: 1.4rem;
}

.home-event-feature-date {
    display: grid;
    place-items: center;
    align-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    background: #0f172a;
    color: #fff;
    box-shadow: 0 16px 38px rgb(15 23 42 / 0.2);
}

.home-event-feature-date span {
    color: color-mix(in srgb, var(--brand-accent) 82%, white);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.home-event-feature-date strong {
    font-size: 2.1rem;
    line-height: 1;
    font-weight: 900;
}

.home-event-eyebrow {
    display: inline-flex;
    width: fit-content;
    border-radius: 9999px;
    background: color-mix(in srgb, var(--brand-primary) 10%, white);
    padding: 0.32rem 0.65rem;
    color: var(--brand-primary);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.home-event-feature .home-event-copy a {
    margin-top: 0.55rem;
    font-size: clamp(1.8rem, 3.6vw, 3.35rem);
    line-height: 0.98;
}

.home-event-feature .home-event-countdown {
    margin: 0 1.4rem 1.4rem;
    overflow: hidden;
    border-radius: 1rem;
    background: linear-gradient(90deg, var(--brand-primary), color-mix(in srgb, var(--brand-primary) 70%, #020617));
    box-shadow: 0 18px 42px color-mix(in srgb, var(--brand-primary) 28%, transparent);
}

.home-agenda-panel {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 0.8rem;
    border-radius: 1.35rem;
    background: #111827;
    padding: 1rem;
    color: #fff;
    box-shadow: 0 30px 70px rgb(15 23 42 / 0.16);
}

.home-agenda-rows {
    display: grid;
    gap: 0.75rem;
    align-content: start;
}

.home-agenda-row {
    display: grid;
    grid-template-columns: 4.2rem minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
    min-height: 0;
    border: 0;
    border-radius: 1rem;
    background: rgb(255 255 255 / 0.08);
    padding: 0.75rem;
    color: #fff;
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.home-agenda-row:hover {
    transform: translateX(3px);
    background: rgb(255 255 255 / 0.14);
    color: #fff;
}

.home-agenda-row .home-agenda-date {
    border: 0;
    border-radius: 0.8rem;
    background: #fff;
}

.home-agenda-row .home-agenda-copy strong {
    color: #fff;
}

.home-agenda-row .home-agenda-copy > span:last-child {
    color: #cbd5e1;
}

.home-agenda-arrow {
    display: grid;
    place-items: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 9999px;
    background: rgb(255 255 255 / 0.10);
}

.home-agenda-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 1rem;
    background: #fff;
    padding: 0.85rem 1rem;
    color: #0f172a;
    font-size: 0.875rem;
    font-weight: 900;
}

.home-products-section {
    background:
        radial-gradient(circle at 12% 20%, rgb(220 38 38 / 0.08), transparent 20rem),
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.home-products-bg-icon {
    color: rgb(15 23 42 / 0.055);
    animation: productIconDrift 15s linear infinite;
    animation-delay: calc(var(--icon-index) * -1.2s);
}

.product-glass-card {
    border: 0;
    border-radius: 1.15rem;
    background: rgb(255 255 255 / 0.56);
    box-shadow: 0 22px 55px rgb(15 23 42 / 0.10);
    backdrop-filter: blur(18px);
}

.product-glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.62);
}

.product-glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgb(15 23 42 / 0.16);
}

.product-glass-body p:first-child {
    color: var(--brand-primary);
}

.product-glass-body a:not(.product-glass-link):not(.product-glass-primary) {
    color: #0f172a;
}

.product-glass-body a:not(.product-glass-link):not(.product-glass-primary):hover {
    color: var(--brand-primary);
}

.product-glass-link {
    background: rgb(255 255 255 / 0.66);
    color: #334155;
    box-shadow: inset 0 0 0 1px rgb(148 163 184 / 0.24);
}

.product-glass-primary {
    background: var(--brand-primary);
}

.public-footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #111827 0%, #0f172a 45%, #141018 100%);
    color: #cbd5e1;
}

.public-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--brand-primary) 28%, transparent), transparent 18rem),
        radial-gradient(circle at 85% 8%, color-mix(in srgb, var(--brand-accent) 18%, transparent), transparent 16rem);
    opacity: 0.82;
    pointer-events: none;
}

.public-footer > * {
    position: relative;
    z-index: 1;
}

.public-footer-wave {
    height: 5rem;
    background: #f8fafc;
}

.public-footer-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

.public-footer-wave path {
    fill: #111827;
}

.public-footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: -0.5rem;
    margin-bottom: 3rem;
    border-radius: 1.35rem;
    background: rgb(255 255 255 / 0.08);
    padding: 1.4rem;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.10);
    backdrop-filter: blur(18px);
}

.public-footer-kicker {
    color: color-mix(in srgb, var(--brand-accent) 80%, white);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.public-footer-cta h2 {
    margin-top: 0.35rem;
    color: #fff;
    font-size: clamp(1.45rem, 3vw, 2.45rem);
    line-height: 1.08;
    font-weight: 900;
}

.public-footer-cta-actions,
.public-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.public-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 9999px;
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    font-weight: 900;
}

.public-footer-btn-light {
    background: #fff;
    color: #0f172a;
}

.public-footer-btn-primary {
    background: var(--footer-primary, var(--brand-primary));
    color: #fff;
}

.public-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.9fr));
    gap: 2rem;
    padding-bottom: 2.5rem;
}

.public-footer-logo-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
}

.public-footer-logo {
    display: grid;
    place-items: center;
    width: 3.1rem;
    height: 3.1rem;
    overflow: hidden;
    border-radius: 0.95rem;
    color: #fff;
}

.public-footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.public-footer-brand p {
    margin-top: 1rem;
    max-width: 24rem;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.8;
}

.public-footer-location {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1.15rem;
    border-radius: 9999px;
    background: rgb(255 255 255 / 0.08);
    padding: 0.65rem 0.9rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
}

.public-footer-col h4 {
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 900;
}

.public-footer-col ul {
    display: grid;
    gap: 0.65rem;
}

.public-footer-col a,
.public-footer-contact li {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.public-footer-col a:hover {
    color: #fff;
    transform: translateX(2px);
}

.public-footer-col i {
    width: 1rem;
    color: color-mix(in srgb, var(--brand-accent) 80%, white);
}

.public-footer-social {
    margin-top: 1rem;
}

.public-footer-social a {
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 9999px;
    background: rgb(255 255 255 / 0.10);
    color: #fff;
}

.public-footer-social a:hover {
    background: var(--brand-primary);
    transform: translateY(-2px);
}

.public-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgb(255 255 255 / 0.10);
    padding: 1.15rem 0;
    color: #94a3b8;
    font-size: 0.78rem;
}

@media (max-width: 1023px) {
    .home-events-stage,
    .public-footer-grid {
        grid-template-columns: 1fr;
    }

    .public-footer-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .floating-store-logo {
        width: 3.75rem;
        height: 3.75rem;
    }

    .home-event-feature-content {
        grid-template-columns: 1fr;
    }

    .home-agenda-row {
        grid-template-columns: 3.6rem minmax(0, 1fr);
    }

    .home-agenda-arrow {
        display: none;
    }

    .public-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Event carousel cards */
.home-events-section {
    padding: 4.25rem 0;
    background:
        radial-gradient(circle at 12% 4%, color-mix(in srgb, var(--brand-primary) 10%, transparent), transparent 18rem),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.home-events-section .home-editorial-head {
    margin-bottom: 1.5rem;
}

.home-events-section .home-editorial-head h2 {
    font-size: clamp(2.25rem, 4vw, 3.6rem);
    letter-spacing: 0;
}

.home-event-carousel-shell {
    position: relative;
    margin-inline: -0.5rem;
}

.home-event-carousel {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding: 0.5rem 0.5rem 1.4rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.home-event-carousel::-webkit-scrollbar {
    display: none;
}

.home-event-card {
    position: relative;
    flex: 0 0 clamp(18.5rem, 29vw, 24rem);
    min-height: 31rem;
    overflow: hidden;
    border-radius: 1.35rem;
    background: rgb(255 255 255 / 0.78);
    box-shadow: 0 24px 56px rgb(15 23 42 / 0.11);
    scroll-snap-align: start;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(18px);
}

.home-event-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.72);
}

.home-event-card::after {
    content: "";
    position: absolute;
    right: -3rem;
    bottom: -3rem;
    width: 9rem;
    height: 9rem;
    border-radius: 9999px;
    background: color-mix(in srgb, var(--brand-primary) 12%, transparent);
    pointer-events: none;
}

.home-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 34px 72px rgb(15 23 42 / 0.17);
}

.home-event-card-media {
    position: relative;
    display: block;
    height: 13.25rem;
    overflow: hidden;
    background: #111827;
}

.home-event-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-event-card-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgb(15 23 42 / 0.04) 0%, rgb(15 23 42 / 0.58) 100%),
        radial-gradient(circle at 20% 20%, rgb(255 255 255 / 0.16), transparent 12rem);
}

.home-event-card-date {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: grid;
    min-width: 4.65rem;
    overflow: hidden;
    border-radius: 1rem;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 18px 36px rgb(2 6 23 / 0.22);
}

.home-event-card-date span {
    padding-top: 0.65rem;
    color: var(--brand-primary);
    font-size: 0.7rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.home-event-card-date strong {
    padding: 0.2rem 0.8rem 0.65rem;
    color: #0f172a;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.home-event-card-chip {
    position: absolute;
    right: 1rem;
    top: 1rem;
    border-radius: 9999px;
    background: color-mix(in srgb, var(--brand-accent) 22%, white);
    padding: 0.42rem 0.72rem;
    color: #047857;
    font-size: 0.72rem;
    font-weight: 900;
    box-shadow: 0 12px 24px rgb(2 6 23 / 0.16);
}

.home-event-card-body {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 17.75rem;
    flex-direction: column;
    padding: 1.15rem;
}

.home-event-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.home-event-card-topline span {
    border-radius: 9999px;
    background: color-mix(in srgb, var(--brand-primary) 10%, white);
    padding: 0.35rem 0.65rem;
    color: var(--brand-primary);
    font-size: 0.66rem;
    font-weight: 900;
    text-transform: uppercase;
}

.home-event-card-topline em {
    max-width: 9rem;
    overflow: hidden;
    color: #64748b;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-event-card-title {
    display: -webkit-box;
    min-height: 3.65rem;
    overflow: hidden;
    color: #0f172a;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.08;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-event-card-title:hover {
    color: var(--brand-primary);
}

.home-event-card-body p {
    display: -webkit-box;
    min-height: 3.9rem;
    margin-top: 0.7rem;
    overflow: hidden;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-event-card-meta {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.85rem;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 800;
}

.home-event-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.home-event-card-meta i {
    color: var(--brand-primary);
}

.home-event-card-countdown {
    margin-top: auto;
    overflow: hidden;
    border-radius: 0.9rem;
    background: #0f172a;
}

.home-event-card-countdown .event-countdown-unit {
    padding: 0.55rem 0.2rem;
}

.home-event-card-countdown .event-countdown-unit p:first-child {
    font-size: 1rem;
}

.home-event-card-countdown .event-countdown-unit p:last-child {
    font-size: 0.65rem;
}

.home-carousel-button {
    position: absolute;
    top: 45%;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 9999px;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 16px 38px rgb(15 23 42 / 0.18);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.home-carousel-button:hover {
    transform: translateY(-1px) scale(1.04);
    background: #0f172a;
    color: #ffffff;
}

.home-carousel-button.is-prev {
    left: -0.9rem;
}

.home-carousel-button.is-next {
    right: -0.9rem;
}

@media (max-width: 900px) {
    .home-carousel-button {
        display: none;
    }

    .home-event-card {
        flex-basis: min(21rem, 86vw);
    }
}

/* Event/Product compact polish */
.home-event-store-logo {
    position: absolute;
    left: 1rem;
    top: 1rem;
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    overflow: hidden;
    border-radius: 0.9rem;
    background: rgb(255 255 255 / 0.96);
    box-shadow: 0 14px 30px rgb(2 6 23 / 0.22);
}

.home-event-store-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-event-card-date {
    min-width: 4.3rem;
    border-radius: 0.9rem;
}

.home-event-card-date span {
    padding-top: 0.55rem;
}

.home-event-card-date strong {
    padding-bottom: 0.55rem;
    font-size: 1.75rem;
}

.home-event-card-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 3.25rem;
    border-radius: 0.85rem;
    background: #0f172a;
    box-shadow: none;
}

.home-event-card-countdown .event-countdown-unit {
    display: grid;
    align-content: center;
    gap: 0.12rem;
    min-height: 3.25rem;
    padding: 0.32rem 0.15rem;
}

.home-event-card-countdown .event-countdown-unit p:first-child {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1;
}

.home-event-card-countdown .event-countdown-unit p:last-child {
    color: rgb(255 255 255 / 0.64);
    font-size: 0.58rem;
    line-height: 1;
}

.home-product-mini-rail {
    display: flex;
    gap: 0.75rem;
    margin: -0.55rem 0 1.35rem;
    overflow-x: auto;
    padding: 0.25rem 0.1rem 0.45rem;
    scrollbar-width: none;
}

.home-product-mini-rail::-webkit-scrollbar {
    display: none;
}

.home-product-mini-rail span {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.45rem;
    border-radius: 1rem;
    background: #ffffff;
    padding: 0.6rem 0.8rem;
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 900;
    box-shadow: 0 12px 28px rgb(15 23 42 / 0.08);
}

.home-product-mini-rail i {
    display: grid;
    place-items: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 0.65rem;
    background: color-mix(in srgb, var(--brand-primary) 11%, white);
    color: var(--brand-primary);
}

.product-catalog-card {
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 16px 36px rgb(15 23 42 / 0.09);
}

.product-catalog-card::before {
    box-shadow: inset 0 0 0 1px rgb(15 23 42 / 0.06);
}

.product-catalog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 52px rgb(15 23 42 / 0.15);
}

.product-catalog-card .product-glass-media {
    height: 10.4rem;
    margin: 0.75rem 0.75rem 0;
    border-radius: 1rem;
    background: #f1f5f9;
}

.product-catalog-card .product-glass-media img {
    object-fit: contain;
    padding: 0.55rem;
}

.product-price-badge {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    border-radius: 0.55rem;
    background: var(--brand-primary);
    padding: 0.35rem 0.55rem;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 900;
    box-shadow: 0 10px 22px color-mix(in srgb, var(--brand-primary) 30%, transparent);
}

.product-store-line {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    margin-bottom: 0.45rem;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 900;
}

.product-store-line img,
.product-store-line i {
    flex: 0 0 auto;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 0.45rem;
}

.product-store-line img {
    object-fit: cover;
}

.product-store-line i {
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--brand-primary) 10%, white);
    color: var(--brand-primary);
    font-size: 0.66rem;
}

.product-store-line span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-catalog-card .product-glass-body {
    padding: 0.8rem 0.9rem 0.95rem;
}

.product-catalog-card .product-glass-body > a {
    min-height: 2.35rem;
    margin-bottom: 0.35rem;
    font-size: 0.92rem;
    line-height: 1.25;
    white-space: normal;
}

.product-catalog-card .product-glass-body > p {
    font-size: 0.78rem;
    line-height: 1.35;
}

.product-catalog-card .product-glass-link,
.product-catalog-card .product-glass-primary {
    padding: 0.55rem 0.65rem;
    border-radius: 0.75rem;
}

@media (max-width: 640px) {
    .product-catalog-card .product-glass-media {
        height: 9.6rem;
    }
}

/* Final compact event countdown and configurable product colors */
.home-event-card {
    min-height: 0 !important;
}

.home-event-card-body {
    min-height: 0 !important;
}

.home-event-card-countdown.event-countdown-strip {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    height: 3.15rem !important;
    min-height: 3.15rem !important;
    max-height: 3.15rem !important;
    margin-top: 0.85rem !important;
    overflow: hidden !important;
    border-radius: 0.9rem !important;
    background: #0f172a !important;
}

.home-event-card-countdown.event-countdown-strip .event-countdown-unit {
    display: grid !important;
    align-content: center !important;
    gap: 0.1rem !important;
    height: 3.15rem !important;
    min-height: 0 !important;
    padding: 0.22rem 0.12rem !important;
}

.home-event-card-countdown.event-countdown-strip .event-countdown-unit p {
    margin: 0 !important;
    line-height: 1 !important;
}

.home-event-card-countdown.event-countdown-strip .event-countdown-unit p:first-child {
    font-size: 0.86rem !important;
    font-weight: 900 !important;
}

.home-event-card-countdown.event-countdown-strip .event-countdown-unit p:last-child {
    font-size: 0.55rem !important;
    font-weight: 700 !important;
}

.product-price-badge {
    background: var(--product-price-color, var(--brand-primary)) !important;
    box-shadow: 0 10px 22px color-mix(in srgb, var(--product-price-color, var(--brand-primary)) 30%, transparent) !important;
}

.product-catalog-card .product-glass-primary,
.product-glass-primary {
    background: var(--product-button-color, var(--brand-primary)) !important;
    box-shadow: 0 12px 28px color-mix(in srgb, var(--product-button-color, var(--brand-primary)) 24%, transparent);
}

/* News carousel cards */
.home-news-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 12%, color-mix(in srgb, var(--brand-primary) 18%, transparent), transparent 30rem),
        radial-gradient(circle at 88% 18%, rgb(220 38 38 / 0.12), transparent 28rem),
        linear-gradient(180deg, #0b1020 0%, #111827 54%, #f8fafc 54%, #f8fafc 100%);
    padding: clamp(3.2rem, 6vw, 5rem) 0;
}

.home-news-section .home-editorial-head {
    margin-bottom: 1.55rem;
}

.home-news-carousel-shell {
    position: relative;
    margin-inline: -0.35rem;
}

.home-news-carousel {
    display: flex;
    gap: 1.35rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.35rem 0.35rem 1.4rem;
    scrollbar-width: none;
}

.home-news-carousel::-webkit-scrollbar {
    display: none;
}

.home-news-card {
    flex: 0 0 min(23.5rem, 86vw);
    scroll-snap-align: start;
    overflow: hidden;
    border: 1px solid rgb(226 232 240 / 0.95);
    border-radius: 1.45rem;
    background: #ffffff;
    box-shadow: 0 22px 58px rgb(15 23 42 / 0.13);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-news-card:first-child {
    flex-basis: min(30rem, 88vw);
}

.home-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgb(15 23 42 / 0.18);
}

.home-news-card-media {
    position: relative;
    display: block;
    height: 13.5rem;
    overflow: hidden;
    background: #e5e7eb;
}

.home-news-card:first-child .home-news-card-media {
    height: 16rem;
}

.home-news-card-media img,
.home-news-card-media .home-content-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-news-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(15 23 42 / 0.08), rgb(15 23 42 / 0.58));
}

.home-news-label {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    border-radius: 999px;
    background: #ffffff;
    padding: 0.48rem 0.72rem;
    color: var(--brand-primary);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-news-store-logo {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 3.2rem;
    height: 3.2rem;
    overflow: hidden;
    border: 3px solid #ffffff;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 15px 34px rgb(15 23 42 / 0.28);
}

.home-news-store-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-news-card-body {
    display: grid;
    gap: 0.75rem;
    padding: 1.15rem;
}

.home-news-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.9rem;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 800;
}

.home-news-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.home-news-card-meta i {
    color: var(--brand-primary);
}

.home-news-card-title {
    color: #0f172a;
    font-size: clamp(1.22rem, 1.8vw, 1.65rem);
    font-weight: 950;
    line-height: 1.02;
}

.home-news-card-title:hover {
    color: var(--brand-primary);
}

.home-news-card-body p {
    display: -webkit-box;
    min-height: 3.35rem;
    overflow: hidden;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.48;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-news-card-read {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    justify-self: start;
    color: var(--brand-primary);
    font-size: 0.84rem;
    font-weight: 900;
}

@media (max-width: 640px) {
    .home-news-section {
        background:
            linear-gradient(180deg, #0b1020 0%, #111827 42%, #f8fafc 42%, #f8fafc 100%);
    }

    .home-news-card,
    .home-news-card:first-child {
        flex-basis: 84vw;
    }

    .home-news-card-media,
    .home-news-card:first-child .home-news-card-media {
        height: 12rem;
    }
}

/* Countdown chips and product detail polish */
.home-event-card-countdown.event-countdown-strip {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.45rem !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-top: 0.85rem !important;
    overflow: visible !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.home-event-card-countdown.event-countdown-strip .event-countdown-unit {
    display: grid !important;
    place-items: center !important;
    gap: 0.12rem !important;
    height: 3.45rem !important;
    min-height: 3.45rem !important;
    padding: 0.4rem 0.2rem !important;
    border: 1px solid rgb(248 113 113 / 0.32) !important;
    border-radius: 0.85rem !important;
    background: linear-gradient(180deg, #ffffff 0%, #fff7f7 100%) !important;
    box-shadow: 0 10px 22px rgb(220 38 38 / 0.08) !important;
    color: #0f172a !important;
}

.home-event-card-countdown .countdown-value {
    display: block !important;
    color: #0f172a !important;
    font-size: 1rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
}

.home-event-card-countdown .countdown-label {
    display: block !important;
    color: #64748b !important;
    font-size: 0.58rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.product-showcase-page {
    position: relative;
}

.product-showcase-page::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: -1;
    height: 21rem;
    background:
        radial-gradient(circle at 14% 8%, color-mix(in srgb, var(--brand-primary) 12%, transparent), transparent 24rem),
        linear-gradient(180deg, #f8fafc 0%, transparent 100%);
}

.product-detail-breadcrumb {
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
}

.product-detail-breadcrumb::-webkit-scrollbar {
    display: none;
}

.product-showcase-grid {
    align-items: start;
}

.product-hero-media {
    border: 1px solid rgb(226 232 240 / 0.9);
    background: #ffffff;
    box-shadow: 0 24px 70px rgb(15 23 42 / 0.1);
}

.product-hero-media img {
    object-fit: cover;
}

.product-detail-thumbs button {
    border: 1px solid rgb(226 232 240 / 0.95);
    box-shadow: 0 12px 28px rgb(15 23 42 / 0.06);
}

.product-purchase-panel {
    border: 1px solid rgb(226 232 240 / 0.95);
    border-radius: 1.5rem;
    background: rgb(255 255 255 / 0.86);
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: 0 24px 70px rgb(15 23 42 / 0.09);
    backdrop-filter: blur(14px);
}

@media (min-width: 1024px) {
    .product-purchase-panel {
        position: sticky;
        top: 6.25rem;
    }
}

.product-detail-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f1f5f9;
    padding: 0.38rem 0.7rem;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 850;
}

.product-detail-badge.is-primary {
    background: color-mix(in srgb, var(--brand-primary) 11%, white);
    color: var(--brand-primary);
}

.product-detail-title {
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 950;
    line-height: 0.98;
}

.product-detail-price {
    color: var(--product-price-color, var(--brand-primary));
    font-size: clamp(2.1rem, 4vw, 3.25rem);
    font-weight: 950;
    line-height: 1;
}

.product-detail-lead {
    color: #475569;
    font-size: 1.08rem;
    line-height: 1.65;
}

.product-detail-description {
    max-width: none;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.15rem 0;
}

.product-detail-store-card {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 14px 34px rgb(15 23 42 / 0.06);
}

.product-detail-store-card img,
.product-detail-store-card > div:first-child {
    box-shadow: 0 10px 24px rgb(15 23 42 / 0.08);
}

.product-detail-primary-action {
    background: var(--product-button-color, var(--brand-primary));
    box-shadow: 0 16px 34px color-mix(in srgb, var(--product-button-color, var(--brand-primary)) 26%, transparent);
}

.product-detail-primary-action:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
}

.product-detail-secondary-action,
.product-detail-soft-action {
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.product-detail-secondary-action:hover,
.product-detail-soft-action:hover {
    background: #ffffff;
    border-color: color-mix(in srgb, var(--brand-primary) 28%, #e2e8f0);
    color: var(--brand-primary);
    transform: translateY(-1px);
}

.product-detail-meta-grid > div {
    border-radius: 1rem;
    background: #f8fafc;
    padding: 0.85rem;
}

.product-related-section {
    border-top: 1px solid #e2e8f0;
    padding-top: 2.2rem;
}

@media (max-width: 768px) {
    .product-purchase-panel {
        border-radius: 1.15rem;
        padding: 1.1rem;
    }

    .product-detail-title {
        line-height: 1.06;
    }

    .home-event-card-countdown.event-countdown-strip {
        gap: 0.34rem !important;
    }

    .home-event-card-countdown.event-countdown-strip .event-countdown-unit {
        height: 3.15rem !important;
        min-height: 3.15rem !important;
    }
}

/* Marketplace hero admin text and clearer counter */
.public-video-hero {
    isolation: isolate;
}

.public-video-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 0;
    height: 42%;
    background:
        radial-gradient(circle at 18% 92%, color-mix(in srgb, var(--brand-primary) 24%, transparent), transparent 18rem),
        radial-gradient(circle at 82% 80%, color-mix(in srgb, var(--brand-accent) 18%, transparent), transparent 17rem);
    pointer-events: none;
}

.public-video-hero-inner {
    z-index: 2;
}

.public-hero-count {
    min-width: 10.5rem;
    border-radius: 1.35rem;
    padding: 1.15rem 1.25rem;
}

.public-hero-count strong {
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: 0;
}

.public-hero-count span {
    color: rgb(255 255 255 / 0.9);
    font-size: 0.8rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

/* Auth creative rain background */
.auth-body {
    position: relative;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 16% 12%, color-mix(in srgb, var(--brand-primary) 35%, transparent), transparent 20rem),
        radial-gradient(circle at 82% 88%, color-mix(in srgb, var(--brand-accent) 25%, transparent), transparent 18rem),
        linear-gradient(135deg, #0f172a 0%, #1f1120 42%, #243126 100%) !important;
}

.auth-body::before,
.auth-body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.auth-body::before {
    opacity: 0.32;
    background-image:
        radial-gradient(circle, rgb(255 255 255 / 0.42) 0 1px, transparent 1.8px),
        radial-gradient(circle, color-mix(in srgb, var(--brand-primary) 50%, white) 0 1.4px, transparent 2.2px);
    background-position: 0 0, 1.35rem 2rem;
    background-size: 3.4rem 3.4rem, 4.7rem 4.7rem;
    animation: authParticleDrift 20s linear infinite;
}

.auth-body::after {
    opacity: 0.45;
    background:
        linear-gradient(120deg, transparent 10%, rgb(255 255 255 / 0.13) 48%, transparent 64%);
    transform: translateX(-72%);
    animation: authLightSweep 8s ease-in-out infinite;
}

.auth-rain {
    position: fixed;
    inset: -12vh 0 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.auth-rain span {
    position: absolute;
    left: var(--x);
    top: -10vh;
    display: grid;
    place-items: center;
    width: calc(var(--size) * 2.65);
    height: calc(var(--size) * 2.65);
    border: 1px solid rgb(255 255 255 / 0.17);
    border-radius: 1rem;
    background: rgb(255 255 255 / 0.08);
    color: rgb(255 255 255 / 0.42);
    font-size: var(--size);
    box-shadow: 0 18px 45px rgb(0 0 0 / 0.16);
    backdrop-filter: blur(8px);
    animation: authIconRain var(--duration) linear infinite;
    animation-delay: var(--delay);
}

.auth-rain span:nth-child(3n) {
    color: color-mix(in srgb, var(--brand-primary) 55%, white);
}

.auth-rain span:nth-child(4n) {
    color: color-mix(in srgb, var(--brand-accent) 55%, white);
}

.auth-shell {
    position: relative;
    z-index: 2;
}

.auth-brand-icon {
    background: var(--brand-primary) !important;
    box-shadow: 0 18px 42px color-mix(in srgb, var(--brand-primary) 35%, transparent);
}

.auth-panel-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 0.42);
    box-shadow: 0 30px 80px rgb(2 6 23 / 0.26);
}

.auth-panel-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 0.32rem;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent), var(--brand-secondary));
}

.auth-panel-card input:focus,
.auth-panel-card select:focus,
.auth-panel-card textarea:focus {
    border-color: var(--brand-primary) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 16%, transparent) !important;
}

.auth-panel-card button[type="submit"] {
    background: var(--brand-primary) !important;
    box-shadow: 0 16px 34px color-mix(in srgb, var(--brand-primary) 26%, transparent);
}

.auth-panel-card a {
    color: var(--brand-link) !important;
}

.auth-role-card {
    position: relative;
    min-height: 8.25rem;
    overflow: hidden;
    display: grid !important;
    place-items: center;
    align-content: center;
    gap: 0.15rem;
    border-radius: 1.15rem !important;
    background:
        linear-gradient(135deg, rgb(255 255 255 / 0.92), #ffffff),
        radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--brand-primary) 10%, transparent), transparent 8rem);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-role-card::after {
    content: "";
    position: absolute;
    inset: auto 1rem 0.7rem;
    height: 0.18rem;
    border-radius: 999px;
    background: transparent;
}

.auth-role-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgb(15 23 42 / 0.08);
}

.account-type:checked + .auth-role-card {
    border-color: var(--brand-primary) !important;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--brand-primary) 9%, white), #ffffff),
        radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--brand-accent) 15%, transparent), transparent 9rem) !important;
    color: #0f172a !important;
    box-shadow: 0 20px 45px color-mix(in srgb, var(--brand-primary) 17%, transparent);
}

.account-type:checked + .auth-role-card::after {
    background: var(--brand-primary);
}

.auth-role-card i {
    color: var(--brand-primary);
}

@keyframes authIconRain {
    0% {
        transform: translate3d(-1.5rem, -12vh, 0) rotate(-18deg);
        opacity: 0;
    }
    12% {
        opacity: 0.9;
    }
    72% {
        opacity: 0.65;
    }
    100% {
        transform: translate3d(2.2rem, 118vh, 0) rotate(372deg);
        opacity: 0;
    }
}

@keyframes authParticleDrift {
    to {
        background-position: 4.2rem 7.5rem, -3.6rem 5.2rem;
    }
}

@keyframes authLightSweep {
    0%, 58% {
        transform: translateX(-72%);
    }
    100% {
        transform: translateX(78%);
    }
}

@media (max-width: 640px) {
    .public-hero-count {
        width: 100%;
    }

    .auth-rain span:nth-child(n + 23) {
        display: none;
    }

    .auth-panel-card {
        padding: 1.35rem !important;
    }

    .auth-role-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Final light news section with subtle particle field */
.home-news-section {
    position: relative !important;
    overflow: hidden !important;
    color: #0f172a !important;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 48%, #eef2f7 100%) !important;
}

.home-news-section::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    height: auto !important;
    opacity: 0.85 !important;
    background:
        radial-gradient(circle, rgb(220 38 38 / 0.16) 1.4px, transparent 1.8px) 0 0 / 34px 34px,
        radial-gradient(circle, rgb(15 23 42 / 0.08) 1px, transparent 1.4px) 18px 12px / 54px 54px !important;
    filter: none !important;
    animation: newsParticleDrift 20s linear infinite;
    pointer-events: none;
}

.home-news-section::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    background:
        radial-gradient(circle at 10% 18%, color-mix(in srgb, var(--brand-primary) 12%, transparent), transparent 18rem),
        radial-gradient(circle at 88% 16%, rgb(220 38 38 / 0.10), transparent 20rem),
        linear-gradient(180deg, rgb(255 255 255 / 0.78), rgb(248 250 252 / 0.92)) !important;
    pointer-events: none;
}

.home-news-section > .max-w-7xl {
    position: relative !important;
    z-index: 1 !important;
}

.home-news-section .home-editorial-head-dark h2,
.home-news-section .home-editorial-head h2 {
    color: #0f172a !important;
    text-shadow: none !important;
}

.home-news-section .home-editorial-head-dark p:not(.home-section-kicker),
.home-news-section .home-editorial-head p:not(.home-section-kicker) {
    color: #64748b !important;
}

.home-news-section .home-section-kicker-accent {
    color: var(--brand-primary) !important;
}

.home-news-section .home-section-action {
    border: 1px solid #dbe3ef !important;
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: 0 14px 34px rgb(15 23 42 / 0.08) !important;
}

.home-news-section .home-section-action:hover {
    border-color: color-mix(in srgb, var(--brand-primary) 34%, #dbe3ef) !important;
    background: #ffffff !important;
    color: var(--brand-primary) !important;
    transform: translateY(-1px);
}

.home-news-carousel-shell {
    position: relative !important;
    z-index: 1 !important;
}

.home-news-card {
    border-color: rgb(203 213 225 / 0.95) !important;
    background: rgb(255 255 255 / 0.94) !important;
    box-shadow: 0 22px 60px rgb(15 23 42 / 0.12) !important;
    backdrop-filter: blur(10px);
}

.home-news-card-media {
    background: #e2e8f0 !important;
}

.home-news-card-shade {
    background: linear-gradient(180deg, rgb(15 23 42 / 0.04), rgb(15 23 42 / 0.26)) !important;
}

@keyframes newsParticleDrift {
    from {
        background-position: 0 0, 18px 12px;
    }
    to {
        background-position: 68px 34px, -36px 66px;
    }
}

@media (max-width: 640px) {
    .home-news-section {
        background:
            linear-gradient(180deg, #ffffff 0%, #f8fafc 48%, #eef2f7 100%) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-news-section::before {
        animation: none !important;
    }
}

/* Final services/product carousel rebuild */
.home-category-strip-section {
    padding: 2.6rem 0 1.3rem;
    background: #ffffff;
}

.home-category-strip {
    display: flex;
    gap: 0.7rem;
    overflow-x: auto;
    padding: 0.2rem 0.1rem 0.6rem;
    scrollbar-width: none;
}

.home-category-strip::-webkit-scrollbar {
    display: none;
}

.home-category-chip {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #f8fafc;
    padding: 0.62rem 0.85rem;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 900;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.home-category-chip i {
    color: var(--brand-primary);
}

.home-category-chip:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--brand-primary) 36%, #e2e8f0);
    background: #ffffff;
    color: #0f172a;
}

.home-products-section {
    padding: clamp(3.2rem, 6vw, 5.2rem) 0 !important;
    background:
        radial-gradient(circle at 9% 20%, rgb(220 38 38 / 0.08), transparent 22rem),
        radial-gradient(circle at 94% 0%, color-mix(in srgb, var(--brand-primary) 10%, transparent), transparent 24rem),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 55%, #eef2f7 100%) !important;
}

.home-products-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.2rem;
}

.home-products-head p:not(.home-section-kicker) {
    max-width: 39rem;
}

.home-service-tabs {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    margin-bottom: 1.35rem;
    padding: 0.2rem 0.1rem 0.65rem;
    scrollbar-width: none;
}

.home-service-tabs::-webkit-scrollbar {
    display: none;
}

.home-service-tabs button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe3ef;
    border-radius: 999px;
    background: #ffffff;
    padding: 0.62rem 0.9rem;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 900;
    box-shadow: 0 10px 22px rgb(15 23 42 / 0.05);
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.home-service-tabs button:hover,
.home-service-tabs button.is-active {
    transform: translateY(-1px);
    border-color: var(--brand-primary);
    background: var(--brand-primary);
    color: #ffffff;
}

.home-products-carousel-shell {
    position: relative;
    margin-inline: -0.35rem;
}

.home-products-carousel {
    display: flex;
    gap: 1.35rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.4rem 0.35rem 1.25rem;
    scrollbar-width: none;
}

.home-products-carousel::-webkit-scrollbar {
    display: none;
}

.home-product-slide {
    flex: 0 0 min(20.5rem, 84vw);
    scroll-snap-align: start;
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.home-product-slide.is-hidden {
    display: none !important;
}

.home-product-slide .product-catalog-card {
    height: 100%;
}

.home-products-carousel-shell .home-carousel-button {
    top: 46%;
    z-index: 3;
}

.home-products-empty {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border: 1px dashed #cbd5e1;
    border-radius: 1rem;
    background: rgb(255 255 255 / 0.78);
    padding: 1.4rem;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 850;
}

.home-products-empty.is-visible {
    display: flex;
}

.home-product-category-footer {
    display: grid;
    gap: 0.85rem;
    margin-top: 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    background: rgb(255 255 255 / 0.8);
    padding: 1rem;
    box-shadow: 0 14px 36px rgb(15 23 42 / 0.06);
}

.home-product-category-footer > span {
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-product-category-footer > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.home-product-category-footer a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #f8fafc;
    padding: 0.5rem 0.72rem;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 850;
}

.home-product-category-footer a i {
    color: var(--brand-primary);
}

.home-product-category-footer a:hover {
    border-color: color-mix(in srgb, var(--brand-primary) 34%, #e2e8f0);
    background: #ffffff;
    color: var(--brand-primary);
}

@media (max-width: 768px) {
    .home-products-head {
        align-items: start;
        flex-direction: column;
    }

    .home-products-head .home-section-action {
        width: 100%;
        justify-content: center;
    }
}

/* Category marketplace and contact form */
.category-marketplace-page {
    position: relative;
}

.category-market-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.35rem;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at 12% 20%, color-mix(in srgb, var(--brand-primary) 11%, transparent), transparent 18rem),
        #ffffff;
    padding: clamp(1.35rem, 3vw, 2rem);
    box-shadow: 0 20px 55px rgb(15 23 42 / 0.07);
}

.category-market-icon {
    display: grid;
    place-items: center;
    width: 4.5rem;
    height: 4.5rem;
    overflow: hidden;
    border-radius: 1.2rem;
    background: color-mix(in srgb, var(--brand-primary) 10%, white);
    color: var(--brand-primary);
    font-size: 1.65rem;
}

.category-market-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-market-hero h1 {
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 950;
    line-height: 1;
}

.category-market-hero p:not(.home-section-kicker) {
    max-width: 44rem;
    margin-top: 0.45rem;
    color: #64748b;
    font-size: 1rem;
}

.category-market-count {
    display: grid;
    place-items: center;
    min-width: 6.5rem;
    border-radius: 1rem;
    background: #0f172a;
    padding: 0.9rem;
    color: #ffffff;
}

.category-market-count strong {
    font-size: 1.9rem;
    line-height: 1;
}

.category-market-count span {
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.category-market-tabs {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    margin: 1.15rem 0;
    padding: 0.1rem 0.05rem 0.6rem;
    scrollbar-width: none;
}

.category-market-tabs::-webkit-scrollbar {
    display: none;
}

.category-market-tabs a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.42rem;
    border: 1px solid #dbe3ef;
    border-radius: 999px;
    background: #ffffff;
    padding: 0.56rem 0.78rem;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 900;
}

.category-market-tabs a i {
    color: var(--brand-primary);
}

.category-market-tabs a:hover,
.category-market-tabs a.is-active {
    border-color: var(--brand-primary);
    background: var(--brand-primary);
    color: #ffffff;
}

.category-market-tabs a:hover i,
.category-market-tabs a.is-active i {
    color: #ffffff;
}

.category-market-filter {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    background: rgb(255 255 255 / 0.92);
    padding: 1rem;
    box-shadow: 0 14px 40px rgb(15 23 42 / 0.06);
}

.category-market-filter-main {
    display: grid;
    grid-template-columns: minmax(14rem, 1.8fr) repeat(4, minmax(8rem, 1fr));
    gap: 0.8rem;
}

.category-market-filter label {
    display: grid;
    gap: 0.32rem;
    min-width: 0;
}

.category-market-filter label span {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.category-market-filter input,
.category-market-filter select {
    width: 100%;
    min-height: 2.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.85rem;
    background: #ffffff;
    padding: 0.7rem 0.85rem;
    color: #0f172a;
    font-size: 0.9rem;
    outline: none;
}

.category-market-filter input:focus,
.category-market-filter select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 14%, transparent);
}

.category-market-filter-actions {
    display: flex;
    gap: 0.65rem;
    justify-content: flex-end;
}

.category-market-filter-actions button,
.category-market-filter-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.75rem;
    border-radius: 0.85rem;
    padding: 0.7rem 1rem;
    font-size: 0.86rem;
    font-weight: 900;
}

.category-market-filter-actions button {
    background: var(--brand-primary);
    color: #ffffff;
}

.category-market-filter-actions a {
    border: 1px solid #dbe3ef;
    background: #ffffff;
    color: #475569;
}

.category-market-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.4rem 0;
}

.category-market-results-head p {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 850;
}

.category-market-results-head a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--brand-primary);
    font-size: 0.86rem;
    font-weight: 900;
}

.category-market-empty {
    display: grid;
    place-items: center;
    border: 1px dashed #cbd5e1;
    border-radius: 1.25rem;
    background: #ffffff;
    padding: 4rem 1.5rem;
    text-align: center;
}

.category-market-empty i {
    color: #cbd5e1;
    font-size: 2.4rem;
}

.category-market-empty h2 {
    margin-top: 0.8rem;
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 950;
}

.category-market-empty p {
    margin-top: 0.3rem;
    color: #64748b;
}

.category-market-empty a {
    margin-top: 1rem;
    border-radius: 0.85rem;
    background: var(--brand-primary);
    padding: 0.72rem 1rem;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 900;
}

.category-market-pagination {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 2rem;
}

.category-market-pagination a {
    display: grid;
    place-items: center;
    width: 2.45rem;
    height: 2.45rem;
    border: 1px solid #dbe3ef;
    border-radius: 0.75rem;
    background: #ffffff;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 900;
}

.category-market-pagination a.is-active {
    border-color: var(--brand-primary);
    background: var(--brand-primary);
    color: #ffffff;
}

.contact-page {
    position: relative;
}

.contact-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at 10% 20%, color-mix(in srgb, var(--brand-primary) 12%, transparent), transparent 20rem),
        #ffffff;
    padding: clamp(1.4rem, 3vw, 2.2rem);
    box-shadow: 0 20px 55px rgb(15 23 42 / 0.07);
}

.contact-hero h1 {
    color: #0f172a;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 950;
    line-height: 0.95;
}

.contact-hero p:not(.home-section-kicker) {
    max-width: 42rem;
    margin-top: 0.65rem;
    color: #64748b;
}

.contact-hero-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    background: var(--brand-primary);
    padding: 0.8rem 1.1rem;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 900;
    white-space: nowrap;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(17rem, 0.75fr) minmax(0, 1.25fr);
    gap: 1.5rem;
    align-items: start;
}

.contact-info-card,
.contact-form-card {
    border: 1px solid #e2e8f0;
    border-radius: 1.35rem;
    background: #ffffff;
    padding: clamp(1.2rem, 3vw, 1.75rem);
    box-shadow: 0 18px 50px rgb(15 23 42 / 0.07);
}

.contact-info-card h2,
.contact-form-head h2 {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 950;
}

.contact-info-list {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
}

.contact-info-list > div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.15rem 0.8rem;
    align-items: center;
    border-radius: 1rem;
    background: #f8fafc;
    padding: 0.85rem;
}

.contact-info-list i {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.75rem;
    background: color-mix(in srgb, var(--brand-primary) 10%, white);
    color: var(--brand-primary);
}

.contact-info-list span {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-info-list strong,
.contact-info-list a {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #0f172a;
    font-size: 0.94rem;
    font-weight: 850;
}

.contact-form-head {
    display: flex;
    gap: 0.9rem;
    margin-bottom: 1.15rem;
}

.contact-form-head > span {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: var(--brand-primary);
    color: #ffffff;
}

.contact-form-head p {
    margin-top: 0.25rem;
    color: #64748b;
    font-size: 0.9rem;
}

.contact-form {
    display: grid;
    gap: 0.95rem;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
}

.contact-form label {
    display: grid;
    gap: 0.34rem;
}

.contact-form label span {
    color: #334155;
    font-size: 0.82rem;
    font-weight: 900;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 0.9rem;
    background: #ffffff;
    padding: 0.78rem 0.9rem;
    color: #0f172a;
    font-size: 0.94rem;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 14%, transparent);
}

.contact-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.95rem;
    background: var(--brand-primary);
    padding: 0.9rem 1rem;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 950;
    box-shadow: 0 18px 38px color-mix(in srgb, var(--brand-primary) 25%, transparent);
}

@media (max-width: 1024px) {
    .category-market-filter-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .category-market-hero,
    .contact-hero {
        align-items: start;
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .category-market-count {
        width: 100%;
    }

    .category-market-filter-main,
    .contact-layout,
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .category-market-filter-actions,
    .category-market-results-head {
        align-items: stretch;
        flex-direction: column;
    }

    .category-market-filter-actions button,
    .category-market-filter-actions a,
    .contact-hero-action {
        width: 100%;
    }
}
