:root {
    /* Updated Color Pattern */
    --pma-primary: #4b7ed1;
    --pma-secondary: #ffb800;
    --pma-navy: #020202;
    --pma-light-bg: #f4f7fa;
    --pma-text: #475569;
    --pma-border: #e2e8f0;
    --pma-error: #ef4444;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--pma-light-bg);
}

/* Prevent scrolling when drawer is open */
body.drawer-open {
    overflow: hidden;
}

.modern-hero-section {
    position: relative;
    margin-top: 150px;
    padding: 80px 0 70px;
    overflow: hidden;
    background-color: #020202;
    min-height: 320px;
    display: flex;
    align-items: center;
}
@keyframes cinematicZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(2, 2, 2, 0.95) 0%,
        rgba(2, 2, 2, 0.7) 45%,
        rgba(2, 2, 2, 0.2) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 4px 0;
}
.breadcrumb-item + .breadcrumb-item::before {
    display: none;
}
.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    /* text-transform: uppercase; */
}

.breadcrumb-item a i {
    color: var(--pma-primary);
    font-size: 13px;
}

.breadcrumb-item a:hover {
    color: var(--pma-secondary);
}

.breadcrumb-item.active {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.breadcrumb-item.separator {
    margin: 0 12px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
}

.hero-course-code {
    display: inline-block;
    background: rgba(75, 126, 209, 0.2);
    color: var(--pma-primary);
    border: 1px solid rgba(75, 126, 209, 0.4);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.15;
    letter-spacing: -0.5px;
    word-break: break-word;
}

.hero-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hero-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.hero-meta-badge i {
    color: var(--pma-secondary);
}

/* =========================================
            MAIN CONTENT & COURSE IMAGE
========================================= */
.course-body-wrapper {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding-bottom: 100px;
}

.course-media-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(2, 2, 2, 0.15);
    border: 4px solid #fff;
    margin-bottom: 0;
}

.course-main-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.course-media-wrapper:hover .course-main-image {
    transform: scale(1.05);
}

.course-media-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ef4444;
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    text-transform: uppercase;
}

.info-strip {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--pma-border);
    margin-bottom: 40px;
    margin-top: -40px;
    position: relative;
    z-index: 12;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.info-strip-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-strip-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--pma-light-bg);
    color: var(--pma-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.info-strip-text h6 {
    font-size: 13px;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
}

.info-strip-text p {
    font-size: 16px;
    font-weight: 800;
    color: var(--pma-navy);
    margin: 0;
}

.content-block {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--pma-border);
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.block-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--pma-navy);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--pma-border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.block-title i {
    color: var(--pma-primary);
}

.block-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--pma-text);
}

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

.custom-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--pma-navy);
    font-weight: 600;
}

.custom-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Pro", "Font Awesome 5 Free", sans-serif;
    font-weight: 900;
    color: var(--pma-primary);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 22px;
}

.doc-list li::before {
    content: "\f15c";
    color: var(--pma-secondary);
}

/* =========================================
        INTERACTIVE DATE SELECTION GRID
========================================= */
.pulse-attention {
    animation: pulseBorder 1.5s ease-in-out;
}

@keyframes pulseBorder {
    0% {
        border-color: var(--pma-border);
        box-shadow: none;
    }
    30% {
        border-color: var(--pma-primary);
        box-shadow: 0 0 0 6px rgba(75, 126, 209, 0.2);
    }
    100% {
        border-color: var(--pma-border);
        box-shadow: none;
    }
}

.month-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 20px;
    scrollbar-width: none;
    border-bottom: 2px solid var(--pma-light-bg);
}

.month-nav::-webkit-scrollbar {
    display: none;
}

.month-tab-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 10px 15px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    outline: none;
}

.month-tab-btn:hover {
    color: var(--pma-navy);
}

.month-tab-btn.active {
    color: var(--pma-primary);
    border-bottom-color: var(--pma-primary);
}

.date-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.selection-card-label {
    cursor: pointer;
    display: block;
    margin: 0;
    height: 100%;
}

.selection-card-inner {
    background: #fff;
    border: 2px solid var(--pma-border);
    border-radius: 16px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.selection-card-label:hover:not(.is-full) .selection-card-inner {
    border-color: #cbd5e1;
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(2, 2, 2, 0.08);
}

.batch-radio {
    display: none;
}

.selection-card-inner .check-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 22px;
    color: var(--pma-primary);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.batch-radio:checked + .selection-card-inner {
    border-color: var(--pma-primary);
    background: #f0f7ff;
    box-shadow: 0 15px 35px rgba(75, 126, 209, 0.15);
    transform: translateY(-4px);
}

.batch-radio:checked + .selection-card-inner .check-icon {
    opacity: 1;
    transform: scale(1);
}

.selection-card-inner .day {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--pma-navy);
    line-height: 1;
    margin-bottom: 5px;
    display: block;
    transition: 0.3s;
}

.selection-card-inner .month {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 1px;
    display: block;
    transition: 0.3s;
}

.batch-radio:checked + .selection-card-inner .day,
.batch-radio:checked + .selection-card-inner .month {
    color: var(--pma-primary);
}

.grid-badge {
    font-size: 12px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 15px;
}

.bg-success-subtle {
    background-color: #f0f7ff;
    color: var(--pma-primary);
}

.bg-warning-subtle {
    background-color: #fef3c7;
    color: #9a3412;
}

.bg-danger-subtle {
    background-color: #fee2e2;
    color: #991b1b;
}

.selection-card-label.is-full {
    cursor: not-allowed;
    opacity: 0.6;
}

.selection-card-label.is-full .selection-card-inner {
    background: #f8fafc;
    border-color: #e2e8f0;
}

/* =========================================
        DYNAMIC SIDEBAR & ADD TO CART
========================================= */
.sidebar-overlap {
    margin-top: -120px;
    position: sticky;
    top: 140px;
    z-index: 20;
}

.pricing-card {
    background: #fff;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 30px 60px rgba(2, 2, 2, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.price-huge {
    font-size: 3rem;
    font-weight: 800;
    color: var(--pma-navy);
    line-height: 1;
    margin-bottom: 5px;
    word-break: break-word;
}

.price-tax {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 25px;
    display: block;
}

.status-box {
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.4s ease;
    margin-bottom: 25px;
    border: 2px dashed #cbd5e1;
    background: var(--pma-light-bg);
}

.status-box.active {
    border: 2px solid var(--pma-primary);
    background: #f0f7ff;
    box-shadow: 0 10px 25px rgba(75, 126, 209, 0.1);
    transform: scale(1.02);
}

.status-empty {
    color: #64748b;
    font-weight: 700;
    font-size: 14px;
}

.status-empty i {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
    color: #94a3b8;
}

.status-filled {
    display: none;
}

.status-box.active .status-empty {
    display: none;
}

.status-box.active .status-filled {
    display: block;
    animation: fadeIn 0.4s ease;
}

.status-filled-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--pma-primary);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.status-filled-date {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--pma-navy);
}

.btn-dynamic-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px;
    border-radius: 16px;
    font-size: 1.15rem;
    font-weight: 800;
    border: none;
    transition: all 0.3s ease;
    margin-bottom: 25px;
}

.btn-dynamic-cart.state-scroll {
    background: var(--pma-navy);
    color: #fff;
    box-shadow: 0 10px 25px rgba(2, 2, 2, 0.2);
}

.btn-dynamic-cart.state-scroll:hover {
    background: #222;
    transform: translateY(-3px);
}

.btn-dynamic-cart.state-active {
    background: var(--pma-primary);
    color: #fff;
    box-shadow: 0 15px 30px rgba(75, 126, 209, 0.3);
}

.btn-dynamic-cart.state-active:hover {
    background: #3a62a3;
    transform: translateY(-3px);
}

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

.sidebar-features li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px dashed var(--pma-border);
    font-size: 14px;
    font-weight: 700;
    color: var(--pma-navy);
}

.sidebar-features li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-features li span {
    color: var(--pma-text);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-features li span i {
    color: var(--pma-primary);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* =========================================
        MOBILE STICKY ACTION BAR
========================================= */
.mobile-sticky-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 15px 20px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1030;
    border-top: 1px solid var(--pma-border);
    display: none;
    align-items: center;
    justify-content: space-between;
    transition: 0.3s;
}

.mobile-sticky-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--pma-navy);
    line-height: 1;
}

.mobile-sticky-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 3px;
}

.btn-mobile-dynamic {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 15px;
    border: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-mobile-dynamic.state-scroll {
    background: var(--pma-navy);
    color: #fff;
    box-shadow: 0 5px 15px rgba(2, 2, 2, 0.2);
}

.btn-mobile-dynamic.state-active {
    background: var(--pma-primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(75, 126, 209, 0.3);
}

/* =========================================
        PREMIUM SLIDING CART DRAWER
========================================= */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 2, 2, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -480px;
    width: 450px;
    max-width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    box-shadow: -15px 0 50px rgba(2, 2, 2, 0.2);
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    right: 0;
}

.drawer-header {
    padding: 25px 30px;
    border-bottom: 1px solid var(--pma-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--pma-light-bg);
}

.drawer-header h5 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--pma-navy);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-drawer-btn {
    background: #fff;
    border: 1px solid #cbd5e1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pma-text);
    cursor: pointer;
    transition: 0.3s;
}

.close-drawer-btn:hover {
    background: var(--pma-error);
    color: #fff;
    border-color: var(--pma-error);
    transform: rotate(90deg);
}

.drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 30px;
    background: #f8fafc;
}

.cart-item-card {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 15px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 10px 20px rgba(2, 2, 2, 0.04);
    position: relative;
    transition: all 0.3s ease;
}

.cart-item-card:hover {
    border-color: var(--pma-primary);
    box-shadow: 0 15px 30px rgba(75, 126, 209, 0.1);
}

.cart-item-img {
    width: 75px;
    height: 75px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--pma-border);
    flex-shrink: 0;
}

.cart-item-details h6 {
    font-size: 14px;
    font-weight: 800;
    color: var(--pma-navy);
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 15px;
}

.cart-item-details p {
    font-size: 12px;
    color: var(--pma-text);
    margin-bottom: 8px;
    font-weight: 600;
    background: var(--pma-light-bg);
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 6px;
    width: fit-content;
}

.cart-price-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--pma-primary);
    margin: 0;
}

.remove-item-btn {
    background: #fef2f2;
    color: var(--pma-error);
    border: 1px solid #fecaca;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.remove-item-btn:hover {
    background: var(--pma-error);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

.success-tick {
    position: absolute;
    top: -8px;
    left: -8px;
    background: var(--pma-primary);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(75, 126, 209, 0.3);
    z-index: 5;
}

.drawer-footer {
    padding: 30px;
    border-top: 1px solid var(--pma-border);
    background: #fff;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.02);
}

.drawer-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.drawer-total-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--pma-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.drawer-total-val {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--pma-navy);
}

.btn-checkout-premium {
    background: linear-gradient(135deg, var(--pma-primary) 0%, #3a62a3 100%);
    color: white;
    padding: 18px 24px;
    border-radius: 16px;
    font-size: 1.15rem;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 25px rgba(75, 126, 209, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
    border: none;
}

.btn-checkout-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(75, 126, 209, 0.4);
    color: white;
}

.btn-checkout-premium i {
    transition: transform 0.3s ease;
}

.btn-checkout-premium:hover i {
    transform: translateX(6px);
}

.btn-checkout-premium.disabled {
    background: #cbd5e1;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* RESPONSIVE */
@media (max-width: 1199px) {
    .sidebar-overlap {
        margin-top: 40px;
        position: static;
    }
}

@media (max-width: 991px) {
    body {
        padding-bottom: 90px;
    }
    .modern-hero-section {
        margin-top: 100px;
        padding: 60px 0;
        min-height: 280px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .course-body-wrapper {
        margin-top: -40px;
        padding-bottom: 40px;
    }
    .info-strip {
        width: 100%;
        margin-top: -20px;
        padding: 20px;
        gap: 15px;
        border-radius: 16px;
    }
    .content-block {
        padding: 25px;
        border-radius: 16px;
    }
    .mobile-sticky-action-bar {
        display: flex;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .premium-breadcrumb-wrapper {
        padding: 8px 14px;
    }
    .breadcrumb-item a,
    .breadcrumb-item.active {
        font-size: 11px;
    }
    .info-strip {
        grid-template-columns: 1fr;
    }
    .date-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
    .pricing-card {
        padding: 25px;
    }
    .price-huge {
        font-size: 2.2rem;
    }
    .selection-card-inner {
        padding: 20px 10px;
    }
    .selection-card-inner .day {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .modern-hero-section {
        margin-top: 80px;
    }
    .hero-course-code {
        font-size: 12px;
        padding: 4px 12px;
    }
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
    .drawer-header {
        padding: 20px;
    }
    .drawer-body {
        padding: 20px;
    }
    .drawer-footer {
        padding: 20px;
    }
    .cart-item-img {
        width: 65px;
        height: 65px;
    }
    .cart-item-details h6 {
        font-size: 13px;
    }
    .btn-checkout-premium {
        font-size: 1.05rem;
        padding: 15px 20px;
    }
    .drawer-total-val {
        font-size: 1.5rem;
    }
}

        .bg-success-subtle {
            background-color: #4b7ed142 !important;
        }

        .modern-date-card-wrapper {
            display: block;
            cursor: pointer;
            margin: 0;
            height: 100%;
            position: relative;
        }

        .modern-date-card {
            background: #ffffff;
            border: 2px solid var(--pma-border);
            border-radius: 16px;
            padding: 24px 12px 20px;
            text-align: center;
            position: relative;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
            overflow: hidden;
        }

        .modern-date-card-wrapper:hover:not(.is-full) .modern-date-card {
            border-color: #cbd5e1;
            transform: translateY(-6px);
            box-shadow: 0 14px 28px rgba(75, 126, 209, 0.12);
        }

        .batch-radio:checked+.modern-date-card {
            border-color: var(--pma-primary);
            background: #f4f8ff;
            box-shadow: 0 8px 25px rgba(75, 126, 209, 0.25);
            transform: translateY(-4px);
        }

        .modern-date-card .check-circle {
            position: absolute;
            top: 14px;
            right: 14px;
            width: 26px;
            height: 26px;
            background: var(--pma-primary);
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            opacity: 0;
            transform: scale(0.5) rotate(-45deg);
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: 0 4px 10px rgba(75, 126, 209, 0.4);
        }

        .batch-radio:checked+.modern-date-card .check-circle {
            opacity: 1;
            transform: scale(1) rotate(0deg);
        }

        .modern-date-card .date-big {
            font-size: 3rem;
            font-weight: 900;
            color: var(--pma-navy);
            line-height: 1;
            margin-bottom: 6px;
            transition: color 0.3s ease;
            letter-spacing: -1px;
        }

        .modern-date-card .month-year {
            font-size: 0.95rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: #64748b;
            margin-bottom: 15px;
            transition: color 0.3s ease;
        }

        .batch-radio:checked+.modern-date-card .date-big,
        .batch-radio:checked+.modern-date-card .month-year {
            color: var(--pma-primary);
        }

        .status-pill {
            font-size: 11px;
            font-weight: 800;
            padding: 6px 14px;
            border-radius: 50px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: inline-block;
            margin-bottom: 2px;
        }

        .pill-available {
            background: #e0e7ff;
            color: #3730a3;
        }

        .pill-filling {
            background: #fef3c7;
            color: #9a3412;
        }

        .pill-soldout {
            background: #fee2e2;
            color: #991b1b;
        }

        .modern-date-card .offer-strip {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: linear-gradient(90deg, #dcfce7 0%, #bbf7d0 100%);
            color: #166534;
            font-size: 12px;
            font-weight: 800;
            padding: 8px 0;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-top: 1px solid #86efac;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        .modern-date-card.has-offer {
            padding-bottom: 42px;
        }

        .modern-date-card-wrapper.is-full {
            cursor: not-allowed;
        }

        .modern-date-card-wrapper.is-full .modern-date-card {
            background: #f8fafc;
            border-color: #e2e8f0;
            opacity: 0.7;
            filter: grayscale(100%);
        }

        .modern-date-card .card-price-box {
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px dashed #cbd5e1;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            line-height: 1.2;
        }

        .modern-date-card .card-price-current {
            font-size: 1.1rem;
            font-weight: 900;
            color: var(--pma-navy);
            transition: color 0.3s ease;
        }

        .modern-date-card .card-price-strike {
            font-size: 0.75rem;
            font-weight: 600;
            color: #94a3b8;
            text-decoration: line-through;
            margin-bottom: 2px;
        }

        .modern-date-card.has-offer .card-price-current {
            color: #ef4444;
        }

        .batch-radio:checked+.modern-date-card .card-price-current {
            color: var(--pma-primary);
        }

        .block-text ul,
        .block-text ol {
            margin-top: 20px;
            margin-bottom: 20px;
            padding-left: 5px;
            list-style: none;
        }

        .block-text ul li,
        .block-text ol li {
            font-size: 1.15rem !important;
            line-height: 1.7;
            color: #334155;
            margin-bottom: 15px;
            position: relative;
            padding-left: 35px;
            display: block;
        }

        .block-text ul li::before {
            content: "\f058";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 3px;
            color: var(--pma-primary);
            font-size: 20px;
            transition: 0.3s;
        }

        .block-text ol {
            counter-reset: pma-counter;
        }

        .block-text ol li {
            counter-increment: pma-counter;
        }

        .block-text ol li::before {
            content: counter(pma-counter);
            position: absolute;
            left: 0;
            top: 4px;
            width: 24px;
            height: 24px;
            background-color: var(--pma-primary);
            color: #fff;
            font-size: 12px;
            font-weight: 800;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .pma-field-control {
            width: 100%;
            padding: 12px 14px 12px 48px;
            font-size: 0.95rem;
            /* Ensures text size is readable and uniform */
            font-weight: 500;
            color: #0f172a;
            background-color: #f8fafc;
            border: 1.5px solid #cbd5e1;
            border-radius: 10px;
            transition: all 0.2s ease;
        }

        .pma-textarea-control {
            padding-left: 14px !important;
            padding-top: 12px !important;
            font-size: 0.95rem;
            /* Forces textarea font size to match inputs */
        }

        /* --- HIGH-END ENQUIRY MODAL FIXES --- */
        .pma-enquiry-modal .modal-content {
            border: none;
            border-radius: 20px;
            box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
            background: #ffffff;
            overflow: hidden;
        }

        .pma-enquiry-modal .modal-header {
            background: #ffffff;
            padding: 24px 28px 16px;
            border-bottom: 1px solid #f1f5f9;
        }

        .pma-modal-badge {
            background: #fef3c7;
            color: #b45309;
            font-size: 11px;
            font-weight: 800;
            padding: 4px 10px;
            border-radius: 6px;
            letter-spacing: 0.5px;
            display: inline-block;
            margin-bottom: 8px;
        }

        .pma-enquiry-modal .modal-title {
            font-size: 1.35rem;
            font-weight: 800;
            color: #0f172a;
        }

        .pma-enquiry-modal .modal-body {
            padding: 24px 28px;
            background-color: #ffffff;
        }

        .pma-form-label {
            font-size: 0.8rem;
            font-weight: 700;
            color: #475569;
            margin-bottom: 6px;
            display: block;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .pma-field-group {
            position: relative;
            margin-bottom: 18px;
        }

        .pma-field-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .pma-field-icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            font-size: 15px;
            pointer-events: none;
            z-index: 5;
            transition: color 0.2s ease;
        }

        /* FIX: Increased left padding to 48px to prevent text and icon collision */
        .pma-field-control {
            width: 100%;
            padding: 12px 14px 12px 48px !important;
            font-size: 19px;
            font-weight: 500;
            color: #0f172a;
            background-color: #f8fafc;
            border: 1.5px solid #cbd5e1;
            border-radius: 10px;
            transition: all 0.2s ease;
        }

        .pma-field-control:focus {
            outline: none;
            border-color: #4f46e5 !important;
            background-color: #ffffff;
            box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
        }

        .pma-field-control:focus~.pma-field-icon {
            color: #4f46e5;
        }

        .pma-textarea-control {
            padding-left: 14px !important;
            padding-top: 10px !important;
        }

        /* Validation Error State */
        .is-invalid-input {
            border-color: #ef4444 !important;
            background-color: #fef2f2 !important;
        }

        .is-invalid-input~.pma-field-icon {
            color: #ef4444 !important;
        }

        .pma-error-msg {
            font-size: 0.78rem;
            font-weight: 600;
            color: #dc2626;
            margin-top: 4px;
            display: none;
        }

        @keyframes shake {

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

            20%,
            60% {
                transform: translateX(-5px);
            }

            40%,
            80% {
                transform: translateX(5px);
            }
        }

        .shake-effect {
            animation: shake 0.4s ease-in-out;
        }

        .pma-modal-footer {
            padding: 16px 28px 24px;
            background-color: #ffffff;
            border-top: none;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 12px;
        }

        .pma-btn-cancel {
            background-color: #f1f5f9;
            color: #64748b;
            font-weight: 700;
            padding: 11px 22px;
            border-radius: 10px;
            border: none;
            transition: all 0.2s;
        }

        .pma-btn-cancel:hover {
            background-color: #e2e8f0;
            color: #334155;
        }

        .pma-btn-submit {
            background: #4f46e5;
            color: #ffffff;
            font-weight: 700;
            padding: 11px 26px;
            border-radius: 10px;
            border: none;
            box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
            transition: all 0.2s;
        }

        .pma-btn-submit:hover {
            background: #4338ca;
            transform: translateY(-1px);
            box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
            color: #ffffff;
        }

        @media (max-width: 768px) {
            .date-grid {
                display: grid;
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 12px !important;
            }

            .modern-date-card {
                padding: 15px 10px !important;
            }

            .modern-date-card .date-big {
                font-size: 2.2rem !important;
            }

            .modern-date-card .month-year {
                font-size: 0.8rem !important;
            }

            .mobile-sticky-action-bar {
                padding: 12px 15px !important;
                height: auto !important;
                min-height: 70px;
            }

            .month-nav {
                display: flex;
                overflow-x: auto;
                white-space: nowrap;
                padding-bottom: 10px;
                -webkit-overflow-scrolling: touch;
                gap: 8px;
            }

            .month-tab-btn {
                flex: 0 0 auto;
            }
        }
