:root {
    --paper: #f7f1e8;
    --paper-strong: #efe4d2;
    --ink: #231b1a;
    --muted: #65554f;
    --accent: #e9772b;
    --accent-dark: #201815;
    --sage: #b8cc8a;
    --line: rgba(35, 27, 26, 0.12);
    --card: #fffdf8;
    --shadow: 0 22px 55px rgba(37, 26, 19, 0.1);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(233, 119, 43, 0.18), transparent 28%),
        linear-gradient(180deg, #fcf8f1 0%, #f2eadf 100%);
}

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

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

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 2rem;
    border-bottom: 1px solid var(--line);
    background: rgba(252, 248, 241, 0.85);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-header nav {
    display: flex;
    gap: 1.25rem;
    font-weight: 700;
}

.brand-lockup {
    display: flex;
    gap: 0.9rem;
    align-items: center;
}

.brand-lockup strong,
h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--accent);
    color: white;
    font-weight: 800;
}

.brand-lockup span,
.product-meta,
.variant-list,
.section-head p,
.cms-table,
.cms-card label span,
.login-copy p,
.account-panel p,
.blog-copy p,
.blog-detail .lead {
    color: var(--muted);
}

.page-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-shell,
.product-grid,
.blog-grid,
.newsletter-panel,
.banner-panel,
.cms-grid,
.cms-listing {
    display: grid;
    gap: 1.5rem;
}

.hero-shell {
    grid-template-columns: 1.25fr 1fr;
    align-items: stretch;
    margin-bottom: 2rem;
}

.hero-sale,
.gallery-card,
.product-card,
.blog-card,
.newsletter-panel,
.banner-panel,
.video-panel,
.cms-card,
.account-panel,
.login-form,
.login-copy,
.blog-detail {
    border-radius: 28px;
    background: var(--card);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-sale {
    min-height: 420px;
    padding: 3rem;
    background:
        linear-gradient(150deg, rgba(239, 228, 210, 0.95), rgba(252, 248, 241, 0.95)),
        linear-gradient(90deg, transparent 0%, rgba(233, 119, 43, 0.15) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-sale h1,
.section-head h2,
.banner-panel h2,
.newsletter-panel h2,
.cms-header h1,
.login-copy h1,
.account-panel h1,
.blog-detail h1 {
    font-size: clamp(2rem, 4vw, 4.4rem);
    line-height: 0.95;
    margin: 0.4rem 0 1rem;
}

.kicker {
    display: inline-flex;
    width: fit-content;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(233, 119, 43, 0.12);
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
}

.hero-gallery {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}

.gallery-card {
    overflow: hidden;
}

.gallery-card img,
.product-card img,
.blog-card img,
.blog-detail-image {
    aspect-ratio: 1 / 1.08;
    object-fit: cover;
}

.gallery-card div,
.product-copy,
.blog-copy,
.blog-detail,
.login-copy,
.login-form,
.cms-card,
.account-panel {
    padding: 1.2rem;
}

.section-head,
.cms-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin: 2rem 0 1rem;
}

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

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

.product-card,
.blog-card {
    overflow: hidden;
}

.product-meta,
.variant-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
}

.color-swatch-row {
    display: flex;
    gap: 0.45rem;
    margin-top: 0.9rem;
}

.color-swatch {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid rgba(35, 27, 26, 0.18);
}

.color-image-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
    margin-top: 0.9rem;
}

.color-image-row img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
}

.primary-link,
button.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.9rem 1.3rem;
    border-radius: 999px;
    background: var(--accent);
    color: white;
    border: none;
    font-weight: 800;
    cursor: pointer;
}

.primary-link.dark {
    background: var(--accent-dark);
}

.subtle-link {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.2rem;
}

.banner-panel {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 2rem;
    background: linear-gradient(90deg, rgba(184, 204, 138, 0.95), rgba(230, 239, 206, 0.95));
    align-items: center;
}

.banner-visual {
    min-height: 260px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 65% 25%, rgba(255,255,255,0.75), transparent 22%),
        linear-gradient(140deg, rgba(53, 78, 52, 0.2), rgba(255,255,255,0.18)),
        url('/images/placeholders/banner-model.svg') center/cover no-repeat;
}

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

.video-panel {
    min-height: 360px;
    margin: 2rem 0;
    background:
        linear-gradient(180deg, rgba(25, 18, 17, 0.18), rgba(25, 18, 17, 0.65)),
        url('/images/placeholders/video-scene.svg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-overlay {
    width: 108px;
    height: 108px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.88);
    font-weight: 800;
    text-align: center;
}

.newsletter-panel {
    grid-template-columns: 1fr auto;
    padding: 2rem;
    align-items: center;
}

.newsletter-actions,
.cms-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-tabs-shell {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-tab-list {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.category-tab-button {
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.5);
    color: var(--ink);
    border-radius: 999px;
    padding: 0.8rem 1.1rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.category-tab-button.active {
    background: var(--accent-dark);
    color: white;
    border-color: var(--accent-dark);
}

.category-tab-panel {
    display: none;
}

.category-tab-panel.active {
    display: block;
}

.tenant-strip {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tenant-pill {
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(35, 27, 26, 0.06);
    font-weight: 700;
}

.tenant-pill.active {
    background: var(--accent);
    color: white;
}

.cms-grid,
.cms-listing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1.5rem;
}

.cms-card form,
.login-form {
    display: grid;
    gap: 0.9rem;
}

.color-editor {
    display: grid;
    gap: 0.9rem;
}

.color-card {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(35, 27, 26, 0.04);
    border: 1px solid var(--line);
    display: grid;
    gap: 0.75rem;
}

.color-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.secondary-button,
.text-button {
    font: inherit;
    cursor: pointer;
}

.secondary-button {
    width: fit-content;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: transparent;
    padding: 0.8rem 1.1rem;
    font-weight: 700;
}

.text-button {
    background: transparent;
    border: none;
    color: var(--accent);
    font-weight: 700;
}

.field-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.cms-card label,
.login-form label {
    display: grid;
    gap: 0.35rem;
}

.cms-card input,
.cms-card textarea,
.login-form input {
    border-radius: 16px;
    border: 1px solid var(--line);
    padding: 0.9rem 1rem;
    font: inherit;
    background: #fff;
}

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

.cms-table th,
.cms-table td {
    text-align: left;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.login-shell {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 1.5rem;
}

.login-helper {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-error {
    color: #b43434;
    font-weight: 700;
}

.blog-detail {
    max-width: 900px;
    margin: 0 auto;
}

.blog-body {
    margin-top: 1rem;
    line-height: 1.8;
}

@media (max-width: 1100px) {
    .hero-shell,
    .product-grid,
    .product-grid.compact,
    .blog-grid,
    .cms-grid,
    .cms-listing,
    .banner-panel,
    .newsletter-panel,
    .login-shell {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .site-header,
    .section-head,
    .cms-header,
    .newsletter-panel {
        flex-direction: column;
        align-items: start;
    }

    .hero-shell,
    .hero-gallery,
    .product-grid,
    .product-grid.compact,
    .blog-grid,
    .cms-grid,
    .cms-listing,
    .banner-panel,
    .newsletter-panel,
    .login-shell {
        grid-template-columns: 1fr;
    }

    .page-shell,
    .site-header {
        padding: 1rem;
    }

    .hero-sale {
        padding: 1.5rem;
        min-height: auto;
    }
}

.storefront-body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: #1f1f1f;
    background: #f5f1e8;
}

.storefront-shell {
    background:
        radial-gradient(circle at top left, rgba(202, 169, 119, 0.2), transparent 20%),
        linear-gradient(180deg, #f8f5ee 0%, #f0eadf 100%);
}

.storefront-container {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.storefront-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(248, 245, 238, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(31, 31, 31, 0.08);
}

.storefront-header-row {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
}

.storefront-brand img,
.footer-logo {
    width: 90px;
    height: auto;
}

.storefront-links,
.storefront-actions,
.payment-icons,
.social-icons,
.footer-links-group ul,
.color-options ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.storefront-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.storefront-links a {
    font-size: 0.98rem;
    font-weight: 700;
    color: #3b332b;
}

.storefront-links a.active {
    color: #c07d3a;
}

.storefront-actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.icon-button,
.user-link,
.hamburger button,
.mobile-close {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.icon-button img,
.user-link img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.icon-badge {
    position: relative;
}

.icon-badge span {
    position: absolute;
    top: -7px;
    right: -8px;
    width: 17px;
    height: 17px;
    border-radius: 999px;
    background: #1f1f1f;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 0.65rem;
}

.hamburger {
    display: none;
}

.hamburger button {
    display: grid;
    gap: 4px;
}

.hamburger span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #1f1f1f;
    display: block;
}

.mobile-nav {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(280px, 80vw);
    background: #f4efe6;
    box-shadow: 18px 0 40px rgba(31, 31, 31, 0.14);
    padding: 1.5rem;
    display: grid;
    align-content: start;
    gap: 1rem;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    z-index: 60;
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav a,
.mobile-close {
    font-weight: 700;
}

.mobile-close {
    justify-self: end;
    font-size: 1.1rem;
}

.hero-section,
.product-display,
.blog-display {
    padding: 2rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 1.5rem;
}

.hero-card,
.promo-banner,
.product-card-vvti,
.blog-card-vvti,
.newsletter-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(31, 31, 31, 0.08);
    box-shadow: 0 24px 60px rgba(68, 49, 26, 0.08);
}

.hero-card {
    position: relative;
    min-height: 640px;
    border-radius: 28px;
    overflow: hidden;
}

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

.hero-copy {
    position: absolute;
    inset: auto 0 0 0;
    padding: 2rem;
    color: #fff;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 18, 12, 0.72) 60%, rgba(26, 18, 12, 0.9) 100%);
}

.hero-eyebrow,
.section-headline h3,
.blog-title,
.footer-links-group h4 {
    font-family: "Cormorant Garamond", serif;
}

.hero-eyebrow {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.6rem, 5vw, 4.75rem);
    line-height: 0.95;
}

.hero-copy p {
    max-width: 34rem;
    font-size: 1rem;
}

.hero-promos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.promo-banner {
    min-height: 310px;
    border-radius: 24px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: end;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.promo-banner p {
    margin: 0.2rem 0;
    max-width: 14rem;
}

.banner-two {
    background: linear-gradient(180deg, rgba(84, 45, 23, 0.12), rgba(84, 45, 23, 0.76)), url('/images/placeholders/product-coral.svg') center/cover no-repeat;
}

.banner-three {
    background: linear-gradient(180deg, rgba(40, 67, 84, 0.08), rgba(40, 67, 84, 0.76)), url('/images/placeholders/product-blue.svg') center/cover no-repeat;
}

.banner-four {
    background: linear-gradient(180deg, rgba(42, 78, 55, 0.08), rgba(42, 78, 55, 0.76)), url('/images/placeholders/product-mint.svg') center/cover no-repeat;
}

.banner-five {
    background: linear-gradient(180deg, rgba(68, 74, 96, 0.08), rgba(68, 74, 96, 0.76)), url('/images/placeholders/product-slate.svg') center/cover no-repeat;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.5rem;
    border-radius: 999px;
    background: #1f1f1f;
    color: #fff;
    font-weight: 700;
    border: none;
}

.section-headline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.section-headline h3 {
    margin: 0;
    font-size: 2.3rem;
    font-weight: 700;
}

.head-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.arrow-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(31, 31, 31, 0.08);
    display: grid;
    place-items: center;
}

.arrow-icon img,
.txt-btn img {
    width: 15px;
}

.arrow-next img {
    transform: rotate(180deg);
}

.txt-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
}

.product-grid-vvti {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
}

.product-card-vvti {
    border-radius: 24px;
    overflow: hidden;
}

.product-image-wrap {
    position: relative;
    background: #ebe4d7;
}

.product-image-wrap img {
    width: 100%;
    aspect-ratio: 1 / 1.15;
    object-fit: cover;
}

.product-card-options {
    position: absolute;
    inset: 1rem 1rem auto 1rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.label,
.offer,
.blog-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.36rem 0.7rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
}

.label {
    background: #fff;
    color: #1f1f1f;
}

.card-actions-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.offer {
    background: #1f1f1f;
    color: #fff;
}

.fav-badge {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
}

.product-card-body,
.blog-card-vvti {
    padding: 1.15rem;
}

.product-name {
    margin: 0 0 0.7rem;
    font-size: 1rem;
    font-weight: 700;
}

.rating-row,
.rating-value,
.blog-meta,
.footer-bottom {
    display: flex;
    align-items: center;
}

.rating-row {
    justify-content: space-between;
    gap: 0.75rem;
}

.stars {
    display: flex;
    gap: 0.1rem;
    color: #d39d39;
    font-size: 0.95rem;
}

.star-empty {
    color: #cfcbc3;
}

.rating-value {
    gap: 0.18rem;
    font-size: 0.9rem;
}

.price-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: baseline;
    margin-top: 0.8rem;
}

.price-row h4 {
    margin: 0;
}

.org-price {
    color: #8e877d;
    text-decoration: line-through;
}

.cur-price {
    color: #1f1f1f;
}

.options-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.option-title {
    margin: 0 0 0.45rem;
    color: #72685e;
    font-size: 0.8rem;
    font-weight: 700;
}

.color-options ul {
    display: flex;
    gap: 0.45rem;
}

.color-chip {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid rgba(31, 31, 31, 0.12);
    display: inline-block;
}

.size-options p:last-child {
    margin: 0;
    font-size: 0.86rem;
    color: #4d463f;
}

.card-buttons {
    margin-top: 1rem;
}

.card-buttons .btn-primary {
    width: 100%;
}

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

.blog-card-vvti {
    border-radius: 24px;
}

.blog-thumb {
    position: relative;
    margin: -1.15rem -1.15rem 1rem;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.blog-thumb img {
    width: 100%;
    aspect-ratio: 1 / 0.8;
    object-fit: cover;
}

.blog-tags {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: flex;
    gap: 0.45rem;
}

.blog-tag {
    background: rgba(255, 255, 255, 0.9);
    color: #1f1f1f;
}

.blog-title {
    margin: 0 0 0.75rem;
    font-size: 1.8rem;
    line-height: 0.95;
}

.blog-meta {
    gap: 0.55rem;
    color: #6e655c;
    font-size: 0.85rem;
}

.author-badge {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #c8a882;
    display: inline-block;
}

.divider {
    width: 1px;
    height: 14px;
    background: rgba(31, 31, 31, 0.14);
}

.blog-content {
    color: #5e554d;
    line-height: 1.7;
}

.video-banner {
    padding: 0;
}

.video-frame-wrap iframe {
    width: 100%;
    min-height: 600px;
    border: 0;
}

.storefront-footer {
    margin-top: 2rem;
    background: #1f1f1f;
    color: #fff;
    padding: 0 0 1.5rem;
}

.footer-top {
    padding: 0 16px;
    transform: translateY(-38px);
}

.newsletter-card {
    width: min(1240px, 100%);
    margin: 0 auto;
    border-radius: 28px;
    background: linear-gradient(90deg, #151515 0%, #2d2d2d 100%);
    color: #fff;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 1rem;
}

.newsletter-copy {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 0.95;
}

.newsletter-form {
    display: flex;
    justify-content: end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.input-text {
    min-width: 280px;
    border: none;
    border-radius: 999px;
    padding: 0.95rem 1.2rem;
    font: inherit;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-top: 1rem;
}

.footer-contact .address,
.footer-contact a,
.footer-links-group a,
.footer-bottom p {
    color: rgba(255, 255, 255, 0.76);
}

.social-icons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-icons img,
.payment-icons img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.footer-links-group h4 {
    margin: 0 0 0.75rem;
    font-size: 1.6rem;
}

.footer-links-group ul {
    display: grid;
    gap: 0.55rem;
}

.footer-bottom {
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

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

    .blog-grid-vvti,
    .footer-content,
    .newsletter-card,
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        justify-content: start;
    }
}

@media (max-width: 780px) {
    .storefront-header-row {
        grid-template-columns: 1fr auto;
    }

    .storefront-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .product-grid-vvti {
        grid-template-columns: 1fr;
    }

    .hero-promos,
    .options-row {
        grid-template-columns: 1fr;
    }

    .section-headline,
    .footer-bottom {
        flex-direction: column;
        align-items: start;
    }

    .video-frame-wrap iframe {
        min-height: 360px;
    }

    .newsletter-card {
        padding: 1.5rem;
    }

    .input-text {
        min-width: 0;
        width: 100%;
    }

    .newsletter-form {
        display: grid;
    }
}

.cms-dashboard-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.cms-dashboard-nav {
    background: linear-gradient(180deg, #241a49 0%, #13122d 100%);
    color: #fff;
    padding: 1.4rem;
    display: grid;
    align-content: start;
    gap: 0.9rem;
    border-radius: 24px;
}

.cms-dashboard-nav a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.status-chip {
    width: fit-content;
    margin-top: 1rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(126, 221, 115, 0.16);
    color: #88f280;
    font-size: 0.85rem;
    font-weight: 700;
}

.cms-dashboard-content,
.cms-stat-grid,
.cms-dashboard-panels,
.cms-form-grid,
.cms-color-grid,
.notification-stack,
.activity-stack,
.banner-editor-stack,
.cms-color-edit-list {
    display: grid;
    gap: 1rem;
}

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

.cms-stat-card {
    background: rgba(255, 255, 255, 0.82);
    padding: 1.3rem;
    box-shadow: var(--shadow);
    border-radius: 24px;
}

.cms-stat-card strong {
    display: block;
    font-size: 2rem;
    margin: 0.55rem 0;
}

.ring-shell {
    width: 82px;
    height: 82px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    border: 8px solid rgba(111, 66, 193, 0.18);
    border-top-color: #6f42c1;
    margin-top: 0.75rem;
}

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

.notification-row,
.activity-row {
    padding: 0.9rem 1rem;
    background: rgba(35, 27, 26, 0.05);
    display: grid;
    gap: 0.35rem;
    border-radius: 24px;
}

.notification-row.high {
    background: rgba(235, 89, 89, 0.12);
}

.notification-row.low {
    background: rgba(74, 198, 112, 0.12);
}

.activity-row {
    grid-template-columns: 44px 1fr auto;
    align-items: center;
}

.activity-row strong {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #6f42c1;
    color: #fff;
}

.cms-subsection {
    margin: 1rem 0;
}

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

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

.color-picker {
    padding: 0;
    min-height: 48px;
}

.discount-cell {
    font-weight: 700;
}

.banner-preview-thumb {
    overflow: hidden;
    background: rgba(35, 27, 26, 0.05);
    border-radius: 24px;
}

.banner-preview-thumb img {
    width: 100%;
    aspect-ratio: 16 / 5;
    object-fit: cover;
}

.banner-preview-thumb.small img {
    aspect-ratio: 1 / 1;
}

.cms-section-title {
    margin: 0.35rem 0 0;
    font-family: "Playfair Display", serif;
    font-size: 2rem;
}

.existing-image-grid,
.campaign-recipient-list {
    display: grid;
    gap: 0.9rem;
}

.existing-image-grid {
    grid-template-columns: repeat(auto-fit, minmax(64px, 90px));
}

.existing-image-card,
.campaign-recipient-card {
    display: grid;
    gap: 0.45rem;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(35, 27, 26, 0.05);
}

.existing-image-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
    cursor: zoom-in;
}

.variant-inventory {
    margin-top: 1rem;
}

.cms-swatch {
    display: inline-block;
    width: 26px;
    height: 26px;
    border: 1px solid rgba(35, 27, 26, 0.22);
    border-radius: 50%;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.72);
}

.image-lightbox img {
    max-width: min(92vw, 980px);
    max-height: 86vh;
    border-radius: 8px;
    background: #fff;
}

.image-lightbox button {
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

@media (max-width: 1100px) {
    .cms-dashboard-grid,
    .cms-stat-grid,
    .cms-dashboard-panels,
    .cms-form-grid,
    .cms-color-grid {
        grid-template-columns: 1fr;
    }
}

body.cms-shell {
    --cms-bg: #f8fafc;
    --cms-sidebar: #0f172a;
    --cms-sidebar-soft: #1e293b;
    --cms-muted: #64748b;
    --cms-ink: #0f172a;
    --cms-line: #e2e8f0;
    --cms-indigo: #4f46e5;
    --cms-indigo-dark: #4338ca;
    --cms-card: #ffffff;
    margin: 0;
    min-height: 100vh;
    background: var(--cms-bg);
    color: var(--cms-ink);
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
    overflow-x: hidden;
}

body.cms-shell .site-header {
    display: none;
}

.cms-app-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 50;
    display: flex;
    width: 256px;
    flex-direction: column;
    background: var(--cms-sidebar);
    border-right: 1px solid #1e293b;
    color: #fff;
}

.cms-app-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 24px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
}

.cms-app-brand strong,
body.cms-shell h1,
body.cms-shell h2,
body.cms-shell h3,
body.cms-shell .cms-section-title {
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
}

.cms-app-mark {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 8px;
    background: #6366f1;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.22);
}

.cms-app-nav {
    display: grid;
    gap: 4px;
    padding: 16px;
}

.cms-app-nav a,
.cms-app-nav summary {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 38px;
    padding: 9px 12px;
    border-radius: 8px;
    color: #94a3b8;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    list-style: none;
}

.cms-app-nav summary::-webkit-details-marker {
    display: none;
}

.cms-app-nav a:hover,
.cms-app-nav summary:hover,
.cms-app-nav a.active,
.cms-app-nav details.active > summary {
    background: var(--cms-sidebar-soft);
    color: #fff;
}

.cms-app-nav span {
    display: inline-grid;
    width: 18px;
    place-items: center;
    color: #818cf8;
    font-size: 16px;
}

.cms-app-nav details div {
    display: grid;
    gap: 2px;
    margin: 4px 0 6px 42px;
}

.cms-app-nav details div a {
    min-height: 28px;
    padding: 6px 0;
    background: transparent;
    color: #64748b;
    font-size: 12px;
}

.cms-app-nav details div a:hover {
    background: transparent;
    color: #fff;
}

.cms-app-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding: 16px 24px;
    border-top: 1px solid #1e293b;
}

.cms-app-user > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 999px;
    background: #334155;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.cms-app-user strong,
.cms-app-user small {
    display: block;
}

.cms-app-user small {
    color: #64748b;
}

.cms-app-main {
    min-height: 100vh;
    min-width: 0;
    padding-left: 256px;
    overflow-x: hidden;
}

.cms-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 32px;
    background: #fff;
    border-bottom: 1px solid var(--cms-line);
}

.cms-search {
    display: flex;
    align-items: center;
    width: min(384px, 52vw);
    gap: 8px;
    padding: 0 12px;
    border: 1px solid var(--cms-line);
    border-radius: 8px;
    background: #f1f5f9;
    color: #94a3b8;
}

.cms-search input {
    width: 100%;
    min-height: 34px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--cms-ink);
    font: inherit;
    font-size: 14px;
}

.cms-topbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cms-icon-button {
    position: relative;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 8px;
    color: #94a3b8;
    font-size: 22px;
}

.cms-icon-button::after {
    content: "";
    position: absolute;
    top: 9px;
    right: 10px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ef4444;
    border: 2px solid #fff;
}

.cms-new-product,
body.cms-shell .primary-link,
body.cms-shell button.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 38px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    background: var(--cms-indigo);
    color: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.cms-new-product:hover,
body.cms-shell .primary-link:hover,
body.cms-shell button.primary-link:hover {
    background: var(--cms-indigo-dark);
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.18);
}

body.cms-shell .primary-link.dark {
    background: #111827;
}

body.cms-shell .page-shell {
    max-width: none;
    margin: 0;
    padding: 32px;
    overflow-x: hidden;
}

body.cms-shell .cms-header {
    margin: 0 0 24px;
    align-items: center;
}

body.cms-shell .cms-header h1 {
    margin: 4px 0 4px;
    color: var(--cms-ink);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

body.cms-shell .cms-header p,
body.cms-shell .field-note,
body.cms-shell .cms-card label span,
body.cms-shell .cms-table,
body.cms-shell .cms-stat-card p,
body.cms-shell .cms-stat-card span {
    color: var(--cms-muted);
}

body.cms-shell .kicker {
    padding: 0;
    background: transparent;
    color: var(--cms-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

body.cms-shell .cms-actions {
    align-items: center;
    gap: 12px;
}

body.cms-shell .secondary-button {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--cms-line);
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

body.cms-shell .text-button {
    color: var(--cms-indigo);
    font-size: 13px;
    font-weight: 800;
}

body.cms-shell .tenant-strip {
    margin-bottom: 24px;
}

body.cms-shell .tenant-pill {
    border: 1px solid var(--cms-line);
    border-radius: 999px;
    background: #fff;
    color: #334155;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.cms-shell .tenant-pill.active {
    background: var(--cms-indigo);
    color: #fff;
    border-color: var(--cms-indigo);
}

body.cms-shell .cms-dashboard-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

body.cms-shell .cms-dashboard-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--cms-line);
    border-radius: 12px;
    background: #fff;
    color: var(--cms-ink);
}

body.cms-shell .cms-dashboard-nav strong {
    margin-right: 8px;
    color: var(--cms-ink);
}

body.cms-shell .cms-dashboard-nav a {
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--cms-muted);
    font-size: 13px;
    font-weight: 700;
}

body.cms-shell .cms-dashboard-nav a:hover {
    background: #f1f5f9;
    color: var(--cms-ink);
}

body.cms-shell .status-chip {
    margin: 0 0 0 auto;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
}

body.cms-shell .cms-card,
body.cms-shell .login-form,
body.cms-shell .login-copy,
body.cms-shell .cms-stat-card,
body.cms-shell .order-card,
body.cms-shell .color-card {
    border: 1px solid var(--cms-line);
    border-radius: 12px;
    background: var(--cms-card);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

body.cms-shell .cms-card,
body.cms-shell .login-form,
body.cms-shell .login-copy {
    padding: 24px;
    max-width: 100%;
    overflow-x: auto;
}

body.cms-shell .cms-stat-grid {
    gap: 24px;
}

body.cms-shell .cms-stat-card {
    padding: 20px;
    transition: box-shadow 0.16s ease;
}

body.cms-shell .cms-stat-card:hover {
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

body.cms-shell .cms-stat-card span,
body.cms-shell .cms-table th {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.cms-shell .cms-stat-card strong {
    margin: 8px 0 4px;
    color: var(--cms-ink);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

body.cms-shell .cms-dashboard-panels {
    gap: 24px;
}

body.cms-shell .filter-header {
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

body.cms-shell .pill-note {
    border: 0;
    background: #eef2ff;
    color: var(--cms-indigo);
    font-size: 11px;
}

body.cms-shell .cms-grid,
body.cms-shell .cms-listing {
    gap: 24px;
    margin-bottom: 24px;
}

body.cms-shell .cms-form-grid,
body.cms-shell .cms-color-grid {
    gap: 16px;
}

body.cms-shell .cms-card input,
body.cms-shell .cms-card textarea,
body.cms-shell .cms-card select,
body.cms-shell .login-form input {
    min-height: 42px;
    border: 1px solid var(--cms-line);
    border-radius: 8px;
    background: #fff;
    color: var(--cms-ink);
    font: inherit;
    font-size: 14px;
}

body.cms-shell .cms-card input:focus,
body.cms-shell .cms-card textarea:focus,
body.cms-shell .cms-card select:focus,
body.cms-shell .login-form input:focus {
    outline: 2px solid rgba(79, 70, 229, 0.2);
    border-color: var(--cms-indigo);
}

body.cms-shell .cms-table {
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    color: #334155;
}

body.cms-shell .cms-table th,
body.cms-shell .cms-table td {
    padding: 14px 24px;
    border-bottom: 1px solid #f1f5f9;
}

body.cms-shell .cms-table th {
    color: #94a3b8;
    background: #fff;
}

body.cms-shell .cms-table tr:hover td {
    background: #f8fafc;
}

.cms-order-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 20px;
    align-items: start;
}

.cms-order-preview {
    width: 160px;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    object-fit: cover;
    background: #f8fafc;
    border: 1px solid var(--cms-line);
}

.cms-order-item-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.cms-order-item-row img {
    width: 48px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    background: #f8fafc;
    border: 1px solid var(--cms-line);
}

body.cms-shell .notification-row,
body.cms-shell .activity-row,
body.cms-shell .existing-image-card,
body.cms-shell .campaign-recipient-card {
    border-radius: 10px;
    background: #f8fafc;
}

body.cms-shell .activity-row strong {
    background: var(--cms-indigo);
}

body.cms-shell .ring-shell {
    border-color: #e0e7ff;
    border-top-color: var(--cms-indigo);
}

body.cms-auth-shell {
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
    background: #f8fafc;
}

body.cms-auth-shell .page-shell {
    max-width: 1000px;
}

@media (max-width: 900px) {
    .cms-app-sidebar {
        position: static;
        width: 100%;
        min-height: auto;
    }

    .cms-app-main {
        padding-left: 0;
    }

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

    .cms-search {
        width: 52vw;
    }

    body.cms-shell .page-shell {
        padding: 20px 16px;
    }
}
