:root {
    --mdr-primary: #a3814f;
    --mdr-primary-2: #8f6f45;
    --mdr-dark: #0f1012;
    --mdr-dark-2: #16181c;
    --mdr-light: #f7f7f8;
}

html,
body {
    height: 100%;
}

body {
    font-family: "Montserrat", system-ui, sans-serif;
    color: #161616;
    background: #fff;
    line-height: 1.6;
    padding-top: 118px;
}

.section-playfair,
.page-heading-light h1,
.hero-title,
.detail-panel h2,
.admin-sidebar h1 {
    font-family: "Playfair Display", serif;
}

.mdr-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: #0b0c0e;
    color: #d6d7db;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mdr-topbar a {
    color: #d6d7db;
    text-decoration: none;
}

.mdr-topbar a:hover {
    color: #fff;
}

.mdr-topbar .social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #15171b;
    margin-left: 8px;
}

.mdr-topbar .social a:hover {
    background: #1f2227;
}

.mdr-nav {
    position: fixed;
    top: 34px;
    left: 0;
    right: 0;
    z-index: 1030;
    background: linear-gradient(180deg, rgba(15, 16, 18, 0.96), rgba(15, 16, 18, 0.78));
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.2s;
}

.mdr-nav.scrolled {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.navbar-brand img {
    height: 54px;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

.navbar-dark .nav-link {
    color: #e9e9ea;
    font-weight: 600;
}

.navbar-dark .nav-link:hover {
    color: #fff;
}

.mdr-underline .nav-link {
    position: relative;
}

.mdr-underline .nav-link::before {
    content: "";
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: -10px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--mdr-primary), transparent);
    transform: scaleX(0);
    transition: transform 0.25s ease;
    transform-origin: center;
}

.mdr-underline .nav-link.active::before {
    background: var(--mdr-primary);
    transform: scaleX(1);
}

.mdr-nav .dropdown-toggle::after {
    display: none;
}

.mdr-nav .dropdown-menu {
    background: #0f1012;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.mdr-nav .dropdown-item {
    color: #e9e9ea;
}

.mdr-nav .dropdown-item:hover,
.mdr-nav .dropdown-item:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.btn-mdr {
    background: var(--mdr-primary);
    border-color: var(--mdr-primary);
    color: #fff;
}

.btn-mdr:hover {
    background: var(--mdr-primary-2);
    border-color: var(--mdr-primary-2);
    color: #fff;
}

.btn-mdr-outline {
    border: 1px solid var(--mdr-primary);
    color: var(--mdr-primary);
    background: transparent;
}

.btn-mdr-outline:hover {
    background: var(--mdr-primary);
    color: #fff;
}

.featured-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.featured-filter-btn {
    border: 1px solid var(--mdr-primary);
    background: #fff;
    color: var(--mdr-primary);
    border-radius: 999px;
    padding: 0.38rem 0.82rem;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
    transition: all 0.2s ease;
}

.featured-filter-btn:hover {
    background: #f8f3ea;
}

.featured-filter-btn.is-active {
    background: var(--mdr-primary);
    color: #fff;
}

.btn:focus,
.btn:active {
    box-shadow: none !important;
}

.hero-slide {
    position: relative;
    height: 66vh;
    min-height: 520px;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hero-image) center/cover no-repeat;
    filter: brightness(0.62);
}

.hero-layer {
    z-index: 1;
}

.hero-copy-block {
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
    max-width: 760px;
}

.page-heading-light {
    padding: 72px 0 30px;
    background: linear-gradient(180deg, #f5f6f8 0%, #ffffff 100%);
    color: #111;
    border-bottom: 1px solid #eee;
}

.page-heading-light h1 {
    font-weight: 700;
    margin: 0 0 8px;
}

.title-underline {
    width: 72px;
    height: 3px;
    border-radius: 2px;
    background: var(--mdr-primary);
}

.crumb a {
    color: #6b6f76;
    text-decoration: none;
}

.crumb a:hover {
    color: #111;
}

.hero-side-note {
    max-width: 640px;
}

.modern-card {
    position: relative;
    border: 1px solid #eee;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.modern-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.1);
    border-color: rgba(163, 129, 79, 0.45);
}

.modern-card .img-wrap {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    padding: 12px;
    background: linear-gradient(180deg, #f4f5f7 0%, #eceff3 100%);
}

.modern-card .img-wrap::before {
    content: "";
    display: block;
    padding-top: 100%;
}

.modern-card .img-wrap img {
    position: absolute;
    inset: 12px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    object-fit: contain;
    object-position: center center;
    transition: transform 0.35s ease, filter 0.35s ease;
}

@supports (aspect-ratio: 1 / 1) {
    .modern-card .img-wrap::before {
        content: none;
        display: none;
        padding-top: 0;
    }
}

.modern-card:hover .img-wrap img {
    transform: scale(1.01);
    filter: contrast(1.02);
}

.modern-card .badge-pill {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 0.38rem 0.7rem;
    font-size: 0.76rem;
    font-weight: 700;
    color: #fff;
    background: var(--mdr-primary);
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(163, 129, 79, 0.35);
}

.modern-card .quick {
    position: absolute;
    right: 12px;
    bottom: 12px;
}

.modern-card .quick .btn {
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: 0;
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.modern-card:hover .quick .btn {
    opacity: 1;
    transform: translateY(0);
}

.modern-card .body {
    padding: 1.05rem 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modern-card .title {
    font-weight: 800;
    color: #111;
    font-size: 1.06rem;
}

.modern-card .desc {
    color: #6b6f76;
    font-size: 0.95rem;
}

.modern-card .price,
.detail-price {
    color: var(--mdr-primary);
    font-weight: 800;
}

.contact-map-embed {
    width: 100%;
    border: 1px solid #ece8df;
    border-radius: 16px;
    overflow: hidden;
    background: #f7f7f7;
}

.contact-map-embed iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
    display: block;
}

.contact-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-social-links a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(163, 129, 79, 0.35);
    color: var(--mdr-primary);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.contact-social-links a:hover {
    background: var(--mdr-primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-cta-primary {
    background: var(--mdr-primary);
    color: #fff !important;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    padding: 0.62rem 1rem;
    box-shadow: 0 10px 24px rgba(163, 129, 79, 0.28);
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-cta-primary:hover {
    background: #8c6a3c;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(140, 106, 60, 0.35);
}

.btn-cta-outline {
    background: transparent;
    color: var(--mdr-primary) !important;
    border: 2px solid var(--mdr-primary);
    border-radius: 12px;
    font-weight: 800;
    padding: 0.62rem 1rem;
    transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.btn-cta-outline:hover {
    background: var(--mdr-primary);
    color: #fff !important;
    transform: translateY(-1px);
}

.detail-main-image {
    aspect-ratio: 1/1;
    object-fit: contain;
    object-position: center center;
    width: 100%;
    transition: opacity 0.2s ease;
    cursor: zoom-in;
    background: linear-gradient(180deg, #f4f5f7 0%, #eceff3 100%);
}

.detail-main-wrap {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #ece3d8;
    box-shadow: 0 14px 30px rgba(44, 31, 18, 0.1);
}

.detail-main-wrap::before {
    content: "";
    display: block;
    padding-top: 100%;
}

.detail-main-wrap .detail-main-image {
    position: absolute;
    inset: 0;
    height: 100%;
}

@supports (aspect-ratio: 1 / 1) {
    .detail-main-wrap::before {
        content: none;
        display: none;
        padding-top: 0;
    }
}

.detail-thumb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 10px;
}

.detail-thumb-button {
    padding: 0;
    border: 2px solid #eadfce;
    background: #fff;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.16s ease, box-shadow 0.2s ease;
}

.detail-thumb-button img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #f4f5f7;
}

.detail-thumb-button:hover {
    transform: translateY(-1px);
    border-color: #cfae81;
    box-shadow: 0 10px 18px rgba(61, 40, 18, 0.12);
}

.detail-thumb-button.is-active {
    border-color: #9a7040;
    box-shadow: 0 0 0 4px rgba(154, 112, 64, 0.18);
}

.partner-logo-card {
    border: 1px solid #ececec;
}

.partner-logo-image {
    height: 62px;
    width: 100%;
    object-fit: contain;
    filter: grayscale(1) opacity(0.9);
}

.detail-panel {
    position: sticky;
    top: 142px;
}

.feature-list {
    padding-left: 1.2rem;
    color: #555;
}

.feature-list li + li {
    margin-top: 0.45rem;
}

.seri-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-top: 3px solid var(--mdr-primary);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.title-pill {
    display: inline-block;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, var(--mdr-primary), #8f6f45);
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    letter-spacing: 0.4px;
    font-size: 0.9rem;
}

.seri-table tbody tr + tr {
    border-top: 1px dashed #ececec;
}

.seri-table th {
    width: 46%;
    color: #2a2a2a;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    line-height: 1.2;
}

.seri-table td {
    font-size: 0.92rem;
    color: #555;
}

.detail-video-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #e8ddcc;
    background: #000;
    aspect-ratio: 16 / 9;
}

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

.detail-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 12, 15, 0.88);
    z-index: 1100;
}

.detail-lightbox.is-open {
    display: flex;
}

.detail-lightbox img {
    max-width: min(94vw, 1400px);
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
    background: #fff;
}

.detail-lightbox-close,
.detail-lightbox-nav {
    position: absolute;
    border: 0;
    color: #fff;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
}

.detail-lightbox-close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 1.5rem;
    line-height: 1;
}

.detail-lightbox-nav {
    top: 50%;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    font-size: 1.4rem;
    transform: translateY(-50%);
}

.detail-lightbox-nav.prev {
    left: 14px;
}

.detail-lightbox-nav.next {
    right: 14px;
}

.mdr-footer {
    background: #0f1012;
    color: #cfd3d8;
}

.mdr-footer a {
    color: #cfd3d8;
    text-decoration: none;
}

.mdr-footer a:hover {
    color: #fff;
}

.footer-logo {
    max-height: 54px;
    filter: brightness(0) invert(1);
}

.footer-bottom-line {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.whatsapp-float {
    right: 18px;
    bottom: 18px;
    z-index: 1050;
    text-decoration: none;
}

.whatsapp-bubble {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    font-size: 1.6rem;
}

.admin-body {
    background: #efe8df;
    color: #181410;
}

.admin-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    padding: 28px;
    background: linear-gradient(180deg, #13181d, #212831);
    color: #fff;
}

.admin-nav {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.admin-nav a {
    padding: 14px 16px;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.74);
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
}

.admin-nav a.active,
.admin-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.admin-content {
    padding: 32px;
}

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

.admin-stats article,
.admin-panel-card {
    padding: 24px;
    color: #181410;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(24, 20, 16, 0.12);
    box-shadow: 0 18px 34px rgba(24, 20, 16, 0.06);
    border-radius: 18px;
}

.admin-stats strong {
    display: block;
    color: #181410;
    font-size: 1.1rem;
}

.admin-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.admin-product-list {
    margin: 0;
    padding-left: 18px;
    color: #6f6257;
    line-height: 1.8;
}

.admin-auth-page {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(15, 16, 18, 0.84), rgba(15, 16, 18, 0.7)),
        url('../img/slider/slider1.jpg') center/cover no-repeat;
}

.admin-auth-card {
    width: min(440px, 100%);
    padding: 28px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.admin-auth-brand h1 {
    margin: 0 0 8px;
    font-family: "Playfair Display", serif;
    font-weight: 700;
}

.admin-auth-brand p {
    margin: 0 0 20px;
    color: #6b6f76;
}

.admin-form {
    display: grid;
    gap: 14px;
}

.admin-form label {
    display: grid;
    gap: 7px;
    color: #111;
    font-weight: 700;
}

.admin-form input {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #d8dbe0;
    border-radius: 12px;
    background: #fff;
}

.admin-form input:focus {
    outline: none;
    border-color: var(--mdr-primary);
    box-shadow: 0 0 0 4px rgba(163, 129, 79, 0.12);
}

.admin-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: var(--mdr-primary);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.admin-primary-button:hover {
    background: var(--mdr-primary-2);
    color: #fff;
}

.admin-top-button {
    min-width: 148px;
}

.admin-alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    color: #8a1f1f;
    background: #ffe8e8;
    border: 1px solid #ffc7c7;
}

.admin-alert-success {
    color: #10562c;
    background: #e8f9ee;
    border-color: #bde6cb;
}

.admin-error-detail {
    overflow: auto;
    max-height: 220px;
    padding: 12px;
    border-radius: 12px;
    background: #111;
    color: #f5f5f5;
    font-size: 0.82rem;
}

.admin-logout-form {
    margin-top: 24px;
}

.admin-logout-form button {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.admin-logout-form button:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.admin-import-card {
    max-width: 940px;
}

.admin-import-note {
    margin-bottom: 18px;
    color: #6f6257;
}

.admin-import-note code {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 8px;
    border-radius: 8px;
    background: #f4f0ea;
    border: 1px solid #eadfce;
    color: #3e3328;
}

.admin-import-form {
    max-width: 760px;
}

.admin-import-summary {
    margin-top: 20px;
    padding: 16px;
    border-radius: 12px;
    background: #f8f5ef;
    border: 1px solid #eadfce;
}

.admin-import-summary h3 {
    margin: 0 0 10px;
    font-size: 1.02rem;
}

.admin-import-summary ul {
    margin: 0;
    padding-left: 20px;
}

@media (max-width: 991.98px) {
    .navbar-brand img {
        height: 46px;
    }

    .navbar-nav .nav-link {
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .mdr-nav .dropdown-menu {
        border-radius: 12px;
    }

    .detail-panel {
        position: static;
    }

    .admin-shell,
    .admin-panel-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    body {
        padding-top: 108px;
    }

    .hero-slide {
        min-height: 420px;
    }

    .hero-copy-block .display-5 {
        font-size: 2rem;
    }

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

    .featured-filter-bar {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 2px 4px;
        margin-inline: -4px;
        scrollbar-width: thin;
    }

    .featured-filter-btn {
        flex: 0 0 auto;
        font-size: 0.86rem;
        padding: 0.34rem 0.72rem;
        white-space: nowrap;
    }
}

/* Admin V2 */
.admin-body {
    padding-top: 0 !important;
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", system-ui, sans-serif;
    color: #221c16;
    background:
        radial-gradient(circle at 12% 18%, rgba(173, 134, 80, 0.15), transparent 34%),
        radial-gradient(circle at 88% 82%, rgba(33, 43, 57, 0.2), transparent 36%),
        #f5efe8;
}

.admin-v2-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8d6a3d;
}

.admin-v2-shell {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 24px;
    width: min(1400px, 100%);
    min-height: 100vh;
    margin: 0 auto;
    padding: 24px;
    position: relative;
    box-sizing: border-box;
}

.admin-v2-nav-toggle {
    position: fixed;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.admin-v2-mobile-header,
.admin-v2-mobile-backdrop,
.admin-v2-mobile-close {
    display: none !important;
}

.admin-v2-sidebar {
    grid-column: 1;
    position: sticky;
    top: 24px;
    align-self: start;
    display: grid;
    gap: 20px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(165deg, #12171f 0%, #263345 100%);
    color: #f3f7fb;
    box-shadow: 0 24px 42px rgba(18, 23, 31, 0.24);
}

.admin-v2-sidebar-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.admin-v2-brand h1 {
    margin: 8px 0 10px;
    font-size: 2.2rem;
    line-height: 0.95;
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #fff;
}

.admin-v2-brand p {
    margin: 0;
    color: rgba(235, 241, 248, 0.78);
    font-size: 0.93rem;
}

.admin-v2-nav {
    display: grid;
    gap: 10px;
}

.admin-v2-nav a {
    display: block;
    padding: 11px 14px;
    border-radius: 12px;
    color: rgba(236, 243, 250, 0.84);
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.16s ease, background 0.2s ease, border-color 0.2s ease;
}

.admin-v2-nav a:hover {
    transform: translateX(2px);
    background: rgba(255, 255, 255, 0.14);
}

.admin-v2-nav a.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(173, 134, 80, 0.9), rgba(143, 103, 57, 0.95));
    border-color: rgba(255, 255, 255, 0.2);
}

.admin-v2-logout button {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(242, 246, 251, 0.9);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.admin-v2-logout button:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.admin-v2-main {
    grid-column: 2;
    display: grid;
    align-content: start;
    gap: 20px;
}

.admin-v2-top,
.admin-v2-card,
.admin-v2-kpi-card {
    border-radius: 20px;
    border: 1px solid rgba(38, 29, 20, 0.08);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 16px 32px rgba(36, 26, 16, 0.08);
}

.admin-v2-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
}

.admin-v2-top h2 {
    margin: 7px 0 10px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.7rem, 3.3vw, 2.4rem);
    line-height: 0.96;
}

.admin-v2-top p {
    margin: 0;
    color: #5f554b;
    max-width: 58ch;
}

.admin-v2-top-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-v2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.14s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.admin-v2-btn:hover {
    transform: translateY(-1px);
}

.admin-v2-btn-primary {
    background: linear-gradient(140deg, #ab804d 0%, #8d673e 100%);
    color: #fff;
    box-shadow: 0 10px 18px rgba(141, 103, 62, 0.24);
}

.admin-v2-btn-primary:hover {
    color: #fff;
    box-shadow: 0 14px 22px rgba(141, 103, 62, 0.31);
}

.admin-v2-btn-secondary {
    border-color: rgba(141, 103, 62, 0.34);
    color: #6d4f2f;
    background: #fff;
}

.admin-v2-btn-secondary:hover {
    color: #4a3520;
    border-color: rgba(109, 79, 47, 0.45);
}

.admin-v2-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.admin-v2-kpi-card {
    padding: 18px;
    animation: adminCardIn 0.32s ease both;
}

.admin-v2-kpi-card span {
    display: block;
    color: #6f6257;
    font-size: 0.86rem;
    font-weight: 600;
}

.admin-v2-kpi-card strong {
    display: block;
    margin-top: 8px;
    color: #201a14;
    font-size: 1.85rem;
    line-height: 1;
    font-weight: 800;
}

.admin-v2-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
}

.admin-v2-card {
    padding: 22px;
}

.admin-v2-card h3 {
    margin: 0 0 10px;
    font-size: 1.16rem;
    color: #18130f;
}

.admin-v2-card p {
    margin: 0;
    color: #5e554b;
}

.admin-v2-pill-row {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-v2-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    background: #f6efe7;
    color: #6a4f30;
    border: 1px solid #eadfce;
    font-size: 0.78rem;
    font-weight: 700;
}

.admin-v2-pill-link {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f6efe7;
    color: #6a4f30;
    border: 1px solid #eadfce;
    font-size: 0.79rem;
    font-weight: 700;
    text-decoration: none;
}

.admin-v2-pill-link:hover {
    color: #4f3720;
    border-color: #d8c4ac;
}

.admin-v2-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
}

.admin-v2-card-head span {
    font-size: 0.84rem;
    color: #7d6f61;
}

.admin-v2-product-list {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.admin-v2-product-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    padding: 11px 12px;
    border-radius: 12px;
    border: 1px solid #efe6da;
    background: #faf7f2;
}

.admin-v2-product-list strong {
    display: block;
    color: #1f1812;
    font-size: 0.93rem;
}

.admin-v2-product-list span {
    display: block;
    color: #7a6e62;
    font-size: 0.82rem;
}

.admin-v2-product-list a {
    color: #7f5d33;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
}

.admin-v2-import-card {
    max-width: 980px;
}

.admin-v2-muted-text {
    margin: 0 0 14px;
    color: #65594d;
}

.admin-v2-muted-text code {
    display: inline-block;
    margin-top: 6px;
    padding: 5px 8px;
    border-radius: 8px;
    border: 1px solid #eadfce;
    background: #faf5ee;
    color: #4f3f2d;
}

.admin-v2-form {
    display: grid;
    gap: 12px;
}

.admin-v2-product-form {
    gap: 16px;
}

.admin-v2-form-section {
    border: 1px solid #e8ddce;
    border-radius: 16px;
    background: #fcfaf7;
    padding: 16px;
    display: grid;
    gap: 12px;
}

.admin-v2-form-section h3 {
    margin: 0;
    color: #231a11;
    font-size: 1.06rem;
}

.admin-v2-form-section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-v2-form-section-head span {
    color: #6d5f52;
    font-size: 0.86rem;
}

.admin-v2-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.admin-v2-col-2 {
    grid-column: span 2;
}

.admin-v2-form label {
    display: grid;
    gap: 7px;
    font-weight: 700;
    color: #1f1913;
}

.admin-v2-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
    min-height: 46px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid #d7ccbe;
    background: #fff;
    padding: 10px 12px;
    box-sizing: border-box;
}

.admin-v2-form select,
.admin-v2-form textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #d7ccbe;
    background: #fff;
    padding: 10px 12px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 0.96rem;
}

.admin-v2-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.admin-v2-form select:focus,
.admin-v2-form textarea:focus {
    outline: none;
    border-color: #a47a47;
    box-shadow: 0 0 0 4px rgba(164, 122, 71, 0.15);
}

.admin-v2-help-text {
    margin-top: 2px;
    color: #6d5f52;
    font-size: 0.82rem;
}

.admin-v2-form input[type="file"] {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d7ccbe;
    border-radius: 12px;
    background: #fff;
    padding: 8px 10px;
    box-sizing: border-box;
}

.admin-v2-form input[type="checkbox"],
.admin-v2-form input[type="radio"] {
    width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 0;
}

.admin-v2-inline-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-v2-inline-form {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    align-items: end;
}

.admin-v2-inline-edit-form {
    display: contents;
}

.admin-v2-inline-edit-form input,
.admin-v2-inline-edit-form select {
    min-height: 38px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d7ccbe;
    background: #fff;
    padding: 7px 9px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 0.9rem;
}

.admin-v2-inline-edit-form input:focus,
.admin-v2-inline-edit-form select:focus {
    outline: none;
    border-color: #a47a47;
    box-shadow: 0 0 0 3px rgba(164, 122, 71, 0.13);
}

.admin-v2-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
}

.admin-v2-media-card {
    position: relative;
    border: 1px solid #e4d7c6;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-v2-media-card img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    display: block;
}

.admin-v2-media-card.is-marked-remove {
    border-color: #d05d5d;
    box-shadow: 0 0 0 3px rgba(208, 93, 93, 0.16);
    background: #fff4f4;
}

.admin-v2-remove-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: #cf3333;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.admin-v2-remove-badge:hover {
    background: #a82626;
}

.admin-v2-media-card.is-marked-remove .admin-v2-remove-badge {
    background: #2f8d49;
}

.admin-v2-category-image-card {
    width: 220px;
    max-width: 220px;
}

.admin-v2-media-actions {
    padding: 10px;
    display: grid;
    gap: 8px;
}

.admin-v2-media-radio {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #3a2b1d;
}

.admin-v2-media-radio input {
    width: 16px;
    height: 16px;
    min-height: 0;
}

.admin-v2-hidden-remove {
    display: none;
}

.admin-v2-remove-help {
    display: block;
    color: #7f6e5d;
    font-size: 0.78rem;
}

.admin-v2-upload-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(126px, 126px));
    gap: 10px;
    justify-content: flex-start;
}

.admin-v2-upload-card {
    position: relative;
    width: 126px;
    border: 1px solid #e6dbc9;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.admin-v2-upload-card img {
    width: 100%;
    height: 96px;
    object-fit: cover;
    display: block;
}

.admin-v2-upload-card span {
    display: block;
    padding: 8px 9px;
    font-size: 0.8rem;
    color: #64584d;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.admin-v2-upload-primary {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px 9px;
    font-size: 0.75rem;
    color: #4c4238;
}

.admin-v2-upload-primary input[type="radio"] {
    width: 16px;
    height: 16px;
}

.admin-v2-series-block {
    border: 1px solid #eadfcc;
    border-radius: 14px;
    padding: 12px;
    background: #fff;
    display: grid;
    gap: 10px;
}

.admin-v2-series-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-v2-series-head h4 {
    margin: 0;
    color: #2a2017;
    font-size: 1rem;
}

.admin-v2-series-table-wrap {
    overflow-x: auto;
}

.admin-v2-series-table {
    width: 100%;
    min-width: 660px;
    border-collapse: collapse;
}

.admin-v2-series-table th,
.admin-v2-series-table td {
    text-align: left;
    border-bottom: 1px solid #efe4d3;
    padding: 8px;
    vertical-align: top;
}

.admin-v2-series-table th {
    text-transform: uppercase;
    font-size: 0.76rem;
    color: #645649;
    letter-spacing: 0.04em;
}

.admin-v2-feature-list {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.admin-v2-feature-card {
    border: 1px solid #e8dcc9;
    border-radius: 14px;
    background: #fcfaf7;
    padding: 12px;
    display: grid;
    gap: 10px;
}

.admin-v2-feature-card .admin-v2-inline-form {
    margin: 0;
}

.admin-v2-alert {
    margin-bottom: 14px;
    padding: 11px 12px;
    border-radius: 11px;
    border: 1px solid #ffcaca;
    background: #ffe8e8;
    color: #8b1e1e;
}

.admin-v2-alert-success {
    border-color: #c5e9d3;
    background: #eafaf0;
    color: #0c5f2f;
}

.admin-v2-import-summary {
    margin-top: 16px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #eadfce;
    background: #faf7f2;
}

.admin-v2-import-summary h3 {
    margin: 0 0 10px;
    font-size: 1rem;
}

.admin-v2-import-summary ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.admin-v2-import-summary li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.9rem;
    color: #5f5449;
}

.admin-v2-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.admin-v2-toolbar-form {
    display: flex;
    align-items: end;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.admin-v2-toolbar-form label {
    display: grid;
    gap: 6px;
    min-width: 230px;
    font-weight: 600;
    color: #4a3f34;
}

.admin-v2-filter-bar {
    display: grid;
    grid-template-columns: minmax(170px, auto) minmax(260px, 360px) auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid #e7d9c6;
    border-radius: 16px;
    background: linear-gradient(180deg, #fffdfa 0%, #f8f2ea 100%);
}

.admin-v2-filter-meta {
    display: grid;
    gap: 3px;
}

.admin-v2-filter-meta strong {
    font-size: 0.92rem;
    color: #4d3e2e;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.admin-v2-filter-meta small {
    color: #7b6d5f;
    font-size: 0.82rem;
}

.admin-v2-filter-control {
    display: grid;
    gap: 6px;
}

.admin-v2-filter-control span {
    font-size: 0.82rem;
    font-weight: 700;
    color: #5a4b3d;
}

.admin-v2-filter-control select {
    min-height: 44px;
    border: 1px solid #d6c2a9;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.95rem;
    color: #251d16;
    background: #fff;
}

.admin-v2-filter-control select:focus {
    outline: none;
    border-color: #a77f4e;
    box-shadow: 0 0 0 3px rgba(167, 127, 78, 0.16);
}

.admin-v2-filter-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-v2-bulk-preview {
    display: grid;
    gap: 8px;
    margin-top: 10px;
    max-height: 280px;
    overflow: auto;
    padding: 10px;
    border: 1px dashed #d7c5ad;
    border-radius: 12px;
    background: #fffdfa;
}

.admin-v2-bulk-preview-item {
    position: relative;
    display: grid;
    gap: 2px;
    padding: 8px 44px 8px 10px;
    border-radius: 9px;
    background: #fff;
    border: 1px solid #efe3d3;
    color: #3b2f24;
    font-size: 0.86rem;
}

.admin-v2-bulk-preview-item strong {
    font-size: 0.82rem;
    color: #7c6650;
}

.admin-v2-bulk-preview-item .admin-v2-remove-badge {
    width: 24px;
    height: 24px;
    font-size: 0.95rem;
    top: 7px;
    right: 8px;
}

@media (max-width: 980px) {
    .admin-v2-filter-bar {
        grid-template-columns: 1fr;
    }
}

.admin-v2-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.admin-v2-table th,
.admin-v2-table td {
    text-align: left;
    padding: 12px 10px;
    border-bottom: 1px solid #ede4d8;
    vertical-align: top;
}

.admin-v2-table th {
    color: #4f4133;
    font-size: 0.83rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.admin-v2-table td {
    color: #2a2119;
    font-size: 0.93rem;
}

.admin-v2-products-table tr[data-product-id] {
    cursor: move;
}

.admin-v2-categories-table tr[data-category-id] {
    cursor: move;
}

.admin-v2-products-table tr.is-dragging {
    opacity: 0.72;
}

.admin-v2-categories-table tr.is-dragging {
    opacity: 0.72;
}

.admin-v2-drag-handle {
    display: inline-block;
    margin-right: 8px;
    color: #9a7040;
    font-weight: 900;
    letter-spacing: 1px;
    cursor: grab;
}

.admin-v2-products-table tr[data-product-id] td:first-child {
    min-width: 250px;
}

.admin-v2-table td small {
    color: #7a6d61;
    font-size: 0.8rem;
}

.admin-v2-table-text {
    margin: 8px 0 0;
    color: #6c6054;
    font-size: 0.88rem;
    line-height: 1.55;
    max-width: 56ch;
}

.admin-v2-table-thumb {
    margin-top: 8px;
    width: 96px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e8dcc9;
    background: #fff;
}

.admin-v2-table-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.admin-v2-categories-table td:first-child {
    width: 360px;
    max-width: 360px;
}

.admin-v2-categories-table td:first-child strong {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-v2-categories-table .admin-v2-table-thumb {
    width: 72px;
}

.admin-v2-categories-table td small {
    display: block;
}

.admin-v2-sliders-table td:first-child {
    width: 420px;
    max-width: 420px;
}

.admin-v2-sliders-table .admin-v2-table-thumb {
    width: 120px;
}

.admin-v2-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.admin-v2-actions a,
.admin-v2-actions button {
    border: 1px solid #e3d7c8;
    border-radius: 10px;
    background: #faf7f2;
    color: #5f462b;
    padding: 6px 10px;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
}

.admin-v2-actions a:hover,
.admin-v2-actions button:hover {
    color: #3d2b19;
    border-color: #d4c1a7;
}

.admin-v2-actions form {
    margin: 0;
}

.admin-auth-v2-shell {
    width: min(1120px, 100%);
    min-height: 100vh;
    margin: 0 auto;
    padding: 24px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    gap: 20px;
    align-items: center;
}

.admin-auth-v2-hero,
.admin-auth-v2-card {
    border-radius: 22px;
    border: 1px solid rgba(24, 19, 15, 0.08);
    box-shadow: 0 16px 30px rgba(36, 26, 16, 0.08);
}

.admin-auth-v2-hero {
    padding: 30px;
    color: #f5efe8;
    background:
        linear-gradient(155deg, rgba(16, 22, 31, 0.92), rgba(42, 56, 74, 0.86)),
        url("../img/slider/slider2.jpg") center/cover no-repeat;
}

.admin-auth-v2-hero h1 {
    margin: 10px 0 12px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.1rem, 4vw, 3rem);
    line-height: 0.92;
}

.admin-auth-v2-hero p {
    margin: 0;
    color: rgba(242, 246, 251, 0.82);
    max-width: 38ch;
}

.admin-auth-v2-hero ul {
    margin: 20px 0 0;
    padding-left: 18px;
    color: rgba(242, 246, 251, 0.88);
    display: grid;
    gap: 8px;
    font-size: 0.92rem;
}

.admin-auth-v2-card {
    padding: 28px;
    background: rgba(255, 255, 255, 0.9);
}

.admin-auth-v2-card h2 {
    margin: 0 0 6px;
    font-size: 1.4rem;
    color: #201a13;
}

.admin-auth-v2-card p {
    margin: 0 0 18px;
    color: #675a4f;
}

.admin-v2-debug {
    margin-top: 12px;
    max-height: 220px;
    overflow: auto;
    padding: 10px;
    border-radius: 10px;
    color: #f4f6f9;
    background: #121720;
    font-size: 0.82rem;
}

@keyframes adminCardIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1260px) {
    .admin-v2-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 980px) {
    .detail-panel {
        position: static;
        top: auto;
    }

    .detail-thumb-grid {
        grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
    }

    .admin-v2-shell {
        grid-template-columns: 1fr;
        padding: 74px 14px 14px;
        gap: 14px;
    }

    .admin-v2-main {
        grid-column: 1;
    }

    .admin-v2-mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1080;
        min-height: 58px;
        padding: 10px 14px;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        background: rgba(16, 22, 31, 0.93);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        box-sizing: border-box;
    }

    .admin-v2-mobile-brand strong {
        display: block;
        color: #f5f7fb;
        font-size: 0.95rem;
        line-height: 1.1;
    }

    .admin-v2-mobile-brand span {
        display: block;
        color: rgba(245, 247, 251, 0.72);
        font-size: 0.78rem;
    }

    .admin-v2-mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        padding: 0 12px;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.24);
        color: #fff;
        background: rgba(255, 255, 255, 0.08);
        font-size: 0.86rem;
        font-weight: 700;
        cursor: pointer;
    }

    .admin-v2-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 1090;
        width: min(82vw, 340px);
        transform: translateX(-104%);
        transition: transform 0.24s ease;
        border-radius: 18px;
        border-radius: 0 18px 18px 0;
        overflow-y: auto;
    }

    .admin-v2-mobile-close {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-height: 34px;
        padding: 0 10px;
        border-radius: 9px;
        border: 1px solid rgba(255, 255, 255, 0.24);
        color: #fff;
        background: rgba(255, 255, 255, 0.08);
        font-size: 0.8rem;
        font-weight: 700;
        cursor: pointer;
    }

    .admin-v2-mobile-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.24s ease;
        z-index: 1070;
        display: block !important;
    }

    .admin-v2-nav-toggle:checked ~ .admin-v2-mobile-backdrop {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }

    .admin-v2-nav-toggle:checked ~ .admin-v2-sidebar {
        transform: translateX(0);
    }

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

    .admin-v2-top {
        flex-direction: column;
        padding: 18px;
    }

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

    .admin-v2-col-2 {
        grid-column: span 1;
    }

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

    .admin-v2-series-table {
        min-width: 560px;
    }

    .admin-auth-v2-shell {
        grid-template-columns: 1fr;
        padding: 14px;
    }
}

@media (max-width: 680px) {
    .admin-v2-nav {
        grid-template-columns: 1fr;
    }

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

    .admin-v2-top-actions {
        width: 100%;
    }

    .admin-v2-btn {
        width: 100%;
    }

    .admin-v2-inline-actions .admin-v2-btn {
        width: 100%;
    }

    .admin-v2-series-table {
        min-width: 480px;
    }

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

    .admin-auth-v2-hero,
    .admin-auth-v2-card,
    .admin-v2-card,
    .admin-v2-top,
    .admin-v2-kpi-card {
        border-radius: 16px;
    }

    .admin-v2-brand h1 {
        font-size: 1.9rem;
    }

    .contact-map-embed iframe {
        min-height: 280px;
    }
}
