/* =========================================
   VibeWP - WordPress & AI Platform
   CSS Custom - Light Mode - Tông màu Nâu Cam
   ========================================= */

/* ---- CSS Variables (Light Mode) ---- */
:root {
    --primary: #C87941;
    --primary-dark: #7B3F00;
    --primary-light: #E8A060;
    --secondary: #8B4513;
    --accent: #B5621E;

    /* Light mode surfaces */
    --dark-bg: #FDF8F3;
    --dark-card: #FFFFFF;
    --dark-border: #E8D5C0;

    /* Light mode text */
    --text-light: #2D1A0A;
    --text-muted: #8A6E54;
    --white: #FFFFFF;

    --font-main: 'Be Vietnam Pro', sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 8px 32px rgba(200, 121, 65, 0.12);
    --shadow-hover: 0 16px 48px rgba(200, 121, 65, 0.22);
    --transition: all 0.3s ease;
    --section-pad: 80px 0;
}

/* ---- Base Reset ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f0e6da;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* ==============================
   TYPOGRAPHY
   ============================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-light);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 12px;
}

.section-title span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    margin: 16px auto 20px;
    border-radius: 2px;
}

/* ==============================
   BUTTONS
   ============================== */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white) !important;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-main);
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--white) !important;
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary-light) !important;
    border: 2px solid var(--primary);
    padding: 11px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-main);
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: var(--white) !important;
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(200, 121, 65, 0.1);
    color: var(--accent) !important;
    border: 1px solid rgba(200, 121, 65, 0.3);
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-ghost:hover {
    background: rgba(200, 121, 65, 0.25);
    color: var(--white) !important;
}

.btn-free {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-free:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white) !important;
}

/* ==============================
   BADGE / TAGS
   ============================== */
.badge-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

.badge-free {
    background: rgba(40, 200, 100, 0.15);
    color: #5dde8f;
    border: 1px solid rgba(40, 200, 100, 0.3);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

.badge-new {
    background: rgba(255, 80, 80, 0.15);
    color: #ff7a7a;
    border: 1px solid rgba(255, 80, 80, 0.3);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
}

.badge-ai {
    background: rgba(200, 121, 65, 0.15);
    color: var(--accent);
    border: 1px solid rgba(200, 121, 65, 0.3);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
}

/* ==============================
   NAVBAR
   ============================== */
#main-navbar {
    background: rgba(255, 252, 248, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(200, 121, 65, 0.18);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 16px rgba(200, 121, 65, 0.08);
}

#main-navbar.scrolled {
    background: rgba(255, 252, 248, 0.99);
    box-shadow: 0 4px 24px rgba(200, 121, 65, 0.15);
}

.navbar-brand img {
    height: 70px;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 10px !important;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary) !important;
    background: rgba(200, 121, 65, 0.1);
}

.navbar-toggler {
    border: 1px solid rgba(200, 121, 65, 0.4) !important;
    padding: 6px 12px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(139, 69, 19, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Đăng nhập - outline */
.nav-login {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 42px;
    color: var(--primary) !important;
    border: 1.5px solid var(--primary) !important;
    padding: 0 20px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    margin-left: 8px;
    transition: var(--transition);
}

.nav-login:hover {
    background: rgba(200, 121, 65, 0.08) !important;
    color: var(--secondary) !important;
    border-color: var(--secondary) !important;
}

.form-group-premium.form-group-premium-textarea .input-wrap i {
    top: 27px;
}

/* Đăng ký - filled */
.nav-register,
a.nav-link.nav-register,
.navbar-nav .nav-register {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    padding: 0 20px !important;
    border: 1.5px solid transparent !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    margin-left: 6px;
    transition: var(--transition);
}

.nav-register:hover,
a.nav-link.nav-register:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary)) !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    transform: translateY(-1px);
}

/* ==============================
   HERO SECTION
   ============================== */
#hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #FFF8F2;
    padding: 60px 0;
}

/* Dot pattern overlay */
.hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        radial-gradient(circle, rgba(139, 69, 19, 0.22) 1.5px, transparent 1.5px);
    background-size: 26px 26px;
    opacity: 1;
}

/* Glow orbs */
.hero-glow-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    animation: orb-float ease-in-out infinite;
}

.orb-1 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, #F5A55A 0%, #E07830 60%, transparent 100%);
    top: -120px;
    left: -80px;
    animation-duration: 8s;
    opacity: 0.35;
}

.orb-2 {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, #FFD09B 0%, #C87941 60%, transparent 100%);
    bottom: -80px;
    right: 10%;
    animation-duration: 10s;
    animation-delay: -3s;
    opacity: 0.28;
}

.orb-3 {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, #FFC48A 0%, #D4722B 80%, transparent 100%);
    top: 40%;
    left: 40%;
    animation-duration: 7s;
    animation-delay: -5s;
    opacity: 0.22;
}

@keyframes orb-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(12px, -18px) scale(1.04);
    }

    66% {
        transform: translate(-10px, 10px) scale(0.97);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 121, 65, 0.1);
    border: 1.5px solid rgba(200, 121, 65, 0.35);
    color: var(--secondary);
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

/* Hero title color for light mode */
.hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 18px;
    color: #1C0C02;
}

.hero-highlight {
    background: linear-gradient(135deg, #C87941 0%, #E8913A 50%, #D4722B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    color: #3D2010;
    font-weight: 700;
    -webkit-text-fill-color: #3D2010;
}

.hero-desc {
    font-size: 1.05rem;
    color: #6B4E35;
    margin-bottom: 32px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 28px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.9rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), #D4722B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 2px;
}

/* ==============================
   HERO ICON GRID (right visual)
   ============================== */
.hero-visual {
    position: relative;
    z-index: 2;
    align-items: center;
    justify-content: center;
}

.hero-icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    padding: 12px;
    animation: float-hero 5s ease-in-out infinite;
    max-width: 540px;
    margin: 0 auto;
}

@keyframes float-hero {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hig-card {
    background: #FFFFFF;
    border: 1.5px solid #EDD9C8;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text-muted);
    box-shadow: 0 4px 20px rgba(200, 121, 65, 0.1);
    transition: var(--transition);
    cursor: default;
}

.hig-card i {
    color: var(--primary);
    transition: var(--transition);
}

.hig-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(200, 121, 65, 0.2);
    transform: translateY(-4px);
    color: var(--secondary);
}

.hig-card:hover i {
    color: var(--secondary);
}

/* sizes */
.hig-card--lg {
    padding: 48px 24px;
    font-size: 1.05rem;
}

.hig-card--lg i {
    font-size: 3.2rem;
}

.hig-card--md {
    padding: 38px 24px;
    font-size: 0.95rem;
}

.hig-card--md i {
    font-size: 2.6rem;
}

.hig-card--sm {
    padding: 34px 20px;
    font-size: 0.9rem;
}

.hig-card--sm i {
    font-size: 2rem;
}

/* ==============================
   FEATURES BAR
   ============================== */
#features-bar {
    background: linear-gradient(135deg, #FFF4EB, #FDE8D4);
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
    padding: 28px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.feature-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* ==============================
   SECTION BASE
   ============================== */
section {
    padding: var(--section-pad);
}

#courses-section {
    background: #FDF8F3;
}

#products-section {
    background: #FFFFFF;
}

#knowledge-section {
    background: #FDF8F3;
}

#blog-section {
    background: #FFFFFF;
}

#cta-section {
    background: #FDF8F3;
}

/* ==============================
   COURSES SECTION
   ============================== */
.course-card {
    background: #FFFFFF;
    border: 1px solid #EDD9C8;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(200, 121, 65, 0.07);
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(200, 121, 65, 0.5);
}

.course-img {
    position: relative;
    overflow: hidden;
}

.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-img img {
    transform: scale(1.05);
}

.course-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 21, 0, 0.8) 0%, transparent 60%);
}

.course-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 56px;
    height: 56px;
    background: rgba(200, 121, 65, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.course-card:hover .course-play-btn {
    transform: translate(-50%, -50%) scale(1);
}

.course-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.course-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-meta i {
    color: var(--primary);
}

.course-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-title:hover a,
.product-title:hover a,
.course-title:hover a {
    color: var(--secondary) !important;
}

.course-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #EDD9C8;
}

.course-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--secondary);
}

.course-price .original {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
    display: block;
}

.stars {
    color: #FFD700;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* ==============================
   PRODUCTS SECTION
   ============================== */
.products-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-btn {
    background: rgba(200, 121, 65, 0.08);
    border: 1px solid rgba(200, 121, 65, 0.25);
    color: var(--text-muted);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
    text-decoration: none;
    display: inline-block;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.product-card {
    background: #FFFFFF;
    border: 1px solid #EDD9C8;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(200, 121, 65, 0.07);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(200, 121, 65, 0.5);
}

.product-img {
    position: relative;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-type-badge {
    position: absolute;
    top: 12px;
    right: 12px;
}

.product-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex: 1;
    line-height: 1.6;
}

.product-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.product-tag {
    background: rgba(200, 121, 65, 0.1);
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 4px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #EDD9C8;
    gap: 8px;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--secondary);
}

.product-price.free-price {
    color: #5dde8f;
}

.product-actions {
    display: flex;
    gap: 6px;
}

/* WooCommerce Price Styling — Old vs New */
.product-price del,
.product-detail-price del,
.product-footer del,
.course-price del {
    color: var(--text-muted);
    font-size: 0.85em;
    font-weight: 400;
    text-decoration: line-through;
    opacity: 0.7;
    margin-right: 4px;
}

.product-price ins,
.product-detail-price ins,
.product-footer ins,
.course-price ins {
    color: var(--secondary);
    font-weight: 800;
    text-decoration: none;
}

.product-price del .woocommerce-Price-amount,
.product-detail-price del .woocommerce-Price-amount {
    color: inherit;
}

.product-price ins .woocommerce-Price-amount,
.product-detail-price ins .woocommerce-Price-amount {
    color: inherit;
}

/* Product Detail Page — Price Block */
.product-detail-price {
    padding: 16px;
    background: linear-gradient(135deg, #FFF8F2, #FDF1E7);
    border: 1px solid rgba(200, 121, 65, 0.2);
    border-radius: 12px;
}

.product-detail-price del {
    font-size: 1rem;
    display: inline;
}

.product-detail-price ins {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}

.product-detail-price .woocommerce-Price-currencySymbol {
    font-size: 0.85em;
}

/* Card price — ensure old/new differentiation */
.product-footer .product-price del {
    font-size: 0.8rem;
}

.product-footer .product-price ins {
    font-size: 1.1rem;
    color: var(--secondary);
}

/* Product Short Description — sidebar */
.product-short-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.product-short-desc ul,
.product-short-desc ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-short-desc li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.product-short-desc li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    color: #10b981;
    font-size: 0.85rem;
}

.product-short-desc p {
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.product-short-desc p:last-child {
    margin-bottom: 0;
}

/* ==============================
   KNOWLEDGE SECTION
   ============================== */
.knowledge-card {
    background: #FFFFFF;
    border: 1px solid #EDD9C8;
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(200, 121, 65, 0.06);
}

.knowledge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.knowledge-card:hover::before {
    transform: scaleX(1);
}

.knowledge-card:hover {
    border-color: rgba(200, 121, 65, 0.35);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.knowledge-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(200, 121, 65, 0.15), rgba(139, 69, 19, 0.15));
    border: 1px solid rgba(200, 121, 65, 0.25);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent);
    margin: 0 auto 20px;
    transition: var(--transition);
}

.knowledge-card:hover .knowledge-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
}

.knowledge-card h4,
.knowledge-card h5,
.knowledge-card .footer-heading {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-light) !important;
}

.knowledge-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ==============================
   AI PRODUCTS PRICING
   ============================== */
#ai-products-section {
    padding: var(--section-pad);
    background: #1a0e05;
    /* Deep rich brown */
    background-image:
        radial-gradient(circle at 10% 20%, rgba(200, 121, 65, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(139, 69, 19, 0.2) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg stroke='%23C87941' stroke-opacity='0.06' stroke-width='0.5'%3E%3Ccircle cx='40' cy='40' r='40'/%3E%3Ccircle cx='40' cy='40' r='30'/%3E%3Ccircle cx='40' cy='40' r='20'/%3E%3Ccircle cx='40' cy='40' r='10'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    /* Topography circles */
    position: relative;
    overflow: hidden;
}

#ai-products-section .section-title,
#ai-products-section .section-subtitle {
    color: #FFFFFF !important;
}

#ai-products-section .section-title span {
    color: var(--primary-light);
}

#ai-products-section .badge-ai {
    background: rgba(200, 121, 65, 0.15);
    color: var(--primary-light);
    border: 1px solid rgba(200, 121, 65, 0.3);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

#ai-products-section .ai-pricing-card {
    background: rgba(60, 40, 25, 0.55);
    /* Slightly lighter brown glass */
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(200, 121, 65, 0.2);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
    padding: 25px;
    /* More padding */
    border-radius: 28px;
    /* Smoother corner */
    text-align: left;
    align-items: flex-start;
}

#ai-products-section .ai-pricing-card:hover {
    background: rgba(45, 26, 10, 0.6);
    border-color: var(--primary);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: translateY(-10px);
}

#ai-products-section .ai-pricing-popular {
    background: rgba(60, 35, 15, 0.5);
    border: 1px solid var(--primary);
}

#ai-products-section .ai-pricing-name {
    color: #FFFFFF;
    font-size: 1.25rem;
    /* Slightly larger */
    margin-bottom: 12px;
}

#ai-products-section .ai-pricing-desc {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 25px;
}

#ai-products-section .ai-price-amount {
    color: #FFFFFF;
    font-size: 1.8rem;
}

#ai-products-section .ai-price-period {
    color: rgba(255, 255, 255, 0.4);
}

#ai-products-section .ai-pricing-features {
    margin-top: 20px;
}

#ai-products-section .ai-pricing-features li {
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 0;
}

#ai-products-section .ai-pricing-features li i {
    color: var(--primary-light);
}

#ai-products-section .ai-pricing-icon {
    background: rgba(200, 121, 65, 0.12);
    color: var(--primary-light);
    border-color: rgba(200, 121, 65, 0.25);
    margin-bottom: 24px;
    width: 60px;
    height: 60px;
}

#ai-products-section .ai-pricing-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 4px 15px rgba(200, 121, 65, 0.4);
}

.ai-pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.ai-pricing-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(200, 121, 65, 0.12), rgba(139, 69, 19, 0.12));
    border: 1px solid rgba(200, 121, 65, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 16px;
    transition: var(--transition);
}

.ai-pricing-card:hover .ai-pricing-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #FFFFFF;
    border-color: transparent;
}

.ai-pricing-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 8px;
}

.ai-pricing-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 44px;
}

.ai-pricing-price {
    margin-bottom: 24px;
}

.ai-price-amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1.2;
}

.ai-price-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

.ai-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    width: 100%;
    text-align: left;
}

.ai-pricing-features li {
    font-size: 0.88rem;
    color: var(--text-light);
    padding: 8px 0;
    border-bottom: 1px solid rgba(200, 121, 65, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-pricing-features li:last-child {
    border-bottom: none;
}

.ai-pricing-features li i {
    color: var(--primary);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.ai-pricing-btn {
    width: 100%;
    margin-top: auto;
    justify-content: center;
}

/* ==============================
   BLOG SECTION
   ============================== */
.blog-card {
    background: #FFFFFF;
    border: 1px solid #EDD9C8;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(200, 121, 65, 0.07);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(200, 121, 65, 0.5);
}

.blog-img {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #F5E6D8, #EDD9C8);
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-cat {
    position: absolute;
    bottom: 12px;
    left: 12px;
}

.blog-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-meta i {
    color: var(--primary);
}

.blog-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.5;
    flex: 1;
}

.blog-excerpt {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
}

.blog-read-more:hover {
    color: var(--primary-light);
    gap: 10px;
}

/* ==============================
   AI NEWS TICKER (COFFEE THEME)
   ============================== */
#ai-news-ticker,
.news-ticker-bar {
    background: #FAF3EF;
    border-top: 1px solid rgba(111, 78, 55, 0.1);
    border-bottom: 1px solid rgba(111, 78, 55, 0.1);
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.news-ticker-inner,
#ai-news-ticker .d-flex {
    display: flex;
    align-items: center;
    gap: 25px;
    overflow: hidden;
}

#ai-news-ticker .ticker-label,
.news-ticker-bar .ticker-label {
    background: #6F4E37;
    color: #fff !important;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(111, 78, 55, 0.2);
    z-index: 2;
    flex-shrink: 0;
    position: relative;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
    width: max-content;
    animation: ticker-scroll 25s linear infinite;
}

.ticker-content:hover {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ticker-item,
.ticker-content span {
    color: #6F4E37 !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.ticker-item:hover,
.ticker-content span:hover {
    color: #4E342E !important;
    opacity: 1;
    transform: translateX(3px);
}

.ticker-item i,
.ticker-content span i {
    font-size: 0.9rem;
    color: #B2826A;
}

@media (max-width: 991px) {

    .news-ticker-inner,
    #ai-news-ticker .d-flex {
        gap: 15px;
    }

    #ai-news-ticker .ticker-label,
    .news-ticker-bar .ticker-label {
        font-size: 0.75rem;
        padding: 4px 12px;
    }

    .ticker-item,
    .ticker-content span {
        font-size: 0.85rem;
    }
}


/* ==============================
   CTA SECTION
   ============================== */
#cta-section {
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(200, 121, 65, 0.15) 0%, transparent 70%);
}

.cta-box {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF0E0 100%);
    border: 1.5px solid rgba(200, 121, 65, 0.3);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 48px rgba(200, 121, 65, 0.1);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
}

.cta-box h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==============================
   FOOTER
   ============================== */
#main-footer {
    background: #2D1A0A;
    border-top: 1px solid rgba(200, 121, 65, 0.2);
    padding: 60px 0 30px;
}

.footer-brand img {
    height: 48px;
    margin-bottom: 16px;
}

.footer-desc {
    color: #C4A882;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 38px;
    height: 38px;
    background: rgba(200, 121, 65, 0.1);
    border: 1px solid rgba(200, 121, 65, 0.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.footer-heading {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #C4A882;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a i {
    color: var(--primary);
    font-size: 0.75rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #F0B070;
    padding-left: 4px;
}

.footer-newsletter input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(200, 121, 65, 0.3);
    border-radius: 8px 0 0 8px;
    color: #FFFFFF;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-family: var(--font-main);
    flex: 1;
    outline: none;
    transition: var(--transition);
}

.footer-newsletter input:focus {
    border-color: var(--primary);
    background: rgba(200, 121, 65, 0.1);
}

.footer-newsletter button {
    background: var(--primary);
    border: none;
    border-radius: 0 8px 8px 0;
    color: white;
    padding: 10px 18px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}

.footer-newsletter button:hover {
    background: var(--primary-dark);
}

.footer-divider {
    border-color: rgba(200, 121, 65, 0.2);
    margin: 40px 0 24px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #C4A882;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom a {
    color: #C4A882;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: #F0B070;
}

.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
    display: none;
}

.woocommerce-error::before {
    display: none;
}

div#payment li {
    list-style: none;
}

/* ==============================
   BACK TO TOP
   ============================== */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 37px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(200, 121, 65, 0.4);
}

#back-to-top.show {
    display: flex;
}

#back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(200, 121, 65, 0.5);
}

/* ==============================
   PAGE INNER HERO
   ============================== */
.page-hero {
    background: linear-gradient(135deg, #FFF4EB 0%, #FDE8D4 100%);
    border-bottom: 1px solid rgba(200, 121, 65, 0.2);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(200, 121, 65, 0.08) 0%, transparent 60%);
}

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.page-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.page-hero .breadcrumb-item {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.page-hero .breadcrumb-item.active {
    color: var(--primary);
}

.page-hero .breadcrumb-item+.breadcrumb-item::before {
    color: var(--text-muted);
}

/* ==============================
   COURSE DETAIL PAGE
   ============================== */
.course-detail-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: sticky;
    top: 80px;
}

.course-detail-img img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.course-info-card {
    background: #FFFFFF;
    border: 1px solid #EDD9C8;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 4px 24px rgba(200, 121, 65, 0.1);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #EDD9C8;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.info-item strong {
    color: var(--text-light);
}

.curriculum-item {
    background: #FDF8F3;
    border: 1px solid #EDD9C8;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.curriculum-item:hover {
    border-color: rgba(200, 121, 65, 0.5);
    background: rgba(200, 121, 65, 0.06);
}

.curriculum-item i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

/* ==============================
   PRODUCT PAGE
   ============================== */
.product-search-bar {
    background: #FFFFFF;
    border: 1.5px solid #EDD9C8;
    border-radius: 10px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(200, 121, 65, 0.07);
}

.product-search-bar:focus-within {
    border-color: var(--primary);
    background: #FFFAF6;
}

.product-search-bar i {
    color: var(--text-muted);
}

.product-search-bar input {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 0.95rem;
    font-family: var(--font-main);
    flex: 1;
    outline: none;
}

/* ==============================
   BLOG / PAGINATION
   ============================== */
.pagination .page-link {
    background: #FFFFFF;
    border-color: #EDD9C8;
    color: var(--text-muted);
    font-family: var(--font-main);
    transition: var(--transition);
}

.pagination .page-link:hover,
.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 991.98px) {
    :root {
        --section-pad: 60px 0;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-visual {
        display: none !important;
    }

    .hero-content {
        text-align: center;
    }

    .hero-desc {
        max-width: 100%;
    }

    .hero-stats {
        justify-content: center;
    }

    #hero {
        min-height: auto;
        padding: 50px 0 40px;
    }

    .navbar-brand img {
        height: 45px;
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-pad: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .footer-bottom {
        text-align: center;
        justify-content: center;
    }

    .cta-box {
        padding: 40px 20px;
    }

    .cta-box h2 {
        font-size: 1.7rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .hero-stats {
        gap: 16px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .products-filter {
        justify-content: flex-start;
    }
}

/* ==============================
   ANIMATIONS
   ============================== */
.fade-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-loaded .fade-up {
    opacity: 0;
    transform: translateY(30px);
}

.js-loaded .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up:nth-child(1) {
    transition-delay: 0s;
}

.fade-up:nth-child(2) {
    transition-delay: 0.1s;
}

.fade-up:nth-child(3) {
    transition-delay: 0.2s;
}

.fade-up:nth-child(4) {
    transition-delay: 0.3s;
}

.fade-up:nth-child(5) {
    transition-delay: 0.4s;
}

/* ==============================
   UTILITY
   ============================== */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Blog card horizontal (featured) */
@media (max-width: 767.98px) {
    .blog-card[style*="row"] .blog-img {
        width: 100% !important;
        min-height: 180px !important;
    }

    .blog-card[style*="row"] {
        flex-direction: column !important;
    }

    .course-detail-img {
        position: static;
    }
}

/* ==============================
   FLOATING CTA LEFT
   ============================== */
.floating-cta-left {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.floating-cta-btn {
    display: flex;
    align-items: center;
    gap: 0;
    width: 48px;
    height: 48px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(200, 121, 65, 0.2);
    color: var(--primary);
    font-size: 1.15rem;
    justify-content: center;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.floating-cta-btn:hover {
    width: 160px;
    gap: 10px;
    justify-content: flex-start;
    padding-left: 14px;
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(200, 121, 65, 0.2);
    color: var(--primary);
}

.floating-cta-btn i,
.floating-cta-btn svg {
    flex-shrink: 0;
}

.floating-cta-label {
    font-size: 0.82rem;
    font-weight: 600;
    opacity: 0;
    max-width: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.floating-cta-btn:hover .floating-cta-label {
    opacity: 1;
    max-width: 100px;
}

/* Zalo button */
.floating-cta-zalo {
    color: #0068FF;
    border-color: rgba(0, 104, 255, 0.2);
}

.floating-cta-zalo:hover {
    border-color: #0068FF;
    color: #0068FF;
    background: rgba(0, 104, 255, 0.08);
}

/* Messenger button */
.floating-cta-messenger {
    color: #0084FF;
    border-color: rgba(0, 132, 255, 0.2);
}

.floating-cta-messenger:hover {
    border-color: #0084FF;
    color: #0084FF;
    background: rgba(0, 132, 255, 0.08);
}

/* Responsive - ẩn label trên mobile, thu nhỏ kích thước */
@media (max-width: 767.98px) {
    .floating-cta-left {
        left: 12px;
        gap: 10px;
    }

    .floating-cta-btn {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .floating-cta-btn:hover {
        width: 42px;
        padding-left: 0;
        justify-content: center;
        gap: 0;
    }

    .floating-cta-btn:hover .floating-cta-label {
        opacity: 0;
        max-width: 0;
    }
}

/* ==============================
   BLOG DETAIL (post-content)
   ============================== */
.blog-detail-section {
    padding: var(--section-pad);
    background: var(--dark-bg);
}

/* ==============================
   COURSE HERO
   ============================== */
.course-hero {
    position: relative;
    padding: 120px 0 120px;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a0a00 0%, #2D1A0A 30%, #3D2415 60%, #2D1A0A 100%);
}

/* AI circuit pattern overlay */
.course-hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(200, 121, 65, 0.15) 1px, transparent 0),
        linear-gradient(90deg, transparent 49.5%, rgba(200, 121, 65, 0.04) 49.5%, rgba(200, 121, 65, 0.04) 50.5%, transparent 50.5%),
        linear-gradient(0deg, transparent 49.5%, rgba(200, 121, 65, 0.04) 49.5%, rgba(200, 121, 65, 0.04) 50.5%, transparent 50.5%);
    background-size: 28px 28px, 56px 56px, 56px 56px;
    z-index: 1;
    opacity: 0.8;
}

/* Animated glow orbs */
.course-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    animation: glowFloat 8s ease-in-out infinite;
}

.course-hero-glow-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(200, 121, 65, 0.35) 0%, transparent 70%);
    top: -100px;
    right: -50px;
    animation-delay: 0s;
}

.course-hero-glow-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 69, 19, 0.3) 0%, transparent 70%);
    bottom: -80px;
    left: 10%;
    animation-delay: -3s;
}

.course-hero-glow-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 165, 79, 0.2) 0%, transparent 70%);
    top: 40%;
    left: 50%;
    animation-delay: -5s;
}

@keyframes glowFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -20px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 15px) scale(0.95);
    }
}

.course-hero .container {
    z-index: 2;
}

.course-hero .breadcrumb-hero {
    background: none;
    padding: 0;
    margin: 0;
}

.course-hero .breadcrumb-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.88rem;
}

.course-hero .breadcrumb-hero .breadcrumb-item a:hover {
    color: #fff;
}

.course-hero .breadcrumb-hero .breadcrumb-item.active {
    color: var(--accent);
    font-size: 0.88rem;
}

.course-hero .breadcrumb-hero .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.course-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.25;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.course-hero-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 560px;
}

.course-hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
}

.course-hero-meta i {
    color: var(--accent);
}

.course-hero-meta strong {
    color: #FFFFFF;
}

.course-hero-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.course-stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px 18px;
    min-width: 110px;
    flex: 1;
}

.course-stat-item i {
    font-size: 1.2rem;
    color: var(--accent);
}

.course-stat-item div {
    display: flex;
    flex-direction: column;
}

.course-stat-item strong {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.course-stat-item span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
}

/* Video thumbnail */
.course-hero-video {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: transform 0.4s ease;
}

.course-hero-video:hover {
    transform: translateY(-6px);
}

.course-hero-video-thumb {
    width: 100%;
    object-fit: cover;
    display: block;
}

.course-hero-play {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.35);
    transition: background 0.3s ease;
}

.course-hero-video:hover .course-hero-play {
    background: rgba(0, 0, 0, 0.5);
}

.course-hero-play-btn {
    width: 72px;
    height: 72px;
    background: rgba(200, 121, 65, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 rgba(200, 121, 65, 0.5);
    animation: pulse-play 2s infinite;
}

@keyframes pulse-play {
    0% {
        box-shadow: 0 0 0 0 rgba(200, 121, 65, 0.5);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(200, 121, 65, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(200, 121, 65, 0);
    }
}

.course-hero-video:hover .course-hero-play-btn {
    transform: scale(1.1);
    background: var(--primary);
}

.course-hero-play-label {
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.post-content ul li {
    list-style: disc;
    margin-bottom: 15px;
}

.post-content ul {
    padding-left: 30px;
}

.post-content ul li:last-child {
    margin-bottom: 0;
}

@media (min-width: 1200px) {
    .display-4 {
        font-size: 2.8rem;
    }
}

@media (max-width: 991px) {
    .course-hero {
        padding: 100px 0 40px;
        min-height: auto;
    }

    .course-hero-video-thumb {
        height: 240px;
    }

    .course-hero-stats {
        gap: 8px;
    }

    .course-stat-item {
        padding: 10px 14px;
        min-width: 90px;
    }
}

/* ==============================
   COURSE REQUIREMENTS BOX
   ============================== */
.req-box {
    background-color: #FFFFFF;
    border: 1px solid #EDD9C8;
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    box-shadow: 0 4px 20px rgba(200, 121, 65, 0.04);
}

.req-title {
    color: #3D2415;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.req-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.req-list li {
    position: relative;
    color: #6C5D53;
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 16px;
    font-weight: 500;
    padding-left: 34px;
}

.req-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    width: 24px;
    height: 24px;
    background-color: rgba(200, 121, 65, 0.12);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    box-shadow: 0 0 0 3px rgba(200, 121, 65, 0.05);
}

.req-list li:last-child {
    margin-bottom: 0;
}

.req-list li strong {
    color: var(--primary);
    font-weight: 700;
}

/* ==============================
   CURRICULUM LESSON ITEMS
   ============================== */
.lesson-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lesson-list {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.lesson-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.lesson-item:last-child {
    border-bottom: none;
}

/* Lesson wrapper */
.lesson-wrapper {
    border-bottom: 1px solid #f0f0f0;
}

.lesson-wrapper:last-child {
    border-bottom: none;
}

.lesson-wrapper .lesson-item {
    border-bottom: none;
}

/* Toggle button */
.lesson-detail-toggle {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1.5px solid #e0dcd8;
    border-radius: 50%;
    cursor: pointer;
    color: #a09080;
    font-size: 0.7rem;
    transition: all 0.25s ease;
    flex-shrink: 0;
    margin-left: 6px;
}

.lesson-detail-toggle:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: scale(1.08);
}

.lesson-detail-toggle.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.lesson-detail-toggle.active i {
    transform: rotate(180deg);
}

.lesson-detail-toggle i {
    transition: transform 0.3s ease;
}

/* Detail panel — collapsed by default */
.lesson-detail-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease;
    opacity: 0;
}

.lesson-detail-panel.open {
    opacity: 1;
}

/* Detail content */
.lesson-detail-content {
    padding: 0 15px;
}

.lesson-detail-content>p {
    color: #5a5a5a;
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

.lesson-detail-content>p:last-child {
    margin-bottom: 0;
}

/* UL / LI styling */
.lesson-detail-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 6px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lesson-detail-content ul li {
    position: relative;
    padding: 5px 10px;
    padding-left: 35px;
    background: linear-gradient(135deg, #faf8f6, #f5f1ee);
    border-radius: 10px;
    color: #4a3f35;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 400;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.lesson-detail-content ul li:hover {
    background: linear-gradient(135deg, #f5f0eb, #efe8e0);
    border-color: rgba(111, 78, 55, 0.12);
    transform: translateX(3px);
}

.lesson-detail-content ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
}

/* Nested OL (nếu có) */
.lesson-detail-content ol {
    padding-left: 20px;
    margin: 0 0 6px 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lesson-detail-content ol li {
    color: #4a3f35;
    font-size: 0.88rem;
    line-height: 1.6;
    font-weight: 500;
    padding: 6px 0;
}

/* Headings inside detail */
.lesson-detail-content h4,
.lesson-detail-content h5,
.lesson-detail-content h6 {
    color: #3a2e24;
    font-weight: 700;
    margin-bottom: 8px;
}

.lesson-detail-content h4 {
    font-size: 1rem;
}

.lesson-detail-content h5 {
    font-size: 0.95rem;
}

.lesson-detail-content h6 {
    font-size: 0.9rem;
}

/* Links */
.lesson-detail-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lesson-detail-content a:hover {
    color: var(--secondary);
}

/* Strong */
.lesson-detail-content strong {
    color: #3a2e24;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 576px) {
    .lesson-detail-content {
        padding: 0 14px 14px 14px;
    }

    .lesson-detail-content ul li {
        padding: 8px 12px 8px 32px;
        font-size: 0.84rem;
    }

    .lesson-detail-content ul li::before {
        left: 10px;
        width: 16px;
        height: 16px;
        font-size: 0.55rem;
    }
}

.lesson-item-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.lesson-item-right {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}

.lesson-icon {
    font-size: 1.1rem;
    color: #a0a0a0;
    flex-shrink: 0;
}

.lesson-item.lesson-unlocked.lesson-gifts-trigger {
    margin-bottom: 10px;
}

.lesson-title {
    font-size: 0.95rem;
    color: #171717;
    font-weight: 500;
}

.lesson-time {
    font-size: 0.9rem;
    color: #888;
}

.lesson-action {
    width: 24px;
    display: flex;
    justify-content: center;
    color: #b0b0b0;
    font-size: 0.95rem;
}

.lesson-preview-trigger {
    cursor: pointer;
}

.lesson-preview-trigger:hover {
    background-color: #fcfcfc;
}

.lesson-preview-trigger:hover .lesson-title {
    color: var(--primary);
}

.lesson-preview-trigger:hover .lesson-action {
    color: #666;
}

.lesson-locked {
    opacity: 0.8;
}

.lesson-unlocked {
    cursor: pointer;
}

.lesson-unlocked:hover {
    background-color: #F5F1EE;
}

.lesson-unlocked:hover .lesson-title {
    color: #4E342E;
}

.lesson-unlocked .lesson-icon {
    color: #6F4E37;
}

.lesson-gifts-trigger {
    cursor: pointer;
}

.lesson-gifts-trigger:hover {
    background-color: #F5F1EE;
}

.lesson-gifts-trigger:hover .lesson-title {
    color: #4E342E;
}

/* Gifts Modal Content Links */
.gifts-content-body a {
    color: #4E342E;
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gifts-content-body a:hover {
    color: #6F4E37;
    text-decoration: none;
}



/* ==============================
   COURSE DESCRIPTION SEO
   ============================== */
.course-description-seo {
    background: #FFFFFF;
    border: 1px solid #EDD9C8;
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    box-shadow: 0 4px 20px rgba(200, 121, 65, 0.04);
}

.course-content-collapse {
    position: relative;
    max-height: 300px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.course-content-collapse.expanded {
    max-height: none;
}

.course-content-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.course-content-collapse.expanded .course-content-fade {
    opacity: 0;
}

.course-readmore-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    background: rgba(200, 121, 65, 0.06);
    border: 1px dashed #EDD9C8;
    border-radius: 10px;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.course-readmore-btn:hover {
    background: rgba(200, 121, 65, 0.12);
    border-color: var(--primary);
}

.course-readmore-btn i {
    transition: transform 0.3s ease;
}

.course-readmore-btn.expanded i {
    transform: rotate(180deg);
}

.course-content-body ul li {
    list-style: disc;
}

.course-content-body {
    color: #6C5D53;
    font-size: 15px;
    line-height: 1.9;
}

.course-content-body h2 {
    color: #3D2415;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 32px 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(200, 121, 65, 0.15);
}

.course-content-body h3 {
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 24px 0 10px;
}

.course-content-body h4 {
    color: #3D2415;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 20px 0 8px;
}

.course-content-body p {
    margin-bottom: 16px;
}

.course-content-body strong {
    color: #3D2415;
}

.course-content-body a {
    color: var(--primary);
    text-decoration: underline;
}

.course-content-body a:hover {
    color: var(--accent);
}

.course-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 16px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.course-content-body ul,
.course-content-body ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.course-content-body ul li,
.course-content-body ol li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.course-content-body ul li::marker {
    color: var(--primary);
}

.course-content-body blockquote {
    background: rgba(200, 121, 65, 0.06);
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    border-radius: 0 10px 10px 0;
    margin: 20px 0;
    color: #3D2415;
    font-style: italic;
}

section.woocommerce-order-downloads {
    padding: 0;
}

.woocommerce section.woocommerce-order-downloads table.shop_table thead th {
    font-size: 12px;
    text-transform: capitalize;
}

.woocommerce table.shop_table .download-remaining {
    display: none !important;
}

.course-content-body code {
    background: rgba(200, 121, 65, 0.1);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.88rem;
}

.course-content-body pre {
    background: #2D1A0A;
    border: 1px solid #EDD9C8;
    border-left: 3px solid var(--primary);
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
}

.course-content-body pre code {
    background: transparent;
    color: #f0c080;
    padding: 0;
}

.course-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    border-radius: 8px;
    overflow: hidden;
}

.course-content-body table th,
.course-content-body table td {
    padding: 12px 16px;
    border: 1px solid #EDD9C8;
    text-align: left;
}

.course-content-body table th {
    background: rgba(200, 121, 65, 0.08);
    color: #3D2415;
    font-weight: 600;
}

/* ==============================
   VIDEO MODAL POPUP
   ============================== */
.video-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 90vw;
    max-width: 1780px;
    transform: scale(0.85) translateY(30px);
    transition: transform 0.4s ease;
}

.video-modal-overlay.active .video-modal-content {
    transform: scale(1) translateY(0);
}

.video-modal-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    background: #000;
}

.video-modal-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-modal-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: rotate(90deg);
}

.post-content {
    color: #3f3328;
    font-size: 1rem;
    line-height: 1.9;
}

.post-content h2 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin: 36px 0 16px;
    padding-top: 8px;
}

.post-content h3 {
    color: var(--accent);
    font-size: 1.2rem;
    margin: 28px 0 12px;
}

.post-content p {
    margin-bottom: 18px;
}

.post-content strong {
    color: var(--text-light);
}

.post-content code {
    background: rgba(200, 121, 65, 0.15);
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.88rem;
    font-family: 'Courier New', monospace;
}

.post-content pre {
    background: #2D1A0A;
    border: 1px solid #EDD9C8;
    border-left: 3px solid var(--primary);
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
}

.post-content pre code {
    background: transparent;
    color: #f0c080;
    padding: 0;
    font-size: 0.88rem;
}

.post-content blockquote {
    background: rgba(200, 121, 65, 0.08);
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
    color: var(--text-light);
    font-style: italic;
}

.post-content ul li,
.post-content ol li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.post-content ul li::marker {
    color: var(--primary);
}

.custom-list-check {
    list-style: none;
    padding-left: 0;
}

.custom-list-check li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}

.custom-list-check li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 0.9rem;
    background: rgba(200, 121, 65, 0.1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Blog / Product Detail Content Typography */
.blog-detail-content {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.blog-detail-content h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 32px 0 16px;
    line-height: 1.4;
}

.blog-detail-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 28px 0 14px;
    line-height: 1.4;
}

.blog-detail-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 24px 0 12px;
    line-height: 1.4;
}

.blog-detail-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 20px 0 10px;
    line-height: 1.4;
}

.blog-detail-content h5,
.blog-detail-content h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 16px 0 8px;
    line-height: 1.4;
}

.blog-detail-content h1:first-child,
.blog-detail-content h2:first-child,
.blog-detail-content h3:first-child,
.blog-detail-content h4:first-child {
    margin-top: 0;
}

.blog-detail-content p {
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.blog-detail-content strong,
.blog-detail-content b {
    color: var(--text-light);
    font-weight: 600;
}

.blog-detail-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.blog-detail-content a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.blog-detail-content ul,
.blog-detail-content ol {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.blog-detail-content ul li,
.blog-detail-content ol li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--text-muted);
    line-height: 1.7;
}

.blog-detail-content ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 0.75rem;
    background: rgba(200, 121, 65, 0.1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-detail-content ol {
    counter-reset: item;
}

.blog-detail-content ol li::before {
    content: counter(item) ".";
    counter-increment: item;
    font-weight: 700;
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.9rem;
}

.blog-detail-content ul li strong,
.blog-detail-content ol li strong {
    color: var(--text-light);
}

.blog-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 16px 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-detail-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    margin: 20px 0;
    background: rgba(200, 121, 65, 0.04);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--text-light);
}

.blog-detail-content blockquote p {
    margin-bottom: 0;
    color: var(--text-light);
}

.blog-detail-content pre,
.blog-detail-content code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.blog-detail-content code {
    background: rgba(200, 121, 65, 0.08);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.88em;
}

.blog-detail-content pre {
    background: #111;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    margin: 16px 0;
}

.blog-detail-content pre code {
    background: none;
    color: var(--primary);
    padding: 0;
    border-radius: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.blog-detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9rem;
}

.blog-detail-content table th {
    background: rgba(200, 121, 65, 0.08);
    color: var(--text-light);
    font-weight: 700;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 2px solid rgba(200, 121, 65, 0.2);
}

.blog-detail-content table td {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
}

.blog-detail-content table tr:hover td {
    background: rgba(200, 121, 65, 0.03);
}

.blog-detail-content hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin: 28px 0;
}

#map-section {
    padding: 0;
}

.author-card {
    background: #FFFFFF;
    border: 1px solid #EDD9C8;
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
}

.related-post {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #EDD9C8;
}

.related-post:last-child {
    border-bottom: none;
}

.related-post img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

/* ==============================
   PRODUCT GALLERY
   ============================== */
.product-gallery {
    margin-bottom: 2rem;
}

.gallery-thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.gallery-thumbnails .swiper-slide {
    width: 80px !important;
    height: 80px !important;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.85;
    cursor: pointer;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-thumbnails .swiper-slide:hover {
    opacity: 1;
    border-color: rgba(200, 121, 65, 0.4);
}

.gallery-thumbnails .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.gallery-thumbnails .gallery-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* ==============================
   SWIPER NAVIGATION CUSTOM
   ============================== */
.swiper-button-next,
.swiper-button-prev {
    width: 48px !important;
    height: 48px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    color: #FFFFFF !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: 900 !important;
    text-shadow: none !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: translateY(-50%) scale(1.15) !important;
    box-shadow: 0 8px 25px rgba(200, 121, 65, 0.4) !important;
}

/* Reset Swiper default positioning for clarity */
.mySwiper2 .swiper-button-next,
.mySwiper2 .swiper-button-prev {
    top: 50%;
    margin-top: 0;
    transform: translateY(-50%);
}

.mySwiper2 .swiper-button-next {
    right: 20px;
}

.mySwiper2 .swiper-button-prev {
    left: 20px;
}

@media (max-width: 767.98px) {

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px !important;
        height: 40px !important;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px !important;
    }
}

/* ==============================
   FORM STYLING (PREMIUM)
   ============================== */
.tracking-wide {
    letter-spacing: 1px;
}

.custom-input {
    background-color: #fcfcfc;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.custom-input:focus {
    background-color: #ffffff;
    border-color: rgba(200, 121, 65, 0.4);
    box-shadow: 0 0 0 4px rgba(200, 121, 65, 0.1);
    outline: none;
}

.custom-input::placeholder {
    color: #bbb;
    font-weight: 300;
}

/* Custom Select Dropdown Arrow */
.custom-select-wrap {
    position: relative;
}

.custom-select-wrap select.custom-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.custom-select-wrap::after {
    content: '\f107';
    /* FontAwesome angle-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    font-size: 0.9rem;
}

/* Icon Input positioning */
.input-with-icon {
    position: relative;
    width: 100%;
}

.input-with-icon .input-icon {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: #a0a0a0;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.input-with-icon textarea~.input-icon {
    top: 24px;
    transform: none;
}

/* Make room for icon */
.input-with-icon .custom-input {
    padding-left: 50px;
}

/* Highlight icon on focus */
.input-with-icon:focus-within .input-icon {
    color: var(--primary);
}

/* ==============================
   MOBILE MENU SLIDE & HAMBURGER
   ============================== */
/* Animated Hamburger Icon */
.navbar-toggler {
    border: none !important;
    padding: 0 !important;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1050;
    /* Ensure on top */
    background: transparent !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
}

.navbar-toggler-icon {
    background-image: none !important;
    position: absolute;
    width: 26px;
    height: 2px;
    background-color: var(--text-light);
    top: 50%;
    left: 2px;
    transform: translateY(-50%);
    transition: background-color 0.3s ease;
    border-radius: 3px;
    display: inline-block;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 26px;
    height: 2px;
    background-color: var(--text-light);
    left: 0;
    transition: transform 0.3s ease, top 0.3s ease;
    border-radius: 3px;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

/* X State when menu is open (applied via aria-expanded="true" or native class) */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon,
.navbar-toggler.is-active .navbar-toggler-icon {
    background-color: transparent !important;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before,
.navbar-toggler.is-active .navbar-toggler-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after,
.navbar-toggler.is-active .navbar-toggler-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Left Slide Menu on Mobile */
@media (max-width: 991.98px) {

    /* Elevate complete navbar over overlay to fix blur stacking bug */
    body.menu-open #main-navbar {
        z-index: 1050;
    }

    /* Disable native Bootstrap vertical collapse transition completely */
    .navbar-collapse.collapsing {
        transition: none !important;
        height: 100vh !important;
    }

    .navbar-collapse {
        position: fixed !important;
        top: 0;
        left: -320px;
        /* Hide to the left */
        width: 300px;
        max-width: 85vw;
        height: 100vh !important;
        background-color: #fff;
        z-index: 1040;
        padding: 25px;
        transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1) !important;
        display: block !important;
        /* Force block to allow slide */
        box-shadow: inset -5px 0 15px rgba(0, 0, 0, 0.03);
        overflow-y: auto;
    }

    /* When active */
    .navbar-collapse.show {
        left: 0;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
    }

    /* Layout inner links */
    .navbar-nav {
        align-items: stretch !important;
        gap: 12px !important;
        margin-top: 20px;
    }

    .nav-item {
        width: 100%;
        text-align: left;
    }

    .nav-link {
        padding: 12px 18px !important;
        background-color: #fcfcfc;
        border-radius: 10px;
        border: 1px solid #f0f0f0;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .nav-link:active {
        background-color: var(--primary);
        color: #fff !important;
    }

    /* Overlay Background */
    body.menu-open {
        overflow: hidden;
        /* Prevent background scroll */
    }

    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1030;
        backdrop-filter: blur(3px);
        transition: all 0.4s ease;
    }

    .nav-login,
    .nav-register {
        width: 100%;
    }
}

/* =========================================
   FAQ Accordion Custom Styles
   ========================================= */
.custom-accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-width: 0;
    --bs-accordion-inner-border-radius: 12px;
    --bs-accordion-active-bg: var(--dark-bg);
    --bs-accordion-active-color: var(--primary);
    --bs-accordion-btn-focus-box-shadow: none;
    gap: 16px;
    display: flex;
    flex-direction: column;
}

.custom-accordion .accordion-item {
    background-color: var(--white);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius) !important;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.custom-accordion .accordion-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border-color: rgba(200, 121, 65, 0.4);
}

.custom-accordion .accordion-button {
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-light);
    padding: 20px 24px;
    border-radius: var(--radius) !important;
    background-color: transparent;
    transition: all 0.3s ease;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: var(--dark-bg);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.03);
}

.custom-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23C87941'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-accordion .accordion-button.collapsed::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%238A6E54'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.custom-accordion .accordion-body {
    padding: 20px 24px 24px;
    color: var(--text-muted);
    line-height: 1.7;
    position: relative;
}

/* =========================================
   404 Error Page Custom Styles
   ========================================= */
.error-404-section {
    position: relative;
    overflow: hidden;
}

.error-404-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 121, 65, 0.05) 0%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
}

.error-icon {
    animation: floatingIcon 4s ease-in-out infinite;
}

@keyframes floatingIcon {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(3deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* ==============================
   AUTH MODAL
   ============================== */
.auth-modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(139, 69, 19, 0.18);
    position: relative;
    padding: 0;
}

.auth-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: #ff4444;
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.auth-modal-close:hover {
    background: #cc0000;
    transform: scale(1.1);
}

/* Tabs */
.auth-tabs {
    display: flex;
    border-bottom: 2px solid #f0e6da;
}

.auth-tab {
    flex: 1;
    padding: 16px;
    text-align: center;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    font-family: var(--font-main);
}

.auth-tab.active {
    color: var(--primary);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 20%;
    width: 60%;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 3px;
}

.auth-tab:hover:not(.active) {
    color: var(--primary-light);
    background: rgba(200, 121, 65, 0.04);
}

/* Form wrap */
.auth-form-wrap {
    padding: 28px 32px 32px;
}

/* Alert */
.auth-alert {
    background: linear-gradient(135deg, rgba(200, 121, 65, 0.1), rgba(200, 121, 65, 0.06));
    border: 1px solid rgba(200, 121, 65, 0.25);
    color: var(--secondary);
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 24px;
    text-align: center;
}

.auth-alert-register {
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.1), rgba(52, 199, 89, 0.06));
    border-color: rgba(52, 199, 89, 0.25);
    color: #2d8a4e;
}

/* Field */
.auth-field {
    margin-bottom: 18px;
}

.auth-field label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 6px;
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #faf5f0;
    border: 1.5px solid #e8d5c0;
    border-radius: 10px;
    transition: var(--transition);
}

.auth-input-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200, 121, 65, 0.12);
    background: #fff;
}

.auth-input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
}

.auth-input-wrap input {
    width: 100%;
    padding: 13px 14px 13px 42px;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--text-light);
    font-family: var(--font-main);
    outline: none;
}

.auth-input-wrap input::placeholder {
    color: #bba48e;
}

.auth-toggle-pw {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-main);
    padding: 4px 8px;
    white-space: nowrap;
}

.auth-toggle-pw:hover {
    color: var(--secondary);
}

/* Options row */
.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
}

.auth-remember input[type="checkbox"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.auth-forgot {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-forgot:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Submit button */
.auth-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
    letter-spacing: 0.3px;
}

.auth-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(200, 121, 65, 0.3);
}

.auth-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Divider */
.auth-divider {
    text-align: center;
    margin: 22px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e8d5c0;
}

.auth-divider span {
    background: #fff;
    padding: 0 18px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
}

/* Social / switch */
.auth-social {
    text-align: center;
}

.auth-switch {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.auth-switch-link {
    color: var(--primary) !important;
    font-weight: 700;
    text-decoration: none !important;
}

.auth-switch-link:hover {
    color: var(--secondary) !important;
    text-decoration: underline !important;
}

/* Messages */
.auth-msg {
    margin-bottom: 12px;
}

.auth-msg-success {
    background: rgba(52, 199, 89, 0.1);
    border: 1px solid rgba(52, 199, 89, 0.3);
    color: #2d8a4e;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
}

.auth-msg-error {
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.3);
    color: #cc2222;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
}

/* Dropdown user menu */
.dropdown-menu {
    border: 1px solid #e8d5c0;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(139, 69, 19, 0.12);
    padding: 6px;
    min-width: 200px;
}

.dropdown-item {
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(200, 121, 65, 0.08);
}

/* Responsive */
@media (max-width: 576px) {
    .auth-form-wrap {
        padding: 20px 20px 24px;
    }

    .auth-options {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* Send verification code button */
.auth-send-code {
    position: absolute;
    right: 6px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-main);
    padding: 8px 14px;
    white-space: nowrap;
    transition: var(--transition);
    letter-spacing: 0.2px;
}

.auth-send-code:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: scale(1.03);
}

.auth-send-code:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    background: #bba48e;
}

.auth-email-msg:empty {
    display: none;
}

#verification-field {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        max-height: 100px;
        transform: translateY(0);
    }
}

#reg_verification_code {
    letter-spacing: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    padding-left: 42px;
    padding-right: 14px;
}

/* ============================
   WooCommerce Account — Override page.php container
   ============================ */
/* Break out of page.php col-lg-8 wrapper */
.woocommerce-account .post-content {
    max-width: 100%;
}

.woocommerce-account .col-lg-8 {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}

.woocommerce-account .row.justify-content-center {
    justify-content: stretch !important;
}

/* Hide page header on account page (WC has its own) */
.woocommerce-account .page-header {
    padding: 80px 0 30px !important;
}

/* ============================
   WooCommerce Login / Register Form
   (Match auth modal style)
   ============================ */
.woocommerce-account:not(.logged-in) .woocommerce {
    max-width: 520px;
    margin: 0px auto 60px;
    padding: 0 20px;
}

.woocommerce-account:not(.logged-in) .woocommerce .form-row {
    margin-bottom: 18px;
    width: 100%;
}

.woocommerce-account:not(.logged-in) .woocommerce #customer_login {
    display: block;
}

.woocommerce-account:not(.logged-in) .woocommerce #customer_login .u-column1,
.woocommerce-account:not(.logged-in) .woocommerce #customer_login .u-column2 {
    max-width: 100%;
    flex-basis: 100%;
    float: none;
    width: 100%;
    padding: 0;
    margin-bottom: 30px;
}

.woocommerce-account:not(.logged-in) .woocommerce form.login,
.woocommerce-account:not(.logged-in) .woocommerce form.register {
    background: #fff;
    border: 1px solid #e8d5c0;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 12px 48px rgba(139, 69, 19, 0.08);
}

.woocommerce-account:not(.logged-in) .woocommerce h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-light, #2d1f10);
    margin-bottom: 10px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0e6da;
    text-align: center;
    margin-top: 0;
}

.woocommerce-account:not(.logged-in) .woocommerce .form-row label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-light, #2d1f10);
    margin-bottom: 6px;
}

.woocommerce-account:not(.logged-in) .woocommerce .form-row .input-text,
.woocommerce-account:not(.logged-in) .woocommerce .form-row input[type="text"],
.woocommerce-account:not(.logged-in) .woocommerce .form-row input[type="email"],
.woocommerce-account:not(.logged-in) .woocommerce .form-row input[type="password"] {
    width: 100%;
    padding: 13px 16px;
    background: #faf5f0;
    border: 1.5px solid #e8d5c0;
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-light, #2d1f10);
    transition: all 0.2s ease;
    font-family: var(--font-main, inherit);
}

.woocommerce-account:not(.logged-in) .woocommerce .form-row .input-text:focus,
.woocommerce-account:not(.logged-in) .woocommerce .form-row input:focus {
    outline: none;
    border-color: var(--primary, #c87941);
    box-shadow: 0 0 0 3px rgba(200, 121, 65, 0.12);
    background: #fff;
}

.woocommerce-account:not(.logged-in) .woocommerce .form-row .input-text::placeholder {
    color: #bba48e;
}

/* Remember me */
.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-form-login__rememberme {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted, #8b7355);
    font-weight: 500;
    font-size: 0.88rem;
    cursor: pointer;
}

.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-form-login__rememberme input[type="checkbox"] {
    accent-color: var(--primary, #c87941);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Submit buttons */
.woocommerce-account:not(.logged-in) .woocommerce button[type="submit"],
.woocommerce-account:not(.logged-in) .woocommerce .button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary, #c87941), var(--secondary, #a0522d));
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main, inherit);
    letter-spacing: 0.3px;
    display: block;
    margin-top: 10px;
}

.woocommerce-account:not(.logged-in) .woocommerce button[type="submit"]:hover {
    background: linear-gradient(135deg, var(--primary-light, #d9a066), var(--primary, #c87941));
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(200, 121, 65, 0.3);
}

/* Lost password link */
.woocommerce-account:not(.logged-in) .woocommerce .lost_password {
    text-align: center;
    margin-top: 16px;
}

.woocommerce-account:not(.logged-in) .woocommerce .lost_password a {
    color: var(--primary, #c87941);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.woocommerce-account:not(.logged-in) .woocommerce .lost_password a:hover {
    color: var(--secondary, #a0522d);
    text-decoration: underline;
}

/* Form row spacing */
.woocommerce-account:not(.logged-in) .woocommerce .form-row {
    margin-bottom: 18px;
}

/* WooCommerce notices */
.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-error,
.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-message,
.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-info {
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Hide password toggle WC default */
.woocommerce-account:not(.logged-in) .woocommerce .show-password-input {
    top: 50%;
    transform: translateY(-50%);
    right: 12px;
    color: var(--text-muted, #8b7355);
}

/* Two-column register/login responsive fix */
.woocommerce-account:not(.logged-in) .woocommerce .u-columns.col2-set {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Required asterisk styling */
.woocommerce-account:not(.logged-in) .woocommerce .required {
    color: var(--primary, #c87941);
}

/* ============================
   WooCommerce My Account Page
   ============================ */
.woocommerce-account.logged-in .woocommerce {
    grid-template-columns: 1fr 3fr;
    gap: 30px;
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 0 60px;
    min-height: 60vh;
}

/* Navigation Sidebar */
.vibewp-account-nav {
    background: var(--card-bg, #fff);
    border-radius: 16px;
    border: 1px solid var(--dark-border, rgba(0, 0, 0, 0.06));
    padding: 0;
    overflow: hidden;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.vibewp-account-usercard {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 20px;
    background: linear-gradient(135deg, var(--primary, #6366f1), var(--secondary, #a855f7));
    color: #fff;
}

.vibewp-account-usercard img,
.vibewp-account-usercard .avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    flex-shrink: 0;
}

.vibewp-account-usercard strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.vibewp-account-usercard span {
    display: block;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    word-break: break-all;
}

.vibewp-account-nav ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.vibewp-account-nav ul li {
    margin: 0;
}

.vibewp-account-nav ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 22px;
    color: var(--text-muted, #64748b);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.vibewp-account-nav ul li a:hover {
    color: var(--primary, #6366f1);
    background: rgba(99, 102, 241, 0.05);
    border-left-color: var(--primary, #6366f1);
}

.vibewp-account-nav ul li.is-active a,
.vibewp-account-nav ul li.woocommerce-MyAccount-navigation-link--dashboard.is-active a {
    color: var(--primary, #6366f1);
    background: rgba(99, 102, 241, 0.08);
    border-left-color: var(--primary, #6366f1);
    font-weight: 600;
}

.vibewp-account-nav__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 1.15rem;
    flex-shrink: 0;
    line-height: 1;
}

/* Logout link special styling */
.vibewp-account-nav ul li:last-child a {
    color: #ef4444;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 5px;
    padding-top: 16px;
}

.vibewp-account-nav ul li:last-child a:hover {
    background: rgba(239, 68, 68, 0.05);
    border-left-color: #ef4444;
}

/* Main Content Panel */
.woocommerce-account .woocommerce-MyAccount-content {
    background: var(--card-bg, #fff);
    border-radius: 16px;
    border: 1px solid var(--dark-border, rgba(0, 0, 0, 0.06));
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    min-height: 400px;
}

.woocommerce-account .woocommerce-MyAccount-content>p:first-child {
    font-size: 1.05rem;
    color: var(--text-light, #1e293b);
    line-height: 1.7;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
    color: var(--text-light, #1e293b);
    font-weight: 700;
    margin-bottom: 20px;
}

/* Tables inside account */
.woocommerce-account table.shop_table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--dark-border, rgba(0, 0, 0, 0.06));
}

.woocommerce-account table.shop_table thead th {
    background: rgba(99, 102, 241, 0.06);
    color: var(--text-light, #1e293b);
    font-weight: 600;
    padding: 14px 16px;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--dark-border, rgba(0, 0, 0, 0.06));
}

.woocommerce-account table.shop_table tbody td {
    padding: 14px 16px;
    font-size: 0.92rem;
    color: var(--text-muted, #64748b);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    vertical-align: middle;
}

.woocommerce-account table.shop_table tbody tr:last-child td {
    border-bottom: none;
}

.woocommerce-account table.shop_table tbody tr:hover {
    background: rgba(99, 102, 241, 0.02);
}

/* Forms inside account */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields .form-row {
    margin-bottom: 20px;
}

.woocommerce-account .woocommerce-MyAccount-content label {
    font-weight: 600;
    color: var(--text-light, #1e293b);
    font-size: 0.9rem;
    display: flex;
}

.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
.woocommerce-account .woocommerce-MyAccount-content select,
.woocommerce-account .woocommerce-MyAccount-content textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 0.92rem;
    color: var(--text-light, #1e293b);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.woocommerce-account .woocommerce-MyAccount-content input:focus,
.woocommerce-account .woocommerce-MyAccount-content select:focus,
.woocommerce-account .woocommerce-MyAccount-content textarea:focus {
    outline: none;
    border-color: var(--primary, #6366f1);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

/* Buttons inside account */
.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-MyAccount-content button[type="submit"],
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button {
    background: linear-gradient(135deg, var(--primary, #6366f1), var(--secondary, #a855f7));
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.woocommerce-account .woocommerce-MyAccount-content .button:hover,
.woocommerce-account .woocommerce-MyAccount-content button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

/* Avatar Upload Section */
.vibewp-avatar-section {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #fdf8f4, #fff);
    border: 1px solid #e8d5c0;
    border-radius: 16px;
    margin-bottom: 28px;
    grid-column: 1 / -1;
    flex-wrap: wrap;
}

.vibewp-avatar-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(139, 69, 19, 0.12);
}

.vibewp-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.vibewp-avatar-wrapper:hover .vibewp-avatar-img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.vibewp-avatar-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    border-radius: 50%;
}

.vibewp-avatar-wrapper:hover .vibewp-avatar-overlay {
    opacity: 1;
}

.vibewp-avatar-overlay span {
    font-size: 1.4rem;
    line-height: 1;
}

.vibewp-avatar-overlay small {
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    margin-top: 2px;
}

.vibewp-avatar-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-light, #2d1f10);
    margin: 0 0 4px;
}

.vibewp-avatar-info p {
    color: var(--text-muted, #8b7355);
    font-size: 0.9rem;
    margin: 0 0 4px;
}

.vibewp-avatar-hint {
    color: #bba48e;
    font-size: 0.78rem;
}

.vibewp-avatar-msg {
    width: 100%;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 600;
    margin-top: 4px;
}

.vibewp-avatar-msg--success {
    color: #2d8a4e;
}

.vibewp-avatar-msg--error {
    color: #ef4444;
}

.vibewp-avatar-msg--loading {
    color: var(--primary, #c87941);
}

/* Notices */
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info {
    background: rgba(99, 102, 241, 0.06);
    border-left: 4px solid var(--primary, #6366f1);
    padding: 14px 20px;
    border-radius: 0 10px 10px 0;
    color: var(--text-light, #1e293b);
    font-size: 0.92rem;
    margin-bottom: 20px;
    grid-column: 1 / -1;
    padding-left: 50px;
    border-top-color: var(--primary, #b91c1c);
}

.woocommerce-account .woocommerce-error {
    background: rgba(239, 68, 68, 0.06);
    border-left: 4px solid #ef4444;
    padding: 14px 20px;
    border-radius: 0 10px 10px 0;
    color: #b91c1c;
    font-size: 0.92rem;
    margin-bottom: 20px;
    grid-column: 1 / -1;
}

/* =========================================
   WooCommerce Blocks Override (Cart & Product Grid)
========================================= */

/* Product Grid Block */
.wc-block-grid__product {
    background: #FFFFFF;
    border: 1px solid #EDD9C8;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(200, 121, 65, 0.07);
    padding: 0 !important;
}

.wc-block-grid__product:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(200, 121, 65, 0.5);
}

.wc-block-grid__product-image {
    margin: 0 !important;
}

.wc-block-grid__product-image img {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
    transition: transform 0.5s ease;
}

.wc-block-grid__product:hover .wc-block-grid__product-image img {
    transform: scale(1.05);
}

.wc-block-grid__product-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--text-light) !important;
    padding: 20px 20px 8px !important;
    margin: 0 !important;
}

.wc-block-grid__product-price {
    padding: 0 20px 20px !important;
    margin: 0 !important;
    font-size: 1.1rem !important;
    color: var(--primary) !important;
    font-weight: 700 !important;
}

.wc-block-grid__product-add-to-cart {
    padding: 0 20px 20px !important;
    margin-top: auto;
}

.wc-block-grid__product-add-to-cart .wp-block-button__link {
    background: var(--primary) !important;
    color: var(--white) !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    width: 100%;
    text-align: center;
    transition: var(--transition);
}

.wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
    background: var(--primary-hover) !important;
    transform: translateY(-2px);
}

.wc-block-grid__product-onsale {
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    background: #ef4444 !important;
    color: white !important;
    padding: 4px 12px !important;
    border-radius: 50px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
}

/* =========================================
   WooCommerce Cart Page
========================================= */

/* Hide cross-sells / new products on cart */
.woocommerce-cart .cross-sells,
.woocommerce-cart .wp-block-woocommerce-product-new,
.woocommerce-cart .wc-block-grid {
    display: none !important;
}

/* Classic Cart Table */
.woocommerce-cart .woocommerce {
    padding: 0 0 60px;
}

.woocommerce table.shop_table {
    border: none !important;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(200, 121, 65, 0.07);
    border-collapse: separate;
    border-spacing: 0;
}

.woocommerce table.shop_table thead th {
    background: #fdf8f4;
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 20px;
    border: none;
    border-bottom: 2px solid #EDD9C8;
}

.woocommerce table.shop_table td {
    padding: 20px;
    border: none;
    border-bottom: 1px solid rgba(200, 121, 65, 0.1);
    vertical-align: middle;
    color: var(--text-light);
    font-size: 0.95rem;
}

.woocommerce table.shop_table tr:last-child td {
    border-bottom: none;
}

.woocommerce table.shop_table .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.woocommerce table.shop_table .product-name a {
    color: var(--text-light);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.woocommerce table.shop_table .product-name a:hover {
    color: var(--primary);
}

.woocommerce table.shop_table .product-price .amount,
.woocommerce table.shop_table .product-subtotal .amount {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.05rem;
}

.woocommerce table.shop_table .product-price del .amount {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.9rem;
}

.woocommerce table.shop_table .product-price ins {
    text-decoration: none;
}

.woocommerce table.shop_table .product-remove a {
    color: #ef4444 !important;
    font-size: 1.2rem;
    opacity: 0.6;
    transition: var(--transition);
}

.woocommerce table.shop_table .product-remove a:hover {
    opacity: 1;
    background: rgba(239, 68, 68, 0.08) !important;
    border-radius: 50%;
}

/* Quantity input */
.woocommerce .quantity .qty {
    width: 60px;
    padding: 8px 12px;
    border: 1.5px solid #EDD9C8;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
}

.woocommerce .quantity .qty:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(200, 121, 65, 0.1);
}

/* Coupon & Update */
.woocommerce-cart table.cart td.actions {
    padding: 20px !important;
    background: #fdf8f4;
}

.woocommerce-cart .coupon .input-text {
    padding: 10px 16px !important;
    border: 1.5px solid #EDD9C8 !important;
    border-radius: 50px !important;
    font-size: 0.9rem;
    min-width: 180px;
    transition: var(--transition);
}

.woocommerce-cart .coupon .input-text:focus {
    border-color: var(--primary) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(200, 121, 65, 0.1);
}

.woocommerce-cart .coupon .button,
.woocommerce button[name="update_cart"] {
    background: var(--primary) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    cursor: pointer;
    transition: var(--transition);
}

.woocommerce-cart .coupon .button:hover,
.woocommerce button[name="update_cart"]:hover {
    background: var(--primary-hover) !important;
    transform: translateY(-1px);
}

.woocommerce button[name="update_cart"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Cart Totals Sidebar */
.woocommerce .cart-collaterals {
    margin-top: 30px;
}

.woocommerce .cart_totals {
    background: #FFFFFF;
    border: 1px solid #EDD9C8;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 2px 12px rgba(200, 121, 65, 0.07);
}

.woocommerce .cart_totals h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #EDD9C8;
}

.woocommerce .cart_totals table {
    border: none !important;
}

.woocommerce .cart_totals table th {
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid rgba(200, 121, 65, 0.1);
}

.woocommerce .cart_totals table td {
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid rgba(200, 121, 65, 0.1);
    text-align: right;
}

.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td {
    border-bottom: none;
    padding-top: 20px;
    font-size: 1.15rem;
}

.woocommerce .cart_totals .order-total .amount {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.3rem;
}

.woocommerce .cart_totals .wc-proceed-to-checkout a {
    display: block;
    background: var(--primary) !important;
    color: var(--white) !important;
    border-radius: 50px !important;
    padding: 14px 28px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    margin-top: 20px;
}

.woocommerce .cart_totals .wc-proceed-to-checkout a:hover {
    background: var(--primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200, 121, 65, 0.25);
}

/* WooCommerce Notices */
.woocommerce-message,
.woocommerce-info {
    background: #fdf8f4 !important;
    border-top: none !important;
    border-left: 4px solid var(--primary) !important;
    border-radius: 0 var(--radius-md) var(--radius-md) 0 !important;
    color: var(--text-light) !important;
    padding: 14px 20px !important;
    margin-bottom: 20px;
    font-size: 0.92rem;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--primary) !important;
}

.woocommerce-message a.button,
.woocommerce-info a.button {
    background: var(--primary) !important;
    color: var(--white) !important;
    border-radius: 50px !important;
    padding: 8px 20px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    border: none !important;
}

.woocommerce-error {
    background: rgba(239, 68, 68, 0.06) !important;
    border-top: none !important;
    border-left: 4px solid #ef4444 !important;
    border-radius: 0 var(--radius-md) var(--radius-md) 0 !important;
    color: #b91c1c !important;
    padding: 14px 20px !important;
}

/* Empty Cart */
.woocommerce-cart .cart-empty {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.woocommerce-cart .return-to-shop a {
    display: inline-block;
    background: var(--primary) !important;
    color: var(--white) !important;
    border-radius: 50px !important;
    padding: 12px 32px !important;
    font-weight: 600;
    transition: var(--transition);
}

.woocommerce-cart .return-to-shop a:hover {
    background: var(--primary-hover) !important;
    transform: translateY(-2px);
}

/* =========================================
   WooCommerce Blocks Cart/Checkout Override
========================================= */

/* === CART PAGE WRAPPER === */
.woocommerce-page .post-content,
.woocommerce-cart .post-content,
.woocommerce-checkout .post-content {
    padding-bottom: 60px;
}

.wp-block-woocommerce-cart.alignwide,
.wp-block-woocommerce-checkout.alignwide {
    max-width: 1140px !important;
    margin: 0 auto !important;
}

.wc-block-components-product-badge {
    border-radius: 3px;
    padding: 5px;
}

/* === CART & CHECKOUT LAYOUT === */
@media (min-width: 992px) {

    .wp-block-woocommerce-cart .wc-block-components-sidebar-layout,
    .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout,
    .wc-block-components-sidebar-layout {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        gap: 20px !important;
        align-items: flex-start !important;
    }

    .wc-block-components-main {
        flex: 1 1 auto !important;
        width: calc(100% - 420px) !important;
        max-width: 100% !important;
    }

    .wc-block-components-sidebar {
        flex: 0 0 380px !important;
        width: 380px !important;
        max-width: 380px !important;
    }
}

@media (max-width: 991px) {

    .wp-block-woocommerce-cart .wc-block-components-sidebar-layout,
    .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout,
    .wc-block-components-sidebar-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    .wc-block-components-main,
    .wc-block-components-sidebar {
        width: 100% !important;
        flex: none !important;
    }
}

/* Main cart area */
.wc-block-cart__main.wc-block-components-main {
    background: #FFFFFF !important;
    border: 1px solid #EDD9C8 !important;
    border-radius: 16px !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 2px 12px rgba(200, 121, 65, 0.07) !important;
}

/* Cart table header */
.wc-block-cart-items .wc-block-cart-items__header {
    background: transparent !important;
}

.wc-block-cart-items .wc-block-cart-items__header th {
    background: transparent !important;
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 14px 24px !important;
    border-bottom: 1px solid rgba(200, 121, 65, 0.15) !important;
}

/* Cart item rows */
.wc-block-cart-items .wc-block-cart-items__row {
    padding: 24px !important;
    border-bottom: 1px solid rgba(200, 121, 65, 0.1) !important;
    transition: background 0.2s ease !important;
}

.wc-block-cart-items .wc-block-cart-items__row:hover {
    background: rgba(253, 248, 244, 0.5) !important;
}

.wc-block-cart-items .wc-block-cart-items__row:last-child {
    border-bottom: none !important;
}

/* Product image */
.wc-block-cart-item__image img {
    border-radius: 12px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    width: 90px !important;
    height: 90px !important;
    object-fit: cover !important;
}

/* Product name */
.wc-block-cart-item__product .wc-block-components-product-name {
    color: var(--text-light) !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.wc-block-cart-item__product .wc-block-components-product-name:hover {
    color: var(--primary) !important;
}

/* Product metadata (variations, description) - hidden per design */
.wc-block-cart-item__product .wc-block-components-product-metadata,
.wc-block-cart-item__product .wc-block-components-product-details,
.wc-block-components-product-details,
.wc-block-cart-item__product-metadata,
.wc-block-cart-item__product-details,
.wc-block-components-product-metadata__description {
    display: none !important;
}

/* Price display */
.wc-block-cart-item__product .wc-block-components-product-price {
    margin-top: 8px !important;
}

.wc-block-cart-item__product .wc-block-components-product-price .wc-block-formatted-money-amount,
.wc-block-cart-item__product .wc-block-components-product-price ins .wc-block-formatted-money-amount {
    color: var(--primary) !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
}

.wc-block-cart-item__product .wc-block-components-product-price del .wc-block-formatted-money-amount {
    color: var(--text-muted) !important;
    font-weight: 400 !important;
    font-size: 0.85rem !important;
}

/* Subtotal */
.wc-block-cart-item__total .wc-block-formatted-money-amount {
    color: var(--primary) !important;
    font-weight: 800 !important;
    font-size: 14px !important;
}

/* Quantity selector */
.wc-block-components-quantity-selector {
    border: 1.5px solid #EDD9C8 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
    font-weight: 700 !important;
    color: var(--text-light) !important;
    font-size: 0.95rem !important;
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
    color: var(--primary) !important;
    transition: background 0.2s ease !important;
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover {
    background: rgba(200, 121, 65, 0.08) !important;
}

/* Remove item button */
.wc-block-cart-item__remove-link {
    color: #ef4444 !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    opacity: 0.7 !important;
    transition: opacity 0.2s ease !important;
}

.wc-block-cart-item__remove-link:hover {
    opacity: 1 !important;
}

h2.wp-block-woocommerce-cart-order-summary-heading-block.wc-block-cart__totals-title {
    font-size: 15px !important;
    padding-top: 0;
    padding-bottom: 10px !important;
    font-weight: 500 !important;
    color: #8a6e53 !important;
    margin-bottom: 5px !important;
}

/* === SIDEBAR / TOTALS === */
.wc-block-cart__sidebar.wc-block-components-sidebar {
    background: #FFFFFF !important;
    border: 1px solid #EDD9C8 !important;
    border-radius: 16px !important;
    padding: 15px !important;
    box-shadow: 0 2px 12px rgba(200, 121, 65, 0.07) !important;
    align-self: flex-start !important;
    position: sticky !important;
    top: 100px !important;
}

.wc-block-cart__totals-title {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--text-light) !important;
    margin-bottom: 20px !important;
    padding-bottom: 16px !important;
    border-bottom: 2px solid #EDD9C8 !important;
}

/* Totals rows */
.wc-block-cart__sidebar .wc-block-components-totals-wrapper {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.wc-block-cart__sidebar .wc-block-components-totals-item {
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(200, 121, 65, 0.08) !important;
}

.wc-block-cart__sidebar .wc-block-components-totals-item__label {
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
}

.wc-block-cart__sidebar .wc-block-components-totals-item__value {
    color: var(--text-light) !important;
    font-weight: 700 !important;
}

/* Grand total */
.wc-block-components-totals-footer-item {
    border-top: 2px solid #EDD9C8 !important;
    border-bottom: none !important;
    padding-top: 16px !important;
    margin-top: 8px !important;
}

.wp-block-woocommerce-cart-order-summary-coupon-form-block.wc-block-components-totals-wrapper {
    display: none;
}

.wc-block-cart__sidebar .wc-block-components-totals-item {
    border-top: 0 !important;
}

body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link) {
    font-size: 15px !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 10px !important;
}

span.wc-block-components-address-form__address_2-toggle {
    display: none;
}

.wc-block-components-form .wc-block-components-text-input input:-webkit-autofill+label,
.wc-block-components-form .wc-block-components-text-input.is-active label,
.wc-block-components-text-input input:-webkit-autofill+label,
.wc-block-components-text-input.is-active label {
    top: -10px;
    background: #fdf8f4;
    padding: 1px;
    border-radius: 3px;
    height: 20px;
}

.wc-block-components-form .wc-block-components-text-input label,
.wc-block-components-text-input label {
    font-size: 12px;
}

.wc-block-cart__submit {
    margin-bottom: 0 !important;
}

.wc-block-components-totals-wrapper {
    border-top: 0;
}

body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link):hover {
    background: rgb(235, 83, 12) !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--text-light) !important;
}

/* === HIDE UNWANTED CHECKOUT FIELDS === */
.wc-block-components-address-form__country,
.wc-block-components-address-form__address_1,
.wc-block-components-address-form__address_2,
.wc-block-components-address-form__postcode,
.wc-block-components-address-form__city,
.wc-block-components-address-form__state,
.wc-block-components-address-form__company,
.wc-block-components-address-form__last_name {
    display: none !important;
}

/* Make first name full width and rename it */
.wc-block-components-address-form__first_name {
    flex-basis: 100% !important;
    max-width: 100% !important;
}

.wc-block-components-address-form__first_name label {
    font-size: 0 !important;
}

.wc-block-components-address-form__first_name label::before {
    content: "Họ và tên *";
    font-size: 13px !important;
    visibility: visible !important;
}

/* Rename Phone label to remove (tùy chọn) */
.wc-block-components-address-form__phone label {
    font-size: 0 !important;
}

.wc-block-components-address-form__phone label::before {
    content: "Số điện thoại *";
    font-size: 13px !important;
    visibility: visible !important;
}

.wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
    color: var(--primary) !important;
    font-weight: 800 !important;
    font-size: 1.4rem !important;
}

/* Checkout button */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
    background: var(--primary) !important;
    color: var(--white) !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    padding: 16px 32px !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(200, 121, 65, 0.2) !important;
    margin-top: 20px !important;
}

.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
    background: var(--primary-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(200, 121, 65, 0.35) !important;
}

/* === COUPON === */
.wc-block-components-totals-coupon__form .wc-block-components-text-input input {
    border: 1.5px solid #EDD9C8 !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(200, 121, 65, 0.1) !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-button {
    background: var(--primary) !important;
    color: var(--white) !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
}

/* Coupon toggle */
.wc-block-components-totals-coupon .wc-block-components-panel__button {
    color: var(--primary) !important;
    font-weight: 600 !important;
}

/* === CHECKOUT FORM FIELDS === */
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input {
    border: 1.5px solid #EDD9C8 !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-combobox .wc-block-components-combobox-control input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(200, 121, 65, 0.1) !important;
}

/* Checkout sidebar */
.wc-block-checkout__sidebar .wc-block-components-sidebar {
    background: #fdf8f4 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    border: 1px solid rgba(200, 121, 65, 0.1) !important;
}


/* Mobile Responsive */
@media (max-width: 991px) {
    .woocommerce-account.logged-in .woocommerce {
        grid-template-columns: 1fr;
        padding: 20px 0 40px;
        gap: 20px;
    }

    .vibewp-account-nav {
        position: static;
    }

    .vibewp-account-nav ul {
        display: flex;
        flex-wrap: wrap;
        padding: 10px;
        gap: 4px;
    }

    .vibewp-account-nav ul li {
        flex: 1 1 auto;
    }

    .vibewp-account-nav ul li a {
        padding: 10px 14px;
        border-left: none;
        border-radius: 8px;
        justify-content: center;
        font-size: 0.85rem;
    }

    .vibewp-account-nav ul li a:hover,
    .vibewp-account-nav ul li.is-active a {
        border-left-color: transparent;
        background: rgba(99, 102, 241, 0.1);
    }

    .vibewp-account-nav__text {
        display: none;
    }

    .vibewp-account-nav ul li:last-child a {
        border-top: none;
        margin-top: 0;
        padding-top: 10px;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 20px;
    }
}

.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1 {
    width: 100%;
}

.woocommerce-checkout .woocommerce-info::before,
.woocommerce-checkout .woocommerce-message::before {
    display: none;
}

.checkout_coupon.woocommerce-form-coupon button.button {
    display: block;
    width: 100% !important;
    background: linear-gradient(135deg, #b07d62 0%, #8b5e3c 100%) !important;
    color: #fff !important;
    padding: 16px 32px !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 20px rgba(176, 125, 98, 0.3) !important;
    margin-top: 8px;
}

.woocommerce-checkout #payment ul.payment_methods li label img {
    width: 30px;
}

h2.wp-block-heading.has-text-align-center.with-empty-cart-icon.wc-block-cart__empty-cart__title {
    text-align: center;
}

section.woocommerce-order-details {
    padding-top: 0;
    margin-bottom: 0;
    padding-bottom: 0 !important;
}

section.woocommerce-customer-details {
    padding: 0;
}

ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
    margin-bottom: 0 !important;
}

h2.woocommerce-order-details__title {
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0 !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
    padding: 0;
}

.woocommerce-checkout #payment .payment_box {
    padding: 10px 10px !important;
    margin-bottom: 0 !important;
}

.woocommerce table.shop_table thead th {
    padding: 10px 20px;
}

.woocommerce table.shop_table tr:last-child td {
    padding: 10px 20px;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
    padding: 10px 20px !important;
}

/* =============================================
   PREMIUM CHECKOUT - VIBEWP
   ============================================= */

/* Wrapper chính — card bọc toàn bộ form */
.woocommerce-checkout .post-content,
.woocommerce-checkout .entry-content {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    padding: 40px 48px;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(61, 43, 31, 0.06);
}

/* Form chính */
form.checkout.woocommerce-checkout {
    max-width: 100%;
}

/* Coupon / login bar */
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message {
    background: #fdf8f4;
    border: none;
    border-left: 3px solid #b07d62;
    padding: 13px 18px;
    border-radius: 10px;
    margin-bottom: 28px;
    font-size: 14px;
    color: #5a3e2b;
    line-height: 1.5;
}

.woocommerce-checkout .woocommerce-info::before,
.woocommerce-checkout .woocommerce-message::before {
    color: #b07d62;
}

.woocommerce-checkout .woocommerce-info a {
    color: #b07d62;
    font-weight: 600;
    text-decoration: underline;
}

/* Section headings */
form.checkout h3,
.woocommerce-checkout #order_review_heading {
    font-size: 18px;
    font-weight: 700;
    color: #3d2b1f;
    margin: 0 0 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f5ebe3;
    letter-spacing: -0.02em;
}

.woocommerce-checkout #order_review_heading {
    margin-top: 36px;
}

/* Form rows — full width */
.woocommerce-checkout .form-row {
    margin-bottom: 20px;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
}

.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    width: 100% !important;
    float: none !important;
}

/* Labels */
.woocommerce-checkout .form-row label {
    font-weight: 600;
    font-size: 13px;
    color: #7d6355;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.woocommerce-checkout .form-row label .required {
    color: #c0392b;
}

/* Inputs — full width, premium look */
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout textarea,
.woocommerce-checkout select {
    width: 100% !important;
    max-width: 100% !important;
    background: #fdf8f4 !important;
    border: 1.5px solid #e6d5c9 !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    font-size: 15px !important;
    color: #3d2b1f !important;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s !important;
    box-sizing: border-box !important;
    -webkit-appearance: none;
    appearance: none;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
    background: #fff !important;
    border-color: #b07d62 !important;
    box-shadow: 0 0 0 3px rgba(176, 125, 98, 0.1) !important;
    outline: none !important;
}

/* Select2 override */
.woocommerce-checkout .select2-container .select2-selection--single {
    height: 48px !important;
    border-radius: 12px !important;
    border: 1.5px solid #e6d5c9 !important;
    background: #fdf8f4 !important;
}

.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 48px !important;
    padding: 0 18px !important;
    color: #3d2b1f !important;
}

/* Order review table */
.woocommerce-checkout .woocommerce-checkout-review-order-table {
    width: 100%;
    background: #fdf8f4;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #f0e4d8;
    margin: 16px 0 28px;
    border-collapse: separate;
    border-spacing: 0;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #f0e4d8;
    font-size: 14px;
    color: #5a3e2b;
    text-align: left;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #998577;
    background: rgba(176, 125, 98, 0.06);
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td {
    font-weight: 700;
    font-size: 18px;
    color: #b07d62;
    border-bottom: none;
}

/* Payment box */
.woocommerce-checkout #payment {
    background: #fdf8f4;
    border-radius: 14px;
    padding: 24px 28px;
    border: 1px solid #f0e4d8;
}

.woocommerce-checkout #payment ul.payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    border: none;
}

.woocommerce-checkout #payment ul.payment_methods li {
    padding: 12px 0;
    border-bottom: 1px solid #f0e4d8;
    margin: 0;
}

.woocommerce-checkout #payment ul.payment_methods li:last-child {
    border-bottom: none;
}

.woocommerce-checkout #payment ul.payment_methods li label {
    font-weight: 600;
    color: #3d2b1f;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.woocommerce-checkout #payment .payment_box {
    background: #fff;
    border-radius: 10px;
    padding: 14px 18px;
    margin-top: 10px;
    font-size: 14px;
    color: #7d6355;
    line-height: 1.6;
    border: 1px solid #f0e4d8;
}

.woocommerce-checkout #payment .payment_box::before {
    display: none;
}

/* Place order button */
.woocommerce-checkout #place_order {
    display: block;
    width: 100% !important;
    background: linear-gradient(135deg, #b07d62 0%, #8b5e3c 100%) !important;
    color: #fff !important;
    padding: 16px 32px !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 20px rgba(176, 125, 98, 0.3) !important;
    margin-top: 8px;
}

.woocommerce-checkout #place_order:hover {
    background: linear-gradient(135deg, #3d2b1f 0%, #5a3e2b 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(61, 43, 31, 0.25) !important;
}

/* Checkbox & Radio */
.woocommerce-checkout input[type="checkbox"],
.woocommerce-checkout input[type="radio"] {
    accent-color: #b07d62;
    width: auto !important;
}

/* Privacy */
.woocommerce-checkout .woocommerce-privacy-policy-text {
    font-size: 13px;
    color: #998577;
    margin-bottom: 14px;
    line-height: 1.6;
}

.woocommerce-checkout .woocommerce-privacy-policy-text a {
    color: #b07d62;
}

/* Terms */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 768px) {

    .woocommerce-checkout .post-content,
    .woocommerce-checkout .entry-content {
        padding: 24px 20px;
        margin: 0 10px;
        border-radius: 14px;
    }
}

/* Checkout Container Optimization */
form.checkout.woocommerce-checkout {
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* Hide Order Notes / Additional Info */
.woocommerce-additional-fields {
    display: none !important;
}

/* =========================================
   WEB DESIGN SERVICE BOX (inside knowledge section)
   ========================================= */
.wds-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(145deg, #FAF3EF 0%, #F5EBE0 50%, #F0E4D8 100%);
    border: 1px solid #E8D5C0;
    box-shadow: 0 20px 60px rgba(139, 69, 19, 0.08);
}

.wds-box-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% 20%, rgba(200, 121, 65, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(139, 69, 19, 0.04) 0%, transparent 50%);
}

.wds-box-content {
    position: relative;
    z-index: 1;
    padding: 48px;
}

/* --- Header --- */
.wds-box-header {
    text-align: center;
    margin-bottom: 40px;
}

.wds-box-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(200, 121, 65, 0.1);
    border: 1px solid rgba(200, 121, 65, 0.2);
    color: #C87941;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.wds-box-title {
    font-size: 32px;
    font-weight: 800;
    color: #2D1A0A;
    margin-bottom: 12px;
}

.wds-box-highlight {
    background: linear-gradient(135deg, #C87941, #8B4513, #E8A060);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: wdsGradientShift 5s ease infinite;
}

@keyframes wdsGradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.wds-box-desc {
    font-size: 15px;
    color: #8A6E54;
    max-width: 500px;
    margin: 0 auto;
}

/* --- Feature items grid --- */
.wds-features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.wds-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #E8D5C0;
    transition: all 0.35s ease;
}

.wds-feature-item:hover {
    border-color: #C87941;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(200, 121, 65, 0.12);
}

.wds-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(200, 121, 65, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #C87941;
    transition: all 0.35s ease;
}

.wds-feature-item:hover .wds-feature-icon {
    background: rgba(200, 121, 65, 0.18);
    box-shadow: 0 0 16px rgba(200, 121, 65, 0.1);
}

/* Icon color variants — warm palette */
.wds-fi-blue {
    background: rgba(24, 119, 242, 0.1) !important;
    color: #1877F2 !important;
}

.wds-feature-item:hover .wds-fi-blue {
    background: rgba(24, 119, 242, 0.18) !important;
    box-shadow: 0 0 16px rgba(24, 119, 242, 0.1) !important;
}

.wds-fi-purple {
    background: rgba(168, 85, 247, 0.1) !important;
    color: #A855F7 !important;
}

.wds-feature-item:hover .wds-fi-purple {
    background: rgba(168, 85, 247, 0.18) !important;
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.1) !important;
}

.wds-fi-cyan {
    background: rgba(181, 98, 30, 0.1) !important;
    color: #B5621E !important;
}

.wds-feature-item:hover .wds-fi-cyan {
    background: rgba(181, 98, 30, 0.18) !important;
    box-shadow: 0 0 16px rgba(181, 98, 30, 0.1) !important;
}

.wds-fi-amber {
    background: rgba(139, 69, 19, 0.1) !important;
    color: #8B4513 !important;
}

.wds-feature-item:hover .wds-fi-amber {
    background: rgba(139, 69, 19, 0.18) !important;
    box-shadow: 0 0 16px rgba(139, 69, 19, 0.1) !important;
}

.wds-fi-green {
    background: rgba(160, 120, 60, 0.1) !important;
    color: #9A7030 !important;
}

.wds-feature-item:hover .wds-fi-green {
    background: rgba(160, 120, 60, 0.18) !important;
    box-shadow: 0 0 16px rgba(160, 120, 60, 0.1) !important;
}

.wds-feature-info h5 {
    font-size: 16px;
    font-weight: 700;
    color: #2D1A0A;
    margin-bottom: 4px;
}

.wds-feature-info p {
    font-size: 13px;
    color: #8A6E54;
    line-height: 1.6;
    margin: 0;
}

/* --- CTA area --- */
.wds-box-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 32px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #E8D5C0;
}

.wds-box-stats {
    display: flex;
    gap: 40px;
}

.wds-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wds-stat-num {
    font-size: 28px;
    font-weight: 800;
    color: #C87941;
    line-height: 1.2;
}

.wds-stat-label {
    font-size: 12px;
    color: #8A6E54;
    font-weight: 500;
    margin-top: 2px;
}

.wds-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border-radius: 12px;
    background: linear-gradient(135deg, #C87941, #8B4513);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 4px 20px rgba(200, 121, 65, 0.25);
    white-space: nowrap;
}

.wds-cta-btn:hover {
    background: linear-gradient(135deg, #B5621E, #7B3F00);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 121, 65, 0.35);
    color: #fff;
}

.wds-cta-btn i {
    transition: transform 0.3s ease;
}

.wds-cta-btn:hover i {
    transform: translateX(4px);
}

.category-section-page {
    padding: 30px 0 !important;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .wds-box-content {
        padding: 36px 28px;
    }

    .wds-box-title {
        font-size: 26px;
    }

    .wds-features-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .wds-box-cta {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .wds-box-content {
        padding: 28px 20px;
    }

    .wds-box-title {
        font-size: 22px;
    }

    .wds-features-row {
        grid-template-columns: 1fr;
    }

    .wds-box-stats {
        gap: 24px;
    }

    .wds-stat-num {
        font-size: 22px;
    }
}

/* ==============================
   PAGE CONTENT BOX
   ============================== */
.page-content-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #f0e4d8;
    box-shadow: 0 20px 60px rgba(61, 43, 31, 0.08);
}

.page-content-box ul li {
    list-style: disc;
}

.page-content-box-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 5% 10%, rgba(200, 121, 65, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 95% 90%, rgba(139, 69, 19, 0.03) 0%, transparent 50%);
}

.page-content-box-inner {
    position: relative;
    z-index: 1;
    padding: 48px;
}

.page-content-box-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 0;
}

.page-content-box-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(200, 121, 65, 0.12) 0%, rgba(139, 69, 19, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #C87941;
}

.page-content-box-title {
    font-size: 22px;
    font-weight: 800;
    color: #2D1A0A;
    margin: 0 0 4px;
    border: none;
    padding: 0;
}

.page-content-box-meta {
    font-size: 13px;
    color: #998577;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 2px;
}

.page-content-box-divider {
    height: 2px;
    background: linear-gradient(90deg, #f5ebe3 0%, rgba(200, 121, 65, 0.15) 50%, #f5ebe3 100%);
    margin: 28px 0 32px;
    border-radius: 2px;
}

/* --- Prose typography inside box --- */
.page-content-prose {
    font-size: 16px;
    line-height: 1.8;
    color: #3d2b1f;
}

.page-content-prose h2 {
    font-size: 24px;
    font-weight: 800;
    color: #2D1A0A;
    margin: 40px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f5ebe3;
}

.page-content-prose h3 {
    font-size: 20px;
    font-weight: 700;
    color: #3d2b1f;
    margin: 32px 0 14px;
}

.page-content-prose h4 {
    font-size: 17px;
    font-weight: 700;
    color: #5a3e2b;
    margin: 24px 0 10px;
}

.page-content-prose p {
    margin-bottom: 18px;
    color: #5a3e2b;
}

.page-content-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 24px 0;
    box-shadow: 0 8px 30px rgba(61, 43, 31, 0.1);
}

.page-content-prose ul,
.page-content-prose ol {
    margin: 14px 0 22px;
    padding-left: 24px;
}

.page-content-prose li {
    margin-bottom: 8px;
    color: #5a3e2b;
}

.page-content-prose blockquote {
    border-left: 4px solid var(--primary, #C87941);
    background: #fdf8f4;
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #7d6355;
}

.page-content-prose a {
    color: var(--primary, #C87941);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.page-content-prose a:hover {
    color: #8B4513;
}

.page-content-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f0e4d8;
}

.page-content-prose table th,
.page-content-prose table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #f0e4d8;
}

.page-content-prose table th {
    background: #fdf8f4;
    font-weight: 700;
    color: #3d2b1f;
}

.page-content-prose .wp-block-image {
    margin: 28px 0;
}

.page-content-prose .wp-block-image figcaption {
    text-align: center;
    font-size: 13px;
    color: #998577;
    margin-top: 10px;
}

/* --- Responsive --- */
@media (max-width: 767px) {
    .page-content-box-inner {
        padding: 28px 20px;
    }

    .page-content-box-header {
        gap: 14px;
    }

    .page-content-box-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 12px;
    }

    .page-content-box-title {
        font-size: 18px;
    }

    .page-content-box-divider {
        margin: 20px 0 24px;
    }

    .page-content-prose h2 {
        font-size: 20px;
    }

    .page-content-prose h3 {
        font-size: 18px;
    }
}

/* ==============================
   AI MASCOT
   ============================== */
.tkw-ai-mascot-wrapper {
    position: fixed;
    bottom: 0px;
    left: 20px;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    gap: 15px;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
    cursor: pointer;
}

.tkw-ai-mascot-wrapper.show {
    transform: translateY(0);
    opacity: 1;
}

.tkw-ai-mascot-img {
    width: 150px;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(200, 121, 65, 0.3));
    animation: mascotBounce 3s infinite ease-in-out;
}

@keyframes mascotBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.tkw-ai-mascot-bubble {
    background: #fff;
    border-radius: 16px 16px 16px 0;
    padding: 16px 20px;
    max-width: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid rgba(200, 121, 65, 0.2);
    margin-bottom: 20px;
}

.tkw-ai-mascot-bubble::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: -1px;
    border-width: 10px 10px 0 0;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    z-index: 2;
}

.tkw-ai-mascot-bubble::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: -2px;
    border-width: 11px 11px 0 0;
    border-style: solid;
    border-color: rgba(200, 121, 65, 0.2) transparent transparent transparent;
    z-index: 1;
}

.tkw-ai-mascot-title {
    font-size: 15px;
    font-weight: 700;
    color: #C87941;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tkw-ai-mascot-text {
    font-size: 13.5px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.tkw-ai-mascot-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: transparent;
    border: none;
    color: #aaa;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0 4px;
    line-height: 1;
}

.tkw-ai-mascot-close:hover {
    color: #333;
}

@media (max-width: 767px) {
    .tkw-ai-mascot-img {
        width: 110px;
    }

    .tkw-ai-mascot-bubble {
        padding: 12px 16px;
        max-width: 240px;
    }

    .tkw-ai-mascot-title {
        font-size: 14px;
    }

    .tkw-ai-mascot-text {
        font-size: 12.5px;
    }

    .page-about-header {
        padding: 30px 0 !important;
    }

    .page-hero {
        padding: 30px 0;
    }

    section.course-hero {
        padding: 30px 0;
    }
}