/* ==========================================================================
   ROYAL DARK BRONZE & ANTIQUE GOLD LUXURY - ĐỆ NHẤT CỔNG 2026
   Tối ưu đồng bộ với tone nền trầm hoàng gia (Không dùng nền trắng)
   ========================================================================== */

:root {
    --royal-bg-dark: #261a0e;
    --royal-bg-card: #2b1d10;
    --royal-bg-card-hover: #362515;
    --royal-bg-inner: #1f140a;
    --royal-gold-1: #fae35a;
    --royal-gold-2: #dfb141;
    --royal-gold-3: #c69214;
    --royal-gold-dark: #7d5e28;
    --royal-gold-gradient: linear-gradient(135deg, #fae35a 0%, #d4af37 50%, #996515 100%);
    --royal-gold-gradient-hover: linear-gradient(135deg, #fff282 0%, #e6be44 50%, #b3791a 100%);
    --royal-red-gradient: linear-gradient(135deg, #e52d27 0%, #b31217 100%);
    --royal-border-gold: #7d5e28;
    --royal-border-highlight: #dfb141;
    --royal-text-gold: #fae35a;
    --royal-text-white: #f8fafc;
    --royal-text-muted: #d1c7b7;
    --royal-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

/* --------------------------------------------------------------------------
   1. ROYAL HEADINGS & TITLE
   -------------------------------------------------------------------------- */
.royal-title-wrap {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.royal-heading {
    color: var(--royal-gold-1) !important;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.royal-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--royal-gold-gradient);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(250, 227, 90, 0.6);
}

.royal-subheading {
    color: var(--royal-text-muted) !important;
    font-size: 14px;
    margin-top: 6px;
}

/* --------------------------------------------------------------------------
   2. TRUST BADGES - TONE ĐỒNG HOÀNG GIA (KHÔNG NỀN TRẮNG)
   -------------------------------------------------------------------------- */
.royal-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 20px 0 28px;
}

.royal-trust-item {
    background: var(--royal-bg-card) !important;
    border: 1px solid var(--royal-border-gold) !important;
    border-radius: 8px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    box-shadow: var(--royal-shadow);
    transition: all 0.3s ease;
}

.royal-trust-item:hover {
    transform: translateY(-3px);
    border-color: var(--royal-gold-2) !important;
    background: var(--royal-bg-card-hover) !important;
    box-shadow: 0 10px 25px rgba(223, 177, 65, 0.2);
}

.royal-trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--royal-gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1107;
    font-size: 22px;
    margin-right: 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.royal-trust-text h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--royal-gold-1) !important;
    text-transform: uppercase;
}

.royal-trust-text p {
    margin: 0;
    font-size: 12px;
    color: var(--royal-text-muted) !important;
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   3. IN-FEED CTA BANNER HOÀNG GIA
   -------------------------------------------------------------------------- */
.royal-cta-box {
    background: linear-gradient(135deg, #1f140a 0%, #2e1d0f 100%) !important;
    border: 2px solid var(--royal-gold-2) !important;
    border-radius: 10px;
    padding: 25px 22px;
    margin: 35px 0;
    color: #ffffff;
    box-shadow: var(--royal-shadow);
    position: relative;
    overflow: hidden;
}

.royal-cta-content h3 {
    color: var(--royal-gold-1) !important;
    font-size: 20px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
}

.royal-cta-content p {
    color: var(--royal-text-white) !important;
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.6;
}

.royal-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.royal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.royal-btn-gold {
    background: var(--royal-gold-gradient) !important;
    color: #1a1107 !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.royal-btn-gold:hover {
    background: var(--royal-gold-gradient-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.royal-btn-zalo {
    background: #0068ff !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 104, 255, 0.4);
}

.royal-btn-zalo:hover {
    background: #0056d6 !important;
    transform: translateY(-2px);
}

.royal-btn-phone {
    background: var(--royal-red-gradient) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(229, 45, 39, 0.4);
}

/* ==========================================================================
   SUBPAGE BANNER - HIỂN THỊ FULL TRỌN VẸN ẢNH & HEIGHT NGẮN GỌN TRÊN MOBILE
   ========================================================================== */
.showbannersub {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: #140c04 !important;
}

.showbannersub .sbs_wrapper {
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 280px !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.5) !important;
}

@media (max-width: 991px) {
    .showbannersub .sbs_wrapper {
        height: 200px !important;
    }
}

@media (max-width: 768px) {
    .showbannersub .sbs_wrapper {
        height: 140px !important;
        background-size: 100% 100% !important;
        background-position: center center !important;
    }
}

@media (max-width: 480px) {
    .showbannersub .sbs_wrapper {
        height: 120px !important;
        background-size: 100% 100% !important;
        background-position: center center !important;
    }
}

/* Override shops.css & Bootstrap 3 float grid: chống lỗi vỡ hàng, lệch cột (float bug) và đảm bảo các card bằng chiều cao nhau */
#category .grid_item .row,
.grid_item .row {
    display: flex !important;
    flex-wrap: wrap !important;
}

#category .grid_item .row::before,
#category .grid_item .row::after,
.grid_item .row::before,
.grid_item .row::after {
    display: none !important;
}

#category .grid_item .col-md-8,
#category .grid_item .col-sm-12,
#category .grid_item .col-xs-12,
.grid_item .col-md-8,
.grid_item .col-sm-12,
.grid_item .col-xs-12 {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 25px !important;
}

#category .grid_item .col-md-24,
#category .grid_item .col-sm-24,
#category .grid_item .col-xs-24,
.grid_item .col-md-24,
.grid_item .col-sm-24,
.grid_item .col-xs-24 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

#category .grid_item .item,
.grid_item .item {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    flex: 1 1 auto !important;
    margin-bottom: 0 !important;
    background: #261a0e !important;
    border: 1px solid #5a411f !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
}

#category .grid_item .item:hover,
.grid_item .item:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(223, 177, 65, 0.3) !important;
    border-color: #dfb141 !important;
}

#category .grid_item .item .s_image,
.grid_item .item .s_image {
    position: relative !important;
    overflow: hidden !important;
    background: #1f140a !important;
    flex-shrink: 0 !important;
    width: 100% !important;
}

#category .grid_item .item .s_image img,
.grid_item .item .s_image img {
    width: 100% !important;
    height: 230px !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.4s ease !important;
}

#category .grid_item .item:hover .s_image img,
.grid_item .item:hover .s_image img {
    transform: scale(1.05) !important;
}

#category .grid_item .item .s_content,
.grid_item .item .s_content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: 1 1 auto !important;
    height: auto !important;
    min-height: 110px !important;
    padding: 14px 12px 18px !important;
    text-align: center !important;
    background: #261a0e !important;
    overflow: visible !important;
}

#category .grid_item .item .s_content h3,
.grid_item .item .s_content h3 {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 0 12px !important;
    min-height: 42px !important;
    line-height: 1.35 !important;
    text-align: center !important;
}

#category .grid_item .item .s_content h3 a,
.grid_item .item .s_content h3 a {
    color: #fae35a !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

#category .grid_item .item .s_content h3 a:hover,
.grid_item .item .s_content h3 a:hover {
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   4. PRODUCT DETAIL CTA & SPEC TABLE (TONE ĐỒNG HOÀNG GIA)
   -------------------------------------------------------------------------- */
.royal-detail-cta-cluster {
    margin: 18px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.royal-detail-cta-cluster .royal-btn {
    width: 100%;
    padding: 13px 18px;
    font-size: 14px;
}

.royal-spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 14px;
    background: var(--royal-bg-card) !important;
    border: 1px solid var(--royal-border-gold) !important;
    border-radius: 6px;
    overflow: hidden;
}

.royal-spec-table th,
.royal-spec-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #4a3418 !important;
    text-align: left;
}

.royal-spec-table th {
    background-color: #382717 !important;
    color: var(--royal-gold-1) !important;
    font-weight: 700;
    width: 36%;
}

.royal-spec-table td {
    color: var(--royal-text-white) !important;
    background-color: #2b1d10 !important;
}

.royal-spec-table tr:nth-child(even) td {
    background-color: #312113 !important;
}

/* --------------------------------------------------------------------------
   5. BẢNG GIÁ 2026 HOÀNG GIA (KHÔNG NỀN TRẮNG)
   -------------------------------------------------------------------------- */
.royal-price-box {
    background: var(--royal-bg-dark) !important;
    border: 2px solid var(--royal-border-highlight) !important;
    border-radius: 10px;
    padding: 22px;
    margin: 30px 0;
    box-shadow: var(--royal-shadow);
}

.royal-price-box h3 {
    color: var(--royal-gold-1) !important;
    font-size: 19px;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.royal-price-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 12px;
}

.royal-price-table th {
    background: linear-gradient(135deg, #7d5e28 0%, #c69214 100%) !important;
    color: #ffffff !important;
    padding: 12px;
    text-align: left;
    font-weight: 700;
    border-bottom: 2px solid #dfb141;
}

.royal-price-table td {
    padding: 12px;
    border-bottom: 1px solid #4a3418 !important;
    color: var(--royal-text-white) !important;
    background-color: #2b1d10 !important;
}

.royal-price-table tr:nth-child(even) td {
    background-color: #332314 !important;
}

.royal-price-table tr:hover td {
    background-color: #3d2b1a !important;
}

.royal-price-note {
    font-size: 12px;
    color: #d1c7b7;
    margin-top: 12px;
    font-style: italic;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   STYLE GIÁ TIỀN HẤP DẪN & CHUYÊN NGHIỆP (ROYAL PRICE STYLING 2026)
   -------------------------------------------------------------------------- */

/* 1. Badge giá trên Card sản phẩm Category */
.royal-card-price-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #3d2712 0%, #1f140a 100%);
    border: 1px solid #dfb141;
    border-radius: 20px;
    padding: 4px 12px;
    margin: 4px 0 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(250, 227, 90, 0.2);
    transition: all 0.3s ease;
}

.royal-card-price-badge:hover {
    border-color: #fae35a;
    box-shadow: 0 0 12px rgba(223, 177, 65, 0.5);
    transform: translateY(-1px);
}

.royal-card-price-badge .badge-label {
    font-size: 11px;
    color: #d1c7b7;
    font-weight: 500;
}

.royal-card-price-badge .badge-price {
    font-size: 13px;
    font-weight: 800;
    color: #fae35a;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* 2. Hộp giá hấp dẫn trên trang Chi Tiết Sản Phẩm (Detail Page) */
.royal-detail-price-box {
    background: linear-gradient(135deg, #382413 0%, #201409 100%);
    border: 1.5px solid #dfb141;
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(250, 227, 90, 0.3);
}

.royal-detail-price-box .price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.royal-detail-price-box .price-tag-badge {
    background: #dfb141;
    color: #1a1107;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.royal-detail-price-box .discount-badge {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #f87171;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

.royal-detail-price-box .price-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 8px 0;
    flex-wrap: wrap;
}

.royal-detail-price-box .price-from {
    font-size: 14px;
    color: #e5e7eb;
    font-weight: 600;
}

.royal-detail-price-box .price-number {
    font-size: 24px;
    font-weight: 900;
    color: #fae35a;
    text-shadow: 0 2px 10px rgba(250, 227, 90, 0.4);
    letter-spacing: 0.5px;
}

.royal-detail-price-box .price-unit {
    font-size: 14px;
    color: #f3f4f6;
    font-weight: 600;
}

.royal-detail-price-box .price-incentives {
    border-top: 1px dashed rgba(223, 177, 65, 0.3);
    padding-top: 10px;
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #d1c7b7;
}

.royal-detail-price-box .price-incentives span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.royal-detail-price-box .price-incentives i {
    color: #4ade80;
}

/* 3. Badge giá trong Bảng Giá 2026 */
.royal-table-price-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(223, 177, 65, 0.2) 100%);
    border: 1px solid rgba(239, 68, 68, 0.6);
    color: #fae35a !important;
    font-weight: 800 !important;
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 6px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* --------------------------------------------------------------------------
   6. FAQ SECTION HOÀNG GIA (KHÔNG NỀN TRẮNG)
   -------------------------------------------------------------------------- */
.royal-faq-wrap {
    margin: 35px 0;
}

.royal-faq-item {
    border: 1px solid var(--royal-border-gold) !important;
    border-radius: 6px;
    margin-bottom: 10px;
    background: var(--royal-bg-card) !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.royal-faq-item:hover {
    border-color: var(--royal-gold-2) !important;
    box-shadow: 0 4px 15px rgba(223, 177, 65, 0.15);
}

.royal-faq-question {
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 700;
    color: var(--royal-gold-1) !important;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    background: #332314;
}

.royal-faq-question::after {
    content: "+";
    font-size: 20px;
    color: var(--royal-gold-2);
    font-weight: 700;
    transition: transform 0.3s ease;
}

.royal-faq-item.active .royal-faq-question::after {
    content: "−";
    color: #ffffff;
}

.royal-faq-answer {
    padding: 14px 18px;
    color: var(--royal-text-white) !important;
    font-size: 14px;
    line-height: 1.7;
    display: none;
    background: #261a0e;
    border-top: 1px dashed #5a411f;
}

.royal-faq-item.active .royal-faq-answer {
    display: block;
}

/* --------------------------------------------------------------------------
   7. SEO EXPANDABLE BOX HOÀNG GIA
   -------------------------------------------------------------------------- */
.royal-seo-content-box {
    background: var(--royal-bg-dark) !important;
    border: 1px solid var(--royal-border-gold) !important;
    border-radius: 8px;
    padding: 22px;
    margin: 30px 0;
    position: relative;
    box-shadow: var(--royal-shadow);
}

.royal-seo-content-inner {
    max-height: 380px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
    color: var(--royal-text-white);
}

.royal-seo-content-inner.expanded {
    max-height: none;
}

.royal-seo-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: linear-gradient(to bottom, rgba(38, 26, 14, 0), rgba(38, 26, 14, 1)) !important;
    pointer-events: none;
}

.royal-seo-content-inner.expanded .royal-seo-fade {
    display: none;
}

.royal-btn-toggle-seo {
    display: block;
    margin: 15px auto 0;
    background: #382717 !important;
    border: 2px solid var(--royal-border-highlight) !important;
    color: var(--royal-gold-1) !important;
    padding: 8px 22px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.royal-btn-toggle-seo:hover {
    background: var(--royal-gold-gradient) !important;
    color: #1a1107 !important;
}

/* --------------------------------------------------------------------------
   8. MOBILE BOTTOM BAR - HOÀNG GIA & RING-RING ANIMATION (CALL + ZALO)
   -------------------------------------------------------------------------- */
.royal-mobile-bottom-bar {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 72px !important;
    }

    .sf_hotline {
        display: none !important;
    }

    .royal-mobile-bottom-bar {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        height: calc(58px + env(safe-area-inset-bottom, 0px)) !important;
        background: linear-gradient(180deg, #2d1c0d 0%, #150c05 100%) !important;
        border-top: 1.5px solid #dfb141 !important;
        z-index: 9999999 !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.85) !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    .royal-bottom-item {
        flex: 1 1 25% !important;
        max-width: 25% !important;
        width: 25% !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        color: #e5e7eb !important;
        font-size: 10.5px !important;
        font-weight: 600 !important;
        height: 100% !important;
        position: relative !important;
        transition: color 0.2s ease !important;
        padding: 2px 1px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        text-align: center !important;
    }

    .royal-bottom-item span {
        display: block !important;
        font-size: 10.5px !important;
        line-height: 1.15 !important;
        margin-top: 2px !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
        overflow: hidden !important;
        max-width: 100% !important;
        color: #d1c7b7 !important;
    }

    .royal-bottom-item:active span,
    .royal-bottom-item:hover span {
        color: #fae35a !important;
    }

    .royal-bottom-icon {
        font-size: 18px !important;
        color: #dfb141 !important;
        margin-bottom: 0 !important;
        line-height: 1 !important;
    }

    /* NÚT GỌI NGAY - ĐỒNG BỘ HOÀNG GIA */
    .royal-bottom-item.item-call span {
        color: #fae35a !important;
        font-weight: 700 !important;
    }

    .royal-bottom-item.item-call .royal-ring-call-btn,
    .royal-bottom-item.item-call .royal-ring-btn {
        width: 42px !important;
        height: 42px !important;
        border-radius: 50% !important;
        background: transparent !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: -14px !important;
        border: none !important;
        box-shadow: 0 0 12px rgba(223, 177, 65, 0.7) !important;
        animation: royalCallRing 1.5s infinite ease-in-out, royalCallPulse 1.8s infinite !important;
        overflow: visible !important;
        flex-shrink: 0 !important;
    }

    .royal-bottom-item.item-call .royal-ring-call-btn img,
    .royal-bottom-item.item-call .royal-ring-btn img {
        width: 42px !important;
        height: 42px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        display: block !important;
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6)) !important;
    }

    /* NÚT ZALO - MÀU VÀNG ĐỒNG HOÀNG GIA */
    .royal-bottom-item.item-zalo span {
        color: #fae35a !important;
        font-weight: 700 !important;
    }

    .royal-bottom-item.item-zalo .royal-ring-zalo-btn {
        width: 42px !important;
        height: 42px !important;
        border-radius: 50% !important;
        background: transparent !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: -14px !important;
        border: none !important;
        box-shadow: 0 0 12px rgba(223, 177, 65, 0.7) !important;
        animation: royalZaloRing 1.5s infinite ease-in-out, royalZaloPulse 1.8s infinite !important;
        overflow: visible !important;
        flex-shrink: 0 !important;
    }

    .royal-bottom-item.item-zalo .royal-ring-zalo-btn img {
        width: 42px !important;
        height: 42px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        display: block !important;
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6)) !important;
    }
}

/* Keyframes Ring-Ring Rung Lắc cho Nút Gọi (Sóng Vàng Hoàng Gia Đồng Bộ Với Zalo) */
@keyframes royalCallRing {
    0% { transform: rotate(0) scale(1); }
    10% { transform: rotate(-22deg) scale(1.08); }
    20% { transform: rotate(22deg) scale(1.08); }
    30% { transform: rotate(-22deg) scale(1.08); }
    40% { transform: rotate(22deg) scale(1.08); }
    50% { transform: rotate(0) scale(1); }
    100% { transform: rotate(0) scale(1); }
}

@keyframes royalCallPulse {
    0% { box-shadow: 0 0 0 0 rgba(223, 177, 65, 0.8), 0 0 10px rgba(250, 227, 90, 0.8); }
    70% { box-shadow: 0 0 0 14px rgba(223, 177, 65, 0), 0 0 14px rgba(250, 227, 90, 0); }
    100% { box-shadow: 0 0 0 0 rgba(223, 177, 65, 0), 0 0 0 0 rgba(250, 227, 90, 0); }
}

/* Keyframes Ring-Ring Rung Lắc cho Nút Zalo (Sóng Vàng Hoàng Gia) */
@keyframes royalZaloRing {
    0% { transform: rotate(0) scale(1); }
    10% { transform: rotate(-18deg) scale(1.08); }
    20% { transform: rotate(18deg) scale(1.08); }
    30% { transform: rotate(-18deg) scale(1.08); }
    40% { transform: rotate(18deg) scale(1.08); }
    50% { transform: rotate(0) scale(1); }
    100% { transform: rotate(0) scale(1); }
}

@keyframes royalZaloPulse {
    0% { box-shadow: 0 0 0 0 rgba(223, 177, 65, 0.8), 0 0 10px rgba(250, 227, 90, 0.8); }
    70% { box-shadow: 0 0 0 14px rgba(223, 177, 65, 0), 0 0 14px rgba(250, 227, 90, 0); }
    100% { box-shadow: 0 0 0 0 rgba(223, 177, 65, 0), 0 0 0 0 rgba(250, 227, 90, 0); }
}

/* --------------------------------------------------------------------------
   9. GIAO DIỆN TRANG CHI TIẾT SẢN PHẨM HOÀNG GIA (THEO MẪU REFERENCE 2026)
   -------------------------------------------------------------------------- */
.royal-detail-wrapper {
    background-color: #1a1209;
    color: #e5e7eb;
    padding: 25px 0 50px !important;
}

/* Breadcrumb */
.royal-breadcrumb-row {
    padding: 0 0 20px;
    font-size: 13.5px;
    color: #a3907c;
}
.royal-breadcrumb-row a {
    color: #c5a059;
    text-decoration: none;
    transition: color 0.2s;
}
.royal-breadcrumb-row a:hover {
    color: #fae35a;
}
.royal-breadcrumb-row .separator {
    margin: 0 8px;
    color: #6b5844;
}
.royal-breadcrumb-row .active-item {
    color: #e6c587;
    font-weight: 600;
}

/* Khối Hero Gallery Ảnh */
.royal-gallery-box {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #23180c;
    border: 1px solid #4a3418;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

.royal-main-image-wrap {
    position: relative;
    width: 100%;
    height: 480px;
    background: radial-gradient(circle, #24190e 0%, #110a04 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: zoom-in;
    padding: 10px;
}

.royal-main-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease, opacity 0.3s ease;
    display: block;
}

.royal-main-image-wrap:hover img {
    transform: scale(1.03);
}

/* Nút điều hướng prev / next trên ảnh */
.royal-gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: rgba(22, 14, 7, 0.85);
    border: 1px solid rgba(223, 177, 65, 0.5);
    color: #dfb141;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    z-index: 5;
}

.royal-gallery-nav-btn:hover {
    background: #dfb141;
    color: #140d06;
    box-shadow: 0 0 12px rgba(223, 177, 65, 0.7);
}

.royal-gallery-nav-btn.prev-btn {
    left: 14px;
}

.royal-gallery-nav-btn.next-btn {
    right: 14px;
}

/* Dải Thumbnails phía dưới ảnh (Triệt tiêu hoàn toàn thanh cuộn thô kệch) */
/* DẢI SẢN PHẨM CÙNG KIỂU DÁNG DƯỚI ẢNH CHÍNH */
.royal-same-cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px 6px 14px;
    background: #191007;
    border-top: 1.5px solid #382717;
}

.royal-same-cat-title {
    font-size: 12px;
    font-weight: 700;
    color: #fae35a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.royal-same-cat-sub {
    font-size: 11px;
    color: #a89078;
    font-style: italic;
}

.royal-gallery-thumbs-strip {
    display: flex;
    gap: 10px;
    padding: 10px 14px 14px 14px;
    background: #191007;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #dfb141 #191007;
}

.royal-gallery-thumbs-strip::-webkit-scrollbar {
    height: 5px !important;
}

.royal-gallery-thumbs-strip::-webkit-scrollbar-track {
    background: #140d06;
}

.royal-gallery-thumbs-strip::-webkit-scrollbar-thumb {
    background: #dfb141;
    border-radius: 3px;
}

.royal-thumb-item {
    position: relative;
    width: 88px;
    min-width: 88px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 1.5px solid #3d2a17;
    background: #110a04;
    opacity: 0.75;
    flex-shrink: 0;
    transition: all 0.25s ease;
    padding: 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.royal-thumb-item.active,
.royal-thumb-item:hover {
    border-color: #fae35a;
    background: #251608;
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(223, 177, 65, 0.45);
}

.royal-thumb-img-box {
    width: 100%;
    height: 58px;
    border-radius: 3px;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.royal-thumb-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.royal-thumb-item:hover .royal-thumb-img-box img {
    transform: scale(1.08);
}

.royal-thumb-name {
    width: 100%;
    font-size: 10px;
    color: #c9b08f;
    text-align: center;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    line-height: 1.2;
    padding: 0 2px;
}

.royal-thumb-item.active .royal-thumb-name {
    color: #fae35a;
    font-weight: 700;
}

.royal-thumb-video-badge {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dfb141;
    font-size: 18px;
}

/* Cột Thông Tin Sản Phẩm Bên Phải */
.royal-product-info-panel {
    padding-left: 15px;
}

.royal-cat-tag {
    font-size: 11.5px;
    font-weight: 800;
    color: #dfb141;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    display: inline-block;
    background: rgba(223, 177, 65, 0.12);
    border: 1px solid rgba(223, 177, 65, 0.35);
    padding: 4px 10px;
    border-radius: 4px;
}

.royal-prod-h1 {
    font-size: 28px;
    font-weight: 800;
    color: #fae35a;
    margin: 0 0 10px;
    line-height: 1.3;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

.royal-rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #b09e8b;
    margin-bottom: 14px;
}

.royal-rating-row .stars {
    color: #f59e0b;
    letter-spacing: 2px;
}

.royal-rating-row .review-count {
    color: #c5a059;
    font-weight: 600;
}

.royal-prod-lead {
    font-size: 14px;
    line-height: 1.6;
    color: #c8baa8;
    margin-bottom: 18px;
}

/* Đường phân cách vương miện / kim cương */
.royal-diamond-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 18px 0;
    color: #785a32;
}

.royal-diamond-separator::before,
.royal-diamond-separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #543d20, transparent);
}

/* Khối Giá & 2 Nút CTA */
.royal-price-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #23180c;
    border: 1px solid #4a3418;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 22px;
    gap: 15px;
}

.royal-price-action-left .price-label {
    font-size: 12px;
    color: #9c8a77;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.royal-price-action-left .price-val {
    font-size: 24px;
    font-weight: 900;
    color: #dfb141;
    text-shadow: 0 2px 8px rgba(223, 177, 65, 0.4);
    line-height: 1;
}

.royal-price-action-left .price-unit {
    font-size: 13px;
    color: #d1c7b7;
    font-weight: 600;
}

.royal-price-action-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 210px;
}

/* Nút Liên Hệ Tư Vấn (Vàng Đồng Gradient) */
.royal-cta-consult-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #d8a846 0%, #b88628 100%);
    color: #1a1107 !important;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(216, 168, 70, 0.35);
    transition: all 0.3s ease;
}

.royal-cta-consult-btn:hover {
    background: linear-gradient(135deg, #f5c862 0%, #d8a846 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(216, 168, 70, 0.6);
}

/* Nút Yêu Cầu Báo Giá (Dark + Viền Vàng + Zalo) */
.royal-cta-quote-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #191007;
    border: 1.5px solid #dfb141;
    color: #dfb141 !important;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 9px 18px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.royal-cta-quote-btn:hover {
    background: #dfb141;
    color: #1a1107 !important;
    box-shadow: 0 4px 14px rgba(223, 177, 65, 0.4);
    transform: translateY(-2px);
}

/* Danh Sách Điểm Nổi Bật Kèm Icon */
.royal-specs-quick-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.royal-specs-quick-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #2d1f11;
    font-size: 13.5px;
    color: #d1c7b7;
}

.royal-specs-quick-list li:last-child {
    border-bottom: none;
}

.royal-specs-quick-list .icon-badge {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: #2b1d0e;
    border: 1px solid #543d20;
    color: #dfb141;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.royal-specs-quick-list strong {
    color: #f3ede2;
    min-width: 90px;
}

/* Phần Tabs Nội Dung Bên Dưới */
.royal-tabs-header {
    display: flex;
    gap: 24px;
    border-bottom: 2px solid #382717;
    margin: 40px 0 25px;
    overflow: visible;
    flex-wrap: wrap;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.royal-tabs-header::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.royal-tab-btn {
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 4px 14px;
    font-size: 14px;
    font-weight: 700;
    color: #8c7762;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
    white-space: nowrap;
}

.royal-tab-btn:hover {
    color: #e5d1b8;
}

.royal-tab-btn.active {
    color: #dfb141;
}

.royal-tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #dfb141;
    box-shadow: 0 0 8px rgba(223, 177, 65, 0.8);
}

.royal-tab-body {
    background: #20150a;
    border: 1px solid #382717;
    border-radius: 8px;
    padding: 24px 26px;
    color: #d1c7b7;
    font-size: 14px;
    line-height: 1.75;
}

.royal-tab-body h3 {
    color: #fae35a;
    font-size: 17px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 14px;
}

.royal-arrow-bullets {
    list-style: none;
    padding: 0;
    margin: 15px 0 20px;
}

.royal-arrow-bullets li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.royal-arrow-bullets li::before {
    content: "›";
    position: absolute;
    left: 0;
    top: -2px;
    color: #dfb141;
    font-size: 20px;
    font-weight: 900;
}

/* Card Thông Số Kỹ Thuật Bên Phải */
.royal-spec-side-card {
    background: #23180c;
    border: 1px solid #4a3418;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    margin-top: 40px;
}

.royal-spec-side-card .card-head {
    background: #2d1f10;
    border-bottom: 1px solid #4a3418;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 800;
    color: #dfb141;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.royal-spec-side-table {
    width: 100%;
    border-collapse: collapse;
}

.royal-spec-side-table td {
    padding: 11px 16px;
    border-bottom: 1px solid #2d1f11;
    font-size: 13px;
}

.royal-spec-side-table tr:last-child td {
    border-bottom: none;
}

.royal-spec-side-table td.label-col {
    color: #9c8a77;
    width: 44%;
}

.royal-spec-side-table td.val-col {
    color: #f3ede2;
    font-weight: 600;
    text-align: right;
}

/* Tiêu đề Section Ngăn Cách (HÌNH ẢNH THỰC TẾ & SẢN PHẨM LIÊN QUAN) */
.royal-section-title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px 0 25px;
    position: relative;
}

.royal-section-title-wrap::before,
.royal-section-title-wrap::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #543d20, transparent);
}

.royal-section-title-wrap h2,
.royal-section-title-wrap h3 {
    margin: 0 20px;
    font-size: 18px;
    font-weight: 800;
    color: #dfb141;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Lưới Ảnh Thực Tế (4 Cột) */
.royal-real-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.royal-real-photo-item {
    border-radius: 6px;
    overflow: hidden;
    background: #180f07;
    border: 1px solid #4a3418;
    aspect-ratio: 4/3;
    position: relative;
    cursor: zoom-in;
    transition: all 0.3s ease;
}

.royal-real-photo-item:hover {
    border-color: #dfb141;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.7);
}

.royal-real-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.royal-real-photo-item:hover img {
    transform: scale(1.06);
}

.royal-real-photo-item .photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: #e5e7eb;
    font-size: 11px;
    text-align: center;
}

/* Lưới Sản Phẩm Liên Quan (4 Cột) */
.royal-rel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.royal-rel-card {
    background: #23180c;
    border: 1px solid #4a3418;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.royal-rel-card:hover {
    border-color: #dfb141;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.7);
}

.royal-rel-card .card-thumb {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #140d06;
}

.royal-rel-card .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.royal-rel-card:hover .card-thumb img {
    transform: scale(1.05);
}

.royal-rel-card .card-body {
    padding: 14px 12px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.royal-rel-card .card-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #fae35a;
    margin: 0 0 8px;
    line-height: 1.35;
    min-height: 36px;
}

.royal-rel-card .card-price {
    font-size: 13px;
    color: #dfb141;
    font-weight: 800;
    margin-bottom: 12px;
}

.royal-rel-card .card-btn {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 4px;
    background: #180f07;
    border: 1px solid #543d20;
    color: #c5a059;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.25s;
}

.royal-rel-card:hover .card-btn {
    background: #dfb141;
    color: #1a1107;
    border-color: #dfb141;
}

@media (max-width: 991px) {
    .royal-real-photo-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .royal-rel-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .royal-product-info-panel {
        padding-left: 0;
        margin-top: 25px;
    }
    .royal-main-image-wrap {
        height: 380px;
    }
}

@media (max-width: 767px) {
    body {
        padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .royal-mobile-bottom-bar {
        height: calc(62px + env(safe-area-inset-bottom, 0px)) !important;
        padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    }

    /* Chi tiết sản phẩm Mobile */
    .royal-main-image-wrap {
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
        min-height: 250px !important;
        max-height: 340px !important;
    }

    .royal-gallery-thumbs-strip {
        padding: 8px 10px !important;
        gap: 8px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .royal-gallery-thumbs-strip::-webkit-scrollbar {
        display: none;
    }

    .royal-thumb-item {
        width: 62px !important;
        height: 52px !important;
    }

    .royal-prod-h1 {
        font-size: 20px !important;
        line-height: 1.35 !important;
        margin-bottom: 8px !important;
    }

    .royal-rating-row {
        font-size: 12px !important;
        gap: 8px !important;
        flex-wrap: wrap;
    }

    .royal-price-action-row {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 14px 16px !important;
        gap: 12px !important;
    }

    .royal-price-action-left .price-val {
        font-size: 21px !important;
    }

    .royal-price-action-right {
        width: 100% !important;
    }

    .royal-cta-consult-btn,
    .royal-cta-quote-btn {
        width: 100% !important;
        padding: 12px 14px !important;
        font-size: 13px !important;
        justify-content: center !important;
    }

    .royal-specs-quick-list li {
        font-size: 13px !important;
        gap: 8px !important;
        padding: 8px 0 !important;
    }

    .royal-specs-quick-list strong {
        min-width: 80px !important;
    }

    .royal-tabs-header {
        gap: 15px !important;
        margin: 25px 0 15px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .royal-tabs-header::-webkit-scrollbar {
        display: none;
    }

    .royal-tab-btn {
        font-size: 12.5px !important;
        padding: 8px 2px 10px !important;
    }

    .royal-tab-body {
        padding: 16px 14px !important;
        font-size: 13.5px !important;
    }

    .royal-spec-side-card {
        margin-top: 25px !important;
    }

    .royal-spec-side-table td {
        padding: 9px 12px !important;
        font-size: 12.5px !important;
    }

    .royal-section-title-wrap {
        margin: 35px 0 18px !important;
    }

    .royal-section-title-wrap h2,
    .royal-section-title-wrap h3 {
        font-size: 15px !important;
        margin: 0 10px !important;
    }

    .royal-real-photo-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .royal-rel-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .royal-rel-card .card-thumb {
        height: 135px !important;
    }

    .royal-rel-card .card-body {
        padding: 10px 8px 14px !important;
    }

    .royal-rel-card .card-name {
        font-size: 12.5px !important;
        min-height: 32px !important;
    }
}

@media (max-width: 480px) {
    /* Màn hình siêu nhỏ (360px - 414px) */
    .royal-card-price-badge {
        padding: 3px 8px !important;
        margin: 2px 0 8px !important;
        gap: 4px !important;
    }

    .royal-card-price-badge .badge-label {
        font-size: 10px !important;
    }

    .royal-card-price-badge .badge-price {
        font-size: 11.5px !important;
    }

    .s_content {
        padding: 10px 6px 14px !important;
    }

    .s_content h3 {
        font-size: 13px !important;
        min-height: 32px !important;
        line-height: 1.25 !important;
    }

    .s_content .royal-btn {
        padding: 6px 8px !important;
        font-size: 11px !important;
    }
}

/* --------------------------------------------------------------------------
   TỐI ƯU TỐC ĐỘ HIỂN THỊ (PERFORMANCE & RENDERING ACCELERATION)
   -------------------------------------------------------------------------- */
.royal-real-photo-grid,
.royal-rel-grid,
.royal-price-box,
.royal-faq-accordion {
    content-visibility: auto;
    contain-intrinsic-size: 350px;
}

img {
    text-rendering: optimizeSpeed;
}

/* ==========================================================================
   DESKTOP ROYAL HEADER 2026 - THIẾT KẾ ĐẲNG CẤP HOÀNG GIA & KHÔNG BỊ LỆCH
   ========================================================================== */
@media (min-width: 992px) {
    /* 1. Header cố định trên đỉnh, nền đen đồng hoàng gia, viền vàng kim */
    header {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: linear-gradient(180deg, #2b1d0e 0%, #160e05 100%) !important;
        border-bottom: 2px solid #dfb141 !important;
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.85) !important;
        z-index: 99999 !important;
    }

    header .wrapper {
        background: transparent !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    header .wrapper .container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: 82px !important;
        padding: 6px 15px !important;
        position: relative !important;
    }

    /* 2. Logo Vương Miện Hoàng Gia 3D mới (Không lồi thụt, vừa vặn tuyệt mỹ) */
    header .wrapper .logo {
        position: static !important;
        width: auto !important;
        top: 0 !important;
        left: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        flex-shrink: 0 !important;
        z-index: 10 !important;
        float: none !important;
    }

    header .wrapper .logo a {
        display: block !important;
        line-height: 1 !important;
    }

    header .wrapper .logo img,
    .royal-header-logo-img {
        max-height: 68px !important;
        max-width: 220px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
        filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.9)) !important;
        transition: transform 0.3s ease !important;
    }

    header .wrapper .logo img:hover,
    .royal-header-logo-img:hover {
        transform: scale(1.04) !important;
    }

    /* 3. Khu vực bên phải: Menu + Hotline + Search */
    header .wrapper .headtop {
        position: static !important;
        width: auto !important;
        float: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 16px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    header .wrapper .headtop .headermenu {
        position: static !important;
        width: auto !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    header .wrapper .headtop .headermenu .navbar {
        position: static !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        min-height: auto !important;
    }

    header .wrapper .headtop .headermenu .navbar-header {
        display: none !important;
    }

    header .wrapper .headtop .headermenu .navbar-collapse {
        padding: 0 !important;
        display: block !important;
        visibility: visible !important;
        position: static !important;
        width: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    /* Danh sách menu chính trên Desktop */
    header .wrapper .headtop .headermenu #main-menu,
    header .wrapper .headtop .headermenu .sm-blue {
        display: flex !important;
        align-items: center !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        gap: 4px !important;
    }

    header .wrapper .headtop .headermenu #main-menu > li {
        position: relative !important;
        display: inline-block !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        border: none !important;
    }

    header .wrapper .headtop .headermenu #main-menu > li > a {
        display: block !important;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
        font-size: 13.5px !important;
        font-weight: 700 !important;
        color: #e5d8c3 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.8px !important;
        padding: 12px 14px !important;
        background: transparent !important;
        border: none !important;
        white-space: nowrap !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
        position: relative !important;
        transition: all 0.25s ease !important;
    }

    /* Hiệu ứng thanh vàng hoàng gia khi hover vào menu */
    header .wrapper .headtop .headermenu #main-menu > li > a::after {
        content: '' !important;
        position: absolute !important;
        bottom: 2px !important;
        left: 50% !important;
        width: 0 !important;
        height: 2.5px !important;
        background: linear-gradient(90deg, transparent, #fae35a, #dfb141, transparent) !important;
        transition: all 0.3s ease !important;
        transform: translateX(-50%) !important;
        border-radius: 2px !important;
    }

    header .wrapper .headtop .headermenu #main-menu > li > a:hover,
    header .wrapper .headtop .headermenu #main-menu > li.active > a {
        color: #fae35a !important;
        text-shadow: 0 0 12px rgba(250, 227, 90, 0.6) !important;
    }

    header .wrapper .headtop .headermenu #main-menu > li > a:hover::after,
    header .wrapper .headtop .headermenu #main-menu > li.active > a::after {
        width: 75% !important;
    }

    /* Submenu dropdown trên desktop */
    header .wrapper .headtop .headermenu #main-menu ul {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        min-width: 250px !important;
        background: #180e05 !important;
        border: 1.5px solid #dfb141 !important;
        border-radius: 0 0 6px 6px !important;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.95) !important;
        padding: 8px 0 !important;
        z-index: 999999 !important;
    }

    header .wrapper .headtop .headermenu #main-menu ul li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px dashed #28190b !important;
    }

    header .wrapper .headtop .headermenu #main-menu ul li:last-child {
        border-bottom: none !important;
    }

    header .wrapper .headtop .headermenu #main-menu ul li a {
        display: block !important;
        padding: 10px 18px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #d6cbba !important;
        background: transparent !important;
        border: none !important;
        white-space: nowrap !important;
        transition: all 0.25s ease !important;
    }

    header .wrapper .headtop .headermenu #main-menu ul li a:hover {
        background: #28190b !important;
        color: #fae35a !important;
        padding-left: 24px !important;
    }

    /* 4. Hotline trên Desktop - Nằm trên 1 hàng ngang, không bị gãy dòng */
    header .wrapper .headtop .headerContent {
        width: auto !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    header .wrapper .headtop .headerContent .show_hotline {
        margin: 0 !important;
    }

    header .wrapper .headtop .headerContent .show_hotline a {
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        background: linear-gradient(135deg, rgba(223, 177, 65, 0.18) 0%, rgba(184, 134, 40, 0.32) 100%) !important;
        border: 1.5px solid #dfb141 !important;
        color: #fae35a !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        padding: 8px 16px !important;
        border-radius: 30px !important;
        text-decoration: none !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap !important;
        box-shadow: 0 0 12px rgba(223, 177, 65, 0.25) !important;
        transition: all 0.3s ease !important;
    }

    header .wrapper .headtop .headerContent .show_hotline a i {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 24px !important;
        height: 24px !important;
        border-radius: 50% !important;
        background: #dfb141 !important;
        color: #160e05 !important;
        font-size: 12px !important;
        transition: transform 0.3s ease !important;
    }

    header .wrapper .headtop .headerContent .show_hotline a span {
        color: #fae35a !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    header .wrapper .headtop .headerContent .show_hotline a:hover {
        background: linear-gradient(135deg, #dfb141 0%, #b88628 100%) !important;
        box-shadow: 0 0 20px rgba(250, 227, 90, 0.6) !important;
        transform: translateY(-1px) !important;
    }

    header .wrapper .headtop .headerContent .show_hotline a:hover i {
        background: #160e05 !important;
        color: #fae35a !important;
        transform: rotate(15deg) !important;
    }

    header .wrapper .headtop .headerContent .show_hotline a:hover span {
        color: #160e05 !important;
    }

    /* 5. Nút Tìm kiếm trên Desktop */
    header .wrapper .headtop .headerSearch {
        width: auto !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
    }

    header .wrapper .headtop .headerSearch a.search {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        background: #24170c !important;
        border: 1px solid #4a3418 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #dfb141 !important;
        font-size: 15px !important;
        margin: 0 !important;
        transition: all 0.25s ease !important;
    }

    header .wrapper .headtop .headerSearch a.search:hover {
        background: #dfb141 !important;
        color: #160e05 !important;
        border-color: #dfb141 !important;
        box-shadow: 0 0 12px rgba(223, 177, 65, 0.5) !important;
    }
}

/* ==========================================================================
   MOBILE HEADER HOÀNG GIA - TỐI ƯU GIAO DIỆN & SỬA LỖI MENU XỔ RA
   ========================================================================== */
@media (max-width: 991px) {
    /* 1. Header nằm ngay ngắn trên cùng, loại bỏ hoàn toàn khe hở đè banner */
    header {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        background: linear-gradient(180deg, #332314 0%, #1e1308 100%) !important;
        border-bottom: 2px solid #dfb141 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7) !important;
        z-index: 99999 !important;
    }

    header .wrapper {
        background: transparent !important;
        padding: 8px 0 !important;
        position: relative !important;
        width: 100% !important;
    }

    header .wrapper .container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 0 12px !important;
        position: relative !important;
    }

    /* 2. Logo hoàng gia vừa vặn, không bị lồi thụt xuống dưới */
    header .wrapper .logo {
        position: static !important;
        width: auto !important;
        max-width: 140px !important;
        margin: 0 !important;
        padding: 0 !important;
        top: 0 !important;
        left: 0 !important;
        display: flex !important;
        align-items: center !important;
        z-index: 10 !important;
        float: none !important;
    }

    header .wrapper .logo a {
        display: block !important;
        line-height: 1 !important;
    }

    header .wrapper .logo img {
        max-height: 48px !important;
        max-width: 135px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
        filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.7));
    }

    /* 3. Khu vực điều khiển bên phải (Hotline, Search, Nút Menu Hamburger) */
    header .wrapper .headtop {
        position: static !important;
        width: auto !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px !important;
    }

    /* Hotline trên mobile */
    header .wrapper .headtop .headerContent {
        order: 1 !important;
        width: auto !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    header .wrapper .headtop .headerContent .show_hotline {
        margin: 0 !important;
    }

    header .wrapper .headtop .headerContent .show_hotline a {
        color: #fae35a !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        letter-spacing: 0.5px !important;
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
        background: rgba(223, 177, 65, 0.12) !important;
        border: 1px solid rgba(223, 177, 65, 0.4) !important;
        padding: 6px 10px !important;
        border-radius: 20px !important;
        transition: all 0.25s ease;
    }

    header .wrapper .headtop .headerContent .show_hotline a:hover {
        background: rgba(223, 177, 65, 0.25) !important;
        color: #ffffff !important;
    }

    /* Search trên mobile */
    header .wrapper .headtop .headerSearch {
        order: 2 !important;
        width: auto !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
    }

    header .wrapper .headtop .headerSearch a.search {
        color: #dfb141 !important;
        font-size: 17px !important;
        padding: 6px 8px !important;
        margin: 0 !important;
        border: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    header .wrapper .headtop .headerSearch a.search .s_search {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        right: 0 !important;
        left: auto !important;
        width: 250px !important;
        z-index: 9999999 !important;
        background: #261a0e !important;
        border: 1.5px solid #dfb141 !important;
        border-radius: 6px !important;
        padding: 8px !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8) !important;
    }

    /* Nút Hamburger menu */
    header .wrapper .headtop .headermenu {
        order: 3 !important;
        position: static !important;
        width: auto !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    header .wrapper .headtop .headermenu .navbar {
        position: static !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

    header .wrapper .headtop .headermenu .navbar-header {
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    header .wrapper .headtop .headermenu .navbar-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 38px !important;
        height: 38px !important;
        margin: 0 !important;
        padding: 6px !important;
        background: #382717 !important;
        border: 1.5px solid #dfb141 !important;
        border-radius: 6px !important;
        cursor: pointer !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
        transition: all 0.25s ease;
    }

    header .wrapper .headtop .headermenu .navbar-toggle:hover,
    header .wrapper .headtop .headermenu .navbar-toggle:active {
        background: #4a341e !important;
        border-color: #fae35a !important;
    }

    header .wrapper .headtop .headermenu .navbar-toggle .icon-bar {
        display: block !important;
        width: 20px !important;
        height: 2.5px !important;
        background: #fae35a !important;
        border-radius: 2px !important;
        margin: 2px 0 !important;
    }

    /* 4. SỬA LỖI MENU XỔ RA: Trải rộng 100% toàn màn hình, không bị co dúm hay gãy chữ dọc */
    header .wrapper .headtop .headermenu .navbar-collapse {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100vw !important;
        background: #1c1107 !important;
        border-top: 1px solid #4a3418 !important;
        border-bottom: 3px solid #dfb141 !important;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.95) !important;
        z-index: 999999 !important;
        max-height: calc(85vh - 60px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 6px 0 16px !important;
        margin: 0 !important;
        float: none !important;
        box-sizing: border-box !important;
    }

    header .wrapper .headtop .headermenu .navbar-collapse.collapse {
        display: none !important;
    }

    header .wrapper .headtop .headermenu .navbar-collapse.collapse.in,
    header .wrapper .headtop .headermenu .navbar-collapse.collapsing {
        display: block !important;
    }

    /* Danh sách menu chính */
    header .wrapper .headtop .headermenu #main-menu,
    header .wrapper .headtop .headermenu .sm-blue {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
    }

    header .wrapper .headtop .headermenu #main-menu > li {
        display: block !important;
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid #2d1d0e !important;
        box-sizing: border-box !important;
    }

    header .wrapper .headtop .headermenu #main-menu > li > a {
        display: block !important;
        width: 100% !important;
        padding: 13px 20px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #fae35a !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        background: transparent !important;
        border: none !important;
        white-space: normal !important;
        word-break: normal !important;
        text-align: left !important;
        line-height: 1.4 !important;
        box-sizing: border-box !important;
    }

    header .wrapper .headtop .headermenu #main-menu > li > a:hover,
    header .wrapper .headtop .headermenu #main-menu > li > a:active,
    header .wrapper .headtop .headermenu #main-menu > li.active > a {
        background: #2b1a0a !important;
        color: #ffffff !important;
        padding-left: 26px !important;
    }

    /* Submenu (Danh mục sản phẩm con) */
    header .wrapper .headtop .headermenu #main-menu ul {
        position: static !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #140b03 !important;
        border: none !important;
        box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6) !important;
        float: none !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    header .wrapper .headtop .headermenu #main-menu ul li {
        display: block !important;
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px dashed #261608 !important;
        box-sizing: border-box !important;
    }

    header .wrapper .headtop .headermenu #main-menu ul li a {
        display: block !important;
        width: 100% !important;
        padding: 10px 20px 10px 36px !important;
        font-size: 13px !important;
        color: #d8cebf !important;
        background: transparent !important;
        border: none !important;
        white-space: normal !important;
        text-align: left !important;
        box-sizing: border-box !important;
    }

    header .wrapper .headtop .headermenu #main-menu ul li a:hover {
        color: #dfb141 !important;
        background: #1e1105 !important;
        padding-left: 42px !important;
    }
}

@media (max-width: 400px) {
    header .wrapper .logo img {
        max-height: 42px !important;
        max-width: 115px !important;
    }
    header .wrapper .headtop .headerContent .show_hotline a span {
        display: none !important;
    }
    header .wrapper .headtop .headerContent .show_hotline a {
        padding: 7px 9px !important;
        font-size: 14px !important;
    }
}

/* ==========================================================================
   DESKTOP FLOATING WIDGETS - HIỆU ỨNG RING RING & SÓNG VÀNG HOÀNG GIA (3 NÚT)
   ========================================================================== */
@media (min-width: 768px) {
    .sf_hotline {
        position: fixed !important;
        bottom: 75px !important;
        top: auto !important;
        right: 22px !important;
        z-index: 999999 !important;
    }

    .sf_hotline ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .sf_hotline ul li {
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    .sf_hotline ul li a {
        display: flex !important;
        align-items: center !important;
        text-decoration: none !important;
        position: relative !important;
    }

    /* Khối tròn bọc icon 50px */
    .sf_hotline ul li .simage {
        width: 52px !important;
        height: 52px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        z-index: 10 !important;
        cursor: pointer !important;
        background: transparent !important;
        overflow: visible !important;
    }

    .sf_hotline ul li .simage img {
        width: 52px !important;
        height: 52px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        display: block !important;
        filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.7)) !important;
        transition: transform 0.25s ease !important;
        animation: royalDesktopRing 2.4s infinite ease-in-out, royalDesktopPulse 2.4s infinite ease-in-out !important;
        transform-origin: center center !important;
    }

    /* Rung lắc so le (staggered) nhịp nhàng cuốn hút */
    .sf_hotline ul li:nth-child(1) .simage img {
        animation-delay: 0s !important;
    }

    .sf_hotline ul li:nth-child(2) .simage img {
        animation-delay: 0.6s !important;
    }

    .sf_hotline ul li:nth-child(3) .simage img {
        animation-delay: 1.2s !important;
    }

    /* Rê chuột: Phóng to và phát sáng kim cương */
    .sf_hotline ul li a:hover .simage img {
        transform: scale(1.18) !important;
        box-shadow: 0 0 22px rgba(250, 227, 90, 0.95) !important;
    }

    /* Nhãn text bên cạnh (Hotline, Liên hệ, Zalo) */
    .sf_hotline ul li .stitle {
        position: absolute !important;
        right: 48px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        background: linear-gradient(135deg, #382717 0%, #1f140a 100%) !important;
        border: 1.5px solid #dfb141 !important;
        color: #fae35a !important;
        font-weight: 700 !important;
        font-size: 13.5px !important;
        padding: 7px 18px 7px 16px !important;
        border-radius: 22px 0 0 22px !important;
        white-space: nowrap !important;
        box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.7) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        z-index: 5 !important;
    }

    .sf_hotline ul li:hover .stitle {
        opacity: 1 !important;
        visibility: visible !important;
        right: 58px !important;
    }
}

/* Keyframes Ring-Ring Rung Lắc cho 3 Nút Desktop */
@keyframes royalDesktopRing {
    0% { transform: rotate(0) scale(1); }
    5% { transform: rotate(-16deg) scale(1.1); }
    10% { transform: rotate(16deg) scale(1.1); }
    15% { transform: rotate(-16deg) scale(1.1); }
    20% { transform: rotate(16deg) scale(1.1); }
    25% { transform: rotate(-8deg) scale(1.05); }
    30% { transform: rotate(0) scale(1); }
    100% { transform: rotate(0) scale(1); }
}

/* Keyframes Sóng Vàng Kim Tỏa Lan Toàn Diện cho 3 Nút Desktop */
@keyframes royalDesktopPulse {
    0% { 
        box-shadow: 0 0 0 0 rgba(223, 177, 65, 0.85), 0 0 10px rgba(250, 227, 90, 0.7); 
    }
    28% { 
        box-shadow: 0 0 0 14px rgba(223, 177, 65, 0), 0 0 18px rgba(250, 227, 90, 0); 
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(223, 177, 65, 0), 0 0 0 0 rgba(250, 227, 90, 0); 
    }
}

/* ==========================================================================
   HOMEPAGE HOÀNG GIA 2026 - THIẾT KẾ ĐẲNG CẤP THEO MẪU REFERENCE
   ========================================================================== */
.royal-home-page {
    background-color: #140c04;
    color: #e5e7eb;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
}

/* Khung container chuẩn hoàng gia */
.royal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* 1. HERO SECTION */
.royal-home-hero {
    position: relative;
    padding: 45px 0 55px;
    background: radial-gradient(circle at 75% 50%, #291a0c 0%, #140c04 70%);
    border-bottom: 1px solid #382717;
}

.royal-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.royal-hero-content {
    z-index: 2;
}

.royal-hero-tag {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 24px;
    color: #dfb141;
    margin-bottom: 6px;
    display: block;
    letter-spacing: 1px;
}

.royal-hero-h1 {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.05;
    color: #f7f1e3;
    text-transform: uppercase;
    margin: 0 0 10px;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.royal-hero-sub {
    font-size: 20px;
    font-weight: 700;
    color: #dfb141;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 18px;
}

.royal-hero-desc {
    font-size: 14.5px;
    line-height: 1.7;
    color: #b3a492;
    max-width: 520px;
    margin-bottom: 30px;
}

.royal-hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.royal-hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dfb141 0%, #b88628 100%);
    color: #140c04 !important;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 13px 26px;
    border-radius: 4px;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(223, 177, 65, 0.4);
    transition: all 0.3s ease;
}

.royal-hero-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(223, 177, 65, 0.6);
    background: linear-gradient(135deg, #fae35a 0%, #c99834 100%);
}

.royal-hero-video-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(22, 14, 7, 0.6);
    border: 1.5px solid #dfb141;
    color: #dfb141 !important;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.royal-hero-video-btn:hover {
    background: #dfb141;
    color: #140c04 !important;
    box-shadow: 0 0 15px rgba(223, 177, 65, 0.5);
}

.royal-hero-stats {
    display: flex;
    gap: 30px;
    border-top: 1px solid #382717;
    padding-top: 22px;
}

.royal-hero-stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.royal-hero-stat-item i {
    font-size: 26px;
    color: #dfb141;
}

.royal-hero-stat-item .stat-num {
    font-size: 18px;
    font-weight: 800;
    color: #f7f1e3;
    line-height: 1;
}

.royal-hero-stat-item .stat-lbl {
    font-size: 11px;
    font-weight: 600;
    color: #8f7e6c;
    text-transform: uppercase;
    margin-top: 3px;
    letter-spacing: 0.5px;
}

.royal-hero-visual {
    position: relative;
}

.royal-hero-img-frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #dfb141;
    box-shadow: 0 10px 30px rgba(0,0,0,0.9);
    background: #1c130a;
}

.royal-hero-img-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.royal-hero-img-frame:hover img {
    transform: scale(1.02);
}

/* 2. TIÊU ĐỀ SECTION CHUNG HOÀNG GIA */
.royal-sec-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 1px solid #382717;
}

.royal-sec-title {
    font-size: 22px;
    font-weight: 800;
    color: #f7f1e3;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.royal-sec-title::after {
    content: '';
    display: inline-block;
    width: 60px;
    height: 2px;
    background: #dfb141;
}

.royal-sec-more-btn {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 1.5px solid #dfb141;
    color: #dfb141 !important;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 7px 18px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.royal-sec-more-btn:hover {
    background: #dfb141;
    color: #140c04 !important;
    box-shadow: 0 0 10px rgba(223, 177, 65, 0.4);
}

/* 3. DANH MỤC SẢN PHẨM 4 CỘT */
.royal-home-cats-sec {
    padding: 45px 0 50px;
}

.royal-cats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.royal-cat-card {
    background: #1c1208;
    border: 1px solid #382717;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: block;
}

.royal-cat-card:hover {
    border-color: #dfb141;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.8);
}

.royal-cat-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #120b04;
}

.royal-cat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.royal-cat-card:hover .royal-cat-thumb img {
    transform: scale(1.05);
}

.royal-cat-info {
    padding: 15px 12px;
    text-align: center;
}

.royal-cat-name {
    font-size: 14px;
    font-weight: 800;
    color: #f7f1e3;
    text-transform: uppercase;
    margin: 0 0 6px;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.royal-cat-card:hover .royal-cat-name {
    color: #dfb141;
}

.royal-cat-link {
    font-size: 12.5px;
    color: #dfb141;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s;
}

.royal-cat-card:hover .royal-cat-link {
    gap: 9px;
}

/* 4. VỀ ĐỆ NHẤT CỔNG (ABOUT US & 4 PILLARS) */
.royal-home-about-sec {
    padding: 50px 0 55px;
    background: linear-gradient(180deg, #140c04 0%, #1d1208 50%, #140c04 100%);
    border-top: 1px solid #382717;
    border-bottom: 1px solid #382717;
}

.royal-about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 45px;
}

.royal-about-tag {
    font-size: 11.5px;
    font-weight: 800;
    color: #dfb141;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: block;
}

.royal-about-h2 {
    font-size: 28px;
    font-weight: 900;
    color: #f7f1e3;
    text-transform: uppercase;
    margin: 0 0 16px;
    letter-spacing: 1px;
    line-height: 1.25;
}

.royal-about-text {
    font-size: 14.5px;
    line-height: 1.8;
    color: #b3a492;
    margin-bottom: 24px;
}

.royal-about-btn {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 1.5px solid #dfb141;
    color: #dfb141 !important;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 10px 22px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.royal-about-btn:hover {
    background: #dfb141;
    color: #140c04 !important;
    box-shadow: 0 0 12px rgba(223, 177, 65, 0.4);
}

.royal-about-frame {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #4a3418;
    box-shadow: 0 8px 25px rgba(0,0,0,0.8);
}

.royal-about-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.royal-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.royal-pillar-card {
    background: #1a1107;
    border: 1px solid #382717;
    border-radius: 6px;
    padding: 22px 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.royal-pillar-card:hover {
    border-color: #dfb141;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.7);
}

.royal-pillar-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1.5px solid #dfb141;
    background: rgba(223, 177, 65, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: #dfb141;
    font-size: 20px;
}

.royal-pillar-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #f7f1e3;
    text-transform: uppercase;
    margin: 0 0 6px;
    letter-spacing: 0.5px;
}

.royal-pillar-desc {
    font-size: 12px;
    color: #9c8c7a;
    line-height: 1.5;
    margin: 0;
}

/* 5. DỰ ÁN TIÊU BIỂU */
.royal-home-projects-sec {
    padding: 50px 0 55px;
}

.royal-center-title-wrap {
    text-align: center;
    margin-bottom: 30px;
}

.royal-center-title {
    font-size: 24px;
    font-weight: 800;
    color: #f7f1e3;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.royal-center-title::before,
.royal-center-title::after {
    content: '─── ◆ ───';
    color: #dfb141;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
}

.royal-projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.royal-project-card {
    background: #1c1208;
    border: 1px solid #382717;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: block;
}

.royal-project-card:hover {
    border-color: #dfb141;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.85);
}

.royal-project-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #120b04;
}

.royal-project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.royal-project-card:hover .royal-project-thumb img {
    transform: scale(1.05);
}

.royal-project-info {
    padding: 14px 12px;
    text-align: center;
}

.royal-project-name {
    font-size: 13.5px;
    font-weight: 800;
    color: #f7f1e3;
    margin: 0 0 4px;
    transition: color 0.2s;
}

.royal-project-card:hover .royal-project-name {
    color: #dfb141;
}

.royal-project-loc {
    font-size: 12px;
    color: #8f7e6c;
}

.royal-center-action {
    text-align: center;
}

/* 6. SẢN PHẨM NỔI BẬT (TABS FILTER & 8 CARDS) */
.royal-home-products-sec {
    padding: 50px 0 55px;
    background: #170f06;
    border-top: 1px solid #382717;
    border-bottom: 1px solid #382717;
}

.royal-prod-filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.royal-filter-btn {
    background: #23160a;
    border: 1px solid #4a3418;
    color: #b3a492;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
}

.royal-filter-btn:hover,
.royal-filter-btn.active {
    background: #dfb141;
    color: #140c04;
    border-color: #dfb141;
    box-shadow: 0 0 10px rgba(223, 177, 65, 0.4);
}

.royal-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.royal-showcase-card {
    background: #1e1308;
    border: 1px solid #382717;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
}

.royal-showcase-card:hover {
    border-color: #dfb141;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.85);
}

.royal-showcase-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #110a04;
}

.royal-showcase-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.royal-showcase-card:hover .royal-showcase-thumb img {
    transform: scale(1.05);
}

.royal-showcase-info {
    padding: 14px 12px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.royal-showcase-name {
    font-size: 13.5px;
    font-weight: 800;
    color: #f7f1e3;
    margin: 0 0 10px;
    line-height: 1.35;
    transition: color 0.2s;
}

.royal-showcase-card:hover .royal-showcase-name {
    color: #dfb141;
}

.royal-showcase-btn {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #dfb141;
    color: #dfb141;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.2s;
}

.royal-showcase-card:hover .royal-showcase-btn {
    background: #dfb141;
    color: #140c04;
}

/* 7. VÌ SAO CHỌN CHÚNG TÔI & ĐÁNH GIÁ (3 CỘT) */
.royal-home-trust-sec {
    padding: 50px 0 55px;
    background: #1a1107;
    border-top: 1px solid #382717;
}

.royal-trust-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr 1fr;
    gap: 25px;
    align-items: stretch;
}

.royal-trust-col {
    background: #23160a;
    border: 1px solid #5a411f;
    border-radius: 8px;
    padding: 24px 22px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
}

.royal-trust-col-h3 {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #fae35a !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    margin: 0 0 18px 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #4a3418 !important;
}

/* Col 1: Danh sách cam kết */
.royal-reasons-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.royal-reason-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.royal-reason-icon {
    font-size: 20px;
    color: #dfb141;
    flex-shrink: 0;
    margin-top: 2px;
    width: 24px;
}

.royal-reason-text .reason-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #fae35a !important;
    margin: 0 0 3px !important;
}

.royal-reason-text .reason-desc {
    font-size: 13.5px !important;
    color: #d1c7b7 !important;
    margin: 0;
    line-height: 1.5;
}

/* Col 2: Con số ấn tượng */
.royal-stats-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    gap: 12px;
    text-align: center;
}

.royal-stat-block {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(223, 177, 65, 0.18);
    border-radius: 6px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.royal-stat-block i {
    font-size: 22px;
    color: #dfb141;
    margin-bottom: 4px;
    display: block;
}

.royal-stat-block .big-num {
    font-size: 28px !important;
    font-weight: 900 !important;
    color: #fae35a !important;
    line-height: 1.1 !important;
    margin-bottom: 2px;
}

.royal-stat-block .sub-lbl {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #d1c7b7 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Col 3: Đánh giá khách hàng */
.royal-testimonial-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.royal-testi-stars {
    color: #fae35a;
    font-size: 15px;
    margin-bottom: 12px;
}

.royal-testi-quote {
    font-size: 14px !important;
    line-height: 1.65 !important;
    color: #e2d5c3 !important;
    font-style: italic;
    margin-bottom: 16px !important;
    flex: 1;
}

.royal-testi-author {
    border-top: 1px dashed #4a3418;
    padding-top: 12px;
}

.royal-testi-name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #fae35a !important;
    margin: 0 0 2px !important;
}

.royal-testi-sub {
    font-size: 12.5px !important;
    color: #9c8c7a !important;
}

/* 8. BANNER ĐĂNG KÝ BÁO GIÁ DẢI VÀNG ĐỒNG */
.royal-home-cta-ribbon {
    background: linear-gradient(135deg, #24170b 0%, #150d05 100%);
    border-top: 1px solid #5a411f;
    border-bottom: 1px solid #5a411f;
    color: #fae35a;
    padding: 24px 0;
    box-shadow: inset 0 1px 0 rgba(250, 227, 90, 0.12), 0 4px 20px rgba(0,0,0,0.5);
}

.royal-ribbon-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.royal-ribbon-text .ribbon-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #fae35a !important;
    margin: 0 0 4px !important;
    letter-spacing: 0.5px;
}

.royal-ribbon-text .ribbon-sub {
    font-size: 13.5px !important;
    color: #d1c7b7 !important;
    margin: 0;
    font-weight: 500;
}

.royal-ribbon-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.royal-ribbon-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px !important;
    border-radius: 6px;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.royal-ribbon-call {
    color: #fae35a !important;
    border: 1.5px solid #fae35a;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.royal-ribbon-call:hover {
    background: #000000;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(250, 227, 90, 0.5);
}

.royal-ribbon-zalo {
    background: #0068ff;
    color: #ffffff !important;
    border: 1.5px solid #3385ff;
    box-shadow: 0 4px 14px rgba(0, 104, 255, 0.4);
}

.royal-ribbon-zalo:hover {
    background: #0052cc;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 104, 255, 0.6);
}

/* RESPONSIVE TRANG CHỦ HOÀNG GIA */
@media (max-width: 991px) {
    .royal-hero-grid,
    .royal-about-split,
    .royal-trust-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .royal-hero-h1 {
        font-size: 36px !important;
    }

    .royal-hero-sub {
        font-size: 17px !important;
    }

    .royal-cats-grid,
    .royal-pillars-grid,
    .royal-projects-grid,
    .royal-showcase-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .royal-ribbon-inner {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .royal-ribbon-actions {
        flex-direction: column !important;
        width: 100% !important;
    }

    .royal-ribbon-actions .royal-ribbon-btn {
        width: 100% !important;
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .royal-cats-grid,
    .royal-projects-grid,
    .royal-showcase-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .royal-pillars-grid {
        grid-template-columns: 1fr !important;
    }

    .royal-hero-stats {
        flex-direction: column !important;
        gap: 14px !important;
    }

    .royal-hero-actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .royal-hero-cta-btn,
    .royal-hero-video-btn {
        width: 100% !important;
        text-align: center !important;
    }
}

/* ==========================================================================
   ROYAL LUXURY PICTURE FRAMES - HỆ THỐNG KHUNG ẢNH HOÀNG GIA ĐẲNG CẤP 2026
   ========================================================================== */

/* 1. KHUNG ẢNH SẢN PHẨM TRANG CHỦ & TRANG DANH MỤC (PHÀO CHỈ DÁT VÀNG HOÀNG GIA) */
.royal-showcase-card,
.royal-prod-card,
.royal-rel-card {
    position: relative;
    background: linear-gradient(180deg, #24160a 0%, #150b03 100%) !important;
    border: 1.5px solid #543b1c !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(223, 177, 65, 0.3) !important;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.royal-showcase-card:hover,
.royal-prod-card:hover,
.royal-rel-card:hover {
    border-color: #dfb141 !important;
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.98), 0 0 22px rgba(223, 177, 65, 0.5) !important;
}

/* Khoang chứa ảnh với phào chỉ bảo tàng quý tộc */
.royal-showcase-thumb,
.royal-card-thumb,
.card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: radial-gradient(circle, #2b1b0d 0%, #0d0602 100%) !important;
    border-bottom: 2px solid #3d2813 !important;
    padding: 10px !important;
    box-sizing: border-box;
}

.royal-showcase-card:hover .royal-showcase-thumb,
.royal-prod-card:hover .royal-card-thumb,
.royal-rel-card:hover .card-thumb {
    border-bottom-color: #dfb141 !important;
}

/* Họa tiết hoa văn góc đồng mạ vàng hoàng gia */
.royal-corner-ornament {
    position: absolute;
    width: 14px;
    height: 14px;
    pointer-events: none;
    z-index: 4;
    transition: all 0.3s ease;
}

.royal-corner-ornament.tl {
    top: 6px;
    left: 6px;
    border-top: 2px solid #dfb141;
    border-left: 2px solid #dfb141;
}

.royal-corner-ornament.tr {
    top: 6px;
    right: 6px;
    border-top: 2px solid #dfb141;
    border-right: 2px solid #dfb141;
}

.royal-showcase-card:hover .royal-corner-ornament {
    border-color: #fae35a;
    width: 18px;
    height: 18px;
    filter: drop-shadow(0 0 6px rgba(250, 227, 90, 0.9));
}

/* Khung tranh phào chỉ dát vàng kép ôm trọn bức ảnh */
.royal-showcase-thumb img,
.royal-card-thumb img,
.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px !important;
    border: 2px solid #b88628 !important;
    outline: 1px solid rgba(250, 227, 90, 0.5) !important;
    outline-offset: -3px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.8), inset 0 0 10px rgba(0, 0, 0, 0.6) !important;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.35s ease, box-shadow 0.35s ease !important;
    display: block;
}

.royal-showcase-card:hover .royal-showcase-thumb img,
.royal-prod-card:hover .royal-card-thumb img,
.royal-rel-card:hover .card-thumb img {
    transform: scale(1.05) !important;
    border-color: #fae35a !important;
    outline-color: #fae35a !important;
    box-shadow: 0 8px 22px rgba(223, 177, 65, 0.45) !important;
}

/* Nút CTA Xem Chi Tiết dạng huy hiệu vàng đúc */
.royal-showcase-btn {
    display: inline-block;
    padding: 7px 18px;
    background: linear-gradient(135deg, #dfb141 0%, #a67623 50%, #dfb141 100%) !important;
    color: #160d04 !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: 4px !important;
    border: 1px solid #fae35a !important;
    box-shadow: 0 3px 10px rgba(223, 177, 65, 0.35) !important;
    transition: all 0.3s ease !important;
}

.royal-showcase-card:hover .royal-showcase-btn {
    background: linear-gradient(135deg, #fae35a 0%, #dfb141 100%) !important;
    box-shadow: 0 4px 16px rgba(250, 227, 90, 0.65) !important;
    transform: scale(1.04);
}

/* 2. KHUNG ẢNH BIỆT THỰ DINH THỰ (VỀ ĐỆ NHẤT CỔNG) */
.royal-about-frame {
    position: relative;
    border-radius: 12px !important;
    padding: 10px !important;
    background: linear-gradient(145deg, #3d2713 0%, #180d04 100%) !important;
    border: 2px solid #dfb141 !important;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.95), 0 0 25px rgba(223, 177, 65, 0.3) !important;
    overflow: hidden;
}

.royal-about-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px !important;
    border: 1.5px solid rgba(223, 177, 65, 0.45) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.85) !important;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.royal-about-frame:hover img {
    transform: scale(1.03) !important;
}

/* Đường chỉ ren trang trí hoàng gia 4 góc */
.royal-about-frame::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px dashed rgba(223, 177, 65, 0.45);
    border-radius: 10px;
    pointer-events: none;
    z-index: 2;
}

/* 3. KHUNG ẢNH CHÍNH GALLERY (TRANG CHI TIẾT SẢN PHẨM) */
.royal-gallery-box {
    position: relative;
    border-radius: 12px !important;
    padding: 10px !important;
    background: linear-gradient(145deg, #382411 0%, #160c04 100%) !important;
    border: 2px solid #dfb141 !important;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.95), 0 0 30px rgba(223, 177, 65, 0.35) !important;
}

.royal-main-image-wrap {
    position: relative;
    width: 100%;
    height: 480px;
    background: radial-gradient(circle, #24190e 0%, #0b0502 100%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: zoom-in;
    padding: 15px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(223, 177, 65, 0.35) !important;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9) !important;
}

/* 4. KHUNG ẢNH THUMBNAILS */
.royal-gallery-thumbs-strip {
    margin-top: 10px !important;
    border-radius: 6px !important;
    background: #140b03 !important;
    border: 1px solid #382717 !important;
    padding: 10px 12px !important;
}

.royal-thumb-item {
    position: relative;
    width: 76px !important;
    height: 62px !important;
    border-radius: 6px !important;
    padding: 2px !important;
    background: #1e1207 !important;
    border: 1.5px solid #4a3418 !important;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.65;
    transition: all 0.3s ease !important;
}

.royal-thumb-item.active,
.royal-thumb-item:hover {
    border-color: #fae35a !important;
    opacity: 1 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 0 14px rgba(250, 227, 90, 0.65) !important;
}

.royal-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px !important;
}

/* 5. KHUNG ẢNH CÔNG TRÌNH THỰC TẾ (TRANG CHI TIẾT) */
.royal-real-photo-item {
    position: relative;
    border-radius: 8px !important;
    padding: 6px !important;
    background: linear-gradient(145deg, #2a1a0c 0%, #130a03 100%) !important;
    border: 1.5px solid #4a3418 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8) !important;
    overflow: hidden;
    cursor: zoom-in;
    transition: all 0.35s ease !important;
}

.royal-real-photo-item:hover {
    border-color: #dfb141 !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.95), 0 0 15px rgba(223, 177, 65, 0.4) !important;
}

.royal-real-photo-item img {
    border-radius: 4px !important;
    border: 1px solid rgba(223, 177, 65, 0.25) !important;
    transition: transform 0.45s ease !important;
}

.royal-real-photo-item:hover img {
    transform: scale(1.04) !important;
    border-color: #fae35a !important;
}

/* 6. KHUNG SLIDER BANNER CHÍNH */
.block_bxslides {
    position: relative;
    border-bottom: 2.5px solid #dfb141 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.9) !important;
    background: #140c04 !important;
}

.block_bxslides .bx-wrapper,
.block_bxslides .bx-wrapper .bx-viewport {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.block_bxslides .bx-wrapper img,
.block_bxslides img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block !important;
}

.block_bxslides::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fae35a, #dfb141, transparent);
    z-index: 5;
    pointer-events: none;
}

/* ==========================================================================
   CUSTOMER REVIEWS & COMMENTS HOÀNG GIA CHÂN THỰC
   ========================================================================== */
.royal-review-section {
    background: #191007;
    border: 1.5px solid #382717;
    border-radius: 8px;
    padding: 24px;
    margin-top: 35px;
    margin-bottom: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.royal-review-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    background: #130a03;
    border: 1px solid #4a3418;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 24px;
}

.royal-review-score-box {
    text-align: center;
    padding: 0 15px;
    border-right: 1px solid #382717;
    min-width: 140px;
}

.royal-review-score-num {
    font-size: 38px;
    font-weight: 800;
    color: #fae35a;
    line-height: 1;
}

.royal-review-stars {
    color: #f59e0b;
    font-size: 16px;
    margin: 6px 0;
}

.royal-review-count-text {
    font-size: 12px;
    color: #a89078;
}

.royal-review-bars {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.royal-review-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #c9b08f;
}

.royal-review-progress {
    flex: 1;
    height: 7px;
    background: #2b1d0f;
    border-radius: 4px;
    overflow: hidden;
}

.royal-review-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #dfb141, #fae35a);
    border-radius: 4px;
}

.royal-review-cta-box {
    text-align: center;
    padding: 0 15px;
    border-left: 1px solid #382717;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.royal-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #4ade80;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
}

.royal-write-review-btn {
    background: linear-gradient(135deg, #dfb141 0%, #b88628 100%);
    color: #0d0803;
    font-weight: 700;
    font-size: 12px;
    padding: 9px 18px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}

.royal-write-review-btn:hover {
    background: linear-gradient(135deg, #fae35a 0%, #dfb141 100%);
    box-shadow: 0 0 12px rgba(250, 227, 90, 0.5);
    transform: translateY(-1px);
}

/* FORM VIẾT BÌNH LUẬN */
.royal-review-form-wrap {
    display: none;
    background: #110903;
    border: 1px solid #dfb141;
    border-radius: 6px;
    padding: 18px 20px;
    margin-bottom: 24px;
    animation: fadeIn 0.3s ease;
}

.royal-review-form-wrap h4 {
    color: #fae35a;
    font-size: 15px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.royal-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.royal-form-col {
    flex: 1;
    min-width: 180px;
}

.royal-form-input, .royal-form-textarea {
    width: 100%;
    background: #1a1006;
    border: 1px solid #4a3418;
    color: #f5ecd7;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.royal-form-input:focus, .royal-form-textarea:focus {
    border-color: #fae35a;
}

.royal-submit-review-btn {
    background: #dfb141;
    color: #000;
    font-weight: 700;
    font-size: 12px;
    padding: 9px 22px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
}

.royal-submit-review-btn:hover {
    background: #fae35a;
}

/* DANH SÁCH REVIEW CARDS */
.royal-review-item {
    border-bottom: 1px solid #2e1e0f;
    padding: 18px 0;
}

.royal-review-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.royal-review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.royal-review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.royal-avatar-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b88628, #fae35a);
    color: #1a0f05;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #dfb141;
}

.royal-author-name {
    font-weight: 700;
    color: #fae35a;
    font-size: 14px;
}

.royal-author-loc {
    font-size: 11.5px;
    color: #a89078;
    margin-left: 4px;
}

.royal-review-date {
    font-size: 11.5px;
    color: #8a735c;
}

.royal-review-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.royal-review-text {
    font-size: 13.5px;
    color: #e6d7c3;
    line-height: 1.6;
    margin-bottom: 10px;
}

.royal-review-photo-thumb {
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #dfb141;
    margin-right: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

.royal-review-photo-thumb:hover {
    transform: scale(1.05);
}

.royal-review-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* PHẢN HỒI CỦA ADMIN */
.royal-admin-reply-box {
    background: #130a03;
    border-left: 3px solid #dfb141;
    padding: 10px 14px;
    border-radius: 0 6px 6px 0;
    margin-top: 8px;
    margin-left: 20px;
}

.royal-admin-reply-title {
    font-size: 12px;
    font-weight: 700;
    color: #fae35a;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.royal-admin-reply-text {
    font-size: 12.5px;
    color: #c9b08f;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 767px) {
    .royal-review-score-box, .royal-review-cta-box {
        border: none;
        width: 100%;
        padding: 0;
    }
    .royal-admin-reply-box {
        margin-left: 8px;
    }
}

/* ==========================================================================
   10. SITE-WIDE TYPOGRAPHY & HIGH CONTRAST ENHANCEMENT 2026 (CHỮ TO, RÕ, ĐỀU)
   Áp dụng đồng bộ toàn bộ trang: Trang chủ, Danh mục, Chi tiết, Tin tức, Footer
   ========================================================================== */

/* Base font size & text readability */
html, body {
    font-size: 15px !important;
    line-height: 1.65 !important;
    color: #e5e7eb !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
}

p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #f3f4f6 !important;
}

a {
    color: #dfb141;
    transition: color 0.2s ease;
}

a:hover {
    color: #fae35a;
}

/* Headings rõ ràng & nổi bật */
h1, .h1 { font-size: 26px !important; font-weight: 800 !important; color: #fae35a !important; line-height: 1.35 !important; }
h2, .h2 { font-size: 22px !important; font-weight: 700 !important; color: #fae35a !important; line-height: 1.35 !important; }
h3, .h3 { font-size: 18px !important; font-weight: 700 !important; color: #fae35a !important; line-height: 1.35 !important; }
h4, .h4 { font-size: 16px !important; font-weight: 700 !important; color: #fae35a !important; }

/* Breadcrumb dễ nhìn */
.bread, .breadcrumb, .royal-breadcrumb-row {
    font-size: 14px !important;
    color: #d1c7b7 !important;
}
.bread a, .breadcrumb a, .royal-breadcrumb-row a {
    color: #dfb141 !important;
    font-weight: 600 !important;
}
.bread a:hover, .breadcrumb a:hover, .royal-breadcrumb-row a:hover {
    color: #fae35a !important;
}

/* --------------------------------------------------------------------------
   A. TRANG CHỦ (HOMEPAGE TYPOGRAPHY & LAYOUT)
   -------------------------------------------------------------------------- */
.royal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.royal-home-about-sec {
    background: #1e1307 !important;
    color: #f3f4f6 !important;
}

.royal-about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: center;
}

.royal-about-tag {
    display: inline-block;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #fae35a !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 8px !important;
    text-transform: uppercase;
}

.royal-about-h2 {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #fae35a !important;
    margin: 0 0 16px 0 !important;
    line-height: 1.3 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
}

.royal-about-text {
    font-size: 15.5px !important;
    line-height: 1.8 !important;
    color: #f3f4f6 !important;
    margin-bottom: 22px !important;
}

.royal-about-btn {
    display: inline-flex !important;
    align-items: center;
    background: linear-gradient(135deg, #fae35a 0%, #d4af37 50%, #996515 100%) !important;
    color: #1a1107 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    padding: 11px 22px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
}

.royal-about-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
    color: #000000 !important;
}

.royal-about-frame img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid #dfb141;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8);
    display: block;
}

/* 4 Trụ cột cam kết */
.royal-pillars-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    margin-top: 35px !important;
}

.royal-pillar-card {
    background: #2b1d10 !important;
    border: 1px solid #7d5e28 !important;
    border-radius: 8px !important;
    padding: 20px 14px !important;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important;
    transition: transform 0.3s, border-color 0.3s;
}

.royal-pillar-card:hover {
    transform: translateY(-4px);
    border-color: #dfb141 !important;
}

.royal-pillar-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fae35a 0%, #dfb141 100%);
    color: #1a1107;
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.royal-pillar-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #fae35a !important;
    margin: 10px 0 6px 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.royal-pillar-desc {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    color: #e5e7eb !important;
    margin: 0 !important;
}

/* Tiêu đề mục chuyên mục trang chủ */
.royal-sec-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 22px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #5a411f !important;
}

.royal-sec-title {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #fae35a !important;
    margin: 0 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.royal-sec-more-btn {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #fae35a !important;
    border: 1px solid #dfb141 !important;
    padding: 7px 18px !important;
    border-radius: 20px !important;
    background: #2b1d10 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.royal-sec-more-btn:hover {
    background: #dfb141 !important;
    color: #1a1107 !important;
}

/* Lưới sản phẩm trang chủ 4 cột rõ đẹp */
.royal-showcase-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

.royal-showcase-card {
    display: flex !important;
    flex-direction: column !important;
    background: #261a0e !important;
    border: 1px solid #5a411f !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    text-decoration: none !important;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important;
}

.royal-showcase-card:hover {
    transform: translateY(-4px) !important;
    border-color: #dfb141 !important;
    box-shadow: 0 8px 25px rgba(223, 177, 65, 0.3) !important;
}

.royal-showcase-thumb {
    position: relative;
    overflow: hidden;
    background: #1f140a;
}

.royal-showcase-thumb img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.4s ease !important;
}

.royal-showcase-card:hover .royal-showcase-thumb img {
    transform: scale(1.05) !important;
}

.royal-showcase-info {
    padding: 14px 12px 16px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: 1 1 auto !important;
}

.royal-showcase-name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #fae35a !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.35 !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.royal-showcase-btn {
    display: inline-block !important;
    background: linear-gradient(135deg, #fae35a 0%, #dfb141 100%) !important;
    color: #1a1107 !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    padding: 6px 16px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Khối Vì sao chọn chúng tôi, Con số, Đánh giá */
.royal-home-trust-sec {
    padding: 50px 0 45px;
    background: #1a1107;
    border-top: 1px solid #382717;
}

.royal-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: stretch;
}

.royal-trust-col {
    background: #23160a !important;
    border: 1px solid #5a411f !important;
    border-radius: 8px !important;
    padding: 24px 22px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4) !important;
    display: flex !important;
    flex-direction: column !important;
}

.royal-trust-col-h3 {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #fae35a !important;
    margin: 0 0 18px 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #4a3418 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
}

.royal-reasons-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.royal-reason-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.royal-reason-icon {
    font-size: 20px;
    color: #dfb141;
    margin-top: 2px;
    flex-shrink: 0;
    width: 24px;
}

.reason-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #fae35a !important;
    margin-bottom: 3px !important;
}

.reason-desc {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    color: #d1c7b7 !important;
}

.royal-stats-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    justify-content: space-between;
}

.royal-stat-block {
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(223, 177, 65, 0.18) !important;
    border-radius: 6px !important;
    padding: 12px 10px !important;
    text-align: center;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.royal-stat-block i {
    font-size: 22px;
    color: #dfb141;
    margin-bottom: 4px;
}

.big-num {
    font-size: 28px !important;
    font-weight: 900 !important;
    color: #fae35a !important;
    line-height: 1.1 !important;
    margin-bottom: 2px;
}

.sub-lbl {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #d1c7b7 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.royal-testimonial-box {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.royal-testi-stars {
    color: #fae35a;
    font-size: 15px;
    margin-bottom: 12px;
}

.royal-testi-quote {
    font-size: 14px !important;
    line-height: 1.65 !important;
    color: #e2d5c3 !important;
    font-style: italic !important;
    margin-bottom: 16px !important;
    flex: 1;
}

.royal-testi-author {
    border-top: 1px dashed #4a3418;
    padding-top: 12px;
}

.royal-testi-name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #fae35a !important;
}

.royal-testi-sub {
    font-size: 12.5px !important;
    color: #9c8c7a !important;
}

/* Dải CTA Ribbon cuối trang chủ */
.royal-home-cta-ribbon {
    background: linear-gradient(135deg, #24170b 0%, #150d05 100%) !important;
    border-top: 1px solid #5a411f !important;
    border-bottom: 1px solid #5a411f !important;
    padding: 24px 0 !important;
    box-shadow: inset 0 1px 0 rgba(250, 227, 90, 0.12), 0 4px 20px rgba(0,0,0,0.5) !important;
}

.royal-ribbon-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.ribbon-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #fae35a !important;
    text-transform: uppercase !important;
    margin-bottom: 4px !important;
}

.ribbon-sub {
    font-size: 13.5px !important;
    color: #d1c7b7 !important;
}

.royal-ribbon-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.royal-ribbon-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px !important;
    border-radius: 6px;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.royal-ribbon-call {
    background: linear-gradient(135deg, #d32f2f 0%, #a81c1c 100%) !important;
    color: #ffffff !important;
    border: 1px solid #e53935 !important;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4) !important;
}

.royal-ribbon-call:hover {
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.6) !important;
}

.royal-ribbon-zalo {
    background: linear-gradient(135deg, #fae35a 0%, #dfb141 100%) !important;
    color: #1a1107 !important;
    border: 1px solid #fae35a !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
}

.royal-ribbon-zalo:hover {
    background: linear-gradient(135deg, #fff078 0%, #edbe4e 100%) !important;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6) !important;
}

/* --------------------------------------------------------------------------
   B. SIDEBAR & MENU TYPOGRAPHY
   -------------------------------------------------------------------------- */
.sidebar .block_title, .sidebar h3, #sidebar_left h3, .col-sm-6 .block_title {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #fae35a !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.sidebar ul li a, #sidebar_left ul li a, .category_sub ul li a {
    font-size: 14.5px !important;
    color: #e5e7eb !important;
    line-height: 1.6 !important;
}

.sidebar ul li a:hover, #sidebar_left ul li a:hover, .category_sub ul li a:hover {
    color: #fae35a !important;
}

/* --------------------------------------------------------------------------
   C. RESPONSIVE BREAKPOINTS CHO FONT & LƯỚI
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .royal-about-split {
        grid-template-columns: 1fr;
    }
    .royal-pillars-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .royal-showcase-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .royal-trust-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    html, body {
        font-size: 14px !important;
    }
    h1, .h1 { font-size: 22px !important; }
    h2, .h2 { font-size: 19px !important; }
    h3, .h3 { font-size: 16.5px !important; }
    .royal-sec-title { font-size: 20px !important; }
    .royal-about-h2 { font-size: 22px !important; }
    .royal-showcase-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .royal-showcase-thumb img {
        height: 160px !important;
    }
    .royal-showcase-name {
        font-size: 13.5px !important;
        min-height: 38px !important;
    }
    .royal-ribbon-inner {
        flex-direction: column;
        text-align: center;
    }
    .royal-ribbon-actions {
        justify-content: center;
        width: 100%;
    }
    .royal-ribbon-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   11. ROYAL LUXURY COLOR HARMONIZATION (TRIỆT TIÊU TOÀN BỘ CHỮ TRẮNG CHÓI / LINK XANH)
   Đồng bộ 100% sang tone Vàng Kim (#fae35a) & Kem Vàng Đồng (#e2d5c3), Nền Nâu Trầm (#1a1107)
   ========================================================================== */

/* 1. Triệt tiêu toàn bộ link màu xanh mặc định của Bootstrap */
a, a:focus, a:visited,
.royal-detail-wrapper a,
.royal-review-section a,
.royal-footer-sec a,
.sidebar a,
#category a,
.page a {
    color: #dfb141 !important;
    text-decoration: none !important;
}

a:hover, a:active,
.royal-detail-wrapper a:hover,
.royal-review-section a:hover,
.royal-footer-sec a:hover,
.sidebar a:hover,
#category a:hover,
.page a:hover {
    color: #fae35a !important;
    text-decoration: none !important;
}

/* 2. Triệt tiêu chữ trắng chói trên trang chi tiết sản phẩm */
.royal-detail-wrapper,
.royal-detail-wrapper p,
.royal-detail-wrapper span,
.royal-detail-wrapper div,
.royal-detail-wrapper td,
.royal-detail-wrapper th,
.royal-detail-wrapper li {
    color: #e2d5c3;
}

.royal-prod-lead {
    color: #dfb141 !important;
}

.royal-spec-side-card {
    background: #23160a !important;
    border: 1px solid #5a411f !important;
}

.royal-spec-side-card .card-head {
    background: #2e1d0d !important;
    color: #fae35a !important;
    border-bottom: 1px solid #5a411f !important;
}

.royal-spec-side-table td.label-col {
    color: #b8a894 !important;
}

.royal-spec-side-table td.val-col {
    color: #fae35a !important;
    font-weight: 700 !important;
}

.royal-tab-body {
    background: #23160a !important;
    border: 1px solid #4a3418 !important;
    color: #e2d5c3 !important;
}

.royal-tab-body p,
.royal-tab-body li {
    color: #e2d5c3 !important;
}

.royal-tab-body strong,
.royal-tab-body b {
    color: #fae35a !important;
}

/* 3. Đánh giá khách hàng: Chuyển màu chữ & link bình luận sang tone vàng đồng */
.royal-review-section {
    background: #1e1307 !important;
    border: 1px solid #4a3418 !important;
    border-radius: 8px !important;
    padding: 24px 20px !important;
    color: #e2d5c3 !important;
}

.royal-review-summary {
    background: #261a0e !important;
    border: 1px solid #4a3418 !important;
    border-radius: 6px !important;
}

.royal-review-item {
    border-bottom: 1px solid #382717 !important;
}

.royal-review-text {
    color: #e2d5c3 !important;
}

.royal-author-name {
    color: #fae35a !important;
}

.royal-author-loc,
.royal-review-date {
    color: #b8a894 !important;
}

.royal-admin-reply-box {
    background: #170f06 !important;
    border-left: 3px solid #dfb141 !important;
}

.royal-admin-reply-title {
    color: #fae35a !important;
}

.royal-admin-reply-text {
    color: #dfb141 !important;
}

/* 4. Toàn bộ Form, Input, Select, Textarea: Dark Bronze & Gold (Không nền trắng / border xám) */
input, textarea, select, .form-control {
    background-color: #1a1107 !important;
    border: 1px solid #7d5e28 !important;
    color: #fae35a !important;
}

input:focus, textarea:focus, select:focus, .form-control:focus {
    border-color: #dfb141 !important;
    background-color: #23160a !important;
    box-shadow: 0 0 10px rgba(223, 177, 65, 0.4) !important;
    color: #fae35a !important;
}

/* 5. Triệt tiêu nền trắng trong Modal, Bảng, Khối phụ */
.modal-content {
    background-color: #261a0e !important;
    border: 2px solid #dfb141 !important;
    color: #e2d5c3 !important;
}

.table, table {
    color: #e2d5c3 !important;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    border-color: #382717 !important;
    color: #e2d5c3 !important;
    background-color: transparent !important;
}

/* 6. Footer: Đồng bộ chữ sang màu đồng ấm và vàng kim */
.royal-footer-sec {
    background: #110903 !important;
    color: #c9bcae !important;
}

.royal-footer-sec p,
.royal-footer-sec span,
.royal-footer-sec div {
    color: #c9bcae !important;
}

.royal-footer-sec strong,
.royal-footer-sec b,
.royal-footer-sec h4 {
    color: #fae35a !important;
}

/* ==========================================================================
   7. TOÀN BỘ BUTTON: ĐẶC TRỊ MÀU CHỮ CHUẨN RÕ NÉT - KHÔNG BỊ GHI ĐÈ BỞI LINK
   ========================================================================== */

/* Nút Vàng Hoàng Gia (Gold Gradient): Chữ Nâu Đen Sang Trọng #1a1005 Đậm Rõ */
.royal-btn-gold,
a.royal-btn-gold,
a.royal-btn-gold:visited,
.s_content a.royal-btn-gold,
.item a.royal-btn-gold,
#category a.royal-btn-gold,
.royal-cta-consult-btn,
a.royal-cta-consult-btn,
a.royal-cta-consult-btn:visited,
.royal-price-action-right a.royal-cta-consult-btn,
.royal-ribbon-zalo,
a.royal-ribbon-zalo {
    background: linear-gradient(135deg, #fae35a 0%, #dfb141 100%) !important;
    color: #1a1005 !important;
    font-weight: 800 !important;
    text-shadow: none !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(223, 177, 65, 0.4) !important;
    text-decoration: none !important;
}

.royal-btn-gold:hover,
a.royal-btn-gold:hover,
.s_content a.royal-btn-gold:hover,
.item a.royal-btn-gold:hover,
#category a.royal-btn-gold:hover,
.royal-cta-consult-btn:hover,
a.royal-cta-consult-btn:hover,
.royal-price-action-right a.royal-cta-consult-btn:hover,
.royal-ribbon-zalo:hover,
a.royal-ribbon-zalo:hover {
    background: linear-gradient(135deg, #fff282 0%, #e6be44 100%) !important;
    color: #000000 !important;
    text-shadow: none !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(223, 177, 65, 0.6) !important;
}

/* Nút Gọi Hotline / Màu Đỏ: Chữ Trắng Tinh Khiết #ffffff */
.royal-btn-phone,
a.royal-btn-phone,
a.royal-btn-phone:visited,
.s_content a.royal-btn-phone,
.item a.royal-btn-phone,
#category a.royal-btn-phone,
.royal-ribbon-call,
a.royal-ribbon-call,
.royal-modal-call-btn,
a.royal-modal-call-btn {
    background: linear-gradient(135deg, #d32f2f 0%, #a81c1c 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(211, 47, 47, 0.4) !important;
    text-decoration: none !important;
}

.royal-btn-phone:hover,
a.royal-btn-phone:hover,
.s_content a.royal-btn-phone:hover,
.item a.royal-btn-phone:hover,
#category a.royal-btn-phone:hover,
.royal-ribbon-call:hover,
a.royal-ribbon-call:hover,
.royal-modal-call-btn:hover,
a.royal-modal-call-btn:hover {
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%) !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.6) !important;
}

/* Nút Zalo Xanh: Chữ Trắng #ffffff */
.royal-btn-zalo,
a.royal-btn-zalo,
a.royal-btn-zalo:visited,
.royal-modal-zalo-btn,
a.royal-modal-zalo-btn {
    background: #0068ff !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(0, 104, 255, 0.4) !important;
    text-decoration: none !important;
}

.royal-btn-zalo:hover,
a.royal-btn-zalo:hover,
.royal-modal-zalo-btn:hover,
a.royal-modal-zalo-btn:hover {
    background: #0056d6 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 104, 255, 0.6) !important;
}

/* Nút Yêu Cầu Báo Giá (Zalo / Outline Dark Vàng) */
.royal-cta-quote-btn,
a.royal-cta-quote-btn,
a.royal-cta-quote-btn:visited,
.royal-price-action-right a.royal-cta-quote-btn {
    background: #191007 !important;
    border: 1.5px solid #dfb141 !important;
    color: #fae35a !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

.royal-cta-quote-btn:hover,
a.royal-cta-quote-btn:hover,
.royal-price-action-right a.royal-cta-quote-btn:hover {
    background: #dfb141 !important;
    border-color: #dfb141 !important;
    color: #1a1005 !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 15px rgba(223, 177, 65, 0.5) !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   8. MOBILE RESPONSIVENESS & ZERO HORIZONTAL OVERFLOW PROTECTION
   ========================================================================== */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
}

.royal-spec-side-card {
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.royal-spec-side-table {
    width: 100% !important;
    table-layout: fixed !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    box-sizing: border-box !important;
}

.royal-spec-side-table td.label-col {
    width: 38% !important;
    word-break: break-word !important;
    vertical-align: middle !important;
}

.royal-spec-side-table td.val-col {
    width: 62% !important;
    word-break: break-word !important;
    vertical-align: middle !important;
}

.royal-rel-card .card-btn {
    color: #dfb141 !important;
}

.royal-rel-card:hover .card-btn {
    color: #1a1107 !important;
}







