/* =========================================
   WOOCOMMERCE CLEANUP
   ========================================= */

.ethnoskin-product .woocommerce-product-gallery,
.ethnoskin-product .product_meta,
.ethnoskin-product .woocommerce-tabs,
.ethnoskin-product .related,
.ethnoskin-product .upsells,
.stock {
    display: none !important;
}

.woocommerce-variation-add-to-cart {
    display: none !important;
}

/* =========================================
   CHECKOUT ERROR HANDLING - CRITICAL FIX
   ========================================= */

/* Error container inside order review */
#order_review .woocommerce-NoticeGroup {
    margin: 1rem 0 !important;
    padding: 0 !important;
}

/* Error box styling */
#order_review .woocommerce-error {
    background: #fef2f2 !important;
    border: 1px solid #fca5a5 !important;
    border-left: 4px solid #dc2626 !important;
    padding: 1rem !important;
    border-radius: 0.5rem !important;
    margin: 1rem 0 !important;
}

/* Error list - FORCE VERTICAL */
#order_review .woocommerce-error ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#order_review .woocommerce-error li {
    display: block !important;
    width: 100% !important;
    margin: 0.5rem 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#order_review .woocommerce-error li:first-child {
    margin-top: 0 !important;
}

#order_review .woocommerce-error li:last-child {
    margin-bottom: 0 !important;
}

/* Error text styling */
#order_review .woocommerce-error li a {
    display: block !important;
    color: #991b1b !important;
    text-decoration: none !important;
    font-size: 0.8125rem !important;
    line-height: 1.5 !important;
    padding: 0.25rem 0 !important;
    transition: color 0.2s !important;
}

#order_review .woocommerce-error li a:hover {
    color: #dc2626 !important;
    text-decoration: underline !important;
}

#order_review .woocommerce-error strong {
    font-weight: 600 !important;
    color: #7f1d1d !important;
}

/* Scroll to errors when they appear */
.woocommerce-NoticeGroup-checkout {
    scroll-margin-top: 2rem !important;
}

/* Field-level validation */
.woocommerce-invalid label {
    color: #dc2626 !important;
}

.woocommerce-invalid input,
.woocommerce-invalid select,
.woocommerce-invalid textarea {
    border-color: #dc2626 !important;
    background: #fef2f2 !important;
}

.woocommerce-invalid input:focus,
.woocommerce-invalid select:focus,
.woocommerce-invalid textarea:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
    outline: none !important;
}

:root {
    --es-bronze: #735536;
    --es-bronze-light: #C4A77D;
    --es-bronze-fade: rgba(115, 85, 54, 0.1);
    --es-dark: #1a1410;
    --es-dark-muted: #3D322A;
    --es-bg: #FAFAF8;
    --es-white: #ffffff;
}

/* =========================================
   NEW HERO DESIGN
   ========================================= */

.product-hero {
    border-bottom: 1px solid #e4e4e7;
}

.product-hero .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.product-hero p {
    margin-bottom: 0 !important;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
    }
}

/* Course Info Column */
.course-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Title Section */
.title-section {
    margin-bottom: 0.5rem;
}

.title-section h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #18181b;
}

@media (min-width: 768px) {
    .title-section h1 {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .title-section h1 {
        font-size: 3rem;
    }
}

.subtitle {
    font-size: 1.125rem;
    color: #71717a;
}

@media (min-width: 768px) {
    .subtitle {
        font-size: 1.25rem;
    }
}

/* Taxonomies */
.taxonomies {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.tax-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.tax-item svg {
    color: #78350f;
    flex-shrink: 0;
}

.tax-item span {
    font-weight: 500;
    color: #18181b;
}

/* Rating Section */
.rating-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem 0;
    border-top: 1px solid #e4e4e7;
    border-bottom: 1px solid #e4e4e7;
}

.stars {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.star {
    width: 1.25rem;
    height: 1.25rem;
    fill: #f59e0b;
    color: #f59e0b;
}

.rating-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #18181b;
    margin-left: 0.25rem;
}

.divider {
    width: 1px;
    height: 1rem;
    background-color: #e4e4e7;
}

.instructor-info {
    font-size: 0.875rem;
    color: #71717a;
}

.instructor-info strong {
    color: #18181b;
}

/* Details Card */
.details-card {
    background-color: #fafafa;
    border: 1px solid #e4e4e7;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.card-header svg {
    color: #78350f;
}

.card-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #18181b;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2rem;
    }
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.75rem;
    color: #71717a;
    margin-bottom: 0.375rem;
}

.detail-value {
    font-weight: 600;
    color: #18181b;
}

.seats-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-value.urgent {
    color: #dc2626;
}

.urgent-badge {
    padding: 0.125rem 0.5rem;
    background-color: #fef2f2;
    color: #dc2626;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
    border: 1px solid #fecaca;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.trust-item .icon-green {
    color: #16a34a;
    flex-shrink: 0;
}

.trust-item span {
    color: #71717a;
}

.trust-item strong {
    color: #18181b;
}

/* Payment Section */
.payment-section {
    padding-top: 1rem;
    border-top: 1px solid #e4e4e7;
}

.payment-label {
    font-size: 0.75rem;
    color: #71717a;
    margin-bottom: 0.75rem;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.payment-card {
    height: 2rem;
    padding: 0 0.75rem;
    background-color: #fafafa;
    border: 1px solid #e4e4e7;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #18181b;
}

.payment-card svg {
    color: #71717a;
}

.secure-text {
    font-size: 0.75rem;
    color: #71717a;
}

/* Booking Column */
.booking-column {
    position: relative;
}

.booking-card {
    position: sticky;
    top: 2rem;
    background-color: #fafafa;
    border: 1px solid #e4e4e7;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    min-width: 320px;
}

/* Price Section */
.price-section {
    margin-bottom: 1.5rem;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.price {
    font-size: 2.25rem;
    font-weight: 700;
    color: #18181b;
}

.tax-note {
    font-size: 0.875rem;
    color: #71717a;
    margin-bottom: 0rem;
}

/* =========================================
   QUANTITY CONTROLS
   ========================================= */

.ethnoskin-product .ethnoskin-cart-form {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    display: block !important;
}

.ethnoskin-product .quantity-section {
    margin: 0 0 16px 0 !important;
    width: 100% !important;
    display: block !important;
}

.ethnoskin-product .quantity-section label {
    display: block !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #111827 !important;
    margin: 0 0 10px 0 !important;
    width: 100% !important;
}

.ethnoskin-product .quantity-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    height: 48px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    position: relative !important;
}

.ethnoskin-product .quantity-controls:hover {
    border-color: #9ca3af !important;
}

.ethnoskin-product .qty-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    background: #ffffff !important;
    border: none !important;
    color: #111827 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.15s ease !important;
    flex-shrink: 0 !important;
}

.ethnoskin-product .qty-btn:hover {
    background: #f9fafb !important;
    color: #735536 !important;
}

.ethnoskin-product .qty-btn:active {
    background: #f3f4f6 !important;
}

.ethnoskin-product .qty-btn:disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}

.ethnoskin-product .qty-btn.qty-minus {
    border-right: 1px solid #e5e7eb !important;
}

.ethnoskin-product .qty-btn.qty-plus {
    border-left: 1px solid #e5e7eb !important;
}

.ethnoskin-product .qty-input {
    flex: 1 !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 8px !important;
    margin: 0 !important;
    height: 48px !important;
    line-height: 48px !important;
    -moz-appearance: textfield !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.ethnoskin-product .qty-input::-webkit-inner-spin-button,
.ethnoskin-product .qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    display: none !important;
}

.ethnoskin-product .qty-input:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* =========================================
   BOOKING CARD BUTTONS
   ========================================= */

.ethnoskin-product .btn-add-to-cart {
    width: 100% !important;
    background: #735536 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    margin: 0 0 12px 0 !important;
    text-align: center !important;
    line-height: 1.4 !important;
}

.ethnoskin-product .btn-add-to-cart:hover {
    background: #5a4129 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.ethnoskin-product .btn-add-to-cart:active {
    transform: scale(0.98) !important;
}

.ethnoskin-product .btn-secondary {
    width: 100% !important;
    background: #ffffff !important;
    color: #111827 !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    text-align: center !important;
}

.ethnoskin-product .btn-secondary:hover {
    background: #f9fafb !important;
    border-color: #d1d5db !important;
}

/* Value Props */
.value-props {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e4e4e7;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.value-item svg {
    color: #78350f;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.value-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #18181b;
}

.value-desc {
    font-size: 0.75rem;
    color: #71717a;
}

/* =========================================
   STICKY BAR - SHOPIFY/FAANG LEVEL
   ========================================= */

.ethnoskin-product .sticky-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    border-top: 1px solid #e5e7eb !important;
    padding: 16px 0 !important;
    display: none !important;
    z-index: 9999 !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08) !important;
}

.ethnoskin-product .sticky-bar.visible {
    display: block !important;
}

.ethnoskin-product .sticky-bar .container {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 32px !important;
}

/* Left side - Product info */
.ethnoskin-product .sticky-left {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.ethnoskin-product .sticky-product-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    min-width: 0 !important;
}

.ethnoskin-product .sticky-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.ethnoskin-product .sticky-meta {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.ethnoskin-product .sticky-price {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.ethnoskin-product .sticky-divider {
    color: #d1d5db !important;
    font-size: 14px !important;
}

.ethnoskin-product .sticky-stock {
    font-size: 13px !important;
    color: #6b7280 !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

/* Right side - Cart form */
.ethnoskin-product .sticky-right {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.ethnoskin-product .sticky-cart-form {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Quantity controls */
.ethnoskin-product .sticky-quantity-wrapper {
    display: flex !important;
    align-items: center !important;
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    height: 44px !important;
}

.ethnoskin-product .sticky-qty-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    background: #ffffff !important;
    border: none !important;
    color: #111827 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ethnoskin-product .sticky-qty-btn:hover {
    background: #f9fafb !important;
    color: #735536 !important;
}

.ethnoskin-product .sticky-qty-btn:active {
    background: #f3f4f6 !important;
}

.ethnoskin-product .sticky-qty-minus {
    border-right: 1px solid #e5e7eb !important;
}

.ethnoskin-product .sticky-qty-plus {
    border-left: 1px solid #e5e7eb !important;
}

.ethnoskin-product .sticky-qty-input {
    width: 60px !important;
    height: 44px !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    -moz-appearance: textfield !important;
}

.ethnoskin-product .sticky-qty-input::-webkit-inner-spin-button,
.ethnoskin-product .sticky-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Add to cart button */
.ethnoskin-product .sticky-add-to-cart {
    height: 44px !important;
    padding: 0 32px !important;
    background: #735536 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
}

.ethnoskin-product .sticky-add-to-cart:hover {
    background: #5a4129 !important;
    box-shadow: 0 4px 12px rgba(115, 85, 54, 0.25) !important;
}

.ethnoskin-product .sticky-add-to-cart:active {
    transform: scale(0.98) !important;
}

/* Tablet & Mobile */
@media (max-width: 1024px) {
    .ethnoskin-product .sticky-bar .container {
        gap: 20px !important;
    }
}

@media (max-width: 768px) {
    .ethnoskin-product .sticky-bar .container {
        flex-direction: column !important;
        gap: 12px !important;
        padding: 12px 16px !important;
    }
    
    .ethnoskin-product .sticky-left {
        width: 100% !important;
    }
    
    .ethnoskin-product .sticky-right {
        width: 100% !important;
    }
    
    .ethnoskin-product .sticky-cart-form {
        width: 100% !important;
    }
    
    .ethnoskin-product .sticky-quantity-wrapper {
        flex: 1 !important;
    }
    
    .ethnoskin-product .sticky-add-to-cart {
        flex: 2 !important;
    }
    
    .ethnoskin-product .sticky-title {
        font-size: 14px !important;
    }
    
    .ethnoskin-product .sticky-price {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .ethnoskin-product .sticky-title {
        font-size: 13px !important;
    }
    
    .ethnoskin-product .sticky-stock {
        display: none !important;
    }
    
    .ethnoskin-product .sticky-divider {
        display: none !important;
    }
}

/* =========================================
   TOAST NOTIFICATIONS
   ========================================= */

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: white;
    text-decoration: underline;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.toast-link:hover {
    opacity: 1;
    color: white;
}

.toast-notification {
    background: #735536;
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(115, 85, 54, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 380px;
    pointer-events: all;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-notification.hide {
    opacity: 0;
    transform: translateX(400px);
}

.toast-notification.success {
    background: linear-gradient(135deg, #735536 0%, #8c6b4a 100%);
}

.toast-notification.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.toast-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.toast-icon svg {
    width: 16px;
    height: 16px;
}

.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-weight: 600;
    font-size: 15px;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.toast-message {
    font-size: 13px;
    opacity: 0.95;
    margin: 0;
    line-height: 1.4;
}

.toast-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.2s;
    flex-shrink: 0;
}

.toast-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.btn-add-to-cart.loading,
.btn-primary.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
    opacity: 0.7;
}

.btn-add-to-cart.loading::after,
.btn-primary.loading::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    top: 50%;
    left: 50%;
    margin-left: -9px;
    margin-top: -9px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* =========================================
   MOBILE RESPONSIVE
   ========================================= */

@media (max-width: 767px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-card {
        position: static !important;
    }
    
    .ethnoskin-product .sticky-bar .container {
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    .ethnoskin-product .sticky-info {
        width: 100% !important;
        text-align: center !important;
    }
    
    .ethnoskin-product .sticky-bar .ethnoskin-cart-form {
        width: 100% !important;
    }
    
    .ethnoskin-product .sticky-bar .quantity-controls {
        flex: 1 !important;
        width: auto !important;
    }
    
    .ethnoskin-product .sticky-bar .btn-add-to-cart {
        flex: 2 !important;
        width: auto !important;
    }
    
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .toast-notification {
        max-width: none;
    }
}

/* CURRICULUM SECTION */
.es-curriculum-section {
    padding: 64px 0 !important;
  
}

@media (min-width: 768px) {
    .es-curriculum-section {
        padding: 96px 0 !important;
    }
}

.es-curriculum-grid {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: grid !important;
    gap: 32px !important;
}

@media (min-width: 1024px) {
    .es-curriculum-grid {
        grid-template-columns: 240px 1fr !important;
        gap: 40px !important;
    }
}

.es-curriculum-header {
    position: relative !important;
    display:block;
}

@media (min-width: 1024px) {
    .es-curriculum-header {
        position: sticky !important;
        top: 128px !important;
        align-self: start !important;
    }
}

.es-curriculum-tabs {
    display: inline-flex !important;
    margin-top: 16px !important;
    padding: 4px !important;
    border-radius: 50px !important;
    background: rgba(26, 20, 16, 0.05) !important;
}

.es-curriculum-tab {
    padding: 6px 14px !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: rgba(26, 20, 16, 0.6) !important;
    transition: all 0.2s !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

@media (min-width: 768px) {
    .es-curriculum-tab {
        padding: 8px 16px !important;
        font-size: 14px !important;
    }
}

.es-curriculum-tab.active {
    background: var(--es-dark) !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.es-curriculum-tab:not(.active):hover {
    color: var(--es-dark) !important;
}

.es-curriculum-content {
    padding: 16px !important;
    border-radius: 12px !important;
    background: white !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

@media (min-width: 768px) {
    .es-curriculum-content {
        padding: 24px !important;
        border-radius: 16px !important;
    }
}

.es-curriculum-day-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
}

@media (min-width: 768px) {
    .es-curriculum-day-header {
        margin-bottom: 20px !important;
    }
}

.es-curriculum-day-number {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: var(--es-bronze) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: white !important;
    flex-shrink: 0 !important;
}

@media (min-width: 768px) {
    .es-curriculum-day-number {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }
}

.es-curriculum-day-title {
    font-size: 16px !important;
    font-weight: 400 !important;
    color: var(--es-dark) !important;
    margin: 0 !important;
}

@media (min-width: 768px) {
    .es-curriculum-day-title {
        font-size: 16px !important;
    }
}

.es-curriculum-modules {
    border-top: 1px solid rgba(26, 20, 16, 0.05) !important;
}

.es-curriculum-module {
    border-bottom: 1px solid rgba(26, 20, 16, 0.05) !important;
}

.es-curriculum-module:last-child {
    border-bottom: none !important;
}

.es-curriculum-module-btn {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 12px 0 !important;
    text-align: left !important;
    transition: color 0.2s !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

@media (min-width: 768px) {
    .es-curriculum-module-btn {
        gap: 12px !important;
        padding: 14px 0 !important;
    }
}

.es-curriculum-module-btn:hover {
    color: var(--es-bronze) !important;
}

.es-curriculum-module-number {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important;
    background: rgba(26, 20, 16, 0.05) !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    color: rgba(26, 20, 16, 0.4) !important;
    transition: background 0.2s, color 0.2s !important;
}

@media (min-width: 768px) {
    .es-curriculum-module-number {
        width: 24px !important;
        height: 24px !important;
        font-size: 12px !important;
    }
}

.es-curriculum-module.open .es-curriculum-module-number {
    background: var(--es-bronze) !important;
    color: white !important;
}

.es-curriculum-module-title {
    flex: 1 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--es-dark) !important;
}

@media (min-width: 768px) {
    .es-curriculum-module-title {
        font-size: 14px !important;
    }
}

.es-curriculum-module-icon {
    width: 14px !important;
    height: 14px !important;
    color: rgba(26, 20, 16, 0.3) !important;
    transition: transform 0.3s, color 0.3s !important;
    flex-shrink: 0 !important;
}

@media (min-width: 768px) {
    .es-curriculum-module-icon {
        width: 16px !important;
        height: 16px !important;
    }
}

.es-curriculum-module.open .es-curriculum-module-icon {
    transform: rotate(180deg) !important;
    color: var(--es-bronze) !important;
}

.es-curriculum-module-content {
    display: grid !important;
    grid-template-rows: 0fr !important;
    transition: grid-template-rows 0.3s !important;
}

.es-curriculum-module.open .es-curriculum-module-content {
    grid-template-rows: 1fr !important;
}

.es-curriculum-module-content-inner {
    overflow: hidden !important;
}

.es-curriculum-module-desc {
    padding: 0 0 12px 28px !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    color: rgba(26, 20, 16, 0.6) !important;
    margin: 0 !important;
}

@media (min-width: 768px) {
    .es-curriculum-module-desc {
        padding: 0 0 12px 36px !important;
        font-size: 14px !important;
    }
}
