:root {
    --background: #f4f5f7;
    --foreground: #1d2d2f;
    --surface: #fffdfa;
    --surface-strong: #e7dccb;
    --line: rgba(29, 45, 47, 0.12);
    --muted: #5d6d6f;
    --accent: #af4f34;
    --success: #315344;
    --navy: #07133f;
    --navy-soft: rgba(7, 19, 63, 0.92);
    --shadow: 0 20px 70px rgba(29, 45, 47, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--foreground);
    font-family: "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(175, 79, 52, 0.1), transparent 28%),
        radial-gradient(circle at right, rgba(49, 83, 68, 0.12), transparent 22%),
        var(--background);
}
.bootstrap-shell {
    width: 100%;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding-right: 24px;
    padding-left: 24px;
}
.page-shell { padding-bottom: 56px; }
.home-main > .page-shell { padding-top: 0; }
.home-main > .page-shell > .section:first-child { padding-top: 24px; }
.public-layout-shell > .page-shell > .section > .section-head:first-child {
    padding-top: 40px;
}
.catalogo-premium {
    background: #efe9df;
    padding: 48px 20px 24px;
}

.catalogo-wrap {
    max-width: 1480px;
    margin: 0 auto;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.catalogo-eyebrow {
    margin: 0 0 16px;
    font-size: 14px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #58708a;
    font-weight: 500;
}

.catalogo-titulo {
    margin: 0;
    max-width: 980px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 4.4vw, 3.5rem);
    line-height: 1.08;
    color: #173a6a;
    font-weight: 700;
}

.catalogo-subtitulo {
    margin: 22px 0 0;
    max-width: 980px;
    font-size: 1.18rem;
    line-height: 1.7;
    color: #5f7188;
}

.catalogo-card {
    margin-top: 42px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(200, 206, 214, 0.9);
    border-radius: 28px;
    box-shadow: 0 14px 40px rgba(17, 34, 51, 0.08);
    padding: 28px;
}

.catalogo-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr 1fr 1fr;
    gap: 18px;
    align-items: center;
}

.catalogo-field-wrap {
    position: relative;
}

.catalogo-search-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    opacity: 0.65;
    pointer-events: none;
    color: #5f7188;
}

.catalogo-field,
.catalogo-select,
.catalogo-button {
    min-height: 68px;
    border-radius: 18px;
    transition: all 0.25s ease;
}

.catalogo-field,
.catalogo-select {
    width: 100%;
    border: 1px solid #d9dde3;
    background: #fff;
    font-size: 1.06rem;
    color: #1f3047;
    outline: none;
}

.catalogo-field {
    padding: 0 20px 0 58px;
}

.catalogo-select {
    padding: 0 18px;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #1f3047 50%),
        linear-gradient(135deg, #1f3047 50%, transparent 50%);
    background-position:
        calc(100% - 24px) calc(50% - 3px),
        calc(100% - 18px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.catalogo-field:focus,
.catalogo-select:focus,
.catalogo-field:hover,
.catalogo-select:hover {
    border-color: #9eb2ca;
    box-shadow: 0 0 0 4px rgba(23, 58, 106, 0.08);
}

.catalogo-actions {
    margin-top: 20px;
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.catalogo-button {
    border: none;
    padding: 0 34px;
    min-width: 320px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #123537, #1d5c5f);
    box-shadow: 0 10px 24px rgba(18, 53, 55, 0.2);
}

.catalogo-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(18, 53, 55, 0.24);
    filter: brightness(1.03);
}

.catalogo-link {
    color: #173a6a;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.catalogo-link:hover {
    text-decoration: underline;
}

.catalogo-resultados {
    margin-top: 28px;
    color: #536b82;
    font-size: 1.05rem;
}

.catalogo-resultados strong {
    color: #173a6a;
}

@media (max-width: 1100px) {
    .catalogo-grid {
        grid-template-columns: 1fr 1fr;
    }

    .catalogo-button {
        min-width: 260px;
    }
}

@media (max-width: 700px) {
    .catalogo-premium {
        padding: 28px 14px 56px;
    }

    .catalogo-card {
        padding: 18px;
        border-radius: 22px;
    }

    .catalogo-grid {
        grid-template-columns: 1fr;
    }

    .catalogo-field,
    .catalogo-select,
    .catalogo-button {
        min-height: 60px;
    }

    .catalogo-button {
        width: 100%;
        min-width: 100%;
    }

    .catalogo-subtitulo {
        font-size: 1rem;
    }
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-top: 3px solid #d7ba7a;
    backdrop-filter: blur(14px);
    background: var(--navy-soft);
}
.admin-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
    background: rgba(247, 243, 236, 0.9);
}
.nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 16px 0;
    position: relative;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.brand-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex: 0 0 auto;
    filter: brightness(0) invert(1);
}
.brand-title {
    font-family: Georgia, serif;
    font-size: 30px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.brand-subtitle, .eyebrow, .section-label, .pill, .hero-kicker {
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
}
.invert { color: rgba(255, 255, 255, 0.72); }
.hero-actions, .admin-tools, .section-inline {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.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;
}
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
    border-radius: 999px;
}
.nav-panel {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 24px;
}
.site-nav { margin-left: auto; }
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.nav-item,
.menu-group { position: relative; }
.nav-item-row {
    display: flex;
    align-items: center;
}
.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 54px;
    padding: 10px 10px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.03em;
}
.nav-link:hover,
.nav-link:focus-visible,
.submenu a:hover,
.submenu a:focus-visible {
    color: #d7dff5;
    outline: none;
}
.submenu-toggle {
    display: none;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}
.submenu-toggle::before {
    content: "⌄";
    font-size: 12px;
}
.submenu {
    list-style: none;
    margin: 0;
    padding: 10px;
    min-width: 220px;
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(7, 19, 63, 0.12);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(7, 19, 63, 0.16);
}
.submenu a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    white-space: nowrap;
    font-size: 13px;
    color: var(--navy);
    text-transform: uppercase;
    font-weight: 700;
}
.nav-utilities {
    display: flex;
    align-items: center;
    gap: 14px;
}
.nav-icon-set {
    display: flex;
    align-items: center;
    gap: 14px;
}
.nav-search {
    position: relative;
    width: 240px;
}
.nav-search input {
    width: 100%;
    height: 40px;
    border: 0;
    border-radius: 999px;
    padding: 0 18px 0 46px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--foreground);
}
.nav-search input::placeholder {
    color: #7b8194;
}
.nav-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    width: 18px;
    height: 18px;
    color: #6b7285;
    transform: translateY(-50%);
}
.nav-search-icon svg,
.nav-icon-link svg {
    width: 100%;
    height: 100%;
}
.nav-icon-link {
    position: relative;
    width: 22px;
    height: 22px;
    color: #fff;
}
.nav-icon-count {
    position: absolute;
    right: -9px;
    top: -7px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    font-size: 10px;
    line-height: 16px;
    text-align: center;
    font-weight: 700;
}
.nav-panel-link {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}
.menu-group:hover .submenu,
.menu-group:focus-within .submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.nav-cta { white-space: nowrap; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 14px 22px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.button-dark { background: var(--foreground); color: #fff; }
.button-accent { background: var(--accent); color: #fff; }
.button-light { background: #fff; color: var(--navy); }
.button-outline { border-color: var(--foreground); background: transparent; }
.button[disabled] { opacity: 0.45; cursor: not-allowed; }

.hero-banner {
    position: relative;
    min-height: calc(100vh - 83px);
    overflow: hidden;
    background: var(--navy);
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}
.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.hero-media {
    position: absolute;
    inset: 0;
    background-color: var(--navy);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
}
.hero-shell {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 83px);
    display: flex;
    align-items: flex-end;
    padding-bottom: 30px;
}
.hero-shell.container {
    width: calc(100% - 20px);
    max-width: none;
}
.hero-content {
    width: 100%;
    max-width: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 20px;
    border-radius: 28px;
    background: rgba(7, 19, 63, 0.34);
    backdrop-filter: blur(4px);
}
.hero-copy-block {
    display: grid;
    gap: 8px;
    min-width: 0;
    width: 100%;
}
.hero-main-row {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}
.hero-logo {
    width: min(116px, 22vw);
    margin-bottom: 96px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.hero-kicker {
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
    letter-spacing: 0.28em;
}
.hero-content h1,
.section-head h1,
.section-head h2,
.collection-hero h1,
.product-detail-body h1,
.auth-panel h1,
.auth-panel h2,
.banner-dark h2,
.error-box h1 {
    margin: 0;
    font-family: Georgia, serif;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.section-head h1,
.section-head h2 {
    padding-top: 0.12em;
}
.hero-content h1 {
    margin-top: 0;
    font-size: clamp(38px, 4.8vw, 62px);
    max-width: none;
    color: #fff;
    flex: 0 1 auto;
}
.hero-content p,
.hero-copy p,
.lead,
.panel-heading p,
.banner-light p,
.detail-note p {
    color: var(--muted);
    line-height: 1.8;
}
.hero-content p {
    max-width: 520px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.86);
}
.hero-content .hero-actions {
    margin-top: 0;
    flex: 0 0 auto;
}
.hero-content .button {
    min-width: 170px;
    padding: 14px 20px;
}
.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 2;
    width: min(1180px, calc(100% - 48px));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 0;
    background: rgba(255, 255, 255, 0.9);
    color: var(--navy);
    border-radius: 999px;
    padding: 0;
    cursor: pointer;
    transform: translateY(-50%);
    font-size: 34px;
    line-height: 1;
}
.hero-arrow-prev { left: 18px; }
.hero-arrow-next { right: 18px; }
.hero-arrow span {
    position: relative;
    top: -1px;
}
.hero-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.hero-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(7, 19, 63, 0.26);
    cursor: pointer;
}
.hero-dot.is-active {
    width: 12px;
    height: 12px;
    background: rgba(7, 19, 63, 0.95);
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    padding: 72px 0;
}
.hero-intro { padding-top: 72px; }
.hero-copy h1 { font-size: clamp(54px, 6vw, 88px); }

.hero-panel,
.panel,
.collection-hero,
.product-detail-body,
.auth-light,
.banner-light,
.table-wrap,
.product-card,
.stat-card,
.collection-card,
.filter-panel,
.error-box {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.hero-panel,
.banner-light,
.auth-panel,
.panel,
.product-card,
.collection-card,
.collection-hero,
.product-detail-body,
.filter-panel,
.error-box {
    border-radius: 32px;
}
.hero-panel,
.banner-light,
.auth-panel,
.panel,
.collection-card,
.product-detail-body,
.filter-panel {
    padding: 28px;
}

.panel-dark, .banner-dark, .auth-dark {
    border-radius: 32px;
    background: var(--foreground);
    color: #fff;
    padding: 28px;
}
.panel-dark strong, .banner-dark h2 {
    display: block;
    margin-top: 14px;
    font-family: Georgia, serif;
    font-size: 44px;
    line-height: 1;
}
.panel-grid, .stats-grid, .detail-grid {
    display: grid;
    gap: 16px;
}
.panel-grid, .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.store-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.panel-box, .stat-card, .detail-box, .detail-note, .summary-box {
    border-radius: 24px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
}
.panel-soft { background: var(--surface-strong); }
.plain-list {
    margin: 16px 0 0;
    padding-left: 18px;
    color: var(--foreground);
    line-height: 1.8;
}
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 20px; }
.stat-card strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 40px;
}
.stat-card span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12px;
}

.section { padding: 24px 0 12px; }
@media (min-width: 981px) {
    .catalogo-products-section {
        max-width: min(1790px, calc(100% - 64px));
    }
}
.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}
.section-head.stack { display: grid; justify-content: start; }
.collection-grid, .product-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.product-grid {
    align-items: stretch;
}
.product-grid-item,
.collection-hero > *,
.product-detail > *,
.detail-grid > *,
.panel-grid > *,
.stats-grid > *,
.store-grid > *,
.history-timeline-grid > *,
.history-capacity-grid > * {
    min-width: 0;
}
.collection-card strong, .text-link, .text-link-button {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
}
.text-link-button {
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.product-cover {
    position: relative;
    height: 260px;
    overflow: hidden;
}
.product-card-shell,
.product-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card-shell:hover,
.product-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 80px rgba(29, 45, 47, 0.12);
}
.product-image-link,
.product-body-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.product-image-link {
    height: 100%;
}
.product-cover img, .product-pattern, .product-pattern-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-pattern, .product-pattern-large {
    background: linear-gradient(140deg, #eee4d4 0%, #eee4d4 32%, #c4583c 32%, #c4583c 49%, #2a513f 49%, #2a513f 100%);
}
.product-pattern-large { min-height: 460px; }
.badge {
    position: absolute;
    left: 18px;
    top: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--navy);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(7, 19, 63, 0.22);
}
.compare-badge {
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--navy);
    border: 1px solid rgba(7, 19, 63, 0.12);
    box-shadow: 0 12px 28px rgba(7, 19, 63, 0.16);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    text-decoration: none;
}
.compare-badge:hover {
    background: var(--navy);
    color: #ffffff;
}
.product-body { padding: 24px; }
.product-body h3, .collection-card h3 {
    margin: 8px 0 12px;
    font-family: Georgia, serif;
    font-size: 36px;
    line-height: 1;
}
.product-title {
    margin: 8px 0 12px;
    margin-bottom: 12px;
    height: 72px;
    overflow: hidden;
}
.product-title-text {
    display: -webkit-box;
    width: 100%;
    overflow: hidden;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1;
}
.product-body p, .collection-card p {
    color: var(--muted);
    line-height: 1.7;
}
.product-description {
    margin: 0 0 18px;
    height: calc(1.7em * 3);
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}
.detail-box strong {
    display: block;
    margin-top: 8px;
    font-size: 20px;
}

.split-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}
.filter-panel {
    display: grid;
    gap: 16px;
    grid-template-columns: 2fr 1fr 1fr auto;
}
.field {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px 16px;
    background: #fff;
}
.field-area {
    min-height: 140px;
    resize: vertical;
}

.collection-hero, .product-detail {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    margin-top: 18px;
    margin-bottom: 28px;
}
.product-detail-section {
    padding-top: 0;
}
.product-detail {
    margin-top: clamp(32px, 7vw, 96px);
}
.summary-box {
    display: grid;
    gap: 16px;
    background: var(--surface-strong);
}
.product-detail-cover {
    position: relative;
    overflow: hidden;
    display: grid;
    justify-items: center;
    align-content: start;
    border-radius: 32px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: #fff;
}
.compare-badge-detail {
    top: 22px;
    right: 22px;
}
.product-detail-cover > img.product-detail-main-image {
    width: min(100%, 525px);
    height: 700px;
    max-height: calc((100vw - 32px) * 700 / 525);
    aspect-ratio: 525 / 700;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #f7f7f5;
}
.product-detail-gallery {
    display: grid;
    width: min(100%, 525px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
    background: #fff;
}
.product-detail-thumb {
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: transparent;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
}
.product-detail-thumb.is-active {
    outline: 3px solid var(--ink);
    outline-offset: 2px;
}
.product-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.18s ease;
}
.product-detail-thumb:hover img,
.product-detail-thumb:focus-visible img {
    transform: scale(1.03);
}
.product-detail-thumb:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 2px;
}
.detail-note { margin-top: 18px; }
.detail-note span, .detail-box span, .panel-box span, .banner-dark span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    color: var(--muted);
}

.auth-shell, .center-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.auth-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 0;
    overflow: hidden;
    border-radius: 36px;
    box-shadow: var(--shadow);
}
.auth-panel p, .auth-credentials strong {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}
.auth-credentials {
    margin-top: 28px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 8px;
}
.stack-form { display: grid; gap: 14px; }
.stack-form label { display: grid; gap: 8px; }
.check-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.admin-form-actions,
.admin-table-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.admin-table-actions {
    flex-wrap: nowrap;
    white-space: nowrap;
}
.admin-nav-items,
.admin-menu-preview-list {
    display: grid;
    gap: 18px;
}
.admin-menu-editor,
.admin-menu-preview-card {
    padding: 18px;
    border-radius: 24px;
    background: rgba(31, 53, 123, 0.04);
    border: 1px solid rgba(21, 37, 86, 0.08);
}
.admin-menu-editor-head,
.admin-menu-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.admin-menu-editor-head strong,
.admin-menu-preview-head strong {
    font-size: 20px;
    color: #182862;
}
.admin-menu-preview-head span,
.admin-menu-preview-child span {
    color: #5d6d96;
    font-size: 13px;
    line-height: 1.6;
    word-break: break-word;
}
.admin-menu-editor-grid,
.admin-submenu-row {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.admin-menu-editor-grid {
    margin-top: 16px;
}
.admin-submenu-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}
.admin-submenu-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: center;
}
.admin-menu-preview-children {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}
.admin-menu-preview-child {
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(21, 37, 86, 0.06);
}
.admin-menu-preview-child strong {
    display: block;
    margin-bottom: 4px;
    color: #182862;
}
.admin-table-actions form {
    margin: 0;
}
.text-link-danger {
    color: var(--accent);
}

.admin-body {
    background:
        radial-gradient(circle at top, rgba(44, 76, 174, 0.18), transparent 26%),
        linear-gradient(180deg, #edf1fb 0%, #e8edf7 100%);
}
.admin-shell {
    padding: 18px 18px 28px;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
}
.admin-app {
    width: min(1800px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    height: 100%;
    min-height: 0;
}
.admin-sidebar {
    min-height: 0;
    max-height: calc(100vh - 46px);
    position: sticky;
    top: 18px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 24px;
    padding: 16px 14px 14px;
    border-radius: 28px;
    background: linear-gradient(180deg, #15224f 0%, #1b2d67 100%);
    color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 28px 60px rgba(15, 28, 75, 0.24);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.admin-sidebar::-webkit-scrollbar {
    width: 0;
    height: 0;
}
.admin-sidebar-top {
    display: grid;
    gap: 14px;
}
.admin-brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(112, 145, 255, 0.46), rgba(255, 255, 255, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 700;
}
.admin-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.94);
}
.admin-brand-copy {
    display: grid;
    gap: 6px;
}
.admin-brand-copy strong {
    font-size: 28px;
    letter-spacing: 0.04em;
}
.admin-brand-copy span {
    color: rgba(224, 231, 255, 0.72);
    line-height: 1.6;
    font-size: 14px;
}
.admin-nav {
    display: grid;
    align-content: start;
    gap: 8px;
}
.admin-nav-link {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px 12px;
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.admin-nav-link:hover,
.admin-nav-link:focus-visible {
    outline: none;
    transform: translateX(3px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(121, 149, 255, 0.36);
}
.admin-nav-link.is-active {
    background: linear-gradient(180deg, rgba(89, 121, 232, 0.34), rgba(52, 81, 186, 0.28));
    border-color: rgba(141, 166, 255, 0.45);
    box-shadow: inset 3px 0 0 #78a6ff;
}
.admin-nav-index {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: rgba(224, 231, 255, 0.68);
}
.admin-nav-link strong {
    font-size: 20px;
}
.admin-nav-badge {
    min-width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 12px;
    font-weight: 700;
}
.admin-sidebar-footer {
    display: grid;
    gap: 14px;
}
.admin-profile-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-profile-avatar,
.admin-hero-badge {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(120, 166, 255, 0.34), rgba(255, 255, 255, 0.15));
    color: #fff;
    font-weight: 700;
}
.admin-profile-card strong {
    display: block;
    font-size: 16px;
}
.admin-profile-card span:last-child {
    color: rgba(224, 231, 255, 0.7);
    font-size: 13px;
}
.admin-sidebar-actions {
    display: grid;
    gap: 10px;
}
.admin-sidebar-actions form {
    margin: 0;
}
.admin-sidebar-button {
    width: 100%;
}
.admin-sidebar-button-dark {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.14);
}
.admin-main {
    display: grid;
    gap: 22px;
    max-height: calc(100vh - 46px);
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.admin-main::-webkit-scrollbar {
    width: 0;
    height: 0;
}
.admin-hero,
.admin-panel-card,
.admin-spotlight-card,
.admin-mini-card,
.admin-metric-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 24px 60px rgba(53, 72, 130, 0.14);
    backdrop-filter: blur(18px);
}
.admin-hero::after,
.admin-panel-card::after,
.admin-spotlight-card::after,
.admin-mini-card::after {
    content: "";
    position: absolute;
    inset: auto -8% -24% auto;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(247, 205, 112, 0.26), rgba(247, 205, 112, 0));
    pointer-events: none;
}
.admin-hero {
    padding: 30px 30px 34px;
    background: linear-gradient(135deg, #1f3270 0%, #253f85 60%, #3f4f7d 100%);
    color: #fff;
    min-height: 272px;
}
.admin-hero::after {
    width: 260px;
    height: 260px;
    inset: auto -40px -80px auto;
}
.admin-hero-kicker,
.admin-section-kicker {
    display: inline-block;
    margin-top: 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(220, 229, 255, 0.72);
}
.admin-hero h1,
.admin-section-head h2 {
    margin: 12px 0 0;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: clamp(46px, 5.4vw, 64px);
    font-weight: 300;
    line-height: 0.96;
    letter-spacing: -0.04em;
}
.admin-section-head h2 {
    color: #162455;
    font-size: clamp(28px, 3vw, 36px);
}
.admin-hero p,
.admin-section-copy,
.admin-list-copy p,
.admin-mini-card p,
.admin-spotlight-card p,
.admin-form-note {
    line-height: 1.8;
    color: #5b6d98;
}
.admin-hero p {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(231, 237, 255, 0.85);
}
.admin-hero-pills {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.admin-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.admin-hero-pill strong {
    font-size: 15px;
}
.admin-hero-pill span:last-child {
    color: rgba(229, 235, 255, 0.74);
    font-size: 13px;
}
.admin-section-block,
.admin-dual-grid,
.admin-edit-grid,
.admin-metric-strip {
    display: grid;
    gap: 20px;
}
.admin-section-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}
.admin-count-pill {
    min-width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    background: rgba(25, 42, 95, 0.08);
    color: #172556;
    font-weight: 700;
}
.admin-section-copy {
    margin: -6px 0 0;
}
.admin-card-grid,
.admin-mini-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.admin-spotlight-card,
.admin-panel-card {
    padding: 22px;
}
.admin-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.admin-card-index,
.admin-card-icon,
.admin-chip,
.admin-list-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 16px;
    background: rgba(25, 42, 95, 0.06);
    color: #152556;
    font-size: 12px;
    font-weight: 700;
}
.admin-card-icon {
    background: rgba(247, 205, 112, 0.22);
}
.admin-spotlight-card h3 {
    margin: 22px 0 12px;
    font-size: 28px;
    color: #182862;
}
.admin-card-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.admin-chip {
    min-height: 34px;
    background: rgba(31, 53, 123, 0.08);
}
.admin-chip-button {
    border: 1px solid rgba(21, 37, 86, 0.12);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.admin-chip-button.is-active {
    background: #152556;
    border-color: #152556;
    color: #ffffff;
}
.admin-inline-link,
.admin-list-arrow {
    color: #3361ff;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: none;
    font-size: 14px;
}
.admin-inline-link {
    display: inline-flex;
    margin-top: 20px;
}
.admin-table-wrap .text-link,
.admin-table-wrap .text-link-button {
    color: #3361ff;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: none;
    font-size: 14px;
}
.admin-table-wrap .text-link-danger {
    color: var(--accent);
}
.admin-dual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.admin-list {
    display: grid;
    gap: 14px;
}
.admin-list-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 22px;
    background: rgba(31, 53, 123, 0.04);
    border: 1px solid rgba(22, 39, 90, 0.08);
}
.admin-list-item.is-static {
    grid-template-columns: 1fr;
}
.admin-list-copy strong {
    display: block;
    color: #192759;
    font-size: 18px;
}
.admin-list-copy p {
    margin: 6px 0 0;
}
.admin-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.admin-mini-card {
    padding: 22px;
}
.admin-mini-card strong,
.admin-metric-card strong {
    display: block;
    color: #1b2a60;
    font-size: 36px;
    line-height: 1;
}
.admin-mini-card span,
.admin-metric-card span,
.admin-slide-head span {
    display: block;
    margin-top: 8px;
    color: #5d6d96;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
}

.compare-hero {
    padding: 54px 20px 34px;
    background: linear-gradient(180deg, #f2ebe0 0%, #ece4d8 100%);
}
.compare-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
    gap: 24px;
    align-items: end;
}
.compare-hero h1 {
    margin: 0;
    max-width: 760px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.4vw, 4rem);
    line-height: 0.98;
    color: var(--navy);
}
.compare-composition {
    display: grid;
    gap: 8px;
    padding: 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(23, 58, 106, 0.12);
}
.compare-composition span,
.compare-hint {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}
.compare-composition strong {
    color: var(--navy);
    font-size: 20px;
}
.compare-section {
    display: grid;
    gap: 30px;
}
.compare-picker {
    display: grid;
    gap: 18px;
}
.compare-submit {
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    padding: 0 20px;
    background: var(--navy);
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.compare-picker-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.compare-option {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}
.compare-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.compare-option.is-selected,
.compare-option:has(input:checked) {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(23, 58, 106, 0.12);
}
.compare-option-media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
    background: var(--surface-strong);
}
.compare-option-media img,
.compare-product-image img,
.compare-product-image .product-pattern {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.compare-option-body {
    display: grid;
    gap: 7px;
    min-width: 0;
}
.compare-option-body strong,
.compare-option-body span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}
.compare-option-body strong {
    color: var(--foreground);
    font-size: 16px;
    line-height: 1.15;
}
.compare-option-body span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.compare-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}
.compare-table {
    min-width: calc(220px + (280px * var(--compare-columns)));
}
.compare-row {
    display: grid;
    grid-template-columns: 220px repeat(var(--compare-columns), minmax(260px, 1fr));
}
.compare-row:nth-child(even) > * {
    background: #f5f5f5;
}
.compare-row-head > * {
    background: #fff;
}
.compare-label,
.compare-value {
    min-height: 54px;
    padding: 16px;
    border-right: 10px solid #fff;
    display: flex;
    align-items: center;
}
.compare-label {
    color: #000;
    font-weight: 800;
}
.compare-value {
    color: var(--foreground);
    line-height: 1.45;
}
.compare-product-head {
    padding: 0 10px 18px 0;
    text-align: center;
}
.compare-product-head a {
    display: grid;
    gap: 12px;
    color: var(--foreground);
    text-decoration: none;
}
.compare-product-head strong {
    display: block;
    padding: 0 12px;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
}
.compare-product-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--surface-strong);
}

@media (max-width: 1100px) {
    .compare-picker-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .compare-hero {
        padding: 34px 14px 28px;
    }

    .compare-hero-inner,
    .compare-picker-grid {
        grid-template-columns: 1fr;
    }

    .compare-submit {
        width: 100%;
    }

    .compare-option {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .compare-table {
        min-width: calc(160px + (230px * var(--compare-columns)));
    }

    .compare-row {
        grid-template-columns: 160px repeat(var(--compare-columns), minmax(220px, 1fr));
    }

    .compare-label,
    .compare-value {
        padding: 14px 12px;
    }

    .compare-product-head strong {
        font-size: 18px;
    }
}
.admin-metric-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.admin-metric-card {
    padding: 18px 22px;
}
.admin-edit-grid {
    grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
}
.admin-edit-grid-branding {
    grid-template-columns: minmax(340px, 0.75fr) minmax(0, 1.25fr);
}
.admin-form-card {
    position: sticky;
    top: 18px;
}
.admin-products-panel,
.admin-product-editor {
    display: grid;
    gap: 22px;
}
.admin-product-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) repeat(4, minmax(150px, 1fr)) auto;
    gap: 12px;
    align-items: end;
    padding: 16px;
    border-radius: 22px;
    background: rgba(31, 53, 123, 0.04);
    border: 1px solid rgba(21, 37, 86, 0.08);
}
.admin-product-filters label {
    display: grid;
    gap: 8px;
}
.admin-product-filters span {
    color: #5d6d96;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.admin-product-filters input,
.admin-product-filters select {
    width: 100%;
    min-height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(21, 37, 86, 0.12);
    background: rgba(255, 255, 255, 0.82);
    color: #172556;
    padding: 0 12px;
}
.admin-product-filter-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}
.admin-filter-summary {
    margin: -8px 0 0;
    color: #52638f;
    font-size: 14px;
}
.admin-product-form {
    display: grid;
    gap: 22px;
}
.admin-product-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 22px;
    align-items: start;
}
.admin-form-block {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(31, 53, 123, 0.04);
    border: 1px solid rgba(21, 37, 86, 0.08);
}
.admin-form-block .admin-section-kicker {
    margin-top: 0;
    color: #5d6d96;
}
.admin-form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.55fr);
    gap: 12px;
}
.admin-product-media-column {
    display: grid;
    gap: 18px;
}
.admin-product-thumb {
    width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(31, 53, 123, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6a7594;
    font-size: 11px;
    text-align: center;
}
.admin-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.admin-table-title {
    display: block;
    color: #172556;
    margin-bottom: 6px;
}
.admin-product-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.admin-product-gallery-item {
    display: grid;
    gap: 10px;
    padding: 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(21, 37, 86, 0.08);
}
.admin-product-gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    object-fit: cover;
    background: rgba(31, 53, 123, 0.06);
}
.admin-product-gallery-item span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #52638f;
    font-size: 12px;
    line-height: 1.4;
}
.admin-upload-drop,
.admin-media-empty {
    display: grid;
    gap: 8px;
    place-items: center;
    min-height: 156px;
    padding: 24px;
    border-radius: 24px;
    border: 1px dashed rgba(51, 97, 255, 0.36);
    background: rgba(51, 97, 255, 0.05);
    color: #52638f;
    text-align: center;
}
.admin-upload-drop {
    cursor: pointer;
}
.admin-upload-drop input {
    max-width: 100%;
}
.admin-upload-drop strong {
    color: #172556;
    font-size: 18px;
}
.admin-upload-drop span {
    max-width: 320px;
    line-height: 1.6;
}
.admin-product-actions {
    justify-content: flex-end;
}
.admin-form-note {
    margin: -2px 0 0;
}
.admin-tag-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}
.admin-media-preview {
    border-radius: 24px;
    border: 1px solid rgba(21, 37, 86, 0.08);
    background: linear-gradient(180deg, rgba(240, 244, 255, 0.96), rgba(255, 255, 255, 0.92));
    min-height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.admin-logo-preview {
    padding: 28px;
}
.admin-logo-preview img {
    max-width: 220px;
    max-height: 180px;
    object-fit: contain;
}
.admin-banner-preview img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.admin-product-preview img {
    width: 100%;
    max-height: 340px;
    object-fit: contain;
}
.admin-slide-list {
    display: grid;
    gap: 18px;
}
.admin-slide-card {
    padding: 18px;
    border-radius: 24px;
    background: rgba(31, 53, 123, 0.04);
    border: 1px solid rgba(21, 37, 86, 0.08);
}
.admin-slide-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.admin-slide-head strong {
    font-size: 20px;
    color: #1a295c;
}
.muted {
    color: var(--muted);
}
.table-wrap {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
.admin-table-wrap {
    border-radius: 22px;
    background: rgba(31, 53, 123, 0.04);
    border: 1px solid rgba(21, 37, 86, 0.08);
}
.table {
    width: 100%;
    border-collapse: collapse;
}
.table th, .table td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(21, 37, 86, 0.08);
    text-align: left;
    vertical-align: middle;
}
.table th:last-child,
.table td:last-child {
    min-width: 220px;
}
.table th {
    background: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5d6d96;
}
.table-status {
    display: inline-block;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.table-status.is-on { background: rgba(49, 83, 68, 0.12); color: var(--success); }
.table-status.is-off { background: rgba(175, 79, 52, 0.12); color: var(--accent); }
.table-wrap {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
.table {
    width: 100%;
    border-collapse: collapse;
}
.table th, .table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}
.table th:last-child,
.table td:last-child {
    min-width: 220px;
}
.table th {
    background: var(--surface);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.table-status {
    display: inline-block;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.table-status.is-on { background: rgba(49, 83, 68, 0.12); color: var(--success); }
.table-status.is-off { background: rgba(175, 79, 52, 0.12); color: var(--accent); }

.flash-wrap {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 100;
    display: grid;
    gap: 10px;
    width: min(380px, calc(100% - 32px));
}
.flash {
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: var(--shadow);
    background: #fff;
    border: 1px solid var(--line);
}
.flash-error { border-color: rgba(175, 79, 52, 0.24); color: var(--accent); }
.flash-success { border-color: rgba(49, 83, 68, 0.24); color: var(--success); }
.error-box {
    width: min(560px, calc(100% - 48px));
    margin: 0 auto;
    text-align: center;
    padding: 36px;
}
.careers-banner {
    display: grid;
    gap: 16px;
}

@media (max-width: 980px) {
    .hero,
    .split-banner,
    .auth-grid,
    .collection-hero,
    .product-detail,
    .admin-app,
    .admin-dual-grid,
    .admin-card-grid,
    .admin-mini-grid,
    .admin-edit-grid,
    .admin-metric-strip,
    .filter-panel,
    .stats-grid,
    .collection-grid,
    .panel-grid,
    .detail-grid,
    .store-grid {
        grid-template-columns: 1fr;
    }

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

    .product-cover {
        height: 170px;
    }

    .product-body {
        padding: 16px;
    }

    .product-body h3,
    .collection-card h3 {
        font-size: 1.215rem;
        line-height: 1.05;
    }

    .product-body .eyebrow {
        font-size: 0.9em;
    }

    .product-body p,
    .collection-card p {
        font-size: 0.9em;
    }

    .product-title {
        height: 2.55rem;
        margin: 6px 0 8px;
    }

    .product-description {
        height: calc(1.45em * 2);
        margin-bottom: 12px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        line-height: 1.45;
    }

    .badge,
    .compare-badge {
        top: 10px;
        min-height: 28px;
        padding: 6px 9px;
        font-size: 0.522rem;
        letter-spacing: 0.08em;
    }

    .badge {
        left: 10px;
        max-width: calc(100% - 20px);
    }

    .compare-badge {
        right: 10px;
    }

    @media (max-width: 480px) {
        .product-cover {
            height: 150px;
        }

        .compare-badge {
            top: auto;
            bottom: 10px;
            right: 10px;
        }

        .product-body {
            padding: 14px;
        }

        .product-body h3,
        .collection-card h3 {
            font-size: 1.062rem;
        }
    }

    .section-head,
    .section-inline {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-sidebar {
        position: static;
        top: auto;
        max-height: 34vh;
        min-height: 260px;
    }

    .admin-shell {
        height: 100vh;
        overflow: hidden;
    }

    .admin-app {
        height: 100%;
        grid-template-rows: auto minmax(0, 1fr);
    }

    .admin-main {
        max-height: none;
        height: 100%;
        overflow-y: auto;
    }

    .admin-form-card {
        position: static;
        top: auto;
    }

    .admin-section-head,
    .admin-slide-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-nav-link,
    .admin-list-item {
        grid-template-columns: 1fr;
    }

    .admin-card-grid,
    .admin-mini-grid,
    .admin-dual-grid,
    .admin-metric-strip,
    .admin-edit-grid,
    .admin-product-form-grid,
    .admin-form-row,
    .admin-product-filters {
        grid-template-columns: 1fr;
    }

    .admin-hero {
        min-height: auto;
        padding: 24px;
    }

    .admin-hero h1 {
        font-size: clamp(34px, 10vw, 48px);
    }

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

    .nav-row {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
    }

    .brand {
        align-items: flex-start;
    }

    .brand-title {
        font-size: 22px;
        letter-spacing: 0.1em;
    }

    .brand-logo {
        width: 48px;
        height: 48px;
    }

    .nav-toggle {
        display: inline-block;
        margin-left: auto;
    }

    .nav-panel {
        width: 100%;
        margin-left: 0;
        padding-top: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .site-header.is-open .nav-panel {
        display: flex;
    }

    .site-nav,
    .nav-utilities {
        width: 100%;
    }

    .nav-search {
        width: 100%;
    }

    .nav-links {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .nav-item,
    .menu-group,
    .nav-item-row,
    .nav-link {
        width: 100%;
    }

    .nav-link {
        min-height: 44px;
        padding: 10px 0;
        justify-content: flex-start;
        font-size: 15px;
    }

    .nav-item-row {
        justify-content: space-between;
        gap: 12px;
    }

    .submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
    }

    .menu-group.is-open .submenu-toggle::before {
        content: "⌃";
    }

    .submenu {
        position: static;
        min-width: 0;
        margin-top: 0;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.98);
        display: none;
        padding: 10px 12px;
        border-radius: 16px;
    }

    .menu-group.is-open .submenu {
        display: grid;
        gap: 4px;
    }

    .hero-banner,
    .hero-shell {
        min-height: 560px;
    }

    .hero-content h1,
    .hero-copy h1 {
        font-size: clamp(34px, 11vw, 58px);
    }

    .hero-controls {
        left: 50%;
        bottom: 18px;
        width: calc(100% - 48px);
        transform: translateX(-50%);
        align-items: center;
        flex-direction: row;
        justify-content: center;
    }

    .nav-utilities {
        display: grid;
        gap: 12px;
    }

    .nav-icon-set {
        display: flex;
        align-items: center;
        gap: 18px;
    }

    .nav-panel-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        border: 1px solid rgba(255, 255, 255, 0.24);
        border-radius: 999px;
        color: #fff;
    }

    .hero-arrow {
        width: 42px;
        height: 42px;
        font-size: 28px;
    }

    .hero-arrow-prev { left: 10px; }
    .hero-arrow-next { right: 10px; }

    .hero-logo {
        margin-bottom: 54px;
    }

    .hero-shell {
        padding-bottom: 62px;
    }

    .hero-content {
        width: auto;
        max-width: 320px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 14px;
        padding: 22px 20px;
    }

    .hero-main-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .admin-menu-editor-grid,
    .admin-submenu-row {
        grid-template-columns: 1fr;
    }

    .product-title {
        height: auto;
        min-height: 0;
    }

    .product-description {
        height: auto;
    }
}

.home-main {
    --home-cream: #f5f0e8;
    --home-dark: #07133f;
    --home-charcoal: #0f1f5a;
    --home-gold: #5f8fff;
    --home-gold-light: #9dbdff;
    --home-rust: #3b72f2;
    --home-text: #1f2c55;
    --home-muted: #66708d;
    --home-white: #ffffff;
    --home-border: #d4def7;
}

body.home-page {
    background: var(--home-cream);
    color: var(--home-text);
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
}

.home-main * {
    box-sizing: border-box;
}

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

.home-main a {
    color: inherit;
    text-decoration: none;
}

.home-main ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-top-shell {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    background: var(--home-dark);
}

.home-main,
.page-shell,
.section,
.catalogo-wrap,
.catalogo-card,
.collection-hero,
.product-detail,
.product-detail-cover,
.product-detail-body,
.home-best-sellers-shell,
.home-instagram-shell,
.history-hero-grid,
.history-story-grid,
.history-capacity-grid,
.admin-app,
.auth-grid {
    min-width: 0;
}

.home-nav {
    position: relative;
    z-index: 100;
    margin: 0;
    min-height: 72px;
    padding: 0 clamp(2rem, 4vw, 4.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.5rem, 3vw, 3rem);
    background: rgba(7, 19, 63, 0.96);
    border-bottom: 1px solid rgba(95, 143, 255, 0.28);
    backdrop-filter: blur(10px);
}

.home-nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--home-white);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 0 0 18px rgba(126, 168, 255, 0.12);
}

.home-nav-logo span {
    color: var(--home-white);
}

.home-nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.5rem, 3vw, 3rem);
    flex: 1;
    min-width: 0;
    margin-left: auto;
}

.home-nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1.35rem, 2.2vw, 2.25rem);
    flex-wrap: wrap;
}

.home-nav-item {
    position: relative;
}

.home-nav-link-row {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.home-nav-link-row > a,
.home-nav-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.home-nav-link-row > a {
    color: rgba(255, 255, 255, 0.88);
}

.home-nav-icon {
    color: rgba(255, 255, 255, 0.96);
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(157, 189, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.home-nav-link-row > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 1px;
    background: var(--home-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.home-nav-link-row > a:hover,
.home-nav-icon:hover {
    color: var(--home-gold);
}

.home-nav-link-row > a:hover::after,
.home-nav-item:hover .home-nav-link-row > a::after,
.home-nav-item:focus-within .home-nav-link-row > a::after {
    transform: scaleX(1);
}

.home-nav-icon:hover {
    border-color: rgba(95, 143, 255, 0.3);
    background: rgba(95, 143, 255, 0.08);
}

.home-submenu-toggle {
    display: none;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    cursor: pointer;
}

.home-submenu-toggle::before {
    content: "\2304";
    font-size: 12px;
}

.home-submenu {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    min-width: 260px;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.99);
    border: 1px solid rgba(159, 178, 233, 0.28);
    border-radius: 18px;
    box-shadow: 0 20px 48px rgba(7, 19, 63, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.home-submenu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

.home-submenu a {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    color: var(--home-dark);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-submenu a:hover {
    color: var(--home-rust);
    background: rgba(95, 143, 255, 0.08);
}

.home-nav-item:hover .home-submenu,
.home-nav-item:focus-within .home-submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.home-nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: nowrap;
    margin-left: auto;
}

.home-nav-icon-secondary {
    background: rgba(255, 255, 255, 0.035);
}

.home-nav-icon-primary {
    min-width: 142px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(157, 189, 255, 0.24);
}

.home-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--home-white);
    cursor: pointer;
}

.home-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: currentColor;
}

.home-hero {
    margin-top: 0;
    min-height: calc((100vh - 72px) * 0.7);
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    background: var(--home-dark);
    overflow: hidden;
}

.home-nav + .home-hero,
.home-top-shell > .home-hero,
.home-main > .home-hero {
    margin-top: 0 !important;
}

.home-hero-left {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.5rem 4rem 3.5rem 5rem;
}

.home-hero-eyebrow,
.home-section-eyebrow,
.home-collection-tag,
.home-campaign-tag,
.home-support-label {
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.home-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.4rem;
    color: var(--home-gold);
    font-size: 0.68rem;
}

.home-hero-eyebrow::before {
    content: "";
    display: block;
    width: 2.5rem;
    height: 1px;
    background: var(--home-gold);
}

.home-hero h1 {
    margin: 0 0 1.8rem;
    color: var(--home-white);
    font-family: "Playfair Display", serif;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.home-hero h1 em {
    color: var(--home-gold-light);
    font-style: italic;
}

.home-hero p {
    max-width: 380px;
    margin: 0 0 2.8rem;
    color: rgba(255, 255, 255, 0.58);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
}

.home-hero-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.home-btn-primary,
.home-btn-outline,
.home-campaign-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 1rem 2rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.home-btn-primary {
    color: var(--home-dark);
    background: var(--home-gold-light);
    border: 1px solid var(--home-gold-light);
}

.home-btn-primary:hover {
    background: #bdd1ff;
    border-color: #bdd1ff;
}

.home-btn-outline {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    background: var(--home-charcoal);
    border: 1px solid var(--home-charcoal);
}

.home-btn-outline:hover {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    background: #19306f;
    border-color: #19306f;
}

.home-hero-right {
    position: relative;
    overflow: hidden;
}

.home-hero-image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0d1b52 0%, #07133f 45%, #16307e 100%);
}

.home-hero-image-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 40%, rgba(157, 189, 255, 0.2) 0%, transparent 65%);
}

.home-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(157, 189, 255, 0.45) 10px,
        rgba(157, 189, 255, 0.45) 11px
    );
}

.home-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.8) contrast(1.05);
    transition: transform 8s ease;
}

.home-hero:hover .home-hero-image {
    transform: scale(1.03);
}

.home-hero-badge {
    position: absolute;
    right: 3rem;
    bottom: 3rem;
    width: 110px;
    height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(157, 189, 255, 0.45);
    border-radius: 50%;
    background: rgba(7, 19, 63, 0.8);
    backdrop-filter: blur(8px);
    text-align: center;
}

.home-hero-badge span:first-child {
    color: var(--home-gold);
    font-family: "Cormorant Garamond", serif;
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1;
}

.home-hero-badge span:last-child {
    margin-top: 0.3rem;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1.4;
}

.home-collections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    padding: 5rem;
    background: #ffffff;
}

.home-collection-card {
    position: relative;
    height: 520px;
    overflow: hidden;
    background: #ffffff;
}

.home-collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
    transition: transform 0.7s ease;
}

.home-collection-card:hover img {
    transform: scale(1.06);
}

.home-collection-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.8rem;
    background: linear-gradient(to top, rgba(7, 19, 63, 0.38) 0%, transparent 55%);
}

.home-collection-overlay > * {
    position: relative;
    z-index: 1;
}

.home-collection-overlay::after {
    content: "";
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    width: 205px;
    height: 118px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: none;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.home-collection-tag,
.home-section-eyebrow,
.home-campaign-tag,
.home-support-label {
    color: var(--home-gold);
    font-size: 0.65rem;
}

.home-collection-title,
.home-section-title,
.home-support-title {
    margin: 0;
    color: var(--home-white);
    font-family: "Cormorant Garamond", serif;
    font-weight: 300;
}

.home-collection-title {
    display: inline-block;
    width: fit-content;
    margin-bottom: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--home-white);
    box-shadow: none;
    backdrop-filter: none;
    font-size: 2.45rem;
    line-height: 1;
    letter-spacing: 0.04em;
    text-shadow: 0 4px 18px rgba(7, 19, 63, 0.3);
    text-align: center;
}

.home-collection-cta,
.home-collection-link,
.home-product-read-more {
    display: inline-flex;
    width: fit-content;
}

.home-collection-cta {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 118px;
    padding: 0;
    text-align: center;
    cursor: pointer;
}

.home-collection-tag {
    display: inline-block;
    width: fit-content;
    margin-bottom: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #bcd2ff;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(7, 19, 63, 0.28);
    align-self: flex-start;
    text-align: left;
}

.home-collection-cta:hover .home-collection-title {
    color: #ffffff;
    transform: translateX(2px);
}

.home-collection-cta:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 6px;
    border-radius: 12px;
}

.home-categories,
.home-instagram {
    padding: 6rem 5rem;
    background: var(--home-cream);
}

.home-best-sellers {
    padding: 6rem 5rem;
    background:
        radial-gradient(circle at top left, rgba(188, 210, 255, 0.32), transparent 36%),
        linear-gradient(180deg, #fdfcf9 0%, #ffffff 100%);
}

.home-best-sellers-shell {
    position: relative;
    padding: 3rem;
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 255, 0.94));
    border: 1px solid rgba(7, 19, 63, 0.08);
    box-shadow: 0 28px 70px rgba(7, 19, 63, 0.08);
    overflow: hidden;
}

.home-best-sellers-shell::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(82, 121, 255, 0.14), transparent 68%);
    transform: translate(-35%, -35%);
    pointer-events: none;
}

.home-best-sellers-shell::after {
    content: "";
    position: absolute;
    top: 24px;
    right: 28px;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(7, 19, 63, 0.08);
    border-radius: 28px;
    opacity: 0.55;
    pointer-events: none;
}

.home-best-sellers-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.home-best-sellers .home-section-header {
    flex: 1 1 auto;
    margin-bottom: 0;
    text-align: left;
}

.home-best-sellers .home-section-desc {
    max-width: 620px;
    margin-left: 0;
}

.home-best-sellers-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.25rem;
}

.home-best-sellers-metrics {
    display: flex;
    gap: 0.9rem;
}

.home-best-sellers-metric {
    min-width: 132px;
    padding: 1rem 1.1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(7, 19, 63, 0.08);
    box-shadow: 0 14px 28px rgba(7, 19, 63, 0.06);
}

.home-best-sellers-metric strong,
.home-best-sellers-metric span {
    display: block;
}

.home-best-sellers-metric strong {
    color: var(--home-dark);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-best-sellers-metric span {
    margin-top: 0.35rem;
    color: var(--home-muted);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-products-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.home-products-nav-button {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(7, 19, 63, 0.12);
    border-radius: 50%;
    background: #ffffff;
    color: var(--home-dark);
    font-size: 1rem;
    transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-products-nav-button:hover:not(:disabled) {
    transform: translateY(-1px);
    color: var(--home-gold);
    border-color: rgba(7, 19, 63, 0.2);
    box-shadow: 0 10px 22px rgba(7, 19, 63, 0.1);
}

.home-products-nav-button:disabled {
    opacity: 0.35;
    cursor: default;
    box-shadow: none;
}

.home-products-carousel {
    position: relative;
    z-index: 1;
}

.home-products-viewport {
    --home-product-gap: 2rem;
    display: flex;
    gap: var(--home-product-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.home-products-viewport::-webkit-scrollbar {
    display: none;
}

.home-section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.home-section-title {
    color: var(--home-dark);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.home-section-desc {
    max-width: 540px;
    margin: 1rem auto 0;
    color: var(--home-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.home-categories-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1.2rem;
}

.home-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.6rem 0.8rem;
    border: 1px solid transparent;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.home-category-card:hover {
    background: var(--home-white);
    border-color: var(--home-border);
}

.home-category-image-wrap {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border: 2px solid var(--home-border);
    border-radius: 50%;
    transition: border-color 0.3s ease;
}

.home-category-card:hover .home-category-image-wrap {
    border-color: var(--home-gold);
}

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

.home-category-name {
    color: var(--home-dark);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-align: center;
    text-transform: uppercase;
}

.home-divider {
    height: 1px;
    margin: 0 5rem;
    background: linear-gradient(to right, transparent, var(--home-border), transparent);
}

.home-product-card {
    flex: 0 0 calc((100% - (var(--home-product-gap) * 3)) / 4);
    display: flex;
    flex-direction: column;
    min-width: 0;
    scroll-snap-align: start;
}

.home-product-media {
    display: block;
}

.home-product-image-wrap {
    position: relative;
    aspect-ratio: 0.84 / 1;
    margin-bottom: 1rem;
    overflow: hidden;
    background: #f0ece4;
    border-radius: 28px;
    box-shadow: 0 26px 48px rgba(7, 19, 63, 0.12);
}

.home-product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 0.9rem;
    border-radius: 999px;
    background: rgba(7, 19, 63, 0.82);
    color: var(--home-gold-light);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.home-product-index {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.home-product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, filter 0.35s ease;
}

.home-product-card:hover .home-product-image-wrap img {
    transform: scale(1.06);
    filter: saturate(1.04);
}

.home-product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 3.6rem 1.4rem 1.3rem;
    background: linear-gradient(to top, rgba(7, 19, 63, 0.84) 0%, rgba(7, 19, 63, 0.36) 42%, transparent 100%);
}

.home-product-kicker {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.home-product-overlay-title {
    color: #ffffff;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1;
}

.home-product-overlay-meta {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.home-instagram-shell {
    position: relative;
    padding: 3.2rem;
    border-radius: 40px;
    background:
        radial-gradient(circle at top right, rgba(118, 151, 222, 0.2), transparent 26%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 241, 229, 0.94));
    border: 1px solid rgba(7, 19, 63, 0.08);
    box-shadow: 0 30px 80px rgba(7, 19, 63, 0.08);
    overflow: hidden;
}

.home-instagram-shell::before {
    content: "";
    position: absolute;
    inset: auto auto -90px -90px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(7, 19, 63, 0.05);
}

.home-instagram-header {
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.home-instagram-header .home-section-title {
    margin-bottom: 0;
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    line-height: 0.95;
}

.home-instagram-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
    gap: 1.4rem;
    margin-top: 2.4rem;
    align-items: stretch;
}

.home-instagram-feature {
    position: relative;
    display: block;
    border-radius: 30px;
    overflow: hidden;
    background: #08163b;
    box-shadow: 0 24px 60px rgba(7, 19, 63, 0.18);
    min-height: 0;
    height: 100%;
}

.home-instagram-feature-media {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    min-height: 0;
}

.home-instagram-feature-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(8, 22, 59, 0.94) 0%, rgba(8, 22, 59, 0.42) 34%, rgba(8, 22, 59, 0.12) 58%, transparent 100%);
}

.home-instagram-feature-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-instagram-feature-copy {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    color: #ffffff;
}

.home-instagram-feature-kicker {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.home-instagram-feature-title {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 500;
    line-height: 0.95;
}

.home-instagram-feature-caption {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
    line-height: 1.75;
}

.home-instagram-feature-link {
    align-self: flex-start;
    margin-top: auto;
}

.home-instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: start;
    gap: 1rem;
}

.home-instagram-card {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    padding: 0;
    background: #ddd5c9;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 18px 40px rgba(7, 19, 63, 0.1);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-instagram-card:hover,
.home-instagram-card.is-active {
    transform: translateY(-4px);
    box-shadow: 0 26px 48px rgba(7, 19, 63, 0.16);
}

.home-instagram-card.is-active {
    outline: 2px solid rgba(7, 19, 63, 0.24);
    outline-offset: 4px;
}

.home-instagram-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
}

.home-instagram-card:hover img,
.home-instagram-card.is-active img {
    transform: scale(1.04);
    filter: saturate(1.05);
}

.home-instagram-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 19, 63, 0.88) 0%, rgba(7, 19, 63, 0.24) 48%, transparent 100%);
}

.home-instagram-card-index {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--home-navy);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-instagram-card-copy {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.home-instagram-card-copy strong {
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-instagram-card-copy span {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.84rem;
    line-height: 1.45;
}

.home-support {
    display: grid;
    grid-template-columns: minmax(320px, 1.35fr) repeat(3, minmax(220px, 1fr));
    align-items: center;
    gap: 1.2rem;
    padding: 5rem;
    background: var(--home-charcoal, #0f1f5a);
    color: var(--home-white, #ffffff);
}

.home-support-copy {
    max-width: 28rem;
}

.home-support-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(157, 189, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--home-gold, #5f8fff);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.home-support-title {
    margin-bottom: 0.5rem;
    color: var(--home-white, #ffffff);
    font-size: 2rem;
}

.home-support-sub {
    margin: 0;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.8;
}

.home-support-channel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 170px;
    gap: 0.45rem;
    padding: 1.4rem 1.35rem;
    border: 1px solid rgba(157, 189, 255, 0.12);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
        rgba(255, 255, 255, 0.02);
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.home-support-channel:hover {
    transform: translateY(-2px);
    border-color: rgba(203, 219, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.home-support-channel-label {
    color: var(--home-gold, #5f8fff);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.home-support-channel-value {
    color: var(--home-white, #ffffff);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.4;
    word-break: break-word;
}

.home-support-channel-note {
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.82rem;
    line-height: 1.5;
}

.home-support-channel--phone,
.home-support-channel--whatsapp,
.home-support-channel--mail {
    padding-right: 7rem;
}

.home-support-channel-icon {
    position: absolute;
    top: 50%;
    right: 1.35rem;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(37, 211, 102, 0.2), rgba(37, 211, 102, 0.08));
    border: 1px solid rgba(37, 211, 102, 0.32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-50%);
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.home-support-channel-icon svg {
    width: 36px;
    height: 36px;
    fill: #9dbdff;
}

.home-support-channel--phone .home-support-channel-icon,
.home-support-channel--mail .home-support-channel-icon {
    background: linear-gradient(180deg, rgba(157, 189, 255, 0.18), rgba(157, 189, 255, 0.08));
    border-color: rgba(157, 189, 255, 0.28);
}

.home-support-channel--whatsapp .home-support-channel-icon {
    background: linear-gradient(180deg, rgba(37, 211, 102, 0.2), rgba(37, 211, 102, 0.08));
    border-color: rgba(37, 211, 102, 0.32);
}

.home-support-channel--whatsapp .home-support-channel-icon svg {
    fill: #25d366;
}

.home-support-channel--phone:hover .home-support-channel-icon,
.home-support-channel--mail:hover .home-support-channel-icon {
    transform: translateY(-50%) scale(1.04);
    background: linear-gradient(180deg, rgba(157, 189, 255, 0.24), rgba(157, 189, 255, 0.12));
    border-color: rgba(157, 189, 255, 0.42);
}

.home-support-channel--whatsapp:hover .home-support-channel-icon {
    transform: translateY(-50%) scale(1.04);
    background: linear-gradient(180deg, rgba(37, 211, 102, 0.28), rgba(37, 211, 102, 0.12));
    border-color: rgba(37, 211, 102, 0.48);
}

.home-footer {
    background: var(--home-dark, #07133f);
    border-top: 1px solid rgba(95, 143, 255, 0.16);
}

#trabalheconosco {
    position: relative;
    top: -84px;
}

.home-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
}

.home-floating-wpp {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 200;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-floating-wpp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 32px rgba(37, 211, 102, 0.55);
}

.home-floating-wpp svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.home-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.home-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .home-nav {
        padding: 0 1.5rem;
    }

    .home-nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        width: 100%;
        max-height: calc(100vh - 68px);
        padding: 1rem 1.5rem 1.25rem;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        overflow-y: auto;
        background: rgba(7, 19, 63, 0.98);
        border-top: 1px solid rgba(95, 143, 255, 0.22);
        box-shadow: 0 20px 46px rgba(0, 0, 0, 0.22);
    }

    .home-nav.is-open .home-nav-menu {
        display: flex;
    }

    .home-nav-links {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .home-nav-actions {
        width: 100%;
        margin-left: 0;
        padding-top: 0.85rem;
        flex-direction: column;
        align-items: stretch;
        border-top: 1px solid rgba(95, 143, 255, 0.2);
    }

    .home-nav-item,
    .home-nav-link-row {
        width: 100%;
    }

    .home-nav-link-row {
        justify-content: space-between;
    }

    .home-nav-links a,
    .home-nav-icon {
        width: 100%;
        min-height: 42px;
        justify-content: flex-start;
        white-space: normal;
        overflow-wrap: anywhere;
        font-size: 0.72rem;
        letter-spacing: 0.14em;
        line-height: 1.25;
    }

    .home-nav-icon-primary {
        min-width: 0;
    }

    .home-nav-toggle {
        display: inline-block;
        flex: 0 0 auto;
        margin-left: auto;
    }

    .home-submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .home-nav-item.is-open .home-submenu-toggle::before {
        content: "\2303";
    }

    .home-submenu {
        position: static;
        min-width: 0;
        margin-top: 0.5rem;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        display: none;
        box-shadow: none;
    }

    .home-nav-item:hover .home-submenu,
    .home-nav-item:focus-within .home-submenu {
        transform: none;
    }

    .home-nav-item.is-open .home-submenu {
        display: grid;
        gap: 0.2rem;
    }

    .home-categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .home-instagram-shell {
        padding: 2.2rem;
    }

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

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

    .home-best-sellers-shell {
        padding: 2.25rem;
    }

    .home-best-sellers-top {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 2.25rem;
    }

    .home-best-sellers-side {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .home-product-card {
        flex-basis: calc((100% - var(--home-product-gap)) / 2);
    }
}

@media (max-width: 768px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        padding-right: 16px;
        padding-left: 16px;
    }

    .home-nav {
        padding: 0 1rem;
        min-height: 68px;
        flex-wrap: wrap;
        overflow: visible;
    }

    .home-nav-logo {
        min-width: 0;
        max-width: calc(100% - 64px);
        font-size: clamp(1.05rem, 5.6vw, 1.5rem);
        letter-spacing: 0.08em;
    }

    .home-nav-toggle {
        margin-left: auto;
    }

    .home-nav-menu {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .home-nav-links,
    .home-nav-actions {
        gap: 0.9rem;
    }

    .home-nav-actions {
        padding-top: 0.5rem;
        border-top: 1px solid rgba(95, 143, 255, 0.2);
        width: 100%;
    }

    .home-nav-link-row > a,
    .home-nav-icon {
        overflow-wrap: anywhere;
    }

    .home-hero {
        margin-top: 0;
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .home-hero-left {
        padding: 3rem 1.5rem;
    }

    .home-hero p {
        max-width: 100%;
    }

    .home-hero-right {
        display: none;
    }

    .home-collections {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem 1.5rem;
    }

    .home-categories,
    .home-best-sellers,
    .home-instagram,
    .home-support,
    .home-footer-bottom {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    .home-categories,
    .home-best-sellers,
    .home-instagram {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .home-divider {
        margin: 0 1.5rem;
    }

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

    .home-best-sellers-top {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 2rem;
    }

    .home-best-sellers-shell {
        padding: 1.4rem;
        border-radius: 24px;
    }

    .home-best-sellers-side {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .home-best-sellers-metrics {
        width: 100%;
    }

    .home-best-sellers-metric {
        flex: 1 1 0;
        min-width: 0;
    }

    .home-products-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .home-products-viewport {
        --home-product-gap: 1rem;
    }

    .home-product-card {
        flex-basis: 100%;
    }

    .home-product-image-wrap {
        aspect-ratio: 1 / 1.08;
        border-radius: 22px;
    }

    .home-instagram-shell {
        padding: 1.4rem;
        border-radius: 24px;
    }

    .home-instagram-feature-copy {
        position: relative;
        padding: 1.4rem;
    }

    .home-instagram-feature {
        height: auto;
    }

    .home-instagram-feature-media {
        position: relative;
        inset: auto;
    }

    .home-instagram-feature-image {
        height: auto;
        aspect-ratio: 4 / 5;
    }

    .home-instagram-feature-title {
        font-size: 1.7rem;
    }

    .home-instagram-grid {
        grid-template-columns: 1fr;
    }

    .home-support {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .home-support-copy {
        max-width: none;
    }

    .home-support-channel--phone,
    .home-support-channel--whatsapp,
    .home-support-channel--mail {
        padding-right: 6.5rem;
    }

    .home-support-channel-icon {
        right: 1.1rem;
        width: 64px;
        height: 64px;
    }

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

    .product-detail {
        gap: 18px;
        margin-top: 24px;
    }

    .product-detail-body,
    .product-detail-cover,
    .collection-hero,
    .summary-box {
        border-radius: 24px;
    }

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

    .product-detail-body h1 {
        font-size: clamp(2rem, 9vw, 3rem);
        line-height: 1.05;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .catalogo-grid {
        grid-template-columns: 1fr;
    }
}

.home-nav .home-nav-logo,
.home-nav .home-nav-logo span,
.home-nav .home-nav-link-row > a,
.home-nav .home-nav-actions .home-nav-icon {
    color: #ffffff !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #ffffff;
}

.home-nav .home-nav-actions .home-nav-icon {
    border-color: rgba(255, 255, 255, 0.22) !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

.home-nav .home-nav-actions .home-nav-icon-secondary {
    background: rgba(255, 255, 255, 0.035) !important;
}

.home-nav .home-nav-actions .home-nav-icon-primary {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(157, 189, 255, 0.32) !important;
}

.home-nav .home-nav-link-row > a:hover,
.home-nav .home-nav-actions .home-nav-icon:hover {
    color: #9dbdff !important;
    -webkit-text-fill-color: #9dbdff;
}

.admin-tag-list,
.product-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.admin-tag-chip,
.product-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    background: rgba(7, 39, 78, 0.08);
    border: 1px solid rgba(7, 39, 78, 0.12);
    color: #07274e;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.product-tag-list {
    margin-top: 1rem;
}

.product-tag-list-detail {
    margin-bottom: 1.5rem;
}

.history-main {
    padding-bottom: 72px;
}

.history-page {
    background:
        radial-gradient(circle at top left, rgba(7, 19, 63, 0.09), transparent 30%),
        radial-gradient(circle at right, rgba(175, 79, 52, 0.12), transparent 24%),
        linear-gradient(180deg, #f8f3ea 0%, #f2f4f8 100%);
}

.history-hero,
.history-timeline-section,
.history-story-section,
.history-principles-section,
.history-capacity-section,
.history-cta-section {
    padding: 36px 0;
}

.history-hero {
    padding-top: 44px;
}

.history-hero-grid,
.history-story-grid {
    display: grid;
    gap: 28px;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
}

.history-hero-copy,
.history-story-copy {
    padding: 12px 0;
}

.history-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
}

.history-hero-copy {
    max-width: 78rem;
    margin: 0 auto;
    text-align: center;
}

.history-hero-copy .history-eyebrow {
    color: #0b0f19;
    font-family: "DM Sans", "Segoe UI", sans-serif;
    font-weight: 700;
}

.history-hero-copy h1,
.history-section-heading h2,
.history-story-copy h2,
.history-principle-card h2,
.history-cta-card h2 {
    margin: 0;
    color: var(--navy);
    font-family: "Cormorant Garamond", "Playfair Display", serif;
    letter-spacing: -0.04em;
    line-height: 0.94;
}

.history-hero-copy h1 {
    color: #0b0f19;
    font-family: "DM Sans", "Segoe UI", sans-serif;
    font-size: clamp(3.3rem, 5vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 1;
}

.history-lead,
.history-section-heading p,
.history-story-copy p,
.history-principle-card p,
.history-capacity-body p,
.history-cta-card p,
.history-timeline-card p {
    color: #5d6778;
    line-height: 1.8;
}

.history-lead {
    max-width: 76rem;
    margin: 1.25rem 0 0;
    color: #0b0f19;
    font-family: "DM Sans", "Segoe UI", sans-serif;
    font-size: clamp(1.6rem, 2.2vw, 2rem);
    font-weight: 700;
    line-height: 1.28;
}

.history-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #8b5a3c;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.history-hero-media,
.history-story-media,
.history-capacity-media {
    overflow: hidden;
    border-radius: 32px;
    border: 1px solid rgba(7, 19, 63, 0.08);
    box-shadow: 0 24px 60px rgba(7, 19, 63, 0.12);
    background: #fff;
}

.history-hero-media {
    width: min(1200px, 100%);
    margin: 0 auto;
    border-radius: 18px;
    box-shadow: none;
}

.history-hero-media img {
    aspect-ratio: 16 / 6.6;
}

.history-hero-media img,
.history-story-media img,
.history-capacity-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-section-heading {
    max-width: 68rem;
    margin-bottom: 26px;
}

.history-timeline-section .history-section-heading {
    max-width: none;
}

.history-timeline-section .history-section-heading h2 {
    white-space: nowrap;
}

.history-section-heading h2,
.history-story-copy h2,
.history-cta-card h2 {
    font-size: clamp(2.3rem, 4vw, 4.3rem);
}

.history-section-heading p {
    margin: 1rem 0 0;
}

.history-section-heading-center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.history-timeline-grid,
.history-capacity-grid {
    display: grid;
    gap: 20px;
}

.history-timeline-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.history-timeline-card,
.history-principle-card,
.history-capacity-card,
.history-cta-card {
    border: 1px solid rgba(7, 19, 63, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 20px 52px rgba(7, 19, 63, 0.08);
}

.history-timeline-card {
    position: relative;
    display: grid;
    align-content: start;
    gap: 1rem;
    min-height: 100%;
    padding: 1.55rem 1.4rem 1.65rem;
    min-height: 100%;
    overflow: hidden;
    border-radius: 26px;
    border-color: rgba(7, 19, 63, 0.07);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9)),
        #fff;
    box-shadow: 0 18px 44px rgba(7, 19, 63, 0.08);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.history-timeline-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #07133f, #5f8fff);
}

.history-timeline-card:hover {
    transform: translateY(-4px);
    border-color: rgba(95, 143, 255, 0.26);
    box-shadow: 0 24px 58px rgba(7, 19, 63, 0.13);
}

.history-timeline-year {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 40px;
    padding: 0 0.95rem;
    border-radius: 999px;
    background: #07133f;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    box-shadow: 0 12px 28px rgba(7, 19, 63, 0.16);
}

.history-timeline-card h3,
.history-capacity-body h3 {
    margin: 0;
    color: var(--navy);
    font-family: "Cormorant Garamond", "Playfair Display", serif;
    font-size: clamp(1.22rem, 1.45vw, 1.45rem);
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: normal;
}

.history-timeline-card p,
.history-principle-card p,
.history-capacity-body p,
.history-cta-card p {
    margin: 0;
}

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

.history-principle-card {
    display: grid;
    align-content: start;
    gap: 1rem;
    min-height: 100%;
    padding: 1rem 1rem 1.6rem;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(95, 143, 255, 0.12), transparent 32%),
        rgba(255, 255, 255, 0.9);
}

.history-principle-media {
    overflow: hidden;
    height: 190px;
    margin: -0.15rem -0.15rem 0.25rem;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(7, 19, 63, 0.07);
}

.history-principle-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-principle-card h2 {
    font-size: clamp(2rem, 3vw, 3rem);
}

.history-principle-card .history-eyebrow {
    margin-bottom: 0;
}

.history-story-section-alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.02));
}

.history-story-grid-reverse {
    grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
}

.history-values-list {
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.history-values-list li {
    position: relative;
    padding-left: 1.25rem;
    color: #2c3445;
    line-height: 1.7;
}

.history-values-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

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

.history-capacity-card {
    overflow: hidden;
}

.history-capacity-media {
    height: 260px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.history-capacity-body {
    display: grid;
    gap: 0.9rem;
    padding: 1.5rem;
}

.history-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 2rem;
    background:
        radial-gradient(circle at top right, rgba(7, 19, 63, 0.08), transparent 24%),
        rgba(255, 255, 255, 0.92);
}

.history-cta-card p {
    margin-top: 0.9rem;
}

@media (max-width: 1200px) {
    .history-timeline-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 18px;
    }
}

@media (max-width: 900px) {
    .history-hero-grid,
    .history-story-grid,
    .history-story-grid-reverse,
    .history-principles-grid,
    .history-capacity-grid {
        grid-template-columns: 1fr;
    }

    .history-timeline-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 18px;
    }

    .history-cta-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .history-lead {
        font-size: clamp(1.35rem, 3.8vw, 1.7rem);
    }

    .history-timeline-section .history-section-heading h2 {
        white-space: normal;
    }
}

@media (max-width: 640px) {
    .history-main {
        padding-bottom: 56px;
    }

    .history-hero,
    .history-timeline-section,
    .history-story-section,
    .history-principles-section,
    .history-capacity-section,
    .history-cta-section {
        padding: 24px 0;
    }

    .history-timeline-grid,
    .history-capacity-grid {
        grid-template-columns: 1fr;
    }

    .history-timeline-grid {
        gap: 1.25rem;
        padding-top: 0;
        padding-left: 0;
    }

    .history-timeline-card {
        padding: 1.25rem;
    }

    .history-timeline-year {
        min-height: 36px;
        padding: 0 0.85rem;
        font-size: 0.76rem;
    }

    .history-principle-card,
    .history-capacity-body,
    .history-cta-card {
        padding: 1.25rem;
    }

    .history-principle-media {
        height: 180px;
        margin: 0 0 0.25rem;
    }

    .history-capacity-media {
        height: 220px;
    }

    .history-hero-grid {
        gap: 22px;
    }

    .history-hero-copy h1 {
        font-size: 2.7rem;
    }

    .history-lead {
        font-size: 1.15rem;
        line-height: 1.45;
    }

    .history-eyebrow {
        justify-content: center;
        width: 100%;
        font-size: 0.7rem;
        letter-spacing: 0.22em;
    }

    .history-hero-media {
        border-radius: 14px;
    }

    .history-hero-media img {
        aspect-ratio: auto;
    }
}
