: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::after {
    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::after {
    transform: scaleX(1);
}

.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;
}

.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: 4/3;
    overflow: hidden;
    background: #f7f7f7;
}

.modern-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.modern-card:hover .img-wrap img {
    transform: scale(1.06);
}

.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;
}

.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: 4/3;
    object-fit: cover;
}

.thumb {
    aspect-ratio: 4/3;
    object-fit: cover;
    cursor: pointer;
    border-radius: 10px;
}

.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;
}

.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);
}

.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;
}

@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);
    }

    .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;
    }
}
