:root {
    --lumorra-ink: #161514;
    --lumorra-charcoal: #24201d;
    --lumorra-muted: #6f6b65;
    --lumorra-paper: #f6f3ee;
    --lumorra-mist: #dfe8e3;
    --lumorra-sage: #6f8f7a;
    --lumorra-clay: #b85f45;
    --lumorra-sky: #a8c8d8;
    --lumorra-line: #e6e0d8;
}

body {
    overflow-x: hidden;
    background: #fffdf9;
    color: var(--lumorra-ink);
    font-feature-settings: "kern";
}

img {
    max-width: 100%;
}

.top-ribbon {
    background: var(--lumorra-ink);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
    padding: 0.55rem 0;
}

.site-nav {
    background: rgba(255, 253, 249, 0.92);
    border-bottom: 1px solid rgba(22, 21, 20, 0.08);
    backdrop-filter: blur(18px);
}

.navbar-brand {
    letter-spacing: 0;
}

.nav-link {
    color: var(--lumorra-ink);
    font-size: 0.9rem;
    font-weight: 600;
}

.nav-icon {
    align-items: center;
    border: 1px solid var(--lumorra-line);
    border-radius: 999px;
    color: var(--lumorra-ink);
    display: inline-flex;
    height: 2.25rem;
    justify-content: center;
    text-decoration: none;
    width: 2.25rem;
}

.brand-mark {
    align-items: center;
    background: var(--lumorra-ink);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: 0.8rem;
    height: 1.65rem;
    justify-content: center;
    margin-right: 0.35rem;
    width: 1.65rem;
}

.eyebrow {
    color: var(--lumorra-clay);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.home-hero-luxe {
    color: #fff;
    min-height: min(760px, calc(100vh - 3.2rem));
    overflow: hidden;
    position: relative;
}

.home-hero-bg {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    transform: scale(1.02);
    width: 100%;
}

.home-hero-shade {
    background: linear-gradient(90deg, rgba(20, 18, 15, 0.78) 0%, rgba(20, 18, 15, 0.56) 42%, rgba(20, 18, 15, 0.16) 100%), linear-gradient(0deg, rgba(20, 18, 15, 0.52) 0%, transparent 38%);
    inset: 0;
    position: absolute;
}

.home-hero-content {
    align-items: end;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    min-height: min(760px, calc(100vh - 3.2rem));
    padding-bottom: clamp(3rem, 8vh, 5.5rem);
    padding-top: clamp(4rem, 10vh, 7rem);
    position: relative;
    z-index: 1;
}

.home-hero-copy {
    max-width: 760px;
}

.home-hero-copy h1 {
    font-size: clamp(3.2rem, 7vw, 7.2rem);
    font-weight: 800;
    line-height: 0.92;
    margin-bottom: 1.4rem;
    max-width: 900px;
}

.home-hero-copy p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1.02rem, 1.5vw, 1.25rem);
    line-height: 1.55;
    max-width: 620px;
}

.home-hero-note {
    border-left: 1px solid rgba(255, 255, 255, 0.42);
    padding-left: 1.25rem;
}

.home-hero-note span {
    color: rgba(255, 255, 255, 0.64);
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.home-hero-note strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
}

.home-hero-aside {
    display: grid;
    gap: 1rem;
}

.home-hero-widget {
    backdrop-filter: blur(18px);
    background: rgba(255, 253, 249, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
    overflow: hidden;
    padding: 1rem;
}

.hero-widget-topline,
.hero-widget-footer {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.hero-widget-topline span,
.hero-widget-footer span {
    color: rgba(255, 255, 255, 0.62);
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-widget-topline strong,
.hero-widget-footer strong {
    color: #fff;
    font-size: 0.92rem;
}

.hero-widget-stage {
    height: 240px;
    margin: 1rem 0;
    position: relative;
}

.hero-widget-card {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2);
    color: #fff;
    display: block;
    overflow: hidden;
    position: absolute;
    text-decoration: none;
    transform-origin: center;
    transition: transform 220ms ease, border-color 220ms ease;
}

.hero-widget-card img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.hero-widget-card span {
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
    bottom: 0;
    font-size: 0.72rem;
    font-weight: 800;
    inset-inline: 0;
    padding: 2.4rem 0.75rem 0.65rem;
    position: absolute;
    text-transform: uppercase;
}

.hero-widget-card:hover {
    border-color: rgba(255, 255, 255, 0.48);
    transform: translateY(-0.25rem) scale(1.02);
}

.hero-widget-card-one {
    animation: widgetCardFloat 6s ease-in-out infinite;
    height: 172px;
    left: 0;
    top: 0;
    width: 48%;
    z-index: 3;
}

.hero-widget-card-two {
    animation: widgetCardFloat 6s ease-in-out 1.1s infinite;
    height: 142px;
    right: 0;
    top: 2.1rem;
    width: 50%;
    z-index: 2;
}

.hero-widget-card-three {
    animation: widgetCardFloat 6s ease-in-out 2.2s infinite;
    bottom: 0;
    height: 112px;
    left: 22%;
    width: 56%;
    z-index: 4;
}

.hero-widget-footer {
    gap: 0.75rem;
}

.hero-widget-meter {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    flex: 1;
    height: 0.35rem;
    min-width: 70px;
    overflow: hidden;
}

.hero-widget-meter span {
    animation: widgetMeter 3.8s ease-in-out infinite;
    background: #fff;
    border-radius: inherit;
    display: block;
    height: 100%;
    width: 46%;
}

@keyframes widgetCardFloat {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -0.55rem; }
}

@keyframes widgetMeter {
    0% { transform: translateX(-110%); }
    48%, 58% { transform: translateX(72%); }
    100% { transform: translateX(220%); }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.home-service-strip {
    background: #fffdf9;
    border-bottom: 1px solid var(--lumorra-line);
}

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

.home-service-grid div {
    align-items: center;
    border-left: 1px solid var(--lumorra-line);
    display: flex;
    gap: 0.75rem;
    min-height: 5.2rem;
    padding: 1rem 1.25rem;
}

.home-service-grid div:first-child {
    border-left: 0;
}

.home-service-grid i {
    color: var(--lumorra-clay);
    font-size: 1.2rem;
}

.home-service-grid span {
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.25;
}

.home-editorial {
    align-items: center;
    display: grid;
    gap: clamp(2rem, 5vw, 5rem);
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    padding-bottom: clamp(4rem, 8vw, 7rem);
    padding-top: clamp(4rem, 8vw, 7rem);
}

.home-editorial-copy {
    max-width: 500px;
}

.home-editorial-copy h2,
.home-service-flow-header h2,
.section-heading-large h2 {
    font-size: clamp(2.15rem, 4.2vw, 4.6rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 0.98;
    margin-bottom: 1rem;
}

.home-editorial-copy p:not(.eyebrow),
.home-service-flow-header p:not(.eyebrow) {
    color: var(--lumorra-muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.home-category-stack {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1.08fr 0.92fr;
}

.home-category-card {
    aspect-ratio: 4 / 5;
    background: var(--lumorra-paper);
    border-radius: 8px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: end;
    overflow: hidden;
    padding: 1.1rem;
    position: relative;
    text-decoration: none;
}

.home-category-large {
    aspect-ratio: 4 / 5.45;
    grid-row: span 2;
}

.home-category-card img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    transition: transform 320ms ease;
    width: 100%;
}

.home-category-card::after {
    background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.68));
    content: "";
    inset: 0;
    position: absolute;
}

.home-category-card span,
.home-category-card strong {
    position: relative;
    z-index: 1;
}

.home-category-card span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.home-category-card strong {
    font-size: clamp(1.1rem, 1.9vw, 1.65rem);
    line-height: 1.08;
}

.home-category-card:hover img {
    transform: scale(1.045);
}

.home-featured-products {
    background: #f2eee7;
    padding: clamp(4rem, 7vw, 6rem) 0;
}

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

.home-service-flow {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
    padding-bottom: clamp(4rem, 7vw, 6rem);
    padding-top: clamp(4rem, 7vw, 6rem);
}

.home-flow-list {
    border-top: 1px solid var(--lumorra-line);
}

.home-flow-item {
    border-bottom: 1px solid var(--lumorra-line);
    display: grid;
    gap: 1rem;
    grid-template-columns: 4rem minmax(120px, 0.32fr) minmax(0, 1fr);
    padding: 1.25rem 0;
}

.home-flow-item span {
    color: var(--lumorra-clay);
    font-weight: 800;
}

.home-flow-item h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
}

.home-flow-item p {
    color: var(--lumorra-muted);
    line-height: 1.55;
    margin: 0;
}

.product-band,
.process-band {
    background: var(--lumorra-paper);
}

.product-card {
    background: #fff;
    border: 1px solid rgba(22, 21, 20, 0.08);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(22, 21, 20, 0.06);
    overflow: hidden;
}

.product-image {
    align-items: center;
    aspect-ratio: 4 / 3;
    background: #f1eee8;
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    width: 100%;
}

.product-image::before {
    content: none;
}

.product-image > img {
    display: block;
    flex: 1 1 auto;
    height: 100%;
    inset: auto;
    object-fit: cover;
    position: static;
    width: 100%;
}

.product-image .product-card-badge {
    z-index: 2;
}

.product-card-badge {
    background: rgba(255, 255, 255, 0.88);
    border-radius: 999px;
    color: var(--lumorra-ink);
    font-size: 0.72rem;
    font-weight: 800;
    left: 0.75rem;
    padding: 0.35rem 0.6rem;
    position: absolute;
    top: 0.75rem;
}

.product-card .card-body {
    padding: 1rem;
}

.product-card-category {
    color: var(--lumorra-clay);
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.product-card-title {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.product-card-title a {
    color: var(--lumorra-ink);
}

.product-card-summary {
    color: var(--lumorra-muted);
    display: -webkit-box;
    font-size: 0.88rem;
    line-height: 1.35;
    margin-bottom: 1rem;
    min-height: 2.4rem;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card-footer {
    align-items: center;
    border-top: 1px solid var(--lumorra-line);
    display: flex;
    font-weight: 800;
    justify-content: space-between;
    padding-top: 0.85rem;
}

.placeholder-icon {
    color: var(--lumorra-muted);
    font-size: 3rem;
}

.shop-hero {
    background: linear-gradient(135deg, var(--lumorra-ink), #40352d);
    color: #fff;
    padding: 4.5rem 0;
}

.shop-hero h1 {
    font-size: clamp(2.4rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1;
}

.shop-hero p {
    color: rgba(255, 255, 255, 0.74);
    max-width: 620px;
}

.category-bar {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
}

.category-chip {
    border: 1px solid var(--lumorra-line);
    border-radius: 999px;
    color: var(--lumorra-ink);
    flex: 0 0 auto;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.55rem 0.9rem;
    text-decoration: none;
}

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

.shop-toolbar {
    align-items: center;
    border-bottom: 1px solid var(--lumorra-line);
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.product-detail-hero {
    background: var(--lumorra-paper);
    padding: 2rem 0 5rem;
}

.back-link {
    color: var(--lumorra-ink);
    display: inline-flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.product-detail-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.78fr);
}

.product-detail-media {
    align-self: start;
    order: 1;
}

.product-detail-panel {
    order: 2;
}

.product-detail-panel {
    align-self: start;
    background: #fff;
    border: 1px solid var(--lumorra-line);
    border-radius: 8px;
    padding: 2rem;
    position: sticky;
    top: 6rem;
}

.product-detail-panel h1 {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 0.98;
}

.product-detail-panel .lead {
    color: var(--lumorra-muted);
}

.price-display {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 1.5rem 0;
}

.spec-grid {
    border-top: 1px solid var(--lumorra-line);
    display: grid;
    gap: 0;
    grid-template-columns: 1fr 1fr;
    margin-top: 1.5rem;
}

.spec-grid div {
    border-bottom: 1px solid var(--lumorra-line);
    padding: 1rem 0.75rem 1rem 0;
}

.spec-grid span {
    color: var(--lumorra-muted);
    display: block;
    font-size: 0.78rem;
    margin-bottom: 0.2rem;
}

.spec-grid strong {
    font-size: 0.92rem;
}

.spec-grid a {
    color: var(--lumorra-ink);
}

.product-description {
    margin-top: 1.5rem;
}

.product-description h2 {
    font-size: 1rem;
    font-weight: 800;
}

.process-step,
.order-summary-panel,
.confirmation-panel,
.admin-info-panel,
.empty-state {
    background: #fff;
    border: 1px solid var(--lumorra-line);
    border-radius: 8px;
    height: 100%;
    padding: 1.5rem;
}

.process-step span {
    color: var(--lumorra-clay);
    display: block;
    font-weight: 800;
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 800;
}

.login-panel,
.admin-form {
    max-width: 920px;
}

.login-panel {
    max-width: 420px;
}

.admin-nav,
.order-summary-panel {
    position: sticky;
    top: 5rem;
}

.summary-line {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.confirmation-panel {
    max-width: 620px;
}

.confirmation-icon,
.empty-state i {
    align-items: center;
    background: var(--lumorra-ink);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    height: 3rem;
    justify-content: center;
    margin-bottom: 1rem;
    width: 3rem;
}

.empty-state {
    text-align: center;
}

.site-footer {
    background: #fff;
    border-top: 1px solid var(--lumorra-line);
    padding: 3rem 0;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-lg-end;
}

.footer-links a {
    color: var(--lumorra-ink);
    font-weight: 700;
    text-decoration: none;
}


@media (max-width: 991.98px) {
    .home-hero-content,
    .home-editorial,
    .home-service-flow {
        grid-template-columns: 1fr;
    }

    .home-hero-content {
        align-items: end;
        min-height: 680px;
    }

    .home-hero-aside,
    .home-hero-note {
        max-width: 520px;
    }

    .home-hero-widget {
        max-width: 420px;
    }

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

    .home-service-grid div:nth-child(odd) {
        border-left: 0;
    }
}

@media (max-width: 575.98px) {
    .home-hero-luxe,
    .home-hero-content {
        min-height: auto;
    }

    .home-hero-content {
        padding-bottom: 2.5rem;
        padding-top: 4rem;
    }

    .hero-widget-stage {
        height: 190px;
    }

    .hero-widget-card-one {
        height: 132px;
    }

    .hero-widget-card-two {
        height: 112px;
    }

    .hero-widget-card-three {
        height: 92px;
    }

    .hero-widget-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-widget-meter {
        width: 100%;
    }

    .home-hero-copy h1 {
        font-size: clamp(2.45rem, 13vw, 3.55rem);
        line-height: 0.96;
    }

    .home-service-grid,
    .home-category-stack,
    .home-product-rail,
    .home-flow-item {
        grid-template-columns: 1fr;
    }

    .home-service-grid div {
        border-left: 0;
        border-top: 1px solid var(--lumorra-line);
        min-height: auto;
    }

    .home-service-grid div:first-child {
        border-top: 0;
    }
}



.product-zoom-trigger {
    background: transparent;
    border: 0;
    cursor: zoom-in;
    display: block;
    padding: 0;
    position: relative;
    width: 100%;
}

.product-zoom-trigger img {
    border-radius: 1.25rem;
    width: 100%;
}

.zoom-hint {
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(22, 22, 18, 0.1);
    border-radius: 999px;
    bottom: 1rem;
    color: var(--lumorra-ink);
    display: inline-flex;
    font-size: 0.85rem;
    font-weight: 800;
    gap: 0.35rem;
    padding: 0.55rem 0.85rem;
    position: absolute;
    right: 1rem;
}

.product-thumbnails {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
    margin-top: 1rem;
}

.product-thumb {
    aspect-ratio: 1;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 0.75rem;
    overflow: hidden;
    padding: 0;
}

.product-thumb img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.product-thumb.is-active {
    border-color: var(--lumorra-ink);
}

.product-zoom-modal .modal-content {
    background: #11110f;
    border: 0;
    color: #fff;
}

.product-zoom-modal .modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.product-zoom-modal .btn-close {
    filter: invert(1);
}

.product-zoom-modal .modal-body {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: min(72vh, 720px);
    padding: 1rem;
}

.product-zoom-modal img {
    max-height: 76vh;
    max-width: 100%;
    object-fit: contain;
}


.language-switcher .dropdown-item.active {
    background: var(--lumorra-ink);
    color: #fff;
}

[dir="rtl"] body,
[dir="rtl"] .form-control,
[dir="rtl"] .btn,
[dir="rtl"] .dropdown-menu {
    text-align: right;
}

[dir="rtl"] .ms-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

[dir="rtl"] .me-1,
[dir="rtl"] .me-2 {
    margin-left: 0.25rem !important;
    margin-right: 0 !important;
}

[dir="rtl"] .bi-arrow-left::before {
    transform: scaleX(-1);
}

.product-story,
.comment-section {
    border-top: 1px solid var(--lumorra-line);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

.story-grid {
    display: grid;
    gap: 0.75rem;
}

.story-grid div {
    background: var(--lumorra-paper);
    border-radius: 8px;
    display: grid;
    gap: 0.2rem;
    grid-template-columns: auto 1fr;
    padding: 0.9rem;
}

.story-grid i {
    color: var(--lumorra-clay);
    font-size: 1.2rem;
    grid-row: span 2;
    margin-top: 0.15rem;
}

.story-grid strong {
    font-size: 0.9rem;
}

.story-grid span {
    color: var(--lumorra-muted);
    font-size: 0.86rem;
}

.admin-wide-form,
.admin-editor-form {
    max-width: 1180px;
}

.admin-section-card {
    background: #fff;
    border: 1px solid var(--lumorra-line);
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1.25rem;
}

.admin-section-card h2 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.admin-section-card h3 {
    color: var(--lumorra-muted);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.admin-featured-preview {
    align-items: center;
    background: var(--lumorra-paper);
    border: 1px dashed var(--lumorra-line);
    border-radius: 8px;
    display: flex;
    min-height: 190px;
    overflow: hidden;
    padding: 0.65rem;
}

.admin-featured-preview img {
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    height: 100%;
    max-height: 320px;
    object-fit: cover;
    width: 100%;
}

.admin-label-preview {
    min-height: 230px;
}

.admin-label-preview img {
    aspect-ratio: auto;
    max-height: 360px;
    object-fit: contain;
}

.admin-label-open-link {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 100%;
}

.admin-label-open-link:hover img {
    box-shadow: 0 18px 42px rgba(21, 18, 15, 0.18);
    transform: translateY(-1px);
}

.admin-featured-empty,
.admin-gallery-empty {
    align-items: center;
    color: var(--lumorra-muted);
    display: flex;
    font-size: 0.9rem;
    font-weight: 700;
    justify-content: center;
    min-height: 120px;
    width: 100%;
}

.admin-image-upload-panel {
    align-items: center;
    background: var(--lumorra-paper);
    border: 1px solid var(--lumorra-line);
    border-radius: 8px;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: minmax(220px, 0.85fr) minmax(260px, 1fr) auto;
    padding: 0.9rem;
}

.admin-image-upload-panel strong,
.admin-image-upload-panel span {
    display: block;
}

.admin-image-upload-panel strong {
    font-size: 0.92rem;
    font-weight: 800;
}

.admin-image-upload-panel span {
    color: var(--lumorra-muted);
    font-size: 0.84rem;
    line-height: 1.35;
    margin-top: 0.15rem;
}

.admin-image-upload-panel-muted {
    grid-template-columns: 1fr;
}

.admin-label-upload-panel {
    align-items: stretch;
    grid-template-columns: 1fr;
}

.admin-gallery-source {
    min-height: 96px;
}

.admin-gallery-editor {
    display: grid;
    gap: 0.75rem;
}

.admin-gallery-item {
    align-items: center;
    background: #fff;
    border: 1px solid var(--lumorra-line);
    border-radius: 8px;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    padding: 0.75rem;
}

.admin-gallery-thumb {
    align-items: center;
    aspect-ratio: 1;
    background: var(--lumorra-paper);
    border: 1px solid var(--lumorra-line);
    border-radius: 6px;
    color: var(--lumorra-muted);
    display: flex;
    font-size: 1.4rem;
    justify-content: center;
    overflow: hidden;
    width: 92px;
}

.admin-gallery-thumb img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.admin-gallery-fields {
    display: grid;
    gap: 0.5rem;
}

.admin-gallery-controls {
    display: flex;
    gap: 0.35rem;
}

.admin-gallery-controls .btn {
    align-items: center;
    display: inline-flex;
    height: 2.25rem;
    justify-content: center;
    padding: 0;
    width: 2.25rem;
}

.sticky-admin-actions {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--lumorra-line);
    border-radius: 8px;
    bottom: 1rem;
    box-shadow: 0 18px 50px rgba(27, 31, 35, 0.08);
    padding: 0.8rem;
    position: sticky;
    z-index: 5;
}

@media (max-width: 767.98px) {
    .admin-image-upload-panel,
    .admin-gallery-item {
        grid-template-columns: 1fr;
    }

    .admin-gallery-item {
        grid-template-columns: 74px minmax(0, 1fr);
    }

    .admin-gallery-thumb {
        width: 74px;
    }

    .admin-gallery-controls {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }
}

.admin-thumb {
    align-items: center;
    background: var(--lumorra-paper);
    border: 1px solid var(--lumorra-line);
    border-radius: 8px;
    display: inline-flex;
    height: 54px;
    justify-content: center;
    object-fit: cover;
    width: 54px;
}

.admin-thumb-placeholder {
    color: var(--lumorra-muted);
}


.bulk-action-bar {
    align-items: center;
    background: #fff;
    border: 1px solid var(--lumorra-line);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-bottom: 1rem;
    padding: 0.85rem;
}

.admin-import-card {
    align-items: end;
    background: #fff;
    border: 1px solid var(--lumorra-line);
    border-radius: 8px;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1.2fr) minmax(180px, 0.45fr) auto;
    margin-bottom: 1rem;
    padding: 1rem;
}

.admin-filter-card {
    align-items: center;
    background: #fff;
    border: 1px solid var(--lumorra-line);
    border-radius: 8px;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: minmax(220px, 0.9fr) minmax(220px, 0.55fr) auto auto auto;
    margin-bottom: 1rem;
    padding: 1rem;
}

.admin-import-card strong,
.admin-import-card span,
.admin-filter-card strong,
.admin-filter-card span {
    display: block;
}

.admin-import-card strong,
.admin-filter-card strong {
    font-size: 0.95rem;
    font-weight: 800;
}

.admin-import-card span,
.admin-filter-card > div span {
    color: var(--lumorra-muted);
    font-size: 0.84rem;
    line-height: 1.35;
    margin-top: 0.2rem;
}

.admin-filter-check {
    align-items: center;
    display: inline-flex;
    gap: 0.45rem;
    margin-bottom: 0;
    white-space: nowrap;
}

.admin-product-groups {
    display: grid;
    gap: 1rem;
}

.admin-list-section {
    background: #fff;
    border: 1px solid var(--lumorra-line);
    border-radius: 8px;
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
}

.admin-list-section + .admin-list-section {
    margin-top: 1rem;
}

.admin-list-section-heading {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.admin-list-section-heading h2 {
    font-size: 1.05rem;
    font-weight: 850;
    margin: 0;
}

.admin-list-section-heading p {
    color: var(--lumorra-muted);
    font-size: 0.86rem;
    margin: 0.2rem 0 0;
}

.admin-list-section-heading > span {
    background: var(--lumorra-paper);
    border: 1px solid var(--lumorra-line);
    border-radius: 999px;
    color: var(--lumorra-muted);
    flex: 0 0 auto;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.35rem 0.7rem;
}

.admin-empty-state {
    background: var(--lumorra-paper);
    border: 1px dashed var(--lumorra-line);
    border-radius: 8px;
    color: var(--lumorra-muted);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 1rem;
}

.admin-order-input {
    max-width: 86px;
}

.admin-product-group {
    display: grid;
    gap: 0.55rem;
}

.admin-product-group-heading {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.admin-product-group-heading h2 {
    font-size: 1rem;
    font-weight: 850;
    margin: 0;
}

.admin-product-group-heading span {
    color: var(--lumorra-muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.admin-label-chip {
    align-items: center;
    background: var(--lumorra-paper);
    border: 1px solid var(--lumorra-line);
    border-radius: 999px;
    color: var(--lumorra-muted);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    gap: 0.3rem;
    padding: 0.25rem 0.55rem;
    white-space: nowrap;
}

.admin-label-chip-ok {
    background: #f1f8f4;
    border-color: #bfe2cc;
    color: #27633f;
}

.admin-label-chip-link {
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.admin-label-chip-link:hover {
    border-color: #7fc49a;
    box-shadow: 0 8px 20px rgba(39, 99, 63, 0.14);
    color: #173f28;
}

.bulk-action-bar .form-select {
    max-width: 240px;
}

.bulk-select-all {
    align-items: center;
    display: inline-flex;
    gap: 0.45rem;
    margin: 0 auto 0 0;
}

.select-col {
    text-align: center;
    width: 44px;
}

@media (max-width: 575.98px) {
    .admin-import-card,
    .admin-filter-card,
    .bulk-action-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-import-card,
    .admin-filter-card {
        display: flex;
    }

    .admin-import-card .form-select,
    .admin-import-card .form-control,
    .admin-import-card .btn,
    .admin-filter-card .form-select,
    .admin-filter-card .btn,
    .bulk-action-bar .form-select,
    .bulk-action-bar .btn {
        max-width: none;
        width: 100%;
    }

    .admin-list-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (min-width: 576px) and (max-width: 1199.98px) {
    .admin-import-card,
    .admin-filter-card {
        grid-template-columns: 1fr 1fr;
    }

    .admin-import-card > div,
    .admin-import-card > .btn,
    .admin-filter-card > div,
    .admin-filter-card > .btn {
        grid-column: 1 / -1;
    }
}


.cost-helper {
    background: var(--lumorra-paper);
    border: 1px solid var(--lumorra-line);
    border-radius: 8px;
    color: var(--lumorra-muted);
    display: grid;
    gap: 0.25rem;
    padding: 0.9rem 1rem;
}

.cost-helper strong {
    color: var(--lumorra-ink);
    font-size: 0.9rem;
}

.media-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.media-card {
    background: #fff;
    border: 1px solid var(--lumorra-line);
    border-radius: 8px;
    overflow: hidden;
}

.media-preview {
    align-items: center;
    aspect-ratio: 4 / 3;
    background: var(--lumorra-paper);
    display: flex;
    justify-content: center;
}

.media-preview img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.media-card-body {
    padding: 1rem;
}

.media-card-body strong {
    display: block;
    font-size: 0.92rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-product-link {
    color: inherit;
    text-decoration: none;
}

.admin-product-link:hover strong {
    text-decoration: underline;
}
