:root {
    --color-bg: #f7f5f2;
    --color-surface: #ffffff;
    --color-surface-muted: #f1ece6;
    --color-text: #171717;
    --color-text-muted: #66615a;
    --color-line: #ddd4c9;
    --color-brand: #cf201b;
    --color-brand-dark: #991713;
    --color-success: #1f6f49;
    --container: 1160px;
    --radius: 18px;
    --shadow-soft: 0 10px 30px rgba(20, 20, 20, 0.06);
    --font-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --font-display: "Barlow Condensed", "Arial Narrow", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
}

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(207, 32, 27, 0.22);
    outline-offset: 3px;
}

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

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

code {
    font-family: Consolas, "Courier New", monospace;
}

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

[hidden] {
    display: none !important;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.system-banner,
.flash {
    padding: 0.875rem 1rem;
    background: #fff3f2;
    border-bottom: 1px solid #f0d0ce;
    color: var(--color-brand-dark);
}

.flash-success {
    background: #eef7f1;
    border-bottom-color: #c9e2d1;
    color: var(--color-success);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--color-line);
}

.nav-shell {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.brand-logo {
    width: 300px;
    height: auto;
}

.site-nav {
    margin-left: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0.95rem;
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.98rem;
    position: relative;
    transition: color 0.2s ease;
}

.nav-list a::after {
    content: "";
    position: absolute;
    left: 0.95rem;
    right: 0.95rem;
    bottom: 0.45rem;
    height: 2px;
    background: var(--color-brand);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-list a.is-active,
.nav-list a:hover,
.nav-list a:focus-visible {
    color: var(--color-brand);
}

.nav-list a.is-active::after,
.nav-list a:hover::after,
.nav-list a:focus-visible::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--color-line);
    background: var(--color-surface);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    cursor: pointer;
    padding: 0;
    box-shadow: inset 0 0 0 2px rgba(207, 32, 27, 0.08);
}

.nav-toggle span:not(.sr-only) {
    width: 18px;
    height: 2px;
    display: block;
    background: var(--color-text);
    border-radius: 999px;
}

.site-main {
    padding-bottom: 4rem;
}

.home-hero,
.section,
.page-hero,
.product-hero,
.admin-shell {
    padding: 3.75rem 0;
}

.page-layout,
.product-layout,
.feature-split,
.footer-shell,
.admin-shell,
.category-grid,
.product-grid,
.contact-grid,
.form-columns,
.admin-stat-grid {
    display: grid;
    gap: 1.5rem;
}

.page-layout,
.product-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
    align-items: start;
}

.feature-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.footer-shell {
    grid-template-columns: 1.15fr 1fr 1fr 0.9fr 1fr;
}

.category-grid,
.product-grid,
.contact-grid,
.form-columns,
.admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eyebrow {
    margin: 0 0 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-brand);
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.08;
}

h1,
.display-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 700;
}

h3 {
    font-size: 1.08rem;
}

.lead,
.section-copy,
.surface-panel p,
.detail-panel p,
.meta-card p,
.contact-card p,
.admin-card p {
    color: var(--color-text-muted);
}

.lead {
    max-width: 62ch;
    font-size: 1.05rem;
}

.hero-actions,
.document-actions,
.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.button,
.button-secondary,
.button-ghost,
.link-button,
.admin-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 1rem;
    border-radius: 8px;
    border: 1px solid var(--color-brand);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.button,
.admin-nav a.is-active {
    background: var(--color-brand);
    color: #fff;
}

.button:hover,
.button:focus-visible,
.admin-nav a:hover,
.admin-nav a:focus-visible {
    background: var(--color-brand-dark);
    border-color: var(--color-brand-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(153, 23, 19, 0.16);
}

.button-secondary,
.button-ghost,
.link-button,
.admin-nav a {
    background: var(--color-surface);
    color: var(--color-brand);
}

.button-secondary:hover,
.button-ghost:hover,
.link-button:hover {
    background: #fff4f3;
    transform: translateY(-1px);
}

.surface-panel,
.detail-panel,
.product-section-panel,
.document-card,
.admin-card,
.admin-table,
.form-grid,
.setup-panel,
.meta-card,
.contact-card,
.admin-stat {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.surface-panel,
.detail-panel,
.product-section-panel,
.document-card,
.admin-card,
.admin-table,
.form-grid,
.setup-panel {
    padding: 1.5rem;
}

.home-hero {
    background: #fff;
    border-bottom: 1px solid var(--color-line);
    padding: 0;
}

.hero-slider {
    position: relative;
    display: grid;
    min-height: calc(100svh - 92px);
    background: #111;
}

.hero-slide {
    grid-area: 1 / 1;
    display: flex;
    align-items: center;
    min-height: calc(100svh - 92px);
    padding: 0;
    background-position: 62% center;
    background-size: cover;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hero-slide-shell {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
    padding-top: 4rem;
    padding-bottom: 7rem;
    padding-inline: clamp(1rem, 2vw, 2rem);
}

.hero-slide-copy {
    max-width: 600px;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
}

.hero-lead {
    color: rgba(255, 255, 255, 0.92);
    max-width: 36rem;
}

.hero-meta {
    margin-top: 0.8rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
}

.hero-slider-controls {
    display: flex;
    gap: 0.6rem;
}

.hero-slider-ui {
    position: absolute;
    inset: auto 0 1.6rem 0;
    z-index: 3;
}

.hero-slider-ui-shell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.hero-slider-arrows {
    display: flex;
    gap: 0.6rem;
}

.hero-slider-arrow {
    min-height: 44px;
    padding: 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-slider-arrow:hover,
.hero-slider-arrow:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-1px);
}

.hero-slider-dot {
    width: 14px;
    height: 14px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-slider-dot.is-active,
.hero-slider-dot:hover {
    background: #fff;
    transform: scale(1.1);
}

.compliance-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 10px;
}

.compliance-row strong {
    color: var(--color-brand);
}

.section {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.important-notice {
    max-width: 58rem;
    padding: 2rem 0 0;
}

.important-notice h2 {
    margin-bottom: 0.65rem;
}

.section-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.section-head-simple {
    align-items: start;
}

.page-hero-simple {
    max-width: 58rem;
}

.category-grid-home {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

.category-entry {
    display: grid;
    gap: 1rem;
    align-content: start;
    height: 100%;
}

.category-entry-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    background: #f7f5f2;
    border-radius: 12px;
    padding: 1rem;
}

.category-entry img {
    aspect-ratio: 16 / 10;
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.category-entry-copy {
    display: grid;
    gap: 0.75rem;
    align-content: start;
}

.category-entry h3,
.category-entry p {
    margin: 0;
}

.category-entry h3 a {
    text-decoration: none;
}

.category-tile,
.product-tile {
    display: grid;
    gap: 1rem;
    padding: 1.2rem;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.category-tile img,
.product-tile img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
    background: #f7f5f2;
    transition: transform 0.28s ease;
}

.category-tile:hover,
.product-tile:hover {
    border-color: #cbbbad;
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(20, 20, 20, 0.08);
}

.category-tile:hover img,
.product-tile:hover img {
    transform: scale(1.025);
}

.category-tile::before,
.product-tile::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    border-radius: 18px 18px 0 0;
    background: var(--color-brand);
}

.info-band {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    padding: 1.6rem 1.8rem;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
}

.info-band-copy {
    max-width: 54rem;
}

.product-meta-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.5rem;
}

.product-meta-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 0;
}

.product-meta-list dt {
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.product-meta-list dd {
    margin: 0;
    font-weight: 600;
}

.product-browser {
    display: grid;
    gap: 2rem;
}

.product-browser-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    border-bottom: 1px solid var(--color-line);
    padding-bottom: 0;
}

.product-browser-tab {
    min-height: 54px;
    padding: 0 0.1rem;
    border: none;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: var(--color-text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.product-browser-tab.is-active,
.product-browser-tab:hover,
.product-browser-tab:focus-visible {
    color: var(--color-brand);
    border-bottom-color: var(--color-brand);
}

.product-browser-panel {
    display: block;
}

.product-browser-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    padding-top: 1.5rem;
}

.product-browser-card {
    display: grid;
    gap: 1rem;
    align-content: start;
    max-width: 320px;
}

.product-browser-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    background: #f7f5f2;
    border-radius: 12px;
    padding: 1rem;
}

.product-browser-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-browser-card-copy {
    display: grid;
    gap: 0.7rem;
}

.product-browser-card-copy small {
    color: var(--color-text-muted);
    font-weight: 600;
}

.product-browser-card-copy h2,
.product-browser-card-copy p {
    margin: 0;
}

.image-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

.image-panel img {
    max-height: 420px;
    object-fit: contain;
}

.detail-panel-tight h2 {
    max-width: 18ch;
}

.clean-list {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--color-text-muted);
}

.clean-list li + li {
    margin-top: 0.5rem;
}

.product-side-panel img {
    border-radius: 12px;
    margin-bottom: 1rem;
    background: #f7f5f2;
}

.product-side-panel {
    padding-left: 2rem;
    border-left: 1px solid var(--color-line);
}

.detail-panel-plain {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.side-panel-block {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-line);
}

.meta-card,
.contact-card,
.admin-stat {
    padding: 1.2rem;
}

.section-tabs {
    display: grid;
    gap: 0.85rem;
}

.section-tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    border-bottom: 1px solid var(--color-line);
    padding-bottom: 0;
}

.section-tab-list-lined button {
    min-height: 54px;
    padding: 0 0.1rem;
    border: none;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: var(--color-text-muted);
    cursor: pointer;
    font-weight: 600;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.section-tab-list-lined button.is-active,
.section-tab-list-lined button:hover,
.section-tab-list-lined button:focus-visible {
    color: var(--color-brand);
    border-bottom-color: var(--color-brand);
}

.product-section-panel {
    padding: 1.5rem 0 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.document-grid {
    display: grid;
    gap: 1.25rem;
}

.document-card.current {
    border-color: rgba(207, 32, 27, 0.24);
    box-shadow: 0 18px 34px rgba(207, 32, 27, 0.06);
    position: relative;
    padding: 1.75rem;
}

.document-group-head {
    display: flex;
    justify-content: space-between;
    gap: 1.2rem;
    align-items: start;
}

.document-date {
    font-weight: 600;
    color: var(--color-text);
}

.document-actions-stacked {
    min-width: 240px;
    flex-direction: column;
    align-items: stretch;
    margin-top: 0;
}

.current-download {
    min-height: 52px;
    font-size: 1rem;
}

.document-file-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.document-file-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 0.75rem;
    border-radius: 999px;
    background: #f4efea;
    color: var(--color-text-muted);
    font-size: 0.88rem;
}

.document-file-meta.is-archived span {
    background: #f2f2f2;
    color: #7a7a7a;
}

.document-state {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-brand);
}

.document-state.is-archived {
    color: var(--color-text-muted);
}

.document-history {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-line);
    display: grid;
    gap: 0.9rem;
}

.document-history-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
    padding: 0.85rem 0;
    opacity: 0.62;
}

.document-file-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.document-file-card {
    display: grid;
    gap: 0.7rem;
    padding: 1.15rem;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    background: #fff;
    align-content: start;
    min-height: 220px;
}

.document-file-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    width: fit-content;
    padding: 0 0.7rem;
    border-radius: 6px;
    background: var(--color-brand);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
}

.document-file-type.is-pdf {
    background: #cf201b;
}

.document-file-type.is-jpg,
.document-file-type.is-jpeg,
.document-file-type.is-png {
    background: #d97706;
}

.document-file-type.is-doc,
.document-file-type.is-docx {
    background: #2563eb;
}

.document-file-type.is-xls,
.document-file-type.is-xlsx {
    background: #15803d;
}

.document-file-card h4,
.document-file-card p {
    margin: 0;
}

.document-file-card h4 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    min-height: 4.2em;
}

.document-file-size {
    color: var(--color-text-muted);
}

.document-file-card .button {
    margin-top: auto;
    width: fit-content;
}

.label-preview {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-line);
}

.label-preview-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.label-preview iframe {
    width: 100%;
    min-height: 600px;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    background: #fff;
}

.empty-state {
    padding: 1rem 1.1rem;
    border-radius: 12px;
    background: var(--color-surface-muted);
    color: var(--color-text-muted);
}

.site-footer {
    padding: 2.6rem 0;
    background: #111;
    color: rgba(255, 255, 255, 0.86);
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1.5rem;
}

.contact-primary {
    grid-row: span 2;
}

.footer-logo {
    width: 220px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-partner-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.partner-logo {
    width: 160px;
    height: auto;
}

.partner-logo-small {
    width: 100px;
}

.footer-croplife {
    margin-top: 0.75rem;
}

.footer-socket {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #1b1b1b;
    color: rgba(255, 255, 255, 0.8);
}

.footer-socket-shell {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    min-height: 64px;
    padding: 0.8rem 0;
}

.footer-policy-links,
.footer-credit {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
    font-size: 0.92rem;
}

.footer-policy-links a,
.footer-credit a {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
}

.concept-lab-link:hover,
.concept-lab-link:focus-visible {
    color: #ffcc00;
}

.footer-column h2 {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-family: var(--font-body);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-column a {
    color: #fff;
}

.admin-body {
    background: #f4f1ec;
}

.admin-shell {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.5rem;
}

.admin-sidebar,
.admin-main {
    min-width: 0;
}

.admin-nav {
    display: grid;
    gap: 0.65rem;
}

.admin-nav a {
    justify-content: flex-start;
}

.admin-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.admin-table th,
.admin-table td {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--color-line);
    text-align: left;
    vertical-align: top;
}

.form-grid {
    display: grid;
    gap: 1rem;
}

.form-field {
    display: grid;
    gap: 0.45rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--color-line);
    border-radius: 10px;
    background: #fff;
    color: var(--color-text);
}

.form-field textarea {
    min-height: 130px;
    resize: vertical;
}

.section-editor {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px dashed var(--color-line);
    border-radius: 12px;
}

.setup-panel {
    max-width: 42rem;
    margin: 5rem auto;
}

.cookie-banner {
    position: fixed;
    inset: auto 1rem 1rem;
    z-index: 50;
}

.cookie-shell {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    max-width: 58rem;
    padding: 1rem 1.25rem;
    background: #111;
    color: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.product-video-block {
    display: grid;
    gap: 1rem;
}

.video-frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 18px;
    background: #111;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-note {
    color: var(--color-text-muted);
}

@media (max-width: 1024px) {
    .page-layout,
    .product-layout,
    .feature-split,
    .footer-shell,
    .admin-shell,
    .admin-stat-grid,
    .product-meta-grid,
    .product-meta-list,
    .section-grid-two,
    .contact-page-grid,
    .product-browser-panel,
    .product-browser-grid,
    .document-file-grid,
    .category-grid-home {
        grid-template-columns: 1fr;
    }

    .product-side-panel {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--color-line);
        padding-top: 1.5rem;
    }

    .site-nav {
        display: none;
        width: 100%;
    }

    .site-nav.is-open {
        display: block;
    }

    .nav-shell {
        flex-wrap: wrap;
        padding: 1rem 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .nav-list a {
        width: 100%;
        padding: 0.8rem 0;
    }

    .nav-toggle {
        display: inline-flex;
    }
}

@media (max-width: 720px) {
    .section,
    .section,
    .page-hero,
    .product-hero,
    .admin-shell {
        padding: 3rem 0;
    }

    .home-hero {
        padding: 0;
    }

    .category-grid,
    .product-grid,
    .contact-grid,
    .form-columns,
    .document-history-item {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .section-head,
    .info-band,
    .cookie-shell,
    .document-group-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .document-actions-stacked {
        min-width: 100%;
        width: 100%;
    }

    .brand-logo {
        width: 220px;
    }

    .footer-logo {
        width: 200px;
    }

    .hero-slide {
        min-height: calc(100svh - 84px);
        background-position: 78% center !important;
    }

    .hero-slide-shell {
        padding-top: 2rem;
        padding-bottom: 6.5rem;
        width: min(calc(100% - 1.5rem), var(--container));
        padding-inline: 0;
    }

    .hero-slide-copy {
        max-width: 17rem;
    }

    .hero-slider-ui-shell {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-browser-tabs,
    .section-tab-list {
        gap: 1rem;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0;
    }

    .nav-shell {
        min-height: 84px;
    }

    .nav-toggle {
        width: 52px;
        height: 52px;
    }

    .footer-socket-shell,
    .label-preview-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .label-preview iframe {
        min-height: 420px;
    }
}
