
:root {
    --ink: #171717;
    --muted: #6f6a64;
    --paper: #ffffff;
    --soft: #f6f3ee;
    --line: #e8e2da;
    --accent: #b79462;
    --accent-dark: #8f6d3f;
    --success: #1e7a4d;
    --danger: #b43c3c;
    --shadow: 0 22px 60px rgba(26, 23, 19, .10);
    --radius: 24px;
    --radius-sm: 14px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

body.modal-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
select {
    cursor: pointer;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid rgba(232, 226, 218, .9);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .08em;
}

.brand img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
}

.public-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-weight: 700;
    color: var(--muted);
}

.public-nav a:hover {
    color: var(--ink);
}

.hero {
    min-height: 720px;
    display: grid;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 30%, rgba(183, 148, 98, .16), transparent 34%),
        linear-gradient(135deg, #fff 0%, #f8f5f0 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 72px;
    padding-block: 90px;
}

.hero-copy h1 {
    margin: 14px 0 22px;
    max-width: 720px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 6vw, 82px);
    line-height: .98;
    letter-spacing: -.045em;
}

.hero-copy p {
    max-width: 620px;
    margin: 0 0 32px;
    color: var(--muted);
    font-size: 19px;
}

.eyebrow {
    display: inline-block;
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.hero-art {
    position: relative;
    display: grid;
    place-items: center;
}

.hero-art::before,
.hero-art::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.hero-art::before {
    width: 520px;
    height: 520px;
    background: rgba(255, 255, 255, .62);
    box-shadow: var(--shadow);
}

.hero-art::after {
    width: 410px;
    height: 410px;
    border: 1px solid rgba(183, 148, 98, .35);
}

.hero-logo-frame {
    position: relative;
    z-index: 2;
    width: min(440px, 90%);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(30, 24, 18, .15);
}

.hero-logo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    transition: .2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: white;
    background: var(--ink);
    box-shadow: 0 12px 28px rgba(23, 23, 23, .18);
}

.button-primary:hover {
    background: #000;
}

.button-secondary {
    color: white;
    background: var(--accent-dark);
}

.button-ghost {
    color: var(--ink);
    background: transparent;
    border-color: var(--line);
}

.button-block {
    width: 100%;
}

.catalog-section {
    padding: 100px 0 120px;
}

.section-heading,
.admin-page-heading,
.panel-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading h2,
.brand-promise h2,
.admin-page-heading h1 {
    margin: 8px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.05;
    letter-spacing: -.03em;
}

.section-heading h2 {
    font-size: clamp(36px, 5vw, 56px);
}

.section-heading p {
    color: var(--muted);
}

.catalog-filters,
.admin-filters {
    display: grid;
    grid-template-columns: minmax(240px, 1.7fr) minmax(180px, .7fr) minmax(180px, .7fr) auto auto;
    gap: 12px;
    padding: 16px;
    margin-bottom: 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 14px 42px rgba(35, 30, 24, .06);
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    color: var(--ink);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

input,
select {
    min-height: 48px;
    padding: 0 14px;
}

textarea {
    padding: 14px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(183, 148, 98, .13);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 14px 38px rgba(35, 30, 24, .06);
    transition: .25s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.product-image {
    position: relative;
    aspect-ratio: 1 / .92;
    overflow: hidden;
    background: var(--soft);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.035);
}

.featured-label {
    position: absolute;
    z-index: 2;
    top: 16px;
    left: 16px;
    padding: 7px 12px;
    color: white;
    background: var(--ink);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-card-body {
    padding: 22px;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--accent-dark);
    background: #f3ecdf;
    font-size: 12px;
    font-weight: 800;
}

.product-card h3 {
    margin: 14px 0 8px;
    font-size: 22px;
    line-height: 1.2;
}

.product-description {
    display: -webkit-box;
    min-height: 50px;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 22px;
    margin-top: 20px;
    border-top: 1px solid var(--line);
}

.product-card-footer strong {
    font-size: 22px;
}

.text-action,
.link-button,
.danger-link {
    padding: 0;
    border: 0;
    background: none;
    font-weight: 800;
}

.text-action,
.link-button {
    color: var(--accent-dark);
}

.danger-link {
    color: var(--danger);
}

.empty-state {
    padding: 70px 24px;
    text-align: center;
    border: 1px dashed #d9d0c4;
    border-radius: var(--radius);
    background: var(--soft);
}

.empty-state.compact {
    padding: 40px 20px;
}

.empty-state h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.empty-state p {
    margin: 0;
    color: var(--muted);
}

.brand-promise {
    padding: 110px 0;
    color: white;
    background: var(--ink);
}

.promise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.brand-promise h2 {
    max-width: 560px;
    font-size: clamp(38px, 5vw, 62px);
}

.brand-promise .eyebrow {
    color: #d7ba8e;
}

.promise-items {
    display: grid;
    gap: 18px;
}

.promise-items div {
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.promise-items strong,
.promise-items span {
    display: block;
}

.promise-items strong {
    margin-bottom: 4px;
    font-size: 18px;
}

.promise-items span {
    color: rgba(255, 255, 255, .66);
}

.site-footer {
    padding: 72px 0 28px;
    background: var(--soft);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.footer-logo {
    width: 110px;
    height: 110px;
    margin-bottom: 18px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-grid p {
    max-width: 520px;
    color: var(--muted);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 26px;
    margin-top: 46px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    place-items: center;
    padding: 24px;
}

.product-modal.is-open {
    display: grid;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 15, 14, .72);
    backdrop-filter: blur(7px);
}

.modal-card {
    position: relative;
    z-index: 2;
    width: min(920px, 100%);
    max-height: min(760px, calc(100vh - 48px));
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: auto;
    border-radius: var(--radius);
    background: white;
    box-shadow: 0 40px 100px rgba(0, 0, 0, .28);
}

.modal-image-wrap {
    min-height: 500px;
    background: var(--soft);
}

.modal-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px;
}

.modal-content h2 {
    margin: 16px 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    line-height: 1.05;
}

.modal-content p {
    color: var(--muted);
    white-space: pre-line;
}

.modal-content .modal-price {
    margin: 0 0 20px;
    color: var(--ink);
    font-size: 28px;
    font-weight: 900;
}

.modal-close {
    position: absolute;
    z-index: 4;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: white;
    background: var(--ink);
    font-size: 28px;
    line-height: 1;
}

/* Autenticación */
.auth-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at 20% 20%, rgba(183, 148, 98, .18), transparent 25%),
        linear-gradient(135deg, #f8f5f0, #fff);
}

.auth-card {
    width: min(460px, 100%);
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, .95);
    box-shadow: var(--shadow);
}

.install-card {
    width: min(580px, 100%);
}

.auth-logo {
    width: 116px;
    height: 116px;
    margin: 0 auto 18px;
    border-radius: 50%;
    object-fit: cover;
}

.auth-card h1 {
    margin: 8px 0;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
}

.auth-card > p,
.auth-card > .eyebrow {
    display: block;
    text-align: center;
}

.auth-card > p {
    margin: 0 0 26px;
    color: var(--muted);
}

.auth-card form {
    display: grid;
    gap: 18px;
}

.auth-card label,
.admin-panel label {
    display: grid;
    gap: 8px;
    font-weight: 800;
}

.back-link {
    display: block;
    margin-top: 20px;
    text-align: center;
    color: var(--muted);
}

.security-note {
    margin-top: 18px !important;
    padding: 12px;
    border-radius: 12px;
    background: var(--soft);
    font-size: 14px;
}

/* Administración */
.admin-body {
    background: #f5f3ef;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px);
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: .08em;
}

.admin-brand img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 700;
}

.admin-layout {
    min-height: calc(100vh - 72px);
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
}

.admin-sidebar {
    padding: 28px 18px;
    border-right: 1px solid var(--line);
    background: white;
}

.admin-sidebar nav {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 6px;
}

.admin-sidebar a {
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--muted);
    font-weight: 800;
}

.admin-sidebar a:hover {
    color: var(--ink);
    background: var(--soft);
}

.admin-main {
    min-width: 0;
    padding: 40px;
}

.admin-page-heading {
    margin-bottom: 28px;
}

.admin-page-heading h1 {
    font-size: 44px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.stat-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 26px rgba(35, 30, 24, .04);
}

.stat-card span,
.stat-card strong {
    display: block;
}

.stat-card span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.stat-card strong {
    margin-top: 10px;
    font-size: 38px;
}

.admin-panel {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: white;
    box-shadow: 0 10px 30px rgba(35, 30, 24, .045);
}

.admin-panel h2 {
    margin-top: 0;
}

.panel-heading {
    margin-bottom: 18px;
}

.panel-heading h2 {
    margin: 0;
}

.admin-product-list {
    display: grid;
}

.admin-product-row {
    display: grid;
    grid-template-columns: 58px minmax(160px, 1fr) 120px 110px 60px;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.admin-product-row:last-child {
    border-bottom: 0;
}

.admin-product-row img,
.table-product img {
    border-radius: 12px;
    object-fit: cover;
}

.admin-product-row img {
    width: 58px;
    height: 58px;
}

.admin-product-row div span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.status {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.status-active {
    color: var(--success);
    background: #e8f6ef;
}

.status-inactive {
    color: #7b6f63;
    background: #eeeae5;
}

.admin-filters {
    grid-template-columns: minmax(240px, 1fr) 220px auto auto;
    padding: 0;
    border: 0;
    box-shadow: none;
}

.responsive-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 15px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

th {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.table-product {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 230px;
}

.table-product img {
    width: 54px;
    height: 54px;
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.table-actions form {
    margin: 0;
}

.alert {
    padding: 14px 16px;
    margin-bottom: 18px;
    border-radius: 13px;
    font-weight: 700;
}

.alert-success {
    color: #17623f;
    background: #e6f5ed;
    border: 1px solid #c7e8d7;
}

.alert-error {
    color: #8e2d2d;
    background: #fae9e9;
    border: 1px solid #f0caca;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr);
    gap: 24px;
    align-items: start;
}

.form-main {
    display: grid;
    gap: 22px;
}

.form-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.check-row {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.checkbox-label {
    display: flex !important;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px !important;
}

.checkbox-label input {
    width: 20px;
    min-height: 20px;
}

.form-side {
    position: sticky;
    top: 98px;
}

.image-preview {
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 18px;
    border-radius: 18px;
    background: var(--soft);
    object-fit: cover;
}

.file-input-label {
    padding: 14px;
    border: 1px dashed #cfc3b4;
    border-radius: 14px;
    text-align: center;
    cursor: pointer;
}

.file-input-label input {
    padding: 8px 0 0;
    border: 0;
}

.field-help {
    color: var(--muted);
    font-size: 13px;
}

.category-layout {
    grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
}

.category-list {
    display: grid;
}

.category-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.category-row:last-child {
    border-bottom: 0;
}

.category-row span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 1040px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-copy p {
        margin-inline: auto;
    }

    .hero-art {
        order: -1;
    }

    .hero-art::before {
        width: 430px;
        height: 430px;
    }

    .hero-art::after {
        width: 340px;
        height: 340px;
    }

    .hero-logo-frame {
        width: 360px;
    }

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

    .catalog-filters {
        grid-template-columns: 1fr 1fr;
    }

    .search-field {
        grid-column: 1 / -1;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .form-side {
        position: static;
    }
}

@media (max-width: 800px) {
    .public-nav {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        padding-block: 58px 76px;
        gap: 42px;
    }

    .hero-copy h1 {
        font-size: 50px;
    }

    .hero-art::before {
        width: 330px;
        height: 330px;
    }

    .hero-art::after {
        width: 270px;
        height: 270px;
    }

    .hero-logo-frame {
        width: 285px;
    }

    .promise-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .modal-card {
        grid-template-columns: 1fr;
    }

    .modal-image-wrap {
        min-height: 310px;
        max-height: 42vh;
    }

    .modal-content {
        padding: 30px;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: sticky;
        top: 72px;
        z-index: 30;
        overflow-x: auto;
        padding: 10px 16px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .admin-sidebar nav {
        position: static;
        display: flex;
        width: max-content;
    }

    .admin-main {
        padding: 24px 18px;
    }

    .admin-user > span {
        display: none;
    }

    .admin-product-row {
        grid-template-columns: 52px 1fr auto;
    }

    .admin-product-row > span {
        display: none;
    }

    .admin-filters {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .header-inner {
        min-height: 72px;
    }

    .brand img {
        width: 48px;
        height: 48px;
    }

    .brand span {
        font-size: 15px;
    }

    .hero-copy h1 {
        font-size: 42px;
    }

    .hero-copy p {
        font-size: 17px;
    }

    .catalog-section {
        padding: 72px 0;
    }

    .section-heading {
        display: block;
    }

    .catalog-filters,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .search-field {
        grid-column: auto;
    }

    .product-image {
        aspect-ratio: 1;
    }

    .footer-bottom,
    .admin-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .modal-content h2 {
        font-size: 32px;
    }

    .auth-card {
        padding: 28px 22px;
    }

    .admin-topbar {
        padding: 0 16px;
    }

    .admin-brand span {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 18px;
    }

    .stat-card strong {
        font-size: 30px;
    }

    .admin-page-heading h1 {
        font-size: 36px;
    }

    .form-two-columns {
        grid-template-columns: 1fr;
    }

    .admin-panel {
        padding: 20px;
    }

    .category-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   ELYON STORE · Portada de video y experiencia dinámica
   ========================================================= */

.site-header {
    transition: min-height .25s ease, box-shadow .25s ease, background .25s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 34px rgba(19, 16, 13, .08);
}

.video-hero {
    position: relative;
    min-height: calc(100svh - 84px);
    display: grid;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background: #17120f;
}

.video-hero-media,
.video-hero-fallback,
.hero-background-video,
.video-hero-overlay {
    position: absolute;
    inset: 0;
}

.video-hero-media {
    z-index: -3;
    overflow: hidden;
}

.video-hero-fallback {
    z-index: -4;
    background:
        radial-gradient(circle at 76% 22%, rgba(210, 169, 108, .36), transparent 25%),
        radial-gradient(circle at 20% 78%, rgba(100, 69, 42, .42), transparent 31%),
        linear-gradient(125deg, #0c0a09 0%, #2b2119 48%, #100d0b 100%);
    background-size: 140% 140%;
    animation: elyonFallbackMotion 14s ease-in-out infinite alternate;
}

.video-hero-fallback::before {
    content: "";
    position: absolute;
    width: min(42vw, 620px);
    aspect-ratio: 1;
    right: clamp(-70px, 7vw, 120px);
    top: 50%;
    translate: 0 -50%;
    border-radius: 50%;
    opacity: .09;
    background: #fff url('../img/logo-elyon.jpg') center / cover no-repeat;
    filter: grayscale(1) contrast(1.25);
    box-shadow: 0 0 100px rgba(255, 255, 255, .14);
    animation: elyonLogoFloat 9s ease-in-out infinite alternate;
}

.hero-background-video {
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: saturate(.88) contrast(1.06) brightness(.84);
    transform: scale(1.025);
}

.video-hero-overlay {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(8, 7, 6, .88) 0%, rgba(10, 8, 7, .62) 48%, rgba(8, 7, 6, .26) 78%, rgba(8, 7, 6, .45) 100%),
        linear-gradient(180deg, rgba(7, 6, 5, .15) 0%, rgba(7, 6, 5, .15) 58%, rgba(7, 6, 5, .78) 100%);
}

.video-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 170px;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(13, 10, 8, .68));
}

.video-hero-glow {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(10px);
    opacity: .5;
    pointer-events: none;
}

.video-hero-glow-one {
    width: 360px;
    height: 360px;
    left: -180px;
    bottom: -110px;
    background: rgba(183, 148, 98, .2);
    animation: elyonGlowDrift 9s ease-in-out infinite alternate;
}

.video-hero-glow-two {
    width: 260px;
    height: 260px;
    right: 12%;
    top: -120px;
    background: rgba(255, 235, 207, .15);
    animation: elyonGlowDrift 12s ease-in-out infinite alternate-reverse;
}

.video-hero-content {
    position: relative;
    min-height: calc(100svh - 84px);
    display: flex;
    align-items: center;
    padding-top: clamp(56px, 8vh, 96px);
    padding-bottom: clamp(92px, 12vh, 132px);
}

.hero-glass-panel {
    width: min(760px, 72%);
    padding: clamp(28px, 4.4vw, 58px);
    border: 1px solid rgba(255, 255, 255, .19);
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(13, 11, 9, .55), rgba(29, 23, 18, .29));
    box-shadow: 0 34px 100px rgba(0, 0, 0, .28);
    backdrop-filter: blur(15px) saturate(1.15);
}

.hero-brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 8px 14px 8px 8px;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .09);
}

.hero-brand-mark img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.hero-brand-mark div {
    display: grid;
    line-height: 1;
}

.hero-brand-mark strong {
    font-size: 14px;
    letter-spacing: .16em;
}

.hero-brand-mark span {
    margin-top: 5px;
    color: rgba(255, 255, 255, .62);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 10px;
    letter-spacing: .38em;
}

.hero-eyebrow {
    color: #e2c08c;
}

.hero-glass-panel h1 {
    max-width: 780px;
    margin: 14px 0 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 6.4vw, 90px);
    line-height: .94;
    letter-spacing: -.052em;
    text-wrap: balance;
}

.hero-glass-panel > p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(17px, 1.55vw, 21px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button-light {
    color: #17120f;
    background: #fff;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .2);
}

.button-light:hover {
    background: #f4eee6;
}

.button-glass {
    color: #fff;
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
}

.button-glass:hover {
    background: rgba(255, 255, 255, .15);
}

.hero-category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding-top: 26px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.hero-category-links a {
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    color: rgba(255, 255, 255, .74);
    background: rgba(255, 255, 255, .055);
    font-size: 12px;
    font-weight: 800;
    transition: .2s ease;
}

.hero-category-links a:hover {
    color: #17120f;
    background: #fff;
}

.hero-side-note {
    position: absolute;
    right: 0;
    bottom: 124px;
    width: 178px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .19);
    border-radius: 24px;
    background: rgba(16, 13, 11, .34);
    backdrop-filter: blur(12px);
}

.hero-side-note span,
.hero-side-note small,
.hero-side-note strong {
    display: block;
}

.hero-side-note span {
    color: rgba(255, 255, 255, .64);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hero-side-note strong {
    margin: 7px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 52px;
    line-height: 1;
}

.hero-side-note small {
    color: #e3c18e;
    font-weight: 700;
}


.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 2;
    display: grid;
    justify-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .66);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.scroll-cue span {
    width: 26px;
    height: 42px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 999px;
}

.scroll-cue span::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 8px;
    width: 4px;
    height: 8px;
    border-radius: 999px;
    background: #fff;
    transform: translateX(-50%);
    animation: elyonScrollCue 1.8s ease-in-out infinite;
}

.catalog-section {
    position: relative;
    scroll-margin-top: 104px;
    overflow: hidden;
    background:
        radial-gradient(circle at 95% 5%, rgba(183, 148, 98, .11), transparent 23%),
        linear-gradient(180deg, #fff 0%, #fbf9f6 100%);
}

.catalog-section::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    left: -230px;
    top: 360px;
    border-radius: 50%;
    border: 1px solid rgba(183, 148, 98, .16);
    box-shadow: 0 0 0 50px rgba(183, 148, 98, .025), 0 0 0 100px rgba(183, 148, 98, .018);
    pointer-events: none;
}

.category-chips {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 14px;
    margin: -6px 0 16px;
    scrollbar-width: thin;
}

.category-chip {
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .84);
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    transition: .2s ease;
}

.category-chip span {
    min-width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--soft);
    font-size: 11px;
}

.category-chip:hover,
.category-chip.is-active {
    color: #fff;
    border-color: var(--ink);
    background: var(--ink);
    transform: translateY(-1px);
}

.category-chip.is-active span,
.category-chip:hover span {
    color: var(--ink);
    background: #fff;
}

.catalog-filters-dynamic {
    position: relative;
    z-index: 4;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(18px);
}

.search-field-icon {
    position: relative;
}

.search-field-icon input {
    padding-left: 45px;
}

.search-icon {
    position: absolute;
    z-index: 2;
    left: 17px;
    top: 50%;
    width: 15px;
    height: 15px;
    border: 2px solid #8c837a;
    border-radius: 50%;
    pointer-events: none;
    transform: translateY(-58%);
}

.search-icon::after {
    content: "";
    position: absolute;
    right: -5px;
    bottom: -4px;
    width: 7px;
    height: 2px;
    border-radius: 999px;
    background: #8c837a;
    rotate: 45deg;
}

.results-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 18px 22px;
    margin: -16px 0 30px;
    border: 1px solid #e3d5c2;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8f1e8, #fff);
}

.results-summary div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.results-summary span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.results-summary strong {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--ink);
}

.results-summary p {
    margin: 0;
    color: var(--muted);
}

.product-card {
    position: relative;
    isolation: isolate;
}

.product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    opacity: 0;
    box-shadow: 0 35px 75px rgba(45, 34, 23, .16);
    transition: opacity .3s ease;
}

.product-card:hover::after {
    opacity: 1;
}

.product-image-shine {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 24%, rgba(255, 255, 255, .22) 42%, transparent 60%);
    transform: translateX(-130%);
    transition: transform .7s ease;
}

.product-card:hover .product-image-shine {
    transform: translateX(130%);
}

.empty-state .button {
    margin-top: 24px;
}

.brand-promise {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(120deg, rgba(8, 7, 6, .98), rgba(32, 24, 18, .98)),
        var(--ink);
}

.brand-promise-orb {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.brand-promise-orb-one {
    width: 360px;
    height: 360px;
    right: -130px;
    top: -170px;
    background: rgba(183, 148, 98, .17);
    box-shadow: 0 0 100px rgba(183, 148, 98, .12);
}

.brand-promise-orb-two {
    width: 230px;
    height: 230px;
    left: 12%;
    bottom: -170px;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 0 0 45px rgba(255, 255, 255, .018);
}

.js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity .7s cubic-bezier(.2, .65, .3, 1) var(--reveal-delay, 0ms),
        transform .7s cubic-bezier(.2, .65, .3, 1) var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes elyonFallbackMotion {
    from { background-position: 0% 20%; }
    to { background-position: 100% 80%; }
}

@keyframes elyonLogoFloat {
    from { transform: translateY(-14px) rotate(-2deg); }
    to { transform: translateY(16px) rotate(2deg); }
}

@keyframes elyonGlowDrift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(40px, -25px, 0) scale(1.12); }
}

@keyframes elyonScrollCue {
    0% { opacity: 0; transform: translate(-50%, 0); }
    35% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, 15px); }
}

@media (max-width: 1040px) {
    .hero-glass-panel {
        width: min(780px, 88%);
    }

    .hero-side-note {
        right: 12px;
    }
}

@media (max-width: 800px) {
    .video-hero,
    .video-hero-content {
        min-height: calc(100svh - 72px);
    }

    .video-hero-overlay {
        background:
            linear-gradient(90deg, rgba(8, 7, 6, .79), rgba(8, 7, 6, .46)),
            linear-gradient(180deg, rgba(7, 6, 5, .24), rgba(7, 6, 5, .76));
    }

    .hero-background-video {
        object-position: 62% center;
    }

    .hero-glass-panel {
        width: 100%;
        border-radius: 28px;
    }

    .hero-side-note {
        display: none;
    }

    .hero-glass-panel h1 {
        font-size: clamp(46px, 11.5vw, 70px);
    }

    .results-summary {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .video-hero-content {
        padding-top: 84px;
        padding-bottom: 104px;
    }

    .hero-glass-panel {
        padding: 25px 20px 26px;
        border-radius: 24px;
        background: linear-gradient(135deg, rgba(12, 10, 9, .62), rgba(23, 18, 14, .36));
    }

    .hero-brand-mark {
        margin-bottom: 21px;
    }

    .hero-brand-mark img {
        width: 42px;
        height: 42px;
    }

    .hero-glass-panel h1 {
        font-size: 45px;
    }

    .hero-glass-panel > p {
        font-size: 16px;
    }

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

    .hero-actions .button {
        width: 100%;
    }

    .hero-category-links {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .category-chips {
        margin-inline: -2px;
    }

    .catalog-filters-dynamic {
        padding: 13px;
    }

    .results-summary {
        margin-top: -16px;
        padding: 16px;
    }

    .results-summary div {
        width: 100%;
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   ELYON STORE · Menú móvil, WhatsApp y carrito
   ========================================================= */

body.cart-open,
body.menu-open {
    overflow: hidden;
}

.header-inner {
    position: relative;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-cart-button,
.menu-toggle {
    border: 1px solid var(--line);
    color: var(--ink);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 9px 24px rgba(24, 20, 16, .07);
}

.header-cart-button {
    position: relative;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border-radius: 999px;
    font-weight: 800;
}

.header-cart-button svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-count {
    min-width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    padding-inline: 5px;
    border-radius: 999px;
    color: #fff;
    background: var(--accent-dark);
    font-size: 11px;
    line-height: 1;
}

.cart-count.is-bumping {
    animation: elyonCartBump .35s ease;
}

.menu-toggle {
    width: 46px;
    height: 46px;
    display: none;
    place-items: center;
    align-content: center;
    gap: 5px;
    padding: 0;
    border-radius: 50%;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: currentColor;
    transition: transform .22s ease, opacity .22s ease;
}

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Menos desenfoque para mostrar mejor el video de portada */
.hero-glass-panel {
    background: linear-gradient(135deg, rgba(13, 11, 9, .39), rgba(29, 23, 18, .17));
    backdrop-filter: blur(6px) saturate(1.08);
    -webkit-backdrop-filter: blur(6px) saturate(1.08);
}

.video-hero-overlay {
    background:
        linear-gradient(90deg, rgba(8, 7, 6, .72) 0%, rgba(10, 8, 7, .43) 48%, rgba(8, 7, 6, .15) 78%, rgba(8, 7, 6, .28) 100%),
        linear-gradient(180deg, rgba(7, 6, 5, .08) 0%, rgba(7, 6, 5, .09) 58%, rgba(7, 6, 5, .68) 100%);
}

.product-card-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 11px;
}

.add-cart-button {
    min-height: 40px;
    padding: 9px 15px;
    border-radius: 999px;
    font-size: 13px;
}

.modal-add-cart {
    width: 100%;
    margin-top: 24px;
}

.whatsapp-float {
    position: fixed;
    z-index: 80;
    right: 22px;
    bottom: 22px;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border: 3px solid rgba(255, 255, 255, .95);
    border-radius: 50%;
    color: #fff;
    background: #25d366;
    box-shadow: 0 18px 42px rgba(17, 113, 55, .32);
    transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: -7px;
    z-index: -1;
    border: 1px solid rgba(37, 211, 102, .4);
    border-radius: inherit;
    animation: elyonWhatsappPulse 2.2s ease-out infinite;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 22px 48px rgba(17, 113, 55, .4);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

.cart-shell {
    position: fixed;
    inset: 0;
    z-index: 120;
    visibility: hidden;
    pointer-events: none;
}

.cart-shell.is-open {
    visibility: visible;
    pointer-events: auto;
}

.cart-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: rgba(12, 10, 8, .56);
    backdrop-filter: blur(5px);
    transition: opacity .28s ease;
}

.cart-shell.is-open .cart-backdrop {
    opacity: 1;
}

.cart-drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: min(460px, 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow: -25px 0 80px rgba(14, 12, 10, .2);
    transform: translateX(102%);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}

.cart-shell.is-open .cart-drawer {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.cart-header .eyebrow {
    color: var(--accent-dark);
}

.cart-header h2 {
    margin: 5px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    line-height: 1.05;
}

.cart-close {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--ink);
    font-size: 28px;
    line-height: 1;
}

.cart-items {
    flex: 1;
    min-height: 0;
    padding: 8px 3px 8px 0;
    overflow-y: auto;
}

.cart-item {
    display: grid;
    grid-template-columns: 78px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.cart-item-image {
    width: 78px;
    height: 88px;
    overflow: hidden;
    border-radius: 15px;
    background: var(--soft);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    min-width: 0;
}

.cart-item-info h3 {
    margin: 0 0 4px;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item-price {
    display: block;
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 800;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.cart-quantity {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.cart-quantity button {
    width: 29px;
    height: 29px;
    padding: 0;
    border: 0;
    background: var(--soft);
    font-weight: 900;
}

.cart-quantity span {
    min-width: 28px;
    text-align: center;
    font-size: 12px;
    font-weight: 900;
}

.cart-remove {
    padding: 0;
    border: 0;
    color: var(--danger);
    background: transparent;
    font-size: 12px;
    font-weight: 800;
}

.cart-item-subtotal {
    align-self: start;
    padding-top: 4px;
    font-size: 14px;
    white-space: nowrap;
}

.cart-empty {
    flex: 1;
    display: none;
    place-items: center;
    align-content: center;
    padding: 36px 18px;
    text-align: center;
}

.cart-empty.is-visible {
    display: grid;
}

.cart-empty-icon {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 50%;
    color: var(--accent-dark);
    background: var(--soft);
    font-size: 42px;
}

.cart-empty h3 {
    margin: 0 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
}

.cart-empty p {
    margin: 0 0 22px;
    color: var(--muted);
}

.cart-summary {
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.cart-summary[hidden] {
    display: none;
}

.cart-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 9px;
    font-size: 18px;
}

.cart-total-row strong {
    font-size: 27px;
}

.cart-summary > p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 13px;
}

.whatsapp-checkout {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    background: #1faa59;
    box-shadow: 0 14px 28px rgba(31, 170, 89, .2);
}

.whatsapp-checkout:hover {
    background: #168d49;
}

.whatsapp-checkout svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.clear-cart {
    width: 100%;
    margin-top: 10px;
    padding: 8px;
    border: 0;
    color: var(--muted);
    background: transparent;
    font-size: 12px;
    font-weight: 800;
}

.cart-toast {
    position: fixed;
    z-index: 140;
    left: 50%;
    bottom: 28px;
    max-width: calc(100% - 32px);
    padding: 12px 18px;
    border-radius: 999px;
    color: #fff;
    background: var(--ink);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .2);
    font-weight: 800;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 18px);
    transition: opacity .22s ease, transform .22s ease;
}

.cart-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

@keyframes elyonCartBump {
    50% { transform: scale(1.25); }
}

@keyframes elyonWhatsappPulse {
    0% { opacity: .7; transform: scale(.88); }
    75%, 100% { opacity: 0; transform: scale(1.28); }
}

@media (max-width: 800px) {
    .menu-toggle {
        display: grid;
    }

    .header-cart-label {
        display: none;
    }

    .header-cart-button {
        width: 46px;
        height: 46px;
        justify-content: center;
        padding: 0;
        border-radius: 50%;
    }

    .header-cart-button .cart-count {
        position: absolute;
        top: -5px;
        right: -5px;
        min-width: 20px;
        height: 20px;
        border: 2px solid #fff;
    }

    .public-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        width: min(290px, calc(100vw - 28px));
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 20px;
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 24px 65px rgba(18, 15, 12, .18);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px) scale(.98);
        transform-origin: top right;
        transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
    }

    .public-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .public-nav a {
        padding: 12px 14px;
        border-radius: 12px;
    }

    .public-nav a:hover {
        background: var(--soft);
    }

    .video-hero-overlay {
        background:
            linear-gradient(90deg, rgba(8, 7, 6, .62), rgba(8, 7, 6, .28)),
            linear-gradient(180deg, rgba(7, 6, 5, .12), rgba(7, 6, 5, .65));
    }

    .hero-glass-panel {
        background: linear-gradient(135deg, rgba(12, 10, 9, .43), rgba(23, 18, 14, .21));
        backdrop-filter: blur(5px) saturate(1.06);
        -webkit-backdrop-filter: blur(5px) saturate(1.06);
    }
}

@media (max-width: 620px) {
    .brand span {
        display: none;
    }

    .header-actions {
        gap: 7px;
    }

    .product-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-card-actions {
        width: 100%;
        justify-content: space-between;
    }

    .add-cart-button {
        min-width: 112px;
    }

    .whatsapp-float {
        right: 15px;
        bottom: 15px;
        width: 56px;
        height: 56px;
    }

    .whatsapp-float svg {
        width: 31px;
        height: 31px;
    }

    .cart-drawer {
        width: 100%;
        padding: 22px 17px 18px;
    }

    .cart-header h2 {
        font-size: 28px;
    }

    .cart-item {
        grid-template-columns: 68px 1fr;
    }

    .cart-item-image {
        width: 68px;
        height: 78px;
    }

    .cart-item-subtotal {
        grid-column: 2;
        justify-self: end;
        margin-top: -32px;
    }

    .cart-toast {
        bottom: 82px;
        border-radius: 16px;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float::before {
        animation: none;
    }

    .cart-drawer,
    .cart-backdrop,
    .public-nav,
    .cart-toast {
        transition: none;
    }
}
