/*
Theme Name: Golden Bee
Theme URI: https://goldenbeeltd.vn
Description: Golden Bee
Author: golden bee
Author URI: https://goldenbeeltd.vn
Version: 1.0.0
Template: genesis
Text Domain: goldenbee
/* ============================================
   Alpine.js - Hide elements until initialized
   ============================================ */
[x-cloak] {
    display: none !important;
}

.prose ul.pl-0 {
    padding-left: 0;
}

/* ============================================
   FAQ Accordion Styles
   ============================================ */
.schema-faq {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 0;
}

.schema-faq-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.schema-faq-section:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #1882ec;
}

.schema-faq-section.active {
    border-color: #1882ec;
    box-shadow: 0 4px 16px rgba(251, 192, 45, 0.15);
}

.schema-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1A1A1B;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    text-align: left;
    position: relative;
}

.schema-faq-question::after {
    content: '+';
    font-size: 1.75rem;
    font-weight: 300;
    color: #1882ec;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
    line-height: 1;
}

.schema-faq-section.active .schema-faq-question::after {
    transform: rotate(45deg);
}

.schema-faq-section:hover .schema-faq-question {
    color: #1882ec;
}

.schema-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    padding: 0 1.5rem;
    color: #4B5563;
    line-height: 1.75;
    font-size: 1rem;
}

.schema-faq-section.active .schema-faq-answer {
    max-height: 2000px;
    opacity: 1;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.schema-faq-answer strong {
    color: #1A1A1B;
    font-weight: 600;
}

.schema-faq-answer br {
    display: block;
    content: "";
    margin-top: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .schema-faq-question {
        padding: 1rem;
        font-size: 1rem;
    }

    .schema-faq-answer {
        font-size: 0.9375rem;
    }

    .schema-faq-section.active .schema-faq-answer {
        padding: 0 1rem 1rem 1rem;
    }
}

/* ============================================
   Desktop Menu Styles
   ============================================ */
.desktop-menu>li {
    position: relative;
}

.desktop-menu a {
    display: block;
    padding: 0.5rem 0;
    color: #1A1A1B;
    /* Black text for navigation */
    transition: color 0.2s;
}

.desktop-menu a:hover {
    color: #1882ec;
    /* Gold on hover */
}

.desktop-menu>li.current-menu-item>a {
    color: #1882ec;
    /* Gold for active item */
}

/* Submenu styling */
.desktop-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 50;
    margin-top: 0.5rem;
}

.desktop-menu>li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.desktop-menu .sub-menu li {
    display: block;
    position: relative;
}

.desktop-menu .sub-menu a {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #1A1A1B;
}

.desktop-menu .sub-menu a:hover {
    background: rgba(251, 192, 45, 0.1);
    /* Light gold background */
    color: #1882ec;
}

.desktop-menu .sub-menu li.current-menu-item>a {
    background: rgba(251, 192, 45, 0.15);
    color: #1882ec;
}

/* Nested submenu (level 3+) */
.desktop-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 0.5rem;
}

.desktop-menu .sub-menu li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown indicator */
.desktop-menu .menu-item-has-children>a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.desktop-menu .menu-item-has-children>a::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 4px solid currentColor;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    flex-shrink: 0;
}

.desktop-menu .sub-menu .menu-item-has-children>a::after {
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid currentColor;
    border-right: none;
}

/* ============================================
   Post Password Form Styles (Tailwind Style)
   ============================================ */
.post-password-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem 1.5rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.post-password-form:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #1882ec;
}

.post-password-form p {
    margin: 0 0 1rem 0;
    line-height: 1.5;
    color: #4B5563;
}

.post-password-form p:first-of-type {
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #6B7280;
}

.post-password-form label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: #1A1A1B;
    margin-bottom: 1rem;
    width: 100%;
}

.post-password-form label for {
    font-weight: 500;
    color: #1A1A1B;
}

.post-password-form input[type="password"] {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #1A1A1B;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.post-password-form input[type="password"]:focus {
    outline: none;
    border-color: #1882ec;
    box-shadow: 0 0 0 3px rgba(251, 192, 45, 0.1);
}

.post-password-form input[type="password"]:hover {
    border-color: #9ca3af;
}

.post-password-form input[type="submit"] {
    padding: 0.75rem 1.5rem;
    margin-left: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: #1882ec;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(251, 192, 45, 0.25);
    min-width: 120px;
    text-align: center;
}

.post-password-form input[type="submit"]:hover {
    background: #e8af29;
    box-shadow: 0 4px 8px rgba(251, 192, 45, 0.35);
    transform: translateY(-1px);
}

.post-password-form input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(251, 192, 45, 0.25);
}

.post-password-form input[type="submit"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(251, 192, 45, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .post-password-form {
        max-width: 100%;
        margin: 1.5rem auto;
        padding: 1.5rem 1rem;
    }

    .post-password-form label {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .post-password-form input[type="password"] {
        width: 100%;
    }

    .post-password-form input[type="submit"] {
        width: 100%;
        margin-left: 0;
        margin-top: 0.75rem;
    }
}

.w-full.h-full.object-cover{
    height: 100%;
}
/* Smooth image transitions */
.tour-main-image,
#lightboxImage {
    transition: opacity 0.15s ease-in-out;
}

/* Hide scrollbar for thumbnail strip */
#lightboxThumbs::-webkit-scrollbar {
    display: none;
}

#lightboxThumbs {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Gallery button hover effects */
.gallery-nav-btn:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.gallery-prev:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-next:active {
    transform: translateY(-50%) scale(0.95);
}

/* ============================================
   Article Content Styles for Pages & Posts
   ============================================ */

/*
 * Áp dụng cho:
 *   .entry-content   — bài viết (Single.php)
 *   .woocommerce-Tabs-panel — tab mô tả WC chuẩn
 * (Dùng !important ở những nơi cần override Genesis reset)
 */

.entry-content,
article .prose,
.page-content,
.woocommerce-Tabs-panel {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.875;
    color: #3f3f46;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ── First child margin reset ─────────────────────── */
.entry-content > :first-child,
article .prose > :first-child,
.page-content > :first-child,
.woocommerce-Tabs-panel > :first-child {
    margin-top: 0 !important;
}

/* ── Headings: shared ─────────────────────────────── */
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6,
article .prose h1, article .prose h2, article .prose h3,
article .prose h4, article .prose h5, article .prose h6,
.page-content h1, .page-content h2, .page-content h3,
.page-content h4, .page-content h5, .page-content h6,
.woocommerce-Tabs-panel h1, .woocommerce-Tabs-panel h2,
.woocommerce-Tabs-panel h3, .woocommerce-Tabs-panel h4,
.woocommerce-Tabs-panel h5, .woocommerce-Tabs-panel h6 {
    font-weight: 700;
    line-height: 1.3;
    color: #18181b;
    margin-top: 1.75em;
    margin-bottom: 0.6em;
    scroll-margin-top: 5rem;
}

/* h1 */
.entry-content h1, article .prose h1,
.page-content h1, .woocommerce-Tabs-panel h1 {
    font-size: 1.875rem;
}

/* h2 — viền trái + gạch dưới nhạt */
.entry-content h2, article .prose h2,
.page-content h2, .woocommerce-Tabs-panel h2 {
    font-size: 1.5rem;
    padding-left: 0.85rem;
    padding-bottom: 0.4em;
    border-left: 4px solid #883208;
    border-bottom: 2px solid #f1e8e2;
    color: #18181b;
}

/* Xóa pseudo-element h2::after cũ (từ template gốc) */
.entry-content h2::after,
article .prose h2::after,
.page-content h2::after,
.woocommerce-Tabs-panel h2::after {
    display: none !important;
}

/* h3 — màu brand, viền trái nhẹ */
.entry-content h3, article .prose h3,
.page-content h3, .woocommerce-Tabs-panel h3 {
    font-size: 1.25rem;
    color: #883208;
    padding-left: 0.65rem;
    border-left: 3px solid #d4ab8e;
}

/* h4 */
.entry-content h4, article .prose h4,
.page-content h4, .woocommerce-Tabs-panel h4 {
    font-size: 1.075rem;
    color: #3f3f46;
}

/* h5 */
.entry-content h5, article .prose h5,
.page-content h5, .woocommerce-Tabs-panel h5 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #71717a;
}

/* h6 */
.entry-content h6, article .prose h6,
.page-content h6, .woocommerce-Tabs-panel h6 {
    font-size: 0.875rem;
    color: #a1a1aa;
}

/* ── Paragraphs ───────────────────────────────────── */
.entry-content p, article .prose p,
.page-content p, .woocommerce-Tabs-panel p {
    margin-top: 0;
    margin-bottom: 1.35em;
    line-height: 1.875;
}

/* First paragraph slightly larger */
.entry-content > p:first-of-type,
article .prose > p:first-of-type,
.page-content > p:first-of-type {
    font-size: 1.065rem;
    color: #27272a;
}

/* ── Unordered list ───────────────────────────────── */
.entry-content ul, article .prose ul,
.page-content ul, .woocommerce-Tabs-panel ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.35em;
    margin-top: 0.5em;
}

.entry-content ul li, article .prose ul li,
.page-content ul li, .woocommerce-Tabs-panel ul li {
    position: relative;
    padding-left: 1.65em;
    margin-bottom: 0.55em;
    line-height: 1.8;
}

.entry-content ul li::before,
article .prose ul li::before,
.page-content ul li::before,
.woocommerce-Tabs-panel ul li::before {
    content: '';
    position: absolute;
    left: 0.15em;
    top: 0.58em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #883208;
}

/* Nested ul — viền rỗng */
.entry-content ul ul li::before,
article .prose ul ul li::before,
.page-content ul ul li::before,
.woocommerce-Tabs-panel ul ul li::before {
    background-color: transparent;
    border: 2px solid #883208;
    top: 0.62em;
}

/* Triple-nested — gạch ngang */
.entry-content ul ul ul li::before,
article .prose ul ul ul li::before,
.page-content ul ul ul li::before,
.woocommerce-Tabs-panel ul ul ul li::before {
    width: 8px;
    height: 2px;
    border-radius: 1px;
    background-color: #883208;
    border: none;
    top: 0.8em;
}

/* ── Ordered list ─────────────────────────────────── */
.entry-content ol, article .prose ol,
.page-content ol, .woocommerce-Tabs-panel ol {
    list-style: none;
    counter-reset: ol-counter;
    padding-left: 0;
    margin-bottom: 1.35em;
    margin-top: 0.5em;
}

.entry-content ol li, article .prose ol li,
.page-content ol li, .woocommerce-Tabs-panel ol li {
    counter-increment: ol-counter;
    position: relative;
    padding-left: 2.15em;
    margin-bottom: 0.55em;
    line-height: 1.8;
}

.entry-content ol li::before,
article .prose ol li::before,
.page-content ol li::before,
.woocommerce-Tabs-panel ol li::before {
    content: counter(ol-counter);
    position: absolute;
    left: 0;
    top: 0.14em;
    width: 1.45em;
    height: 1.45em;
    background-color: #883208;
    color: #fff;
    font-size: 0.72em;
    font-weight: 700;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ── Tables ───────────────────────────────────────── */
/* Loại trừ WooCommerce tables (.shop_table, .cart_totals table) */
.entry-content table:not(.shop_table):not(.woocommerce-checkout-review-order-table),
article .prose table:not(.shop_table),
.page-content table:not(.shop_table),
.woocommerce-Tabs-panel table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.75em 0;
    font-size: 0.9rem;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.entry-content table:not(.shop_table) thead, article .prose table:not(.shop_table) thead,
.page-content table:not(.shop_table) thead, .woocommerce-Tabs-panel table thead {
    background-color: #883208;
    color: #fff;
}

.entry-content table:not(.shop_table) th, article .prose table:not(.shop_table) th,
.page-content table:not(.shop_table) th, .woocommerce-Tabs-panel table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    border: none;
    background-color: #883208;
    color: #fff;
}

.entry-content table:not(.shop_table) td, article .prose table:not(.shop_table) td,
.page-content table:not(.shop_table) td, .woocommerce-Tabs-panel table td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #e4e4e7;
    vertical-align: top;
    line-height: 1.65;
    color: #52525b;
}

.entry-content table:not(.shop_table) tbody tr:nth-child(even),
article .prose table:not(.shop_table) tbody tr:nth-child(even),
.page-content table:not(.shop_table) tbody tr:nth-child(even),
.woocommerce-Tabs-panel table tbody tr:nth-child(even) {
    background-color: #faf6f3;
}

.entry-content table:not(.shop_table) tbody tr:hover,
article .prose table:not(.shop_table) tbody tr:hover,
.page-content table:not(.shop_table) tbody tr:hover,
.woocommerce-Tabs-panel table tbody tr:hover {
    background-color: #f5ede6;
    transition: background-color 0.15s;
}

.entry-content table:not(.shop_table) tr:last-child td,
article .prose table:not(.shop_table) tr:last-child td,
.page-content table:not(.shop_table) tr:last-child td,
.woocommerce-Tabs-panel tr:last-child td {
    border-bottom: none;
}

/* ── Images ───────────────────────────────────────── */
.entry-content img, article .prose img,
.page-content img, .woocommerce-Tabs-panel img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    display: block;
    margin: 1.75em auto;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.09);
}

/* WordPress alignment classes */
.entry-content .alignleft, article .prose .alignleft,
.page-content .alignleft, .woocommerce-Tabs-panel .alignleft {
    float: left;
    margin: 0.5em 1.5em 1em 0;
}

.entry-content .alignright, article .prose .alignright,
.page-content .alignright, .woocommerce-Tabs-panel .alignright {
    float: right;
    margin: 0.5em 0 1em 1.5em;
}

.entry-content .aligncenter, article .prose .aligncenter,
.page-content .aligncenter, .woocommerce-Tabs-panel .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.entry-content figure, article .prose figure,
.page-content figure, .woocommerce-Tabs-panel figure {
    margin: 1.75em 0;
}

.entry-content figcaption, article .prose figcaption,
.page-content figcaption, .woocommerce-Tabs-panel figcaption {
    text-align: center;
    font-size: 0.84rem;
    color: #71717a;
    margin-top: 0.45em;
    font-style: italic;
}

/* ── Blockquote ───────────────────────────────────── */
.entry-content blockquote, article .prose blockquote,
.page-content blockquote, .woocommerce-Tabs-panel blockquote {
    border-left: 4px solid #883208;
    padding: 1rem 1.25rem;
    margin: 1.75em 0;
    font-style: italic;
    color: #52525b;
    background-color: #faf6f3;
    border-radius: 0 0.625rem 0.625rem 0;
    font-size: 1.05em;
    line-height: 1.75;
}

.entry-content blockquote p, article .prose blockquote p,
.page-content blockquote p, .woocommerce-Tabs-panel blockquote p {
    margin-bottom: 0.5em;
}

.entry-content blockquote p:last-child, article .prose blockquote p:last-child,
.page-content blockquote p:last-child, .woocommerce-Tabs-panel blockquote p:last-child {
    margin-bottom: 0;
}

/* ── Links ────────────────────────────────────────── */
.entry-content a, article .prose a,
.page-content a, .woocommerce-Tabs-panel a {
    color: #883208;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(136, 50, 8, 0.35);
    text-underline-offset: 2px;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

/* ============================================
   WooCommerce Cart & Checkout — Toàn bộ style
   ============================================ */

/* ── Wrapper page ──────────────────────────────────── */
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content {
    font-size: 1rem;
    color: #3f3f46;
}

/* ── Cart layout: 2 cột trên desktop ───────────────── */
.woocommerce-cart .woocommerce {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.woocommerce-cart-form {
    margin-bottom: 2rem;
}

/* ── Cart table reset (không bị override bởi .entry-content table) ─ */
.shop_table,
.woocommerce-cart-form .shop_table {
    display: table !important;
    width: 100% !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    overflow: visible !important;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    background: #fff;
    margin-bottom: 0 !important;
    font-size: 0.9375rem;
    font-family: inherit;
}

/* ── Header ─────────────────────────────────────────── */
.woocommerce-cart-form .shop_table thead tr {
    background-color: #883208;
}

.woocommerce-cart-form .shop_table thead tr th {
    background-color: #883208 !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 0.9rem 1rem;
    text-align: left !important;
    border: none !important;
    white-space: nowrap;
}

.woocommerce-cart-form .shop_table thead tr th:first-child { border-radius: 1rem 0 0 0; }
.woocommerce-cart-form .shop_table thead tr th:last-child  { border-radius: 0 1rem 0 0; }

/* Column widths */
.woocommerce-cart-form .shop_table th.product-remove    { width: 52px; text-align: center !important; }
.woocommerce-cart-form .shop_table th.product-thumbnail { width: 96px; }
.woocommerce-cart-form .shop_table th.product-name      { }
.woocommerce-cart-form .shop_table th.product-price     { width: 120px; }
.woocommerce-cart-form .shop_table th.product-quantity  { width: 140px; }
.woocommerce-cart-form .shop_table th.product-subtotal  { width: 130px; text-align: right !important; }

/* ── Body cells ─────────────────────────────────────── */
.woocommerce-cart-form .shop_table tbody tr {
    border-bottom: 1px solid #f0ebe8;
    transition: background-color 0.15s;
}

.woocommerce-cart-form .shop_table tbody tr:hover {
    background-color: #faf6f3;
}

.woocommerce-cart-form .shop_table tbody td {
    padding: 1.1rem 1rem !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #f0ebe8 !important;
    color: #3f3f46;
    background: none !important;
}

.woocommerce-cart-form .shop_table tbody tr:last-child td {
    border-bottom: none !important;
}

/* ── Remove button ──────────────────────────────────── */
.woocommerce-cart-form .shop_table .product-remove {
    text-align: center;
}

.woocommerce-cart-form .shop_table .product-remove a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #fee2e2;
    color: #dc2626 !important;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none !important;
    line-height: 1;
    transition: all 0.15s;
}

.woocommerce-cart-form .shop_table .product-remove a:hover {
    background-color: #dc2626;
    color: #fff !important;
    transform: scale(1.1);
}

/* ── Thumbnail ──────────────────────────────────────── */
.woocommerce-cart-form .shop_table .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: block !important;
    margin: 0 !important;
}

/* ── Product name ───────────────────────────────────── */
.woocommerce-cart-form .shop_table .product-name a {
    font-weight: 600;
    color: #18181b;
    text-decoration: none !important;
    font-size: 0.95rem;
    line-height: 1.45;
    transition: color 0.15s;
    background: none !important;
}

.woocommerce-cart-form .shop_table .product-name a:hover {
    color: #883208;
}

.woocommerce-cart-form .shop_table .product-name .variation {
    font-size: 0.79rem;
    color: #71717a;
    margin-top: 0.2rem;
}

/* ── Price / Subtotal ───────────────────────────────── */
.woocommerce-cart-form .shop_table .product-price bdi,
.woocommerce-cart-form .shop_table .product-subtotal bdi {
    font-weight: 700;
    color: #883208;
}

.woocommerce-cart-form .shop_table .product-subtotal {
    text-align: right;
    font-size: 1rem;
}

.woocommerce-cart-form .shop_table .product-price del bdi,
.woocommerce-cart-form .shop_table .product-subtotal del bdi {
    color: #a1a1aa;
    font-size: 0.8rem;
    font-weight: 400;
}

/* ── Quantity input ─────────────────────────────────── */
.woocommerce-cart-form .shop_table .product-quantity .qty {
    width: 70px;
    padding: 0.4rem 0.6rem;
    border: 2px solid #e4e4e7 !important;
    border-radius: 0.5rem !important;
    font-size: 0.9rem;
    font-family: inherit;
    text-align: center;
    color: #18181b;
    font-weight: 600;
    box-shadow: none !important;
    -moz-appearance: textfield;
    transition: border-color 0.15s;
}

.woocommerce-cart-form .shop_table .product-quantity .qty:focus {
    outline: none;
    border-color: #883208 !important;
    box-shadow: 0 0 0 3px rgba(136,50,8,0.1) !important;
}

.woocommerce-cart-form .shop_table .product-quantity .qty::-webkit-outer-spin-button,
.woocommerce-cart-form .shop_table .product-quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ── Actions row ────────────────────────────────────── */
.woocommerce-cart-form .shop_table .actions td {
    background: #faf6f3 !important;
    border-top: 2px solid #f0ebe8 !important;
    border-bottom: none !important;
    padding: 1rem 1rem !important;
    border-radius: 0 0 1rem 1rem;
}

.woocommerce-cart-form .shop_table .actions .coupon {
    display: inline-flex;
    gap: 0;
    align-items: center;
    margin-right: 1rem;
}

.woocommerce-cart-form .shop_table .actions .coupon input#coupon_code {
    padding: 0.5rem 1rem;
    border: 2px solid #e4e4e7;
    border-right: none;
    border-radius: 0.5rem 0 0 0.5rem;
    font-size: 0.875rem;
    font-family: inherit;
    color: #18181b;
    min-width: 180px;
    transition: border-color 0.15s;
    outline: none;
    box-shadow: none;
}

.woocommerce-cart-form .shop_table .actions .coupon input#coupon_code:focus {
    border-color: #883208;
}

.woocommerce-cart-form .shop_table .actions .coupon .button {
    padding: 0.5rem 1.1rem;
    background-color: #883208;
    color: #fff;
    border: none;
    border-radius: 0 0.5rem 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s;
    line-height: 1.6;
}

.woocommerce-cart-form .shop_table .actions .coupon .button:hover {
    background-color: #6b2806;
}

.woocommerce-cart-form .shop_table .actions button[name="update_cart"] {
    float: right;
    padding: 0.5rem 1.25rem;
    background: transparent;
    color: #883208;
    border: 2px solid #883208;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
    line-height: 1.6;
}

.woocommerce-cart-form .shop_table .actions button[name="update_cart"]:hover {
    background-color: #883208;
    color: #fff;
}

.woocommerce-cart-form .shop_table .actions td::after {
    content: '';
    display: table;
    clear: both;
}

/* ── Cart collaterals (sidebar tổng) ────────────────── */
.cart-collaterals {
    margin-top: 1.5rem;
}

/* ── Cart totals box ────────────────────────────────── */
.cart_totals {
    background: #fff;
    border: 1px solid #f0ebe8;
    border-radius: 1rem;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.cart_totals > h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #18181b;
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1e8e2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cart_totals .shop_table {
    display: table !important;
    width: 100% !important;
    border-collapse: collapse !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: none !important;
    font-size: 0.9rem;
}

.cart_totals .shop_table tr {
    border-bottom: 1px solid #f4f4f5;
}

.cart_totals .shop_table th {
    padding: 0.65rem 0 !important;
    font-weight: 600 !important;
    color: #52525b !important;
    text-align: left !important;
    width: 45%;
    vertical-align: top;
    border: none !important;
    background: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 0.9rem !important;
}

.cart_totals .shop_table td {
    padding: 0.65rem 0 !important;
    color: #18181b !important;
    text-align: right !important;
    border: none !important;
    font-weight: 500;
    background: none !important;
}

/* Dòng tổng cộng */
.cart_totals .shop_table .order-total th,
.cart_totals .shop_table .order-total td {
    padding-top: 1rem !important;
    border-top: 2px solid #f1e8e2 !important;
}

.cart_totals .shop_table .order-total td .woocommerce-Price-amount {
    font-size: 1.3rem;
    font-weight: 800;
    color: #883208;
}

/* ── Checkout button ────────────────────────────────── */
.wc-proceed-to-checkout {
    margin-top: 1.5rem;
}

.wc-proceed-to-checkout .checkout-button,
.wc-proceed-to-checkout a.checkout-button {
    display: block !important;
    width: 100%;
    padding: 0.95rem 1.5rem;
    background-color: #883208;
    color: #fff !important;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: 0 3px 10px rgba(136,50,8,0.3);
    letter-spacing: 0.01em;
    transition: background-color 0.15s, box-shadow 0.15s, transform 0.1s;
}

.wc-proceed-to-checkout .checkout-button:hover,
.wc-proceed-to-checkout a.checkout-button:hover {
    background-color: #6b2806;
    box-shadow: 0 5px 16px rgba(136,50,8,0.35);
    transform: translateY(-1px);
    color: #fff !important;
}

/* ── Empty cart ─────────────────────────────────────── */
.woocommerce-cart .cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    font-size: 1.1rem;
    color: #71717a;
}

.woocommerce-cart .return-to-shop {
    text-align: center;
    margin-top: 1rem;
}

.woocommerce-cart .return-to-shop .button,
.woocommerce-cart .return-to-shop a.button {
    display: inline-block;
    padding: 0.7rem 1.75rem;
    background-color: #883208;
    color: #fff !important;
    border-radius: 0.625rem;
    font-weight: 600;
    text-decoration: none !important;
    font-size: 0.9rem;
    transition: background-color 0.15s;
}

.woocommerce-cart .return-to-shop .button:hover,
.woocommerce-cart .return-to-shop a.button:hover {
    background-color: #6b2806;
}

/* ── WooCommerce Notices ────────────────────────────── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error li {
    border-radius: 0.625rem !important;
    padding: 0.875rem 1.25rem !important;
    margin-bottom: 1.25rem !important;
    font-size: 0.9rem;
    border-top: none !important;
    border-left: 4px solid #883208 !important;
    background: #faf6f3 !important;
    color: #3f3f46 !important;
    list-style: none;
}

.woocommerce-error {
    padding: 0 !important;
    border: none !important;
    background: none !important;
    list-style: none !important;
}

.woocommerce-error li {
    border-left-color: #dc2626 !important;
    background: #fef2f2 !important;
    color: #991b1b !important;
}

.woocommerce-info {
    border-left-color: #0ea5e9 !important;
    background: #f0f9ff !important;
    color: #0c4a6e !important;
}

/* ── Mobile: card stack ─────────────────────────────── */
@media (max-width: 768px) {
    .woocommerce-cart-form .shop_table,
    .woocommerce-cart-form .shop_table thead,
    .woocommerce-cart-form .shop_table tbody,
    .woocommerce-cart-form .shop_table tfoot,
    .woocommerce-cart-form .shop_table tr,
    .woocommerce-cart-form .shop_table th,
    .woocommerce-cart-form .shop_table td {
        display: block !important;
        width: 100% !important;
    }

    .woocommerce-cart-form .shop_table thead { display: none !important; }

    .woocommerce-cart-form .shop_table tbody tr {
        position: relative;
        padding: 0.875rem 1rem;
        border: 1px solid #f0ebe8 !important;
        border-radius: 0.75rem;
        margin-bottom: 0.75rem;
        background: #fff !important;
        box-shadow: 0 1px 6px rgba(0,0,0,0.05);
    }

    .woocommerce-cart-form .shop_table tbody td {
        padding: 0.3rem 0.5rem !important;
        border-bottom: none !important;
        text-align: right;
    }

    .woocommerce-cart-form .shop_table tbody td::before {
        content: attr(data-title) ": ";
        float: left;
        font-weight: 600;
        color: #52525b;
        font-size: 0.8rem;
    }

    .woocommerce-cart-form .shop_table .product-remove {
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
    }

    .woocommerce-cart-form .shop_table .product-remove::before { display: none; }

    .woocommerce-cart-form .shop_table .product-thumbnail {
        text-align: left;
    }

    .woocommerce-cart-form .shop_table .product-thumbnail::before { display: none; }

    .woocommerce-cart-form .shop_table .product-thumbnail img {
        width: 64px;
        height: 64px;
    }

    .woocommerce-cart-form .shop_table .actions td { border-radius: 0.75rem; }

    .woocommerce-cart-form .shop_table .actions td::before { display: none; }

    .woocommerce-cart-form .shop_table .actions .coupon {
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .woocommerce-cart-form .shop_table .actions .coupon input#coupon_code {
        flex: 1;
        border-radius: 0.5rem;
        border-right: 2px solid #e4e4e7;
        min-width: 0;
    }

    .woocommerce-cart-form .shop_table .actions .coupon .button {
        border-radius: 0.5rem;
    }

    .woocommerce-cart-form .shop_table .actions button[name="update_cart"] {
        float: none;
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
}

.entry-content a:hover, article .prose a:hover,
.page-content a:hover, .woocommerce-Tabs-panel a:hover {
    color: #6b2806;
    text-decoration-color: #6b2806;
    background-color: rgba(136, 50, 8, 0.04);
}

/* ── Strong / Bold ────────────────────────────────── */
.entry-content strong, article .prose strong,
.page-content strong, .woocommerce-Tabs-panel strong,
.entry-content b, article .prose b,
.page-content b, .woocommerce-Tabs-panel b {
    font-weight: 700;
    color: #18181b;
}

/* ── Emphasis ─────────────────────────────────────── */
.entry-content em, article .prose em,
.page-content em, .woocommerce-Tabs-panel em,
.entry-content i, article .prose i,
.page-content i, .woocommerce-Tabs-panel i {
    font-style: italic;
    color: #52525b;
}

/* ── Horizontal Rule ──────────────────────────────── */
.entry-content hr, article .prose hr,
.page-content hr, .woocommerce-Tabs-panel hr {
    border: none;
    border-top: 2px solid #f1e8e2;
    margin: 2.5em 0;
}

/* ── Inline code ──────────────────────────────────── */
.entry-content code, article .prose code,
.page-content code, .woocommerce-Tabs-panel code {
    background-color: #f4f4f5;
    color: #883208;
    padding: 0.15em 0.45em;
    border-radius: 0.25rem;
    font-size: 0.875em;
    font-family: 'Space Grotesk', 'Courier New', monospace;
}

/* ── Code block ───────────────────────────────────── */
.entry-content pre, article .prose pre,
.page-content pre, .woocommerce-Tabs-panel pre {
    background-color: #18181b;
    color: #e4e4e7;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.7;
    margin: 1.75em 0;
    -webkit-overflow-scrolling: touch;
}

.entry-content pre code, article .prose pre code,
.page-content pre code, .woocommerce-Tabs-panel pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    font-size: inherit;
    border-radius: 0;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 768px) {
    .entry-content, article .prose,
    .page-content, .woocommerce-Tabs-panel {
        font-size: 1rem;
        line-height: 1.825;
    }

    .entry-content h2, article .prose h2,
    .page-content h2, .woocommerce-Tabs-panel h2 {
        font-size: 1.25rem;
        margin-top: 2rem;
        margin-bottom: 0.875rem;
    }

    .entry-content h3, article .prose h3,
    .page-content h3, .woocommerce-Tabs-panel h3 {
        font-size: 1.1rem;
        margin-top: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .entry-content h4, article .prose h4,
    .page-content h4, .woocommerce-Tabs-panel h4 {
        font-size: 1rem;
        margin-top: 1.5rem;
        margin-bottom: 0.65rem;
    }

    .entry-content th, .entry-content td,
    article .prose th, article .prose td,
    .page-content th, .page-content td,
    .woocommerce-Tabs-panel th, .woocommerce-Tabs-panel td {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   WooCommerce Block Cart — override hidden header
   ============================================ */

/* WooCommerce tự ẩn cột "SẢN PHẨM" trong block cart — hiện lại */
table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-product,
.wc-block-cart-items .wc-block-cart-items__header-product {
    visibility: visible !important;
}

/* Header block cart */
table.wc-block-cart-items thead th,
table.wc-block-cart-items .wc-block-cart-items__header th {
    background-color: #883208 !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 0.9rem 1rem !important;
    border: none !important;
    visibility: visible !important;
}

/* Body cells block cart */
table.wc-block-cart-items tbody td {
    padding: 1rem !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #f0ebe8 !important;
}

table.wc-block-cart-items tbody tr:hover {
    background-color: #faf6f3;
}