/* assets/css/style.css - Sacred Vastu Lightish Green, Orange & White Premium Theme System */

/* Google Fonts are loaded once via <link> in includes/header.php (the old @import loaded them twice and blocked rendering). */

:root {
    /* Theme Color Tokens */
    --light-mint-bg: #f0fdf4;
    --light-mint-soft: #ecfdf5;
    --light-mint-card: #ffffff;
    --light-mint-border: #bbf7d0;

    --emerald-primary: #10b981;
    --emerald-dark: #047857;
    --emerald-deep: #062d1f;
    --emerald-gradient: linear-gradient(135deg, #10b981 0%, #047857 100%);
    --emerald-glow: rgba(16, 185, 129, 0.25);

    --orange-primary: #f97316;
    --orange-dark: #ea580c;
    --orange-light: #fb923c;
    --orange-gradient: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    --orange-glow: rgba(249, 115, 22, 0.35);

    /* Strict Readability Text Tokens */
    --text-heading: #062d1f;
    --text-body: #1e293b;
    --text-muted: #64748b;
    --text-emerald: #047857;
    --text-orange: #ea580c;
    --text-white: #ffffff;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--light-mint-bg);
    color: var(--text-body);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-heading);
    letter-spacing: -0.01em;
}

.font-subheading {
    font-family: 'Outfit', sans-serif;
}

/* Glassmorphism / Elevated Light Cards */
.glass-card {
    background: var(--light-mint-card);
    border: 1px solid var(--light-mint-border);
    border-radius: 18px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.08);
}

.glass-card:hover {
    border-color: var(--orange-primary);
    box-shadow: 0 16px 45px rgba(249, 115, 22, 0.18), 0 0 20px var(--orange-glow);
    transform: translateY(-5px);
}

/* Vibrant Orange & Emerald Buttons */
.btn-orange, .btn-gold {
    background: var(--orange-gradient) !important;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    padding: 10px 24px;
    box-shadow: 0 4px 18px var(--orange-glow);
    transition: all 0.3s ease;
}

.btn-orange:hover, .btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(249, 115, 22, 0.5);
    color: #ffffff !important;
}

.btn-emerald {
    background: var(--emerald-gradient) !important;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    padding: 10px 24px;
    box-shadow: 0 4px 18px var(--emerald-glow);
    transition: all 0.3s ease;
}

.btn-emerald:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(16, 185, 129, 0.45);
    color: #ffffff !important;
}

.btn-outline-orange, .btn-outline-gold {
    background: transparent !important;
    border: 2px solid var(--orange-primary) !important;
    color: var(--orange-dark) !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    border-radius: 12px;
    padding: 8px 22px;
    transition: all 0.3s ease;
}

.btn-outline-orange:hover, .btn-outline-gold:hover {
    background: var(--orange-gradient) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 18px var(--orange-glow);
}

.btn-outline-emerald {
    background: transparent !important;
    border: 2px solid var(--emerald-primary) !important;
    color: var(--emerald-dark) !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    border-radius: 12px;
    padding: 8px 22px;
    transition: all 0.3s ease;
}

.btn-outline-emerald:hover {
    background: var(--emerald-gradient) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 18px var(--emerald-glow);
}

/* Main Header Sticky Container */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1080;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(6, 45, 31, 0.08);
    transition: all 0.3s ease;
}

.header-sticky {
    position: relative;
    width: 100%;
    background: #ffffff;
}

/* Navbar Navbar */
.navbar-vastu {
    background: #ffffff;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    padding: 12px 0;
}

.navbar-vastu .nav-link {
    color: var(--text-heading);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    margin: 0 4px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.navbar-vastu .nav-link:hover,
.navbar-vastu .nav-link.active {
    color: var(--orange-dark) !important;
    background: rgba(249, 115, 22, 0.1);
}

/* Topbar Styling & Bullet Reset */
.topbar, .top-bar {
    background: var(--emerald-deep) !important;
    color: #ffffff !important;
    font-size: 0.88rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(249, 115, 22, 0.3);
    position: relative;
    z-index: 1081;
}

.topbar-contact-info ul, .top-bar ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
}

.topbar-contact-info li, .top-bar li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.topbar-contact-info a, .top-bar a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    transition: color 0.25s ease;
}

.topbar-contact-info a:hover, .top-bar a:hover {
    color: var(--orange-light) !important;
}

/* Section Padding Utility */
.section-padding {
    padding: 80px 0;
}

/* Card Alignment & Equal Heights */
.product-card, .service-card, .blog-card, .team-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card .card-body, .service-card .card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    padding: 90px 0 75px;
    background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 50%, #fff7ed 100%);
}

.hero-title {
    font-size: 3.3rem;
    font-weight: 800;
    color: var(--emerald-deep);
    line-height: 1.18;
}

.hero-title span {
    color: var(--orange-primary);
}

/* Badges */
.badge-emerald, .badge-gold {
    background: var(--emerald-gradient) !important;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 6px 14px;
    border-radius: 20px;
}

.badge-orange, .badge-indigo {
    background: var(--orange-gradient) !important;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 6px 14px;
    border-radius: 20px;
}

/* Price Tags */
.price-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--orange-dark) !important;
}

.price-tag-old {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-left: 6px;
}

/* Section Titles */
.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--emerald-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 8px;
    display: inline-block;
}

/* Accordion Styling */
.accordion-vastu .accordion-item {
    background: #ffffff;
    border: 1px solid var(--light-mint-border);
    margin-bottom: 12px;
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.accordion-vastu .accordion-button {
    background: #ffffff;
    color: var(--text-heading);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    padding: 18px 22px;
    box-shadow: none;
}

.accordion-vastu .accordion-button:not(.collapsed) {
    color: var(--orange-dark);
    background: rgba(249, 115, 22, 0.08);
}

.accordion-vastu .accordion-body {
    color: var(--text-body);
    padding: 16px 22px 22px;
    line-height: 1.7;
}

/* Table Styling for Clear Visibility */
.table-vastu {
    color: var(--text-body);
    border-color: var(--light-mint-border);
}

.table-vastu th {
    background: #ecfdf5;
    color: var(--emerald-deep);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    border-bottom: 2px solid var(--emerald-primary);
}

.table-vastu td {
    background: #ffffff;
    vertical-align: middle;
}

/* Form Controls with Sharp Contrast */
.form-control, .form-select {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #a7f3d0 !important;
    border-radius: 10px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--orange-primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(249, 115, 22, 0.2) !important;
}

.form-control::placeholder {
    color: #94a3b8 !important;
}

/* Keyframe Micro-Animations */
@keyframes floatAnim {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.floating-element {
    animation: floatAnim 4s ease-in-out infinite;
}

/* Footer Styling */
.footer-vastu {
    background: var(--emerald-deep);
    color: #ffffff;
    padding: 60px 0 25px;
    border-top: 3px solid var(--orange-primary);
}

.footer-title {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--orange-light);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.25s ease;
}

.footer-links a:hover {
    color: var(--orange-light);
    padding-left: 5px;
}

/* Mobile off-canvas menu */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 45, 31, 0.55);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1098;
}

body.mobile-menu-open .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
}

body.mobile-menu-open {
    overflow: hidden;
}

body.mobile-menu-open .main-header {
    z-index: 1100;
}

/* On phones the dark contact strip is hidden completely. */
@media (max-width: 991.98px) {
    .topbar,
    .top-bar {
        display: none !important;
    }
}

/* Hide the header bar while the drawer is open, but keep the drawer visible. */
@media (max-width: 991.98px) {
    body.mobile-menu-open .topbar,
    body.mobile-menu-open .top-bar {
        visibility: hidden;
    }

    body.mobile-menu-open .main-header,
    body.mobile-menu-open .header-sticky,
    body.mobile-menu-open .navbar-vastu {
        visibility: hidden;
        background: transparent;
        box-shadow: none;
        border-color: transparent;
    }

    body.mobile-menu-open .main-menu {
        visibility: visible;
    }
}

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.85rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid rgba(6, 45, 31, 0.08);
}

.mobile-menu-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-deep);
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    color: var(--emerald-deep);
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.mobile-menu-close:hover {
    background: var(--emerald-primary);
    color: #ffffff;
}

@media (max-width: 991.98px) {
    .main-menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        height: 100dvh;
        width: min(84vw, 350px);
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        margin: 0;
        padding: 1.25rem 1.25rem 1.75rem;
        background: #ffffff;
        border-left: 4px solid var(--orange-primary);
        box-shadow: -16px 0 45px rgba(6, 45, 31, 0.25);
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateX(105%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1101;
    }

    body.mobile-menu-open .main-menu {
        transform: translateX(0);
    }

    .main-menu .navbar-nav {
        width: 100%;
        margin: 0 !important;
        gap: 2px;
    }

    .main-menu .nav-item {
        width: 100%;
    }

    .main-menu .navbar-nav .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0;
        padding: 0.85rem 1rem;
        border-radius: 12px;
        font-size: 1.02rem;
    }

    .main-menu .navbar-nav .nav-link:hover,
    .main-menu .navbar-nav .nav-link.active {
        background: rgba(16, 185, 129, 0.12);
        color: var(--emerald-dark) !important;
    }

    .main-menu .header-btn {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.75rem !important;
        width: 100%;
        margin-top: auto;
        padding-top: 1.25rem;
        border-top: 1px solid rgba(6, 45, 31, 0.08);
    }

    .main-menu .header-btn > a,
    .main-menu .header-btn .dropdown > a {
        justify-content: flex-start;
    }

    .main-menu .header-btn .btn-orange {
        width: 100%;
        padding: 0.7rem 1rem;
    }

    .main-menu .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        box-shadow: none !important;
        border: 1px solid rgba(6, 45, 31, 0.08) !important;
        margin-top: 0.35rem !important;
    }

    /* Profile / auth block */
    .mobile-menu-profile {
        padding: 0.9rem 1rem;
        border-radius: 16px;
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(249, 115, 22, 0.1));
        border: 1px solid rgba(16, 185, 129, 0.18);
    }

    .mobile-menu-profile-row {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        min-width: 0;
    }

    .mobile-menu-avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--emerald-gradient);
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Outfit', sans-serif;
        font-weight: 700;
        font-size: 1.15rem;
        flex: 0 0 auto;
        box-shadow: 0 6px 16px var(--emerald-glow);
    }

    .mobile-menu-profile-info {
        min-width: 0;
    }

    .mobile-menu-profile-name {
        font-family: 'Outfit', sans-serif;
        font-weight: 700;
        color: var(--emerald-deep);
        font-size: 0.98rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-menu-profile-email {
        font-size: 0.78rem;
        color: #64748b;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-menu-auth .btn {
        padding: 0.6rem 0.9rem;
        font-weight: 600;
        border-radius: 10px;
    }

    .mobile-menu-section-label {
        font-family: 'Outfit', sans-serif;
        font-weight: 700;
        font-size: 0.7rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: #94a3b8;
        margin: 0.9rem 0 0.15rem;
        padding-left: 0.25rem;
    }

    .mobile-menu-links {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .mobile-menu-links a {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.7rem 0.75rem;
        border-radius: 12px;
        color: var(--text-heading);
        text-decoration: none;
        font-family: 'Outfit', sans-serif;
        font-weight: 600;
        font-size: 0.95rem;
        transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    }

    .mobile-menu-links a:hover {
        background: rgba(16, 185, 129, 0.1);
        color: var(--emerald-dark);
        transform: translateX(2px);
    }

    .mobile-menu-link-icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        background: rgba(16, 185, 129, 0.1);
        color: var(--emerald-dark);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        flex: 0 0 auto;
        transition: all 0.2s ease;
    }

    .mobile-menu-links a:hover .mobile-menu-link-icon {
        background: var(--emerald-gradient);
        color: #ffffff;
    }

    .mobile-menu-links a .fa-chevron-right {
        font-size: 0.7rem;
        color: #cbd5e1;
    }

    .mobile-menu-count {
        min-width: 22px;
        height: 22px;
        padding: 0 6px;
        border-radius: 999px;
        background: var(--orange-primary);
        color: #ffffff;
        font-size: 0.72rem;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-logout {
        color: #dc2626 !important;
    }

    .mobile-menu-logout .mobile-menu-link-icon {
        background: rgba(220, 38, 38, 0.1);
        color: #dc2626;
    }

    .mobile-menu-logout:hover {
        background: rgba(220, 38, 38, 0.08) !important;
        color: #b91c1c !important;
    }

    .mobile-menu-logout:hover .mobile-menu-link-icon {
        background: #dc2626;
        color: #ffffff;
    }

    /* Bottom action + social block */
    .mobile-menu-footer {
        margin-top: auto;
        padding-top: 1rem;
        border-top: 1px solid rgba(6, 45, 31, 0.08);
        display: flex;
        flex-direction: column;
        gap: 0.9rem;
    }

    .mobile-menu-footer .btn-orange {
        padding: 0.72rem 1rem;
        border-radius: 12px;
        font-weight: 700;
    }

    .mobile-menu-socials {
        display: flex;
        flex-direction: column;
        gap: 0.55rem;
    }

    .mobile-menu-socials-label {
        font-family: 'Outfit', sans-serif;
        font-weight: 700;
        font-size: 0.7rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: #94a3b8;
    }

    .mobile-menu-social {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(16, 185, 129, 0.1);
        color: var(--emerald-dark);
        text-decoration: none;
        font-size: 1rem;
        border: 1px solid rgba(16, 185, 129, 0.18);
        transition: all 0.2s ease;
    }

    .mobile-menu-social:hover {
        background: var(--emerald-gradient);
        color: #ffffff;
        transform: translateY(-2px);
        border-color: transparent;
    }
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .topbar-contact-info ul, .top-bar ul {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
    }
}

/* Service booking modal: keep the header & footer pinned and make the body
   scroll. Bootstrap's scrollable class assumes header/body/footer are direct
   children of .modal-content; here a <form> wraps the body & footer, so we
   establish the flex chain ourselves. */
#serviceBookingModal .modal-content {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 4rem);
    overflow: hidden;
}

#serviceBookingModal .modal-content > form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

#serviceBookingModal .modal-header,
#serviceBookingModal .modal-footer {
    flex: 0 0 auto;
}

#serviceBookingModal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

#serviceBookingModal .modal-body .row {
    --bs-gutter-x: 0.75rem;
}

/* The sticky header (z-index 1080/1081) sits above Bootstrap's default modal
   z-index (1055), which makes the modal slide behind the navbar. Lift the
   booking modal (and its backdrop) above the header so it is never covered. */
#serviceBookingModal {
    z-index: 1090;
}

body:has(#serviceBookingModal.show) .modal-backdrop {
    z-index: 1085;
}

/* Payment-method badge in My Orders (soft violet, easy to read) */
.badge-method {
    background: #ede9fe;
    color: #5b21b6;
    border: 1px solid #ddd6fe;
}

/* My Orders infinite-scroll loader */
#orders-loader .spinner-border {
    width: 1.6rem;
    height: 1.6rem;
    color: var(--orange-dark, #ea580c);
}

/* Customer account pages */
.profile-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--emerald-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    box-shadow: 0 10px 24px var(--emerald-glow);
}

.soft-icon-tile {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex: 0 0 auto;
}

/* Product / service detail description card */
.detail-description-card {
    margin-top: 44px;
    padding: clamp(22px, 4vw, 40px);
    border: 1px solid #e2ebe3;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(6, 45, 31, 0.07);
}

.detail-description-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8efe9;
}

.detail-description-icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid #d1fae5;
    border-radius: 16px;
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    color: var(--emerald-dark, #047857);
    font-size: 1.25rem;
}

.detail-description-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--orange-dark, #ea580c);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.detail-description-head h2 {
    margin: 0;
    color: var(--emerald-deep, #062d1f);
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    line-height: 1.25;
}

.detail-description-body {
    color: #526158;
    font-size: 1rem;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.detail-description-body > :first-child {
    margin-top: 0;
}

.detail-description-body > :last-child {
    margin-bottom: 0;
}

.detail-description-body h1,
.detail-description-body h2,
.detail-description-body h3,
.detail-description-body h4,
.detail-description-body h5 {
    margin: 1.6em 0 0.6em;
    color: var(--emerald-deep, #062d1f);
    font-family: 'Outfit', sans-serif;
    line-height: 1.3;
}

.detail-description-body h2 {
    font-size: 1.45rem;
}

.detail-description-body h3 {
    font-size: 1.2rem;
}

.detail-description-body p {
    margin: 0 0 1.1em;
}

.detail-description-body ul,
.detail-description-body ol {
    margin: 0 0 1.2em;
    padding-left: 1.4em;
}

.detail-description-body li {
    margin-bottom: 0.45em;
}

.detail-description-body strong,
.detail-description-body b {
    color: #24342c;
}

.detail-description-body a {
    color: var(--emerald-dark, #047857);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.detail-description-body blockquote {
    margin: 1.4em 0;
    padding: 14px 20px;
    border-left: 4px solid var(--emerald-primary, #10b981);
    border-radius: 0 12px 12px 0;
    background: #f0fdf4;
    color: #405248;
}

.detail-description-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.3em auto;
    border-radius: 14px;
}

.detail-description-body table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 1.3em 0;
    overflow-x: auto;
    border-collapse: collapse;
}

.detail-description-body th,
.detail-description-body td {
    padding: 10px 14px;
    border: 1px solid #e2ebe3;
    text-align: left;
}

.detail-description-body th {
    background: #f0fdf4;
    color: var(--emerald-deep, #062d1f);
}

.detail-description-body iframe,
.detail-description-body video {
    max-width: 100%;
    border-radius: 14px;
}

.detail-description-body hr {
    margin: 1.6em 0;
    border: 0;
    border-top: 1px solid #e8efe9;
}

@media (max-width: 575.98px) {
    .detail-description-card {
        margin-top: 30px;
        border-radius: 16px;
    }

    .detail-description-head {
        gap: 12px;
    }

    .detail-description-icon {
        width: 44px;
        height: 44px;
        border-radius: 13px;
    }
}

/* Service – Add to Cart button (override) */
#serviceBookingSubmit {
    background: #a83232 !important;
    border-color: #a83232 !important;
}


/* Service – Add to Cart button full overrides */
#serviceBookingSubmit:hover { background: #962f1f !important; border-color: #962f1f !important; }
#serviceBookingSubmit:active { transform: translateY(2px) !important; }
#serviceBookingSubmit:focus, #serviceBookingSubmit:focus-visible { outline: 2px solid #10b981 !important; outline-offset: 4px !important; }
#serviceBookingSubmit:disabled { opacity: .5 !important; cursor: not-allowed !important; border-color: #555 !important; color: #555 !important; background: #555 !important; }
