/* Auto-generated widget CSS bundle — do not edit manually */
/* Generated: 2026-07-15 10:53:51 */

/* === banner.css === */
/* Widget: banner */
.banner-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: var(--border-radius, 8px);
    color: inherit;
    text-decoration: none;
}

.banner-card__image,
.banner-card__placeholder {
    border-radius: inherit;
}

.banner-hover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(1rem, 4vw, 3rem);
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    color: var(--banner-hover-color, #fff);
    font-size: var(--banner-hover-size, 24px);
    line-height: 1.65;
    text-align: center;
    pointer-events: none;
    transition:
        opacity var(--banner-hover-duration, 350ms) ease,
        visibility 0s linear var(--banner-hover-duration, 350ms);
}

.banner-hover::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: '';
    background: var(--banner-hover-bg, #000);
    opacity: var(--banner-hover-opacity, .55);
}

.banner-hover--top {
    align-items: flex-start;
}

.banner-hover--bottom {
    align-items: flex-end;
}

.banner-hover__text {
    max-width: 90%;
    white-space: pre-line;
    text-wrap: balance;
    text-shadow: 0 1px 3px rgb(0 0 0 / 35%);
    transition: transform var(--banner-hover-duration, 350ms) ease;
}

.banner-hover--slide-up .banner-hover__text {
    transform: translateY(1.5rem);
}

.banner-hover--slide-down .banner-hover__text {
    transform: translateY(-1.5rem);
}

.banner-hover--zoom .banner-hover__text {
    transform: scale(.86);
}

.has-banner-hover:focus-visible .banner-hover,
.has-banner-hover.is-hover-preview .banner-hover {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

.has-banner-hover:focus-visible .banner-hover__text,
.has-banner-hover.is-hover-preview .banner-hover__text {
    transform: none;
}

.has-banner-hover:focus-visible {
    outline: 3px solid var(--primary, #0d6efd);
    outline-offset: 3px;
}

@media (hover: hover) {
    .has-banner-hover:hover .banner-hover {
        visibility: visible;
        opacity: 1;
        transition-delay: 0s;
    }

    .has-banner-hover:hover .banner-hover__text {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .banner-hover,
    .banner-hover__text {
        transition-duration: 1ms;
    }

    .banner-hover__text {
        transform: none;
    }
}


/* === blog-posts.css === */
/* Widget: blog-posts — variant: masonry (.bpm-*) */
/* ═══ Blog Posts Masonry — Pinterest-style multi-column blog wall ═══ */

.bpm-section {
    font-family: var(--w-font, var(--font-body));
}

.bpm-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.bpm-heading {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text, #1a1a1a);
    margin: 0;
}
.bpm-viewall {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent, #0fabc5);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    transition: color .2s;
}
.bpm-viewall:hover { color: var(--primary, #ef4056); }
.bpm-viewall i { font-size: 9px; }

/* ─── Masonry wall: CSS multi-column 3 → 2 → 1 ─── */
.bpm-wall {
    column-count: 3;
    column-gap: 18px;
}
@media (max-width: 991.98px) {
    .bpm-wall { column-count: 2; column-gap: 14px; }
}
@media (max-width: 575.98px) {
    .bpm-wall { column-count: 1; }
}

/* ─── Card ─── */
.bpm-card {
    display: block;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 18px;
    background: var(--surface, #fff);
    border: 1px solid var(--border-color, #f0f0f0);
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--shadow-sm, 0 2px 12px rgba(0,0,0,0.06));
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.bpm-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md, 0 10px 30px rgba(0,0,0,0.12));
    border-color: var(--primary-light, var(--primary, #ef4056));
}

/* ─── Image (natural height — masonry) ─── */
.bpm-img-wrap {
    position: relative;
    overflow: hidden;
    background: var(--surface-2, #f4f4f6);
}
.bpm-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform .4s ease;
}
.bpm-card:hover .bpm-img { transform: scale(1.05); }
.bpm-img-empty {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    color: var(--text-muted, #ccc);
    background: linear-gradient(135deg, var(--surface-2, #f5f5f5) 0%, var(--border-color, #ececec) 100%);
}

/* ─── Category chip (over image) ─── */
.bpm-chip {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    background: var(--primary, #ef4056);
    color: var(--on-primary, #fff);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: var(--radius-sm, 6px);
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    line-height: 1.5;
    max-width: calc(100% - 20px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ─── Body ─── */
.bpm-body {
    padding: 14px 16px 16px;
}
.bpm-title {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--text, #222);
    line-height: 1.6;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}
.bpm-card:hover .bpm-title { color: var(--primary, #ef4056); }
.bpm-excerpt {
    font-size: 0.82rem;
    color: var(--text-muted, #777);
    line-height: 1.8;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bpm-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted, #999);
    padding-top: 10px;
    border-top: 1px solid var(--border-color, #f3f3f3);
    width: 100%;
}
.bpm-date i { font-size: 0.72rem; color: var(--accent, #0fabc5); }


/* === booking-calendar.css === */
/* Widget: booking-calendar */
/* Token cascade enforcer (Phase D3) */
.bcm-section, .bcs-section {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ Booking Calendar Main ═══ */
.bcm-section {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 14px));
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    padding: 20px;
}
.bcm-heading {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text, #222);
    margin: 0 0 16px;
}

/* Product Info */
.bcm-product-info {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color, #f0f0f0);
}
.bcm-product-img {
    width: 56px;
    height: 56px;
    border-radius: var(--w-radius, var(--border-radius, 10px));
    object-fit: cover;
    flex-shrink: 0;
}
.bcm-product-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text, #333);
    margin: 0 0 4px;
}
.bcm-duration {
    font-size: 0.78rem;
    color: var(--text-muted, #888);
    margin-left: 10px;
}
.bcm-duration i {
    margin-left: 3px;
    font-size: 0.7rem;
}
.bcm-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--success, #27ae60);
}

/* Month label */
.bcm-month-label {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text, #444);
    margin-bottom: 8px;
    padding: 4px 0;
}

/* Week Navigation */
.bcm-week-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}
.bcm-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-color, #e0e0e0);
    background: var(--surface, #fff);
    color: var(--text-muted, #555);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 12px;
    transition: background .2s, color .2s;
}
.bcm-nav-btn:hover {
    background: var(--surface-2, #f5f5f5);
    color: var(--text, #333);
}
.bcm-days-row {
    display: flex;
    flex: 1;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.bcm-days-row::-webkit-scrollbar { display: none; }
.bcm-day-btn {
    flex: 1;
    min-width: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 4px;
    border-radius: var(--w-radius, var(--border-radius, 10px));
    border: 1px solid var(--border-color, #e8e8e8);
    background: var(--surface-2, #fafafa);
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
}
.bcm-day-btn:hover {
    background: var(--surface-2, #f0f0f0);
    border-color: var(--border-color, #d0d0d0);
}
.bcm-day-active {
    background: var(--primary, #d4a843) !important;
    border-color: var(--primary, #d4a843) !important;
    color: var(--on-primary, #fff) !important;
}
.bcm-day-active .bcm-day-name,
.bcm-day-active .bcm-day-num {
    color: var(--on-primary, #fff) !important;
}
.bcm-day-name {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--text-muted, #888);
    white-space: nowrap;
}
.bcm-day-num {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text, #333);
}

/* First free slot button */
.bcm-first-free-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    margin-bottom: 14px;
    border-radius: var(--w-radius, var(--border-radius, 10px));
    border: none;
    background: var(--primary, #d4a843);
    color: var(--on-primary, #fff);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.bcm-first-free-btn:hover {
    opacity: .88;
    transform: translateY(-1px);
}
.bcm-first-free-btn:active {
    transform: translateY(0);
}
.bcm-first-free-btn i { font-size: 0.95rem; }

/* Time Slots */
.bcm-slots {
    margin-top: 4px;
}
.bcm-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
}
.bcm-slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: var(--w-radius, var(--border-radius, 10px));
    border: 1px solid var(--border-color, #e8e8e8);
    background: var(--surface-2, #fafafa);
    transition: background .2s;
}
.bcm-slot-available {
    background: #f0fdf4;
    border-color: #bbf7d0;
}
.bcm-slot-booked {
    background: #fef2f2;
    border-color: #fecaca;
    opacity: 0.65;
    pointer-events: none;
    cursor: not-allowed;
}
.bcm-slot-past {
    background: #f3f4f6;
    border-color: #e5e7eb;
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
}
.bcm-slot-past .bcm-slot-time {
    color: #9ca3af;
}
.bcm-slot-past .bcm-slot-taken {
    color: #9ca3af;
}
.bcm-slot-partial {
    background: #fffbeb;
    border-color: #fde68a;
}
.bcm-slot-time {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text, #333);
}
.bcm-slot-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}
.bcm-slot-remaining {
    font-size: 0.65rem;
    color: #b45309;
    white-space: nowrap;
}
.bcm-slot-btn {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--on-primary, #fff);
    background: var(--primary, #d4a843);
    padding: 5px 12px;
    border-radius: var(--w-radius, var(--border-radius, 8px));
    text-decoration: none;
    white-space: nowrap;
    transition: filter .2s, transform .15s;
}
.bcm-slot-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    color: var(--on-primary, #fff);
}
.bcm-slot-taken {
    font-size: 0.72rem;
    font-weight: 600;
    color: #e74c3c;
    white-space: nowrap;
}
.bcm-slot-taken i { margin-left: 3px; font-size: 0.65rem; }

/* Off day styling */
.bcm-day-off {
    opacity: 0.4;
    cursor: not-allowed !important;
    background: var(--surface-2, #f5f5f5) !important;
    border-color: var(--border-color, #e0e0e0) !important;
}
.bcm-day-off-label {
    font-size: 0.55rem;
    color: #e74c3c;
    font-weight: 600;
}
.bcm-off-message {
    text-align: center;
    padding: 32px 16px;
    color: var(--text-muted, #999);
    font-size: 0.9rem;
}
.bcm-off-message i {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 8px;
    opacity: 0.4;
}

/* ═══ Booking Calendar Inline (compact sidebar) ═══ */
.bci-section {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    padding: 16px;
}
.bci-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text, #222);
    margin: 0 0 10px;
}
.bci-product-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text, #333);
    margin-bottom: 8px;
}
.bci-meta {
    display: flex;
    gap: 14px;
    font-size: 0.8rem;
    color: var(--text-muted, #888);
    margin-bottom: 12px;
}
.bci-meta i {
    margin-left: 4px;
    font-size: 0.72rem;
}
.bci-date-select {
    margin-bottom: 12px;
}
.bci-date-select .form-select {
    font-size: 0.85rem;
    border-radius: var(--w-radius, var(--border-radius, 8px));
    border-color: var(--border-color, #e0e0e0);
}
.bci-slots {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bci-slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: var(--w-radius, var(--border-radius, 8px));
    border: 1px solid var(--border-color, #e8e8e8);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text, #333);
    transition: background .2s;
}
.bci-slot-available {
    background: #f0fdf4;
    border-color: #bbf7d0;
}
.bci-slot-booked {
    background: #fef2f2;
    border-color: #fecaca;
    opacity: 0.65;
}
.bci-book-btn {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--on-primary, #fff);
    background: var(--primary, #d4a843);
    padding: 4px 12px;
    border-radius: var(--w-radius, var(--border-radius, 6px));
    text-decoration: none;
    transition: background .2s;
}
.bci-book-btn:hover {
    filter: brightness(1.08);
    color: var(--on-primary, #fff);
}
.bci-taken {
    font-size: 0.75rem;
    font-weight: 600;
    color: #e74c3c;
}

/* ═══ RESPONSIVE ═══ */

/* Tablet */
@media (max-width: 991.98px) {
    .bcm-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .bcm-section {
        padding: 14px;
        border-radius: var(--w-radius, var(--border-radius, 10px));
    }
    .bcm-heading {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    /* Product info: stack vertically */
    .bcm-product-info {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .bcm-product-img {
        width: 48px;
        height: 48px;
    }
    .bcm-product-title { font-size: 0.88rem; }
    .bcm-duration { margin-left: 0; display: block; margin-top: 2px; }

    /* Week nav: smaller buttons */
    .bcm-week-nav { gap: 4px; margin-bottom: 10px; }
    .bcm-nav-btn { width: 28px; height: 28px; font-size: 10px; }
    .bcm-day-btn {
        min-width: 38px;
        padding: 6px 2px;
    }
    .bcm-day-name { font-size: 0.55rem; }
    .bcm-day-num { font-size: 0.82rem; }
    .bcm-day-off-label { font-size: 0.5rem; }

    /* First free button */
    .bcm-first-free-btn {
        padding: 10px 12px;
        font-size: 0.8rem;
        border-radius: var(--w-radius, var(--border-radius, 8px));
    }

    /* Slots: single column on small screens */
    .bcm-slots-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .bcm-slot {
        padding: 10px;
        border-radius: var(--w-radius, var(--border-radius, 8px));
    }
    .bcm-slot-time { font-size: 0.82rem; }
    .bcm-slot-btn { font-size: 0.7rem; padding: 5px 10px; }
    .bcm-slot-taken { font-size: 0.68rem; }
    .bcm-slot-remaining { font-size: 0.6rem; }

    /* Off message */
    .bcm-off-message { padding: 24px 12px; font-size: 0.82rem; }
    .bcm-off-message i { font-size: 1.4rem; }
}

/* Very small phones */
@media (max-width: 374.98px) {
    .bcm-section { padding: 10px; }
    .bcm-day-btn { min-width: 34px; padding: 5px 1px; }
    .bcm-day-name { font-size: 0.5rem; }
    .bcm-day-num { font-size: 0.75rem; }
    .bcm-nav-btn { width: 24px; height: 24px; }
}


/* === brand-showcase.css === */
/* Widget: brand-showcase — extracted from custome.css */
/* Token cascade enforcer (Phase D3) */
.bls-section, .cll-section {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}
.bls-section *:not(i):not([class*="fa-"]):not([class*="ti-"]):not([class*="mdi-"]),
.cll-section *:not(i):not([class*="fa-"]):not([class*="ti-"]):not([class*="mdi-"]) {
    font-family: inherit;
    font-feature-settings: inherit;
}

/* ═══ Logo Strip ═══ */
.bls-section { text-align: center; }
.bls-title { font-size: calc(0.95rem * var(--w-font-scale, var(--font-scale, 1))); font-weight: 600; color: var(--text-muted, #999); margin-bottom: calc(16px * var(--w-density, var(--density, 1))); letter-spacing: 0.5px; }
.bls-grayscale .owl-item img { filter: grayscale(1); opacity: 0.5; transition: filter .3s, opacity .3s; }
.bls-grayscale .owl-item:hover img { filter: grayscale(0); opacity: 1; }

/* Widget: client-logos — extracted from custome.css */
/* ═══ Client Logos ═══ */
.cll-section { text-align: center; }
.cll-title {
    font-size: calc(0.95rem * var(--w-font-scale, var(--font-scale, 1)));
    font-weight: 600;
    color: var(--text-muted, #999);
    margin-bottom: calc(18px * var(--w-density, var(--density, 1)));
    letter-spacing: 0.5px;
}
.cll-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    padding: 8px;
}
.cll-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: filter .3s, opacity .3s;
}
.cll-grayscale .cll-logo img { filter: grayscale(1); opacity: 0.45; }
.cll-grayscale .cll-logo:hover img { filter: grayscale(0); opacity: 1; }
.cll-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}
.cll-grid .cll-logo { width: 120px; }
.cll-placeholder {
    width: 60px;
    height: 60px;
    border-radius: var(--w-radius, var(--border-radius, 12px));
    background: var(--surface-2, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #ccc);
    font-size: 1.2rem;
}



/* === category-showcase.css === */
/* Widget: category-showcase — shared box alignment + masonry variant (.csm-*) */

/* Box alignment is physical (left/right), even when the storefront is RTL. */
.category-boxes-flex.category-boxes--left {
    justify-content: flex-start;
}
.category-boxes-flex.category-boxes--center {
    justify-content: center;
}
.category-boxes-flex.category-boxes--right {
    justify-content: flex-end;
}
[dir="rtl"] .category-boxes-flex.category-boxes--left {
    justify-content: flex-end;
}
[dir="rtl"] .category-boxes-flex.category-boxes--right {
    justify-content: flex-start;
}

/* Owl sets an explicit stage width. Auto margins align only an under-filled
   carousel; a full/scrollable stage keeps Owl's original positioning. */
.category-showcase-carousel .category-boxes--left .owl-stage {
    margin-right: auto;
    margin-left: 0;
}
.category-showcase-carousel .category-boxes--center .owl-stage {
    margin-right: auto;
    margin-left: auto;
}
.category-showcase-carousel .category-boxes--right .owl-stage {
    margin-right: 0;
    margin-left: auto;
}

/* ═══ Category Showcase Masonry — staggered tile wall ═══ */

.csm-section {
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ── Section header ── */
.csm-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.csm-heading {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text, #1a1a1a);
    margin: 0;
    white-space: nowrap;
}
.csm-rule {
    flex: 1;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(
        to left,
        var(--border-color, #e6e6e6) 0%,
        transparent 100%
    );
}

/* ── Masonry tile wall ──
   Dense grid: most tiles are 1×1 squares, feature tiles span 2 cols/rows. */
.csm-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 150px;
    grid-auto-flow: dense;
    gap: 14px;
}
.csm-wall.category-boxes--left {
    margin-right: auto;
    margin-left: 0;
}
.csm-wall.category-boxes--center {
    margin-right: auto;
    margin-left: auto;
}
.csm-wall.category-boxes--right {
    margin-right: 0;
    margin-left: auto;
}

/* Keep the original four-column tile size when a masonry wall is under-filled,
   while allowing the resulting group to move left, center, or right. */
.csm-wall--single {
    width: calc(50% - 7px);
    grid-template-columns: repeat(2, 1fr);
}
.csm-wall--pair {
    width: calc(75% - 3.5px);
    grid-template-columns: repeat(3, 1fr);
}

/* Larger "feature" tile (first item) — 2×2 */
.csm-tile-xl {
    grid-column: span 2;
    grid-row: span 2;
}
/* Wide feature tile (4th item) — 2×1 */
.csm-tile-wide {
    grid-column: span 2;
}

/* ── Individual tile ── */
.csm-tile {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-lg, 16px);
    text-decoration: none;
    background: var(--surface-2, #f4f4f6);
    box-shadow: var(--shadow-md, var(--w-shadow, 0 4px 14px rgba(0, 0, 0, .10)));
    transition: box-shadow .25s ease, transform .25s ease;
}
.csm-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md, 0 10px 28px rgba(0, 0, 0, .16));
}

/* Image layer fills the tile */
.csm-tile-img {
    position: absolute;
    inset: 0;
}
.csm-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}
.csm-tile:hover .csm-img {
    transform: scale(1.08);
}
.csm-img-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: var(--text-muted, #c2c2c2);
    background: linear-gradient(
        135deg,
        var(--surface-2, #f4f4f6) 0%,
        var(--surface, #ffffff) 100%
    );
}

/* Gradient overlay carrying the category name */
.csm-overlay {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding: 30px 16px 14px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .80) 0%,
        rgba(0, 0, 0, .38) 52%,
        transparent 100%
    );
}
.csm-name {
    color: var(--on-primary, #ffffff);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.csm-tile-xl .csm-name {
    font-size: 1.25rem;
    font-weight: 800;
}

/* Circular CTA chip, tinted with the brand accent */
.csm-cta {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--on-primary, #ffffff);
    background: var(--primary, #ef4056);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
    transition: background .2s ease, transform .2s ease;
}
.csm-tile:hover .csm-cta {
    background: var(--accent, #0fabc5);
    transform: translateX(-3px);
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .csm-wall {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 130px;
    }
    .csm-wall--single {
        width: calc(66.6667% - 4.6667px);
        grid-template-columns: repeat(2, 1fr);
    }
    .csm-wall--pair {
        width: 100%;
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 575.98px) {
    .csm-wall,
    .csm-wall--single,
    .csm-wall--pair {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 120px;
        gap: 10px;
    }
    /* On narrow screens the XL feature tile shrinks to a 2-wide banner */
    .csm-tile-xl {
        grid-row: span 1;
    }
    .csm-tile-xl .csm-name {
        font-size: 1.05rem;
    }
    .csm-heading {
        font-size: 1.05rem;
    }
}


/* === client-logos.css === */
/* Widget: client-logos — extracted from custome.css */
/* Token cascade enforcer (Phase D3) */
.cll-section, .cll-grid {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ Client Logos ═══ */
.cll-section { text-align: center; }
.cll-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted, #999);
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}
.cll-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    padding: 8px;
}
.cll-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: filter .3s, opacity .3s;
}
.cll-grayscale .cll-logo img { filter: grayscale(1); opacity: 0.45; }
.cll-grayscale .cll-logo:hover img { filter: grayscale(0); opacity: 1; }
.cll-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}
.cll-grid .cll-logo { width: 120px; }
.cll-placeholder {
    width: 60px;
    height: 60px;
    border-radius: var(--w-radius, var(--border-radius, 12px));
    background: var(--surface-2, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #ccc);
    font-size: 1.2rem;
}



/* === comparison-table.css === */
/* Widget: comparison-table — extracted from custome.css */
/* Token cascade enforcer (Phase D3) */
.cmp-section, .cmp-table, .cmp-card {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ Comparison Table ═══ */
.cmp-section { }
.cmp-title { font-size: 1.25rem; font-weight: 800; color: var(--text, #222); text-align: center; margin-bottom: 24px; }
.cmp-wrap {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 14px));
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.cmp-table { width: 100%; border-collapse: collapse; min-width: 500px; }
.cmp-table thead th {
    background: var(--surface-2, #f8f9fa);
    padding: 16px 18px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text, #333);
    text-align: center;
    border-bottom: 2px solid var(--border-color, #eee);
    white-space: nowrap;
}
.cmp-table thead th:first-child { text-align: right; background: var(--surface-2, #f0f2f5); }
.cmp-table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color, #f0f0f0);
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted, #555);
    vertical-align: middle;
}
.cmp-feature { font-weight: 600; color: var(--text, #333) !important; text-align: right !important; }
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table tbody tr:hover { background: var(--surface-2, #fafbfc); }
.cmp-check { color: #27ae60; font-size: 1.15rem; }
.cmp-cross { color: #e0e0e0; font-size: 1.15rem; }
.cmp-val { font-weight: 600; color: var(--text, #333); }



/* === contact-form.css === */
/* Widget: contact-form — extracted from custome.css */
/* Token cascade enforcer (Phase D3) */
.cf-section, .cf-form, .cf-card {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ Contact Form ═══ */
.cf-section { }
.cf-card {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 14px));
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 32px;
}
.cf-header {
    text-align: center;
    margin-bottom: 28px;
}
.cf-header-right { text-align: right; }
.cf-header i {
    font-size: 2rem;
    color: var(--primary, #007bff);
    margin-bottom: 10px;
    display: inline-block;
}
.cf-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text, #222);
    margin: 0 0 6px;
}
.cf-header p {
    font-size: 0.88rem;
    color: var(--text-muted, #888);
    margin: 0;
}
.cf-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted, #444);
    margin-bottom: 6px;
}
.cf-input {
    display: block;
    width: 100%;
    padding: 11px 14px;
    font-size: 0.88rem;
    font-family: inherit;
    color: var(--text, #333);
    background: var(--surface-2, #f8f9fa);
    border: 1.5px solid var(--border-color, #e8e8e8);
    border-radius: var(--w-radius, var(--border-radius, 10px));
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}
.cf-input:focus {
    border-color: var(--primary, #007bff);
    box-shadow: 0 0 0 3px rgba(0,123,255,0.08);
    background: var(--surface, #fff);
}
.cf-input::placeholder { color: var(--text-muted, #bbb); }
.cf-textarea { resize: vertical; min-height: 120px; }
.cf-error {
    display: block;
    color: var(--primary, #ef4056);
    font-size: 0.75rem;
    margin-top: 4px;
}
.cf-submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary, #007bff);
    color: var(--on-primary, #fff);
    border: none;
    padding: 12px 32px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    border-radius: var(--w-radius, var(--border-radius, 10px));
    cursor: pointer;
    transition: background .2s, transform .15s;
}
.cf-submit:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
.cf-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Contact Info sidebar */
.cf-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    justify-content: center;
}
.cf-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--surface-2, #f8f9fb);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    transition: background .2s;
}
.cf-info-item:hover { background: #f0f2f5; }
.cf-info-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--w-radius, var(--border-radius, 10px));
    background: var(--primary, #007bff);
    color: var(--on-primary, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.cf-info-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted, #888);
    margin-bottom: 2px;
}
.cf-info-value {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text, #333);
    text-decoration: none;
}
a.cf-info-value:hover { color: var(--primary, #007bff); }
.cf-map {
    border-radius: var(--w-radius, var(--border-radius, 12px));
    overflow: hidden;
    margin-top: 4px;
}
.cf-map iframe { width: 100%; height: 200px; border: none; }

@media (max-width: 767.98px) {
    .cf-card { padding: 20px 16px; }
    .cf-info { margin-top: 24px; }
}



/* === counter-stats.css === */
/* Widget: counter-stats — extracted from custome.css */
/* Token cascade enforcer (Phase D3) */
.cst-section, .cst-grid, .cst-card {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ Counter Stats ═══ */
.cst-card {
    background: var(--surface-2, #f8f9fa);
    border-radius: var(--w-radius, var(--border-radius, 14px));
    padding: 40px 24px;
    text-align: center;
}
.cst-dark { color: var(--on-primary, #fff); }
.cst-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 28px;
    color: var(--text, #222);
}
.cst-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
.cst-item {
    min-width: 140px;
    padding: 20px 16px;
    border-radius: var(--w-radius, var(--border-radius, 12px));
    transition: transform .2s;
}
.cst-item:hover { transform: translateY(-3px); }
.cst-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--primary, #007bff);
}
.cst-dark .cst-icon { color: rgba(255,255,255,0.7); }
.cst-number {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--primary, #007bff);
}
.cst-dark .cst-number { color: var(--on-primary, #fff); }
.cst-label {
    font-size: 0.88rem;
    color: var(--text-muted, #777);
    margin-top: 6px;
    font-weight: 600;
}
.cst-dark .cst-label { color: rgba(255,255,255,0.7); }

/* ═══ Counter Stats Cards — elevated boxed stat cards ═══ */
.csc-section, .csc-grid, .csc-card {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}
.csc-section {
    text-align: center;
}
.csc-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 28px;
    color: var(--text, #222);
}
.csc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}
.csc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--surface, #fff);
    border: 1px solid var(--border-color, #ececf1);
    border-radius: var(--radius-lg, 18px);
    padding: 32px 20px 26px;
    box-shadow: var(--w-shadow, var(--shadow-md, 0 4px 16px rgba(0,0,0,.07)));
    transition: transform .22s ease, box-shadow .22s ease;
}
.csc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg, 0 12px 32px rgba(0,0,0,.12));
}
.csc-card::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 4px;
    border-radius: var(--radius-lg, 18px) var(--radius-lg, 18px) 0 0;
    background: linear-gradient(90deg, var(--primary, #4f46e5), var(--accent, #0fabc5));
    opacity: 0;
    transition: opacity .22s ease;
}
.csc-card:hover::before { opacity: 1; }
.csc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
    font-size: 1.7rem;
    border-radius: 50%;
    color: var(--primary, #4f46e5);
    background: var(--primary-light, rgba(79,70,229,.12));
}
.csc-number {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.05;
    color: var(--text, #1a1a1a);
    font-variant-numeric: tabular-nums;
}
.csc-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted, #777);
    margin-top: 8px;
}
@media (max-width: 479px) {
    .csc-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .csc-card { padding: 24px 12px 20px; }
    .csc-icon { width: 52px; height: 52px; font-size: 1.4rem; }
    .csc-number { font-size: 2.1rem; }
}



/* === course-curriculum.css === */
/* Widget: course-curriculum */
/* Token cascade enforcer (Phase D3) */
.ccm-section, .ccm-accordion, .ccm-item {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ Course Curriculum (accordion) ═══ */
.ccm-section {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    padding: 24px;
}
.ccm-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text, #222);
    margin: 0 0 16px;
}

/* Summary bar */
.ccm-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding: 12px 16px;
    background: var(--surface-2, #f8f9fa);
    border-radius: var(--w-radius, var(--border-radius, 10px));
    margin-bottom: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted, #555);
}
.ccm-summary i {
    margin-left: 4px;
    color: var(--text-muted, #999);
    font-size: 0.78rem;
}

/* Accordion */
.ccm-accordion { }
.ccm-chapter {
    border: 1px solid var(--border-color, #f0f0f0);
    border-radius: var(--w-radius, var(--border-radius, 10px));
    margin-bottom: 8px;
    overflow: hidden;
}
.ccm-chapter-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--surface-2, #fafafa);
    border: none;
    cursor: pointer;
    transition: background .2s;
}
.ccm-chapter-toggle:hover {
    background: var(--surface-2, #f3f3f3);
}
.ccm-chapter-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ccm-chapter-icon {
    color: var(--primary, #d4a843);
    font-size: 0.9rem;
}
.ccm-chapter-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text, #333);
}
.ccm-chapter-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    color: var(--text-muted, #999);
}
.ccm-chevron {
    font-size: 0.7rem;
    color: var(--text-muted, #999);
    transition: transform .25s;
}
.ccm-chapter-toggle.collapsed .ccm-chevron {
    transform: rotate(-90deg);
}
[dir="rtl"] .ccm-chapter-toggle.collapsed .ccm-chevron {
    transform: rotate(90deg);
}

/* Lessons */
.ccm-lessons {
    padding: 0;
}
.ccm-lesson {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px 10px 24px;
    border-top: 1px solid var(--border-color, #f3f3f3);
    transition: background .15s;
}
.ccm-lesson:hover {
    background: #fafbfc;
}
.ccm-lesson-free {
    background: #f0fdf4;
}
.ccm-lesson-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}
.ccm-lesson-icon {
    font-size: 0.78rem;
    color: var(--text-muted, #999);
    flex-shrink: 0;
}
.ccm-lesson-title {
    font-size: 0.85rem;
    color: var(--text-muted, #444);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ccm-free-badge {
    font-size: 0.68rem;
    font-weight: 700;
    color: #27ae60;
    background: #dcfce7;
    padding: 2px 8px;
    border-radius: var(--w-radius, var(--border-radius, 4px));
    flex-shrink: 0;
}
.ccm-lesson-duration {
    font-size: 0.78rem;
    color: var(--text-muted, #999);
    font-weight: 600;
    flex-shrink: 0;
    margin-inline-start: 10px;
    direction: ltr;
}

/* Responsive */
@media (max-width: 767.98px) {
    .ccm-section {
        padding: 16px;
    }
    .ccm-lesson {
        padding: 8px 12px 8px 16px;
    }
    .ccm-lesson-title {
        font-size: 0.8rem;
    }
}


/* === course-grid.css === */
/* Widget: course-grid */
/* Token cascade enforcer (Phase D3) */
.cgm-section, .cgn-section, .cge-section {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}
.cgm-section *:not(i):not([class*="fa-"]):not([class*="ti-"]):not([class*="mdi-"]),
.cgn-section *:not(i):not([class*="fa-"]):not([class*="ti-"]):not([class*="mdi-"]),
.cge-section *:not(i):not([class*="fa-"]):not([class*="ti-"]):not([class*="mdi-"]) {
    font-family: inherit;
    font-feature-settings: inherit;
}

/* ═══ Course Grid Main ═══ */
.cgm-section { }
.cgm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.cgm-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text, #222);
    margin: 0;
}
.cgm-viewall {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent, #0fabc5);
    text-decoration: none;
    white-space: nowrap;
}
.cgm-viewall:hover { color: var(--accent, #0d8fa5); }
.cgm-viewall i { font-size: 9px; }

/* Course Card */
.cgm-card {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.cgm-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.cgm-card-img-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}
.cgm-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.cgm-card:hover .cgm-card-img {
    transform: scale(1.04);
}
.cgm-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--surface-2, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #ccc);
    font-size: 2rem;
}
.cgm-level-badge {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    background: rgba(0,0,0,.6);
    color: var(--on-primary, #fff);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--w-radius, var(--border-radius, 6px));
}
.cgm-card-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.cgm-card-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text, #333);
    text-decoration: none;
    line-height: 1.6;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cgm-card-title:hover { color: var(--primary, #d4a843); }
.cgm-instructor {
    font-size: 0.8rem;
    color: var(--text-muted, #888);
    margin-bottom: 8px;
}
.cgm-instructor i {
    margin-left: 4px;
    font-size: 0.72rem;
}
.cgm-meta {
    display: flex;
    gap: 14px;
    font-size: 0.78rem;
    color: var(--text-muted, #999);
    margin-bottom: 12px;
}
.cgm-meta i {
    margin-left: 3px;
    font-size: 0.7rem;
}
.cgm-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--border-color, #f3f3f3);
}
.cgm-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.cgm-price-current {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text, #333);
}
.cgm-price-old {
    font-size: 0.78rem;
    color: var(--text-muted, #bbb);
    text-decoration: line-through;
}
.cgm-price-free {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--success, #27ae60);
}
.cgm-cta-btn {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--on-primary, #fff);
    background: var(--primary, #d4a843);
    padding: 6px 16px;
    border-radius: var(--w-radius, var(--border-radius, 8px));
    text-decoration: none;
    transition: background .2s, transform .15s;
    white-space: nowrap;
}
.cgm-cta-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    color: var(--on-primary, #fff);
}

/* ═══ Course Grid Netflix (horizontal scroll rows) ═══ */
.cgn-section { }
.cgn-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text, #222);
    margin: 0 0 20px;
}
.cgn-row-section {
    margin-bottom: 28px;
}
.cgn-row-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text, #333);
    margin: 0 0 12px;
}
.cgn-scroll-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}
.cgn-scroll-row::-webkit-scrollbar {
    height: 4px;
}
.cgn-scroll-row::-webkit-scrollbar-thumb {
    background: var(--border-color, #ddd);
    border-radius: var(--w-radius, var(--border-radius, 4px));
}
.cgn-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    border-radius: var(--w-radius, var(--border-radius, 12px));
    overflow: hidden;
    background: var(--surface, #fff);
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.cgn-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.cgn-card-img-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.cgn-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.cgn-card:hover .cgn-card-img {
    transform: scale(1.05);
}
.cgn-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--surface-2, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #ccc);
    font-size: 1.6rem;
}
.cgn-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.65));
    padding: 20px 10px 8px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.cgn-level {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--on-primary, #fff);
    background: rgba(255,255,255,.2);
    padding: 2px 8px;
    border-radius: var(--w-radius, var(--border-radius, 4px));
}
.cgn-lessons {
    font-size: 0.72rem;
    color: rgba(255,255,255,.9);
}
.cgn-lessons i {
    margin-left: 3px;
    font-size: 0.65rem;
}
.cgn-card-info {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cgn-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text, #333);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}
.cgn-card-price {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted, #888);
}

/* Responsive */
@media (max-width: 767.98px) {
    .cgn-card {
        flex: 0 0 180px;
    }
}


/* === donation-goal.css === */
/* Widget: donation-goal */
/* Token cascade enforcer (Phase D3) */
.dgm-section, .dgc-section {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ Donation Goal Main ═══ */
.dgm-section { }
.dgm-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text, #222);
    margin: 0 0 20px;
}
.dgm-card {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.dgm-card-img-wrap {
    overflow: hidden;
    aspect-ratio: 16 / 8;
}
.dgm-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dgm-card-body {
    padding: 24px;
}
.dgm-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text, #333);
    margin: 0 0 10px;
}
.dgm-description {
    font-size: 0.88rem;
    color: var(--text-muted, #666);
    line-height: 1.8;
    margin: 0 0 18px;
}

/* Progress */
.dgm-progress-wrap {
    margin-bottom: 18px;
}
.dgm-progress-bar {
    height: 10px;
    background: var(--surface-2, #f0f0f0);
    border-radius: var(--w-radius, var(--border-radius, 5px));
    overflow: hidden;
    margin-bottom: 6px;
}
.dgm-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #27ae60, #2ecc71);
    border-radius: var(--w-radius, var(--border-radius, 5px));
    transition: width .6s ease;
}
.dgm-progress-label {
    font-size: 0.78rem;
    color: var(--text-muted, #999);
    text-align: start;
}

/* Stats */
.dgm-stats {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding: 14px 0;
    border-top: 1px solid var(--border-color, #f3f3f3);
    border-bottom: 1px solid var(--border-color, #f3f3f3);
}
.dgm-stat {
    text-align: center;
    flex: 1;
}
.dgm-stat-value {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text, #222);
}
.dgm-stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted, #999);
    margin-top: 2px;
}

/* Preset Amounts */
.dgm-presets {
    margin-bottom: 18px;
}
.dgm-presets-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted, #555);
    margin-bottom: 10px;
    display: block;
}
.dgm-presets-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.dgm-preset-btn {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted, #555);
    background: var(--surface-2, #f5f5f5);
    padding: 7px 16px;
    border-radius: var(--w-radius, var(--border-radius, 8px));
    text-decoration: none;
    border: 1px solid var(--border-color, #e8e8e8);
    transition: background .2s, border-color .2s, color .2s;
}
.dgm-preset-btn:hover {
    background: var(--surface, #fff);
    border-color: var(--primary, #d4a843);
    color: var(--primary, #d4a843);
}

/* CTA */
.dgm-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--on-primary, #fff);
    background: var(--primary, #e74c3c);
    padding: 12px 24px;
    border-radius: var(--w-radius, var(--border-radius, 10px));
    text-decoration: none;
    transition: background .2s, transform .15s;
}
.dgm-cta-btn:hover {
    background: var(--primary-dark, #c0392b);
    transform: translateY(-1px);
    color: var(--on-primary, #fff);
}
.dgm-cta-btn i {
    margin-left: 6px;
}

/* ═══ Donation Goal Compact (sidebar) ═══ */
.dgc-section { }
.dgc-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text, #222);
    margin: 0 0 10px;
}
.dgc-card {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    padding: 16px;
}
.dgc-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text, #333);
    margin-bottom: 12px;
}
.dgc-progress-bar {
    height: 8px;
    background: var(--surface-2, #f0f0f0);
    border-radius: var(--w-radius, var(--border-radius, 4px));
    overflow: hidden;
    margin-bottom: 8px;
}
.dgc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #27ae60, #2ecc71);
    border-radius: var(--w-radius, var(--border-radius, 4px));
    transition: width .6s ease;
}
.dgc-amounts {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted, #888);
    margin-bottom: 8px;
}
.dgc-donors {
    font-size: 0.8rem;
    color: var(--text-muted, #888);
    margin-bottom: 12px;
}
.dgc-donors i {
    margin-left: 4px;
    font-size: 0.72rem;
}
.dgc-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--on-primary, #fff);
    background: var(--primary, #e74c3c);
    padding: 9px 16px;
    border-radius: var(--w-radius, var(--border-radius, 8px));
    text-decoration: none;
    transition: background .2s;
}
.dgc-cta-btn:hover {
    background: var(--primary-dark, #c0392b);
    color: var(--on-primary, #fff);
}
.dgc-cta-btn i {
    margin-left: 4px;
}

/* Responsive */
@media (max-width: 767.98px) {
    .dgm-stats {
        flex-direction: column;
        gap: 10px;
    }
    .dgm-presets-btns {
        justify-content: center;
    }
}


/* === event-schedule.css === */
/* Widget: event-schedule */
/* Token cascade enforcer (Phase D3) */
.esm-section, .esc-section {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ Event Schedule Main ═══ */
.esm-section { }
.esm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.esm-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text, #222);
    margin: 0;
}
.esm-viewall {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent, #0fabc5);
    text-decoration: none;
    white-space: nowrap;
}
.esm-viewall:hover { color: var(--accent, #0d8fa5); }
.esm-viewall i { font-size: 9px; }

/* Event Card */
.esm-card {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.esm-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.esm-card-img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}
.esm-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.esm-card:hover .esm-card-img {
    transform: scale(1.04);
}
.esm-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Date Badge */
.esm-date-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--primary, #d4a843);
    color: var(--on-primary, #fff);
    border-radius: var(--w-radius, var(--border-radius, 10px));
    padding: 8px 14px;
    margin-bottom: 12px;
    align-self: flex-start;
    min-width: 56px;
    text-align: center;
    line-height: 1.2;
}
.esm-date-day {
    font-size: 1.3rem;
    font-weight: 900;
}
.esm-date-month {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.9;
}
.esm-date-time {
    font-size: 0.72rem;
    font-weight: 600;
    margin-top: 2px;
    opacity: 0.85;
    direction: ltr;
}

.esm-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text, #333);
    text-decoration: none;
    line-height: 1.6;
    margin-bottom: 8px;
}
.esm-card-title:hover { color: var(--primary, #d4a843); }

.esm-venue {
    font-size: 0.8rem;
    color: var(--text-muted, #888);
    margin-bottom: 10px;
}
.esm-venue i {
    margin-left: 4px;
    font-size: 0.72rem;
}

/* Capacity Bar */
.esm-capacity {
    margin-bottom: 12px;
}
.esm-capacity-bar {
    height: 6px;
    background: var(--surface-2, #f0f0f0);
    border-radius: var(--w-radius, var(--border-radius, 3px));
    overflow: hidden;
    margin-bottom: 4px;
}
.esm-capacity-fill {
    height: 100%;
    background: linear-gradient(90deg, #27ae60, #2ecc71);
    border-radius: var(--w-radius, var(--border-radius, 3px));
    transition: width .4s ease;
}
.esm-capacity-text {
    font-size: 0.72rem;
    color: var(--text-muted, #999);
}

.esm-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--border-color, #f3f3f3);
}
.esm-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text, #333);
}
.esm-cta-btn {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--on-primary, #fff);
    background: var(--primary, #d4a843);
    padding: 6px 16px;
    border-radius: var(--w-radius, var(--border-radius, 8px));
    text-decoration: none;
    transition: background .2s, transform .15s;
    white-space: nowrap;
}
.esm-cta-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    color: var(--on-primary, #fff);
}

/* ═══ Event Schedule Timeline ═══ */
.est-section { }
.est-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.est-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text, #222);
    margin: 0;
}
.est-viewall {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent, #0fabc5);
    text-decoration: none;
    white-space: nowrap;
}
.est-viewall:hover { color: var(--accent, #0d8fa5); }
.est-viewall i { font-size: 9px; }

/* Timeline */
.est-timeline {
    position: relative;
    padding-inline-start: 28px;
}
.est-timeline::before {
    content: '';
    position: absolute;
    inset-inline-start: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color, #e8e8e8);
}

.est-date-marker {
    position: relative;
    margin-bottom: 16px;
    margin-top: 24px;
}
.est-date-marker:first-child {
    margin-top: 0;
}
.est-date-label {
    display: inline-block;
    background: var(--primary, #d4a843);
    color: var(--on-primary, #fff);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: var(--w-radius, var(--border-radius, 8px));
}

.est-item {
    position: relative;
    margin-bottom: 16px;
}
.est-dot {
    position: absolute;
    inset-inline-start: -24px;
    top: 14px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--surface, #fff);
    border: 3px solid var(--primary, #d4a843);
}
.est-content {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    padding: 16px;
    transition: box-shadow .2s;
}
.est-content:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.est-time {
    font-size: 0.8rem;
    color: var(--text-muted, #888);
    margin-bottom: 6px;
    direction: ltr;
    text-align: start;
}
.est-time i {
    margin-left: 4px;
    font-size: 0.72rem;
}
.est-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text, #333);
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
}
.est-title:hover { color: var(--primary, #d4a843); }
.est-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.78rem;
    color: var(--text-muted, #999);
    margin-bottom: 10px;
}
.est-meta i {
    margin-left: 3px;
    font-size: 0.7rem;
}
.est-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--border-color, #f3f3f3);
}
.est-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text, #333);
}
.est-cta-btn {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--on-primary, #fff);
    background: var(--primary, #d4a843);
    padding: 6px 16px;
    border-radius: var(--w-radius, var(--border-radius, 8px));
    text-decoration: none;
    transition: background .2s, transform .15s;
    white-space: nowrap;
}
.est-cta-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    color: var(--on-primary, #fff);
}

/* Responsive */
@media (max-width: 767.98px) {
    .est-timeline {
        padding-inline-start: 22px;
    }
    .est-dot {
        inset-inline-start: -18px;
        width: 10px;
        height: 10px;
    }
}


/* === expandable-text.css === */
/* Widget: expandable-text — extracted from custome.css */
/* Token cascade enforcer (Phase D3) */
.ext-section, .ext-content {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ Expandable Text ═══ */
.ext-section { }
.ext-title { font-size: 1.15rem; font-weight: 800; color: var(--text, #222); margin-bottom: 14px; }
.ext-card { position: relative; }
.ext-body {
    overflow: hidden;
    transition: max-height .5s ease;
}
.ext-body.ext-expanded { max-height: none !important; }
.ext-content { font-size: 0.92rem; line-height: 2; color: var(--text-muted, #555); text-align: right; direction: rtl; }
.ext-fade {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
    transition: opacity .3s;
}
.ext-fade.ext-hidden { opacity: 0; }
.ext-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    background: none;
    border: none;
    color: var(--primary, #007bff);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    font-family: inherit;
    transition: color .2s;
}
.ext-toggle:hover { color: var(--primary-dark, #0056b3); }
.ext-toggle-icon { font-size: 0.7rem; transition: transform .3s; }
.ext-toggle.ext-open .ext-toggle-icon { transform: rotate(180deg); }



/* === faq.css === */
/* Widget: faq — extracted from custome.css */
/* Token cascade enforcer (Phase D3) */
.faq-section, .faq-item, .faq-list {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ FAQ ═══ */
.faq-section { }
.faq-heading { font-size: 1.25rem; font-weight: 800; color: var(--text, #222); text-align: center; margin-bottom: 24px; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--surface, #fff);
    border: 1.5px solid var(--border-color, #eee);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color .2s;
}
.faq-item:has(.faq-question[aria-expanded="true"]) { border-color: var(--primary, #007bff); }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text, #333);
    background: none;
    border: none;
    text-align: right;
    cursor: pointer;
    gap: 12px;
}
.faq-question:hover { color: var(--primary, #007bff); }
.faq-question:focus { outline: none; }
.faq-arrow {
    font-size: 0.75rem;
    color: var(--text-muted, #999);
    transition: transform .3s;
    flex-shrink: 0;
}
.faq-question[aria-expanded="true"] .faq-arrow { transform: rotate(180deg); color: var(--primary, #007bff); }
.faq-answer {
    padding: 0 20px 18px;
    font-size: 0.9rem;
    line-height: 2;
    color: var(--text-muted, #555);
    text-align: right;
    direction: rtl;
}



/* === feature-list.css === */
/* Widget: feature-list — variant styles */
/* Token cascade enforcer (Phase D3) */
.flc-section, .flv-section, .flcr-section, .flg-section, .flh-section {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ Feature List Comparison ═══ */
.flc-section { }
.flc-heading {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text, #222);
    margin-bottom: 24px;
}
.flc-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.flc-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.flc-table thead tr {
    background: var(--surface-2, #f8f9fa);
}
.flc-th-feature,
.flc-th-us,
.flc-th-them {
    padding: 14px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text, #333);
    text-align: center;
    border-bottom: 2px solid var(--border-color, #f0f0f0);
}
.flc-th-feature {
    text-align: start;
    min-width: 200px;
}
.flc-th-us {
    color: var(--success, #27ae60);
    min-width: 100px;
}
.flc-th-them {
    color: var(--text-muted, #999);
    min-width: 100px;
}
.flc-table tbody tr {
    transition: background .15s;
}
.flc-table tbody tr:hover {
    background: var(--surface-2, #fafbfc);
}
.flc-td-feature {
    padding: 12px 20px;
    font-size: 0.88rem;
    color: var(--text, #444);
    border-bottom: 1px solid var(--border-color, #f3f3f3);
}
.flc-td-check {
    padding: 12px 20px;
    text-align: center;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-color, #f3f3f3);
}
.flc-table tbody tr:last-child .flc-td-feature,
.flc-table tbody tr:last-child .flc-td-check {
    border-bottom: none;
}
.flc-yes {
    color: var(--success, #27ae60);
}
.flc-no {
    color: var(--border-color, #e0e0e0);
}

@media (max-width: 767.98px) {
    .flc-th-feature { min-width: 140px; }
    .flc-td-feature { font-size: 0.82rem; padding: 10px 14px; }
    .flc-td-check { padding: 10px 14px; }
}

/* ═══ Feature List Cards — elevated boxed cards, left-aligned with icon badge ═══ */
.flcd-section {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}
.flcd-heading {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text, #222);
    margin-bottom: 28px;
}
.flcd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.flcd-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
    padding: 26px 22px;
    background: var(--surface, #fff);
    border: 1px solid var(--border-color, #eceef1);
    border-radius: var(--radius-lg, 16px);
    box-shadow: var(--w-shadow, 0 2px 12px rgba(0,0,0,.05));
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    height: 100%;
}
.flcd-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 38px rgba(0,0,0,.12);
    border-color: var(--primary-light, var(--primary, #007bff));
}
.flcd-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: var(--radius-md, 14px);
    background: var(--primary-light, rgba(0,123,255,0.12));
    background: color-mix(in srgb, var(--primary, #007bff) 14%, transparent);
    transition: background .25s ease, transform .25s ease;
}
.flcd-card:hover .flcd-badge {
    background: var(--primary, #007bff);
    transform: scale(1.05);
}
.flcd-icon {
    font-size: 1.7rem;
    color: var(--primary, #007bff);
    transition: color .25s ease;
}
.flcd-card:hover .flcd-icon {
    color: var(--on-primary, #fff);
}
.flcd-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text, #1a1a1a);
    margin: 0 0 8px;
    line-height: 1.6;
}
.flcd-desc {
    font-size: 0.9rem;
    color: var(--text-muted, #6b7280);
    line-height: 1.8;
    margin: 0;
}
.flcd-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary, #007bff);
    text-decoration: none;
    transition: gap .2s ease, color .2s ease;
}
.flcd-link:hover {
    color: var(--accent, var(--primary, #007bff));
    gap: 10px;
}
.flcd-link-arrow {
    font-size: 0.78rem;
}
@media (max-width: 575.98px) {
    .flcd-grid { grid-template-columns: 1fr; gap: 16px; }
    .flcd-card { padding: 22px 18px; }
}

/* ═══ Feature List Centered — large airy centered blocks, 3-across ═══ */
.flcn-section {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}
.flcn-heading {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text, #222);
    margin-bottom: 48px;
}
.flcn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 40px;
}
.flcn-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 12px;
}
.flcn-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 104px;
    margin-bottom: 26px;
    border-radius: 50%;
    background: var(--surface-2, #f6f7f9);
    border: 1px solid var(--border-color, #eceef1);
    box-shadow: 0 8px 24px rgba(0,0,0,.05);
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.flcn-block:hover .flcn-circle {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0,0,0,.1);
    background: color-mix(in srgb, var(--primary, #007bff) 8%, var(--surface-2, #f6f7f9));
}
.flcn-icon {
    font-size: 2.6rem;
    color: var(--primary, #007bff);
}
.flcn-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text, #1a1a1a);
    margin: 0 0 14px;
    line-height: 1.6;
}
.flcn-desc {
    font-size: 0.95rem;
    color: var(--text-muted, #6b7280);
    line-height: 1.95;
    margin: 0;
    max-width: 320px;
}
.flcn-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary, #007bff);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    border-bottom-color: color-mix(in srgb, var(--primary, #007bff) 35%, transparent);
    padding-bottom: 2px;
    transition: color .2s ease, border-color .2s ease;
}
.flcn-link:hover {
    color: var(--accent, var(--primary, #007bff));
    border-bottom-color: var(--accent, var(--primary, #007bff));
}
@media (max-width: 991.98px) {
    .flcn-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
}
@media (max-width: 575.98px) {
    .flcn-grid { grid-template-columns: 1fr; gap: 36px; }
    .flcn-heading { margin-bottom: 32px; }
    .flcn-circle { width: 88px; height: 88px; }
    .flcn-icon { font-size: 2.2rem; }
}


/* === hero-banner.css === */
/* Widget: hero-banner — extracted from custome.css */
/* Token cascade enforcer (Phase D3) — covers both legacy hbn-* and BEM .hero */
.hbn-section, .hero {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}
.hbn-section *:not(i):not([class*="fa-"]):not([class*="ti-"]):not([class*="mdi-"]),
.hero *:not(i):not([class*="fa-"]):not([class*="ti-"]):not([class*="mdi-"]) {
    font-family: inherit;
    font-feature-settings: inherit;
}

/* ═══ Hero Banner ═══ */
.hbn-section {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: var(--w-radius, var(--border-radius, 14px));
    box-shadow: var(--w-shadow, none);
    overflow: hidden;
}
.hbn-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
}
.hbn-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}
.hbn-section .container { position: relative; z-index: 2; }
.hbn-split {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: calc(60px * var(--w-density, var(--density, 1))) 0;
}
.hbn-text { flex: 1; }
.hbn-title {
    font-size: calc(2.6rem * var(--w-font-scale, var(--font-scale, 1)));
    font-weight: 900;
    line-height: 1.4;
    margin: 0 0 calc(16px * var(--w-density, var(--density, 1)));
}
.hbn-subtitle {
    font-size: calc(1.1rem * var(--w-font-scale, var(--font-scale, 1)));
    line-height: 1.8;
    margin: 0 0 calc(28px * var(--w-density, var(--density, 1)));
    opacity: 0.9;
}
.hbn-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hbn-btn {
    display: inline-flex;
    align-items: center;
    padding: calc(14px * var(--w-density, var(--density, 1))) calc(32px * var(--w-density, var(--density, 1)));
    border-radius: var(--w-radius, var(--border-radius, 50px)) !important;
    font-weight: 700;
    font-size: calc(0.95rem * var(--w-font-scale, var(--font-scale, 1)));
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.hbn-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.hbn-btn-primary { background: var(--surface, #fff); color: var(--text, #333); }
.hbn-btn-primary:hover { color: var(--text, #333); }
.hbn-btn-secondary { background: transparent; border: 2px solid; }
.hbn-image { flex: 0 0 40%; max-width: 40%; }
.hbn-image img { width: 100%; height: auto; border-radius: var(--w-radius, var(--border-radius, 12px)); }
/* Centered variant */
.hbn-centered .container { display: flex; justify-content: center; }
.hbn-center-content { text-align: center; padding: calc(80px * var(--w-density, var(--density, 1))) calc(20px * var(--w-density, var(--density, 1))); max-width: 700px; }
.hbn-center-content .hbn-buttons { justify-content: center; }
@media (max-width: 767.98px) {
    .hbn-split { flex-direction: column; text-align: center; padding: 40px 0; }
    .hbn-buttons { justify-content: center; }
    .hbn-image { flex: 0 0 100%; max-width: 80%; }
    .hbn-title { font-size: 1.8rem; }
    .hbn-center-content { padding: 50px 16px; }
}

/* ════════════════════════════════════════════════════════
   Unified Hero System (BEM)
   variants:  main · form · product
   bg types:  color · image · video · gradient   (.hero--bg-*)
   media:     none · left · right                (.hero--media-*)
   align:     start · center · end               (.hero--align-*)
   pos:       top · center · bottom              (.hero--pos-*)
   ════════════════════════════════════════════════════════ */

.hero {
    position: relative;
    display: flex;
    overflow: hidden;
    border-radius: var(--w-radius, var(--border-radius, 14px));
    box-shadow: var(--w-shadow, none);
    isolation: isolate;
}

/* Background + overlay layers */
.hero__bg,
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__bg {
    background-size: cover;
    background-position: center;
}
.hero__overlay {
    z-index: 1;
}

/* Container respects vertical position */
.hero__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-block: 64px;
    padding-inline: 24px;
    display: flex;
    flex-direction: column;
}

.hero--pos-top    .hero__container { justify-content: flex-start; }
.hero--pos-center .hero__container { justify-content: center; }
.hero--pos-bottom .hero__container { justify-content: flex-end; }

/* Content column */
.hero__content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 720px;
}

.hero--align-start  .hero__content { text-align: start;  margin-inline-end: auto; }
.hero--align-center .hero__content { text-align: center; margin-inline: auto; align-items: center; }
.hero--align-end    .hero__content { text-align: end;    margin-inline-start: auto; align-items: flex-end; }

/* Eyebrow + badges — stack vertically (badges above eyebrow) */
.hero__eyebrow-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}
.hero--align-center .hero__eyebrow-row { align-items: center; }
.hero--align-end    .hero__eyebrow-row { align-items: flex-end; }

.hero__eyebrow {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.85;
}
.hero__badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.hero__badges .badge {
    font-size: 0.78rem;
    padding: 6px 12px;
}
/* Badges inherit white text from the hero; yellow/light bg needs dark text for contrast. */
.hero__badges .badge.bg-warning,
.hero__badges .badge.bg-info,
.hero__badges .badge.bg-light {
    color: var(--text, #212529);
}

/* Heading + subtitle */
.hero__title {
    font-weight: 900;
    line-height: 1.25;
    margin: 0;
}
/* Per-tag sizing so the heading_level control has visible effect. */
h1.hero__title { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.4rem); }
h2.hero__title { font-size: clamp(1.55rem, 1.0rem + 1.9vw, 2.7rem); }
h3.hero__title { font-size: clamp(1.3rem, 0.85rem + 1.55vw, 2.15rem); }
.hero__subtitle {
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
    line-height: 1.85;
    margin: 0;
    opacity: 0.92;
    max-width: 60ch;
}
.hero--align-center .hero__subtitle { margin-inline: auto; }

/* CTA group */
.hero__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-block-start: 8px;
}
.hero--align-center .hero__cta-group { justify-content: center; }
.hero--align-end    .hero__cta-group { justify-content: flex-end; }

.hero__cta-group .btn {
    padding-inline: 28px;
    padding-block: 12px;
    border-radius: var(--w-radius, var(--border-radius, 50px)) !important;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.hero__cta-group .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

/* Outline buttons inherit the hero's text color so they stay legible
   on any background (dark, gradient, image). Bootstrap's default grey
   outline becomes invisible on dark navy heroes. */
.hero .btn-outline-secondary,
.hero .btn-outline-primary,
.hero .btn-outline-warning,
.hero .btn-outline-danger,
.hero .btn-outline-success,
.hero .btn-outline-info {
    color: currentColor;
    border-color: currentColor;
    background-color: transparent;
}
.hero .btn-outline-secondary:hover,
.hero .btn-outline-primary:hover,
.hero .btn-outline-warning:hover,
.hero .btn-outline-danger:hover,
.hero .btn-outline-success:hover,
.hero .btn-outline-info:hover {
    color: currentColor;
    border-color: currentColor;
    background-color: rgba(255, 255, 255, 0.12);
}

/* ────────────────────────────────────────────────────
   Stats / trust bar — icon-left, value+label stacked right.
   Each stat sits in a subtle pill-like row; vertical
   dividers appear between adjacent stats via ::before.
   ──────────────────────────────────────────────────── */
.hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 36px;
    list-style: none;
    padding: 0;
    margin: 36px 0 0;
    padding-block-start: 28px;
    border-block-start: 1px solid rgba(255, 255, 255, 0.14);
}
.hero--align-center .hero__stats { justify-content: center; }
.hero--align-end    .hero__stats { justify-content: flex-end; }

.hero__stat {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    position: relative;
    min-width: 0;
}

/* Subtle vertical divider between adjacent stats.
   Uses ::before on every stat after the first so wrapping is clean. */
.hero__stat + .hero__stat::before {
    content: '';
    position: absolute;
    inset-inline-end: calc(100% + 18px);
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255, 255, 255, 0.22) 30%,
        rgba(255, 255, 255, 0.22) 70%,
        transparent
    );
    pointer-events: none;
}

/* Icon container: square rounded box with faint glass bg */
.hero__stat-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: var(--w-radius, var(--border-radius, 14px));
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.25s ease, background 0.25s ease;
}
.hero__stat:hover .hero__stat-icon-box {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
}
.hero__stat-icon {
    font-size: 1.5rem;
    opacity: 0.95;
    line-height: 1;
}

/* Value + label stack */
.hero__stat-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.hero__stat-value {
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.01em;
}
.hero__stat-label {
    font-size: 0.82rem;
    opacity: 0.72;
    line-height: 1.3;
    font-weight: 500;
}

/* Media (image / video) */
.hero__media {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero__media img,
.hero__video {
    display: block;
    width: 100%;
    border-radius: var(--w-radius, var(--border-radius, 14px));
}
.hero__media img {
    height: 100%;
    min-height: 340px;
    max-height: 560px;
    object-fit: cover;
    object-position: center;
}
.hero__media--shadow img {
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
}

/* ─── Side image layout: media-left / media-right ─── */
/* DOM order is always: .hero__content then .hero__media.
   LTR: row = content on left, media on right.
        row-reverse = content on right, media on left.
   RTL: flex axis visually flips, so the same rule produces the opposite
        result — we invert the direction to keep the label honest. */
.hero--media-right .hero__container,
.hero--media-left .hero__container {
    align-items: center;
    gap: 48px;
}
.hero--media-right .hero__container { flex-direction: row; }
.hero--media-left  .hero__container { flex-direction: row-reverse; }

[dir="rtl"] .hero--media-right .hero__container { flex-direction: row-reverse; }
[dir="rtl"] .hero--media-left  .hero__container { flex-direction: row; }
.hero--media-right .hero__content,
.hero--media-left .hero__content {
    flex: 1 1 55%;
}
.hero--media-right .hero__media,
.hero--media-left .hero__media {
    flex: 1 1 45%;
    max-width: 45%;
}

/* ─── BG type: video ─── */
.hero--bg-video .hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    border-radius: 0;
}

/* ─── Variant: form (lead capture) ─── */
.hero--form .hero__input-form {
    display: flex;
    gap: 8px;
    margin-block-start: 12px;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px;
    border-radius: var(--w-radius, var(--border-radius, 50px));
    backdrop-filter: blur(8px);
    max-width: 520px;
}
.hero--form.hero--align-center .hero__input-form { margin-inline: auto; }
.hero__input-form input[type="email"],
.hero__input-form input[type="tel"],
.hero__input-form input[type="text"] {
    flex: 1;
    background: transparent;
    border: 0;
    outline: 0;
    padding-inline: 18px;
    color: inherit;
    font-size: 1rem;
    min-width: 0;
}
.hero__input-form input::placeholder {
    color: currentColor;
    opacity: 0.7;
}
.hero__input-note {
    display: block;
    margin-block-start: 10px;
    font-size: 0.85rem;
    opacity: 0.75;
}

/* ─── Variant: product (price + rating) ─── */
.hero--product .hero__media img {
    object-fit: contain;
    max-width: 480px;
    max-height: 480px;
    width: auto;
    margin-inline: auto;
    background: transparent;
    border-radius: 0;
}
.hero__product-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 14px;
    margin-block-start: 4px;
}
.hero__product-price {
    font-size: 2rem;
    font-weight: 900;
}
.hero__product-old-price {
    font-size: 1.1rem;
    opacity: 0.65;
    text-decoration: line-through;
}
.hero__product-rating {
    font-size: 0.9rem;
    opacity: 0.85;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ─── Responsive (mobile) ─── */
@media (max-width: 767.98px) {
    .hero {
        border-radius: 0;
    }
    .hero__container {
        padding-block: 44px;
        padding-inline: 18px;
    }
    .hero--media-left .hero__container,
    .hero--media-right .hero__container {
        flex-direction: column;
        gap: 32px;
    }
    .hero--media-left .hero__media,
    .hero--media-right .hero__media {
        max-width: 100%;
        flex: 0 0 auto;
    }
    h1.hero__title { font-size: 1.8rem; }
    h2.hero__title { font-size: 1.5rem; }
    h3.hero__title { font-size: 1.25rem; }
    .hero__cta-group {
        justify-content: center;
    }
    .hero__cta-group .btn {
        flex: 1 1 auto;
        text-align: center;
        justify-content: center;
    }
    .hero__stats {
        gap: 18px;
        justify-content: center;
    }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
    .hero *,
    .hero *::before,
    .hero *::after {
        animation: none !important;
        transition: none !important;
    }
    .hero__video {
        animation-play-state: paused !important;
    }
}

/* ═══ Hero Banner Countdown ═══ */
.hbc-section { }
.hbc-banner { }
.hbc-content { }
.hbc-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.4;
}
.hbc-subtitle {
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.9;
}
.hbc-countdown { direction: ltr; }
.hbc-cd-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,.15);
    border-radius: var(--w-radius, var(--border-radius, 10px));
    min-width: 64px;
    padding: 10px 12px;
    backdrop-filter: blur(6px);
}
.hbc-cd-value {
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1;
}
.hbc-cd-label {
    font-size: 0.72rem;
    font-weight: 600;
    opacity: 0.8;
}
.hbc-expired {
    font-size: 1rem;
    font-weight: 700;
    opacity: 0.85;
    padding: 10px 24px;
    background: rgba(255,255,255,.12);
    border-radius: var(--w-radius, var(--border-radius, 10px));
}
.hbc-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    border-radius: var(--w-radius, var(--border-radius, 50px)) !important;
    font-weight: 700;
    font-size: 0.95rem;
    background: var(--surface, #fff);
    color: var(--text, #333);
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.hbc-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
    color: var(--text, #333);
}
.hbc-cta-btn i { font-size: 9px; }

@media (max-width: 767.98px) {
    .hbc-title { font-size: 1.5rem; }
    .hbc-cd-item { min-width: 52px; padding: 8px 10px; }
    .hbc-cd-value { font-size: 1.2rem; }
}

/* ═══ Hero Banner Video ═══ */
.hbv-section { }
.hbv-banner { }
.hbv-content { }
.hbv-video {
    object-fit: cover;
}
.hbv-title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.4;
}
.hbv-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    max-width: 600px;
    margin-inline: auto;
}
.hbv-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 32px;
    border-radius: var(--w-radius, var(--border-radius, 50px)) !important;
    font-weight: 700;
    font-size: 0.95rem;
    background: var(--surface, #fff);
    color: var(--text, #333);
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.hbv-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
    color: var(--text, #333);
}
.hbv-cta-btn i { font-size: 9px; }

@media (max-width: 767.98px) {
    .hbv-title { font-size: 1.6rem; }
}

/* ═══ Hero variant: fullscreen — cinematic full-viewport (restored variant) ═══ */
.hero--fullscreen {
    min-height: 100vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
.hero--fullscreen .hero__container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.hero--fullscreen .hero__content--fs {
    max-width: 820px;
    margin-inline: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}
.hero--fullscreen .hero__content--fs :where(h1, h2, .hero__title) {
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.25;
}
.hero--fullscreen .hero__content--fs :where(.hero__cta-group, .hero__badges, .hero__stats, .hero__eyebrow) {
    justify-content: center;
}
@media (max-width: 767.98px) {
    .hero--fullscreen { min-height: 88vh !important; }
    .hero--fullscreen .hero__content--fs :where(h1, h2, .hero__title) { font-size: clamp(1.7rem, 7vw, 2.4rem); }
}



/* === image-gallery.css === */
/* Widget: image-gallery — extracted from custome.css */
/* Token cascade enforcer (Phase D3) */
.glr-section, .glr-grid, .glr-item {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ Image Gallery ═══ */
.glr-section { }
.glr-heading { font-size: 1.25rem; font-weight: 800; color: var(--text, #222); text-align: center; margin-bottom: 24px; }
.glr-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--w-radius, var(--border-radius, 12px));
    text-decoration: none;
}
.glr-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform .35s ease;
    display: block;
}
.glr-item:hover .glr-img { transform: scale(1.08); }
.glr-hover {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
    color: var(--on-primary, #fff);
    font-size: 1.5rem;
}
.glr-item:hover .glr-hover { opacity: 1; }
.glr-placeholder {
    aspect-ratio: 1 / 1;
    background: var(--surface-2, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--w-radius, var(--border-radius, 12px));
    color: var(--text-muted, #ccc);
    font-size: 2rem;
}



/* === instructor-profile.css === */
/* Widget: instructor-profile */
/* Token cascade enforcer (Phase D3) */
.ipm-section, .ipm-card, .ipm-wrap {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ Instructor Profile Main ═══ */
.ipm-section { }
.ipm-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text, #222);
    margin: 0 0 20px;
}
.ipm-card {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.ipm-avatar-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.ipm-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ipm-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--surface-2, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #ccc);
    font-size: 2.2rem;
}
.ipm-info {
    flex: 1;
    min-width: 0;
}
.ipm-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text, #222);
    margin: 0 0 6px;
}
.ipm-bio {
    font-size: 0.85rem;
    color: var(--text-muted, #777);
    line-height: 1.7;
    margin: 0 0 14px;
}
.ipm-stats {
    display: flex;
    gap: 24px;
}
.ipm-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted, #555);
}
.ipm-stat i {
    color: var(--primary, #d4a843);
    font-size: 0.9rem;
}
.ipm-stat-value {
    font-weight: 700;
    color: var(--text, #333);
}
.ipm-stat-label {
    color: var(--text-muted, #888);
}

/* ═══ Instructor Profile Carousel ═══ */
.ipc-section { }
.ipc-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text, #222);
    margin: 0 0 20px;
    text-align: center;
}
.ipc-card {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform .2s, box-shadow .2s;
}
.ipc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.ipc-avatar-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 14px;
    flex-shrink: 0;
}
.ipc-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ipc-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--surface-2, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #ccc);
    font-size: 1.8rem;
}
.ipc-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text, #222);
    margin: 0 0 6px;
}
.ipc-bio {
    font-size: 0.8rem;
    color: var(--text-muted, #888);
    line-height: 1.7;
    margin: 0 0 12px;
    flex: 1;
}
.ipc-stats {
    display: flex;
    gap: 16px;
    font-size: 0.78rem;
    color: var(--text-muted, #777);
}
.ipc-stats i {
    margin-left: 3px;
    font-size: 0.7rem;
    color: var(--primary, #d4a843);
}

/* Responsive */
@media (max-width: 767.98px) {
    .ipm-card {
        flex-direction: column;
        text-align: center;
    }
    .ipm-stats {
        justify-content: center;
    }
}


/* === map-embed.css === */
/* Widget: map-embed — extracted from custome.css */
/* Token cascade enforcer (Phase D3) */
.map-section, .map-wrapper {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ Map Embed ═══ */
.map-section { }
.map-title { font-size: 1.25rem; font-weight: 800; color: var(--text, #222); margin-bottom: 16px; }
.map-frame { border-radius: var(--w-radius, var(--border-radius, 14px)); overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.map-frame iframe { width: 100% !important; border: none; display: block; }



/* === newsletter.css === */
/* Widget: newsletter — variant styles */
/* Token cascade enforcer (Phase D3) — covers main + waitlist + signup + apple-style + countdown */
.newsletter-main, .nwl-section, .nws-section, .nwa-section, .nwc-section {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* Newsletter Main — outer wrapper consumes radius/shadow tokens */
.newsletter-main__inner {
    border-radius: var(--w-radius, var(--border-radius, 8px));
    box-shadow: var(--w-shadow, none);
    overflow: hidden;
}

/* ═══ Newsletter Waitlist ═══ */
.nwl-section { }
.nwl-card {
    border-radius: var(--w-radius, var(--border-radius, 12px));
}
.nwl-icon {
    font-size: 2.2rem;
    color: var(--primary, #d4a843);
    margin-bottom: 14px;
    display: block;
}
.nwl-product-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text, #333);
    margin-bottom: 8px;
}
.nwl-counter {
    font-size: 0.88rem;
    color: var(--text-muted, #555);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.nwl-counter i {
    color: var(--primary, #d4a843);
    font-size: 0.85rem;
}
.nwl-counter strong {
    color: var(--text, #222);
}
.nwl-simple-form { }
.nwl-submit-btn {
    background: var(--primary, #d4a843) !important;
    color: var(--on-primary, #fff) !important;
    border: none !important;
    font-weight: 700;
    transition: filter .2s;
}
.nwl-submit-btn:hover {
    filter: brightness(1.08);
}

/* ═══ Newsletter Inline — slim full-width horizontal bar ═══ */
.nli-section {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}
.nli-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 28px;
    padding: 18px 24px;
    background: var(--primary, #d4a843);
    color: var(--on-primary, #fff);
    border-radius: var(--w-radius, var(--radius-lg, 14px));
    box-shadow: var(--w-shadow, var(--shadow-md, 0 4px 14px rgba(0,0,0,.10)));
}
.nli-text {
    flex: 1 1 240px;
    min-width: 0;
}
.nli-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--on-primary, #fff);
    margin: 0;
    line-height: 1.5;
}
.nli-subtitle {
    font-size: 0.85rem;
    color: var(--on-primary, #fff);
    opacity: 0.85;
    margin: 4px 0 0;
    line-height: 1.6;
}
.nli-form {
    flex: 1 1 320px;
    min-width: 0;
    max-width: 460px;
}
/* Lay the embedded form-submit fields out inline within the bar */
.nli-form form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.nli-form .form-group,
.nli-form .mb-3,
.nli-form .form-field {
    flex: 1 1 180px;
    margin-bottom: 0 !important;
}
.nli-form input,
.nli-form .form-control {
    width: 100%;
    border-radius: var(--radius-md, 10px);
    border: 1px solid var(--border-color, #e0e0e0);
    background: var(--surface, #fff);
    color: var(--text, #333);
}
.nli-form input::placeholder,
.nli-form .form-control::placeholder {
    color: var(--text-muted, #999);
}
.nli-form button,
.nli-form .btn {
    flex: 0 0 auto;
    white-space: nowrap;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md, 10px);
    background: var(--surface, #fff);
    color: var(--primary, #d4a843);
    transition: filter .2s, transform .15s, box-shadow .18s;
    box-shadow: var(--w-shadow, var(--shadow-md, 0 2px 8px rgba(0,0,0,.12)));
}
.nli-form button:hover,
.nli-form .btn:hover {
    filter: brightness(0.96);
    transform: translateY(-1px);
    color: var(--primary-dark, var(--primary, #d4a843));
}
.nli-form label {
    color: var(--on-primary, #fff);
    font-size: 0.78rem;
    font-weight: 600;
}
.nli-form .invalid-feedback,
.nli-form .text-danger {
    color: var(--on-primary, #fff);
    opacity: 0.95;
}

/* Stack on mobile: text above, form full-width below */
@media (max-width: 575.98px) {
    .nli-bar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .nli-form {
        flex: 1 1 100%;
        max-width: none;
    }
    .nli-form form {
        flex-direction: column;
        align-items: stretch;
    }
    .nli-form button,
    .nli-form .btn {
        width: 100%;
    }
}


/* === portfolio.css === */
/* Widget: portfolio — extracted from custome.css */
/* Token cascade enforcer (Phase D3) */
.pfo-section, .pfo-grid, .pfo-item {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ Portfolio ═══ */
.pfo-section { }
.pfo-heading {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text, #222);
    margin-bottom: 20px;
}
.pfo-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}
.pfo-filter-btn {
    display: inline-block;
    padding: 7px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--text-muted, #666);
    background: var(--surface-2, #f0f0f0);
    border: none;
    border-radius: var(--w-radius, var(--border-radius, 50px));
    cursor: pointer;
    transition: background .2s, color .2s;
}
.pfo-filter-btn:hover { background: var(--border-color, #e0e0e0); }
.pfo-filter-active {
    background: var(--primary, #007bff);
    color: var(--on-primary, #fff);
}
.pfo-filter-active:hover { background: var(--primary, #007bff); color: var(--on-primary, #fff); }
.pfo-item {
    transition: opacity .3s, transform .3s;
}
.pfo-item.pfo-hidden {
    display: none;
}
.pfo-card {
    border-radius: var(--w-radius, var(--border-radius, 14px));
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.pfo-image-wrap {
    position: relative;
    overflow: hidden;
}
.pfo-image {
    width: 100%;
    display: block;
    object-fit: cover;
    min-height: 200px;
    transition: transform .3s;
}
.pfo-image-wrap:hover .pfo-image { transform: scale(1.05); }
.pfo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background: var(--surface-2, #f5f5f5);
    color: var(--text-muted, #ddd);
    font-size: 48px;
}
.pfo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity .3s;
}
.pfo-image-wrap:hover .pfo-overlay { opacity: 1; }
.pfo-title {
    color: var(--on-primary, #fff);
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}
.pfo-category-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--on-primary, #fff);
    background: rgba(255,255,255,0.2);
    padding: 3px 12px;
    border-radius: var(--w-radius, var(--border-radius, 50px));
}
.pfo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface, #fff);
    color: var(--text, #333);
    font-size: 0.85rem;
    text-decoration: none;
    transition: background .2s;
}
.pfo-link:hover { background: var(--primary, #007bff); color: var(--on-primary, #fff); }

/* Masonry layout */
.pfo-masonry {
    column-gap: 16px;
}
.pfo-masonry-item {
    break-inside: avoid;
    margin-bottom: 16px;
}

@media (max-width: 767.98px) {
    .pfo-masonry { column-count: 1 !important; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .pfo-masonry { column-count: 2 !important; }
}



/* === pricing-table.css === */
/* Widget: pricing-table — extracted from custome.css */
/* Token cascade enforcer (Phase D3) */
.prt-section, .prt-card, .prt-table {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ Pricing Table ═══ */
.prt-section { }
.prt-header {
    text-align: center;
    margin-bottom: 28px;
}
.prt-heading {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text, #222);
    margin: 0 0 8px;
}
.prt-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted, #888);
    margin: 0;
}
.prt-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.prt-card {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 14px));
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 32px 24px;
    text-align: center;
    flex: 1 1 240px;
    max-width: 300px;
    border: 2px solid transparent;
    position: relative;
    transition: transform .2s, box-shadow .2s;
}
.prt-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.06); border-color: var(--border-color, #e0e0e0); }
.prt-featured {
    transform: scale(1.04);
    z-index: 1;
}
.prt-featured:hover { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.prt-badge {
    position: absolute;
    top: -1px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    color: var(--on-primary, #fff);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 0 0 8px 8px;
}
[dir="rtl"] .prt-badge { transform: translateX(50%); }
.prt-tier-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text, #333);
    margin-bottom: 14px;
}
.prt-price-wrap {
    margin-bottom: 20px;
}
.prt-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text, #222);
    line-height: 1.1;
}
.prt-period {
    font-size: 0.85rem;
    color: var(--text-muted, #999);
    font-weight: 500;
}
.prt-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: start;
}
.prt-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--text-muted, #555);
    border-bottom: 1px solid var(--border-color, #f3f3f3);
}
.prt-features li:last-child { border-bottom: none; }
.prt-feature-included i { color: var(--success, #27ae60); font-size: 0.75rem; }
.prt-feature-excluded i { color: var(--danger, #e74c3c); font-size: 0.75rem; }
.prt-feature-excluded span {
    text-decoration: line-through;
    color: var(--text-muted, #bbb);
}
.prt-btn {
    display: inline-block;
    padding: 10px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--w-radius, var(--border-radius, 10px));
    background: var(--surface-2, #f0f0f0);
    color: var(--text, #333);
    text-decoration: none;
    transition: background .2s, transform .15s;
}
.prt-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.prt-btn-featured {
    color: var(--on-primary, #fff);
}

/* Pricing horizontal rows */
.prt-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.prt-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 14px));
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 20px 24px;
    border: 2px solid transparent;
    transition: transform .2s;
}
.prt-row:hover { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.prt-row-featured { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.prt-row-name {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
}
.prt-row-tier {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text, #333);
}
.prt-row-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--on-primary, #fff);
    padding: 2px 10px;
    border-radius: var(--w-radius, var(--border-radius, 6px));
}
.prt-row-price {
    min-width: 120px;
}
.prt-row-features {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.prt-row-feat {
    font-size: 0.82rem;
    color: var(--text-muted, #555);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.prt-feat-included i { color: var(--success, #27ae60); font-size: 0.7rem; }
.prt-feat-excluded i { color: var(--danger, #e74c3c); font-size: 0.7rem; }
.prt-feat-excluded {
    text-decoration: line-through;
    color: var(--text-muted, #bbb);
}
.prt-row-action {
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .prt-grid { flex-direction: column; align-items: center; }
    .prt-card { max-width: 100%; }
    .prt-featured { transform: none; }
    .prt-featured:hover { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
    .prt-row { flex-direction: column; text-align: center; }
    .prt-row-features { justify-content: center; }
}

/* ═══ Pricing Table Subscription ═══ */
.pts-section { }
.pts-header {
    text-align: center;
    margin-bottom: 20px;
}
.pts-heading {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text, #222);
    margin: 0 0 8px;
}

/* Toggle */
.pts-toggle {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 28px;
    background: var(--surface-2, #f0f0f0);
    border-radius: var(--w-radius, var(--border-radius, 10px));
    padding: 4px;
    width: fit-content;
    margin-inline: auto;
}
.pts-toggle-btn {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 24px;
    border-radius: var(--w-radius, var(--border-radius, 8px));
    border: none;
    background: transparent;
    color: var(--text-muted, #666);
    cursor: pointer;
    transition: background .2s, color .2s;
}
.pts-toggle-active {
    background: var(--surface, #fff);
    color: var(--text, #222);
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

/* Cards */
.pts-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.pts-card {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 14px));
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 32px 24px;
    text-align: center;
    flex: 1 1 240px;
    max-width: 300px;
    border: 2px solid transparent;
    position: relative;
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
}
.pts-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.06); border-color: var(--border-color, #e0e0e0); }
.pts-featured {
    transform: scale(1.04);
    z-index: 1;
}
.pts-featured:hover { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.pts-badge {
    position: absolute;
    top: -1px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    background: var(--primary, #d4a843);
    color: var(--on-primary, #fff);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 0 0 8px 8px;
}
[dir="rtl"] .pts-badge { transform: translateX(50%); }
.pts-plan-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text, #333);
    margin-bottom: 14px;
}
.pts-price-wrap { margin-bottom: 16px; }
.pts-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text, #222);
    line-height: 1.1;
}
.pts-price-old {
    font-size: 1rem;
    color: var(--text-muted, #bbb);
    text-decoration: line-through;
    margin-left: 6px;
}
.pts-period {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted, #999);
    font-weight: 500;
    margin-top: 4px;
}
.pts-trial {
    font-size: 0.8rem;
    font-weight: 600;
    color: #27ae60;
    background: #f0fdf4;
    padding: 6px 14px;
    border-radius: var(--w-radius, var(--border-radius, 8px));
    margin-bottom: 16px;
    display: inline-block;
}
.pts-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: start;
    flex: 1;
}
.pts-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--text-muted, #555);
    border-bottom: 1px solid var(--border-color, #f3f3f3);
}
.pts-feature:last-child { border-bottom: none; }
.pts-feature i { color: var(--success, #27ae60); font-size: 0.75rem; }
.pts-cta-btn {
    display: inline-block;
    padding: 10px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--w-radius, var(--border-radius, 10px));
    background: var(--surface-2, #f0f0f0);
    color: var(--text, #333);
    text-decoration: none;
    transition: background .2s, transform .15s;
    margin-top: auto;
}
.pts-cta-btn:hover { filter: brightness(1.08); transform: translateY(-1px); color: var(--text, #333); }
.pts-cta-featured {
    background: var(--primary, #d4a843);
    color: var(--on-primary, #fff);
}
.pts-cta-featured:hover { color: var(--on-primary, #fff); }

@media (max-width: 767.98px) {
    .pts-grid { flex-direction: column; align-items: center; }
    .pts-card { max-width: 100%; }
    .pts-featured { transform: none; }
}

/* ═══ Pricing Table Compact — dense single-column comparison rows ═══ */
.ptc-section {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}
.ptc-header {
    text-align: center;
    margin-bottom: 22px;
}
.ptc-heading {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text, #222);
    margin: 0 0 8px;
}
.ptc-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted, #888);
    margin: 0;
}
.ptc-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 880px;
    margin-inline: auto;
}
.ptc-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 18px;
    background: var(--surface, #fff);
    border-radius: var(--radius-md, 12px);
    box-shadow: var(--shadow-sm, 0 1px 4px rgba(0,0,0,0.06));
    border-inline-start: 3px solid transparent;
    padding: 14px 20px;
    transition: box-shadow .2s, transform .15s;
}
.ptc-row:hover {
    box-shadow: var(--shadow-md, 0 4px 16px rgba(0,0,0,0.09));
    transform: translateY(-1px);
}
.ptc-row-featured {
    border-inline-start-color: var(--primary, #ef4056);
    background: var(--surface, #fff);
    box-shadow: var(--shadow-md, 0 4px 16px rgba(0,0,0,0.1));
}

/* Left lead: plan name + price stacked, fixed width */
.ptc-lead {
    flex: 0 0 auto;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ptc-name-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.ptc-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text, #333);
}
.ptc-badge {
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--on-primary, #fff);
    background: var(--primary, #ef4056);
    padding: 2px 9px;
    border-radius: var(--radius-md, 6px);
    white-space: nowrap;
}
.ptc-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.ptc-price {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text, #222);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.ptc-period {
    font-size: 0.78rem;
    color: var(--text-muted, #999);
    font-weight: 500;
}

/* Middle: condensed inline feature pills */
.ptc-features {
    flex: 1 1 auto;
    min-width: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    align-items: center;
}
.ptc-feat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--text-muted, #555);
    background: var(--surface-2, #f5f5f5);
    padding: 3px 10px;
    border-radius: var(--radius-md, 20px);
    line-height: 1.4;
    white-space: nowrap;
}
.ptc-feat-included i { color: var(--success, #27ae60); font-size: 0.7rem; }
.ptc-feat-excluded { color: var(--text-muted, #bbb); }
.ptc-feat-excluded i { color: var(--danger, #e74c3c); font-size: 0.7rem; }
.ptc-feat-excluded span { text-decoration: line-through; }

/* Right: CTA */
.ptc-action {
    flex: 0 0 auto;
    margin-inline-start: auto;
}
.ptc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 22px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    border-radius: var(--radius-md, 10px);
    background: var(--surface-2, #f0f0f0);
    color: var(--text, #333);
    text-decoration: none;
    transition: filter .18s, transform .15s, box-shadow .18s;
}
.ptc-btn:hover { filter: brightness(1.06); transform: translateY(-1px); color: var(--text, #333); }
.ptc-btn-featured {
    background: var(--primary, #ef4056);
    color: var(--on-primary, #fff);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(239,64,86,.25));
}
.ptc-btn-featured:hover { color: var(--on-primary, #fff); }

@media (max-width: 767.98px) {
    .ptc-row {
        flex-wrap: wrap;
        gap: 12px;
        text-align: start;
    }
    .ptc-lead { min-width: 0; flex: 1 1 100%; }
    .ptc-features { flex: 1 1 100%; }
    .ptc-action { flex: 1 1 100%; margin-inline-start: 0; }
    .ptc-btn { width: 100%; }
}



/* === process-steps.css === */
/* Widget: process-steps — extracted from custome.css */
/* Token cascade enforcer (Phase D3) */
.prc-section, .prc-grid, .prc-step {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ Process Steps ═══ */
.prc-section { text-align: center; }
.prc-title { font-size: 1.25rem; font-weight: 800; color: var(--text, #222); margin: 0 0 6px; }
.prc-subtitle { font-size: 0.9rem; color: var(--text-muted, #888); margin: 0 0 32px; }
/* Vertical */
.prc-vertical { max-width: 600px; margin: 0 auto; position: relative; padding-right: 40px; }
.prc-vertical::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 23px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary, #007bff), #eee);
}
.prc-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
    position: relative;
}
.prc-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary, #007bff);
    color: var(--on-primary, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}
.prc-body { text-align: right; flex: 1; padding-top: 8px; }
.prc-step-icon { font-size: 1.1rem; color: var(--primary, #007bff); margin-bottom: 6px; }
.prc-step-title { font-weight: 700; font-size: 1.05rem; color: var(--text, #222); margin: 0 0 6px; }
.prc-step-desc { font-size: 0.88rem; color: var(--text-muted, #666); line-height: 1.8; margin: 0; }
/* Horizontal */
.prc-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 0; }
.prc-row-item {
    flex: 1;
    min-width: 150px;
    max-width: 220px;
    text-align: center;
    padding: 0 12px;
}
.prc-row-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary, #007bff);
    color: var(--on-primary, #fff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.prc-row-num {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--primary, #007bff);
    background: #f0f4ff;
    display: inline-block;
    padding: 2px 10px;
    border-radius: var(--w-radius, var(--border-radius, 20px));
    margin-bottom: 8px;
}
.prc-row-title { font-weight: 700; font-size: 0.95rem; color: var(--text, #222); margin: 0 0 6px; }
.prc-row-desc { font-size: 0.82rem; color: var(--text-muted, #777); line-height: 1.7; margin: 0; }
.prc-row-arrow { display: flex; align-items: center; color: var(--text-muted, #ccc); font-size: 1.3rem; padding-top: 20px; }
@media (max-width: 767.98px) {
    .prc-vertical { padding-right: 36px; }
    .prc-vertical::before { right: 19px; }
    .prc-row { flex-direction: column; align-items: center; gap: 16px; }
    .prc-row-arrow { transform: rotate(-90deg); padding-top: 0; }
}



/* === product-carousel.css === */
/* Widget: product-carousel — extracted from custome.css */
/* ═══ Product Carousel Main (Digikala style) ═══ */
.pcm-section {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.pcm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px 0;
    border-bottom: 2px solid var(--border-color, #f0f0f0);
}
.pcm-tabs {
    display: flex;
    gap: 0;
}
.pcm-tab {
    padding: 10px 18px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text, #333);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color .2s, border-color .2s;
}
.pcm-tab.active,
.pcm-tab:hover {
    color: var(--primary, #ef4056);
    border-bottom-color: var(--primary, #ef4056);
}
.pcm-viewall {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent, #0fabc5);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    padding-bottom: 12px;
}
.pcm-viewall:hover { color: var(--accent, #0d8fa5); }
.pcm-viewall i { font-size: 9px; }
.pcm-body {
    padding: 16px 16px;
    position: relative;
    overflow: hidden;
}

/* Widget: product-carousel-special — extracted from custome.css */
/* ═══ Product Carousel Special — Amazing Offer (Digikala style) ═══ */
.pcs-section {
    --pcs-color: var(--primary, #ef4056);
}
.pcs-wrapper {
    display: flex;
    border: 3px solid var(--pcs-color);
    border-radius: var(--w-radius, var(--border-radius, 14px));
    overflow: hidden;
    background: var(--surface, #fff);
}
.pcs-promo {
    flex: 0 0 180px;
    background: var(--pcs-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    text-align: center;
}
.pcs-promo-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.pcs-promo-icon {
    font-size: 40px;
    color: var(--on-primary, #fff);
    opacity: 0.9;
}
.pcs-promo-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--on-primary, #fff);
    line-height: 1.7;
    margin: 0;
}
.pcs-countdown {
    direction: ltr;
}
.pcs-countdown .d-flex > div {
    background: rgba(255,255,255,0.2) !important;
    border-radius: 6px !important;
    min-width: 50px !important;
    padding: 4px 6px !important;
}
.pcs-countdown .d-flex > div div:first-child {
    font-size: 1.2rem !important;
    color: var(--on-primary, #fff) !important;
}
.pcs-countdown .d-flex > div .small {
    color: rgba(255,255,255,0.8) !important;
    font-size: 0.6rem !important;
}
.pcs-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--surface, #fff);
    color: var(--pcs-color);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--w-radius, var(--border-radius, 20px));
    text-decoration: none;
    transition: background .2s;
}
.pcs-promo-btn:hover {
    background: #f8f8f8;
    color: var(--pcs-color);
}
.pcs-promo-btn i { font-size: 9px; }
.pcs-carousel-wrap {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    position: relative;
    overflow: hidden;
}
.pcs-card {
    position: relative;
}
.pcs-badge {
    display: block;
    text-align: center;
    background: var(--pcs-color);
    color: var(--on-primary, #fff);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 0;
    border-radius: 8px 8px 0 0;
    margin: 0 2px;
    position: relative;
    z-index: 3;
}
.pcs-card {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.pcs-card .product-card { padding: 0; flex: 1; }
.pcs-card .product-card-inner,
.pcs-card .pc {
    border-radius: 0 0 10px 10px;
    border: 1px solid #fdd;
    border-top: none;
    box-shadow: none;
    height: 100%;
    overflow: hidden;
}
.pcs-card .product-card-inner:hover {
    border-color: var(--border-color, #e0e0e0);
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

/* Block ALL clicks on links inside carousel during drag/swipe */
.owl-is-dragging a,
.owl-is-dragging a * {
    pointer-events: none !important;
}

/* View All end card — Main carousel */
.pcm-viewall-card {
    display: flex;
    flex-direction: column;
    padding: 6px;
}
.pcm-viewall-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    background: var(--surface-2, #f8f9fa);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    transition: background .2s;
}
.pcm-viewall-inner:hover { background: #eef1f5; }
.pcm-viewall-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--accent, #0fabc5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent, #0fabc5);
    font-size: 18px;
    transition: background .2s, color .2s;
}
.pcm-viewall-inner:hover .pcm-viewall-circle {
    background: var(--accent, #0fabc5);
    color: var(--on-primary, #fff);
}
.pcm-viewall-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent, #0fabc5);
}

/* View All end card — Special carousel */
.pcs-viewall-card {
    display: flex;
    flex-direction: column;
}
.pcs-viewall-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    background: #fff5f6;
    border: 1px dashed var(--pcs-color);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    transition: background .2s;
}
.pcs-viewall-inner:hover { background: #ffebee; }
.pcs-viewall-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--pcs-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pcs-color);
    font-size: 18px;
    transition: background .2s, color .2s;
}
.pcs-viewall-inner:hover .pcs-viewall-circle {
    background: var(--pcs-color);
    color: var(--on-primary, #fff);
}
.pcs-viewall-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--pcs-color);
}

/* Responsive: promo becomes top banner on mobile */
@media (max-width: 767.98px) {
    .pcs-wrapper { flex-direction: column; }
    .pcs-promo {
        flex: 0 0 auto;
        padding: 16px;
        flex-direction: row;
    }
    .pcs-promo-inner {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .pcs-promo-icon { font-size: 28px; }
    .pcs-promo-title { font-size: 0.95rem; }
}

/* ═══ Product Carousel Service ═══ */
.pcsr-section {
    background: var(--surface, #fff);
    /* Outer container — uses widget tokens too */
    border-radius: var(--w-radius, var(--border-radius, 12px));
    overflow: hidden;
    box-shadow: var(--w-shadow, 0 1px 6px rgba(0,0,0,0.06));
    font-family: var(--w-font, var(--font-body));
    /* Persian digits via OpenType feature (Vazirmatn ss01, IRANSansX rdot, Shabnam ss01) */
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
    -moz-font-feature-settings: "ss01=1, ss02=1, rdot=1";
}
/* Force font onto all text descendants — higher specificity than body p/a/span rules.
   Excludes icon classes so they keep their icon font glyphs. */
.pcsr-section *:not(i):not([class*="fa-"]):not([class*="ti-"]):not([class*="mdi-"]) {
    font-family: inherit;
    font-feature-settings: inherit;
}
.pcsr-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(14px * var(--w-density, var(--density, 1))) calc(20px * var(--w-density, var(--density, 1))) 0;
    border-bottom: 2px solid var(--border-color, #f0f0f0);
}
.pcsr-tabs { display: flex; gap: 0; }
.pcsr-tab {
    padding: calc(10px * var(--w-density, var(--density, 1))) calc(18px * var(--w-density, var(--density, 1)));
    font-size: calc(0.92rem * var(--w-font-scale, var(--font-scale, 1)));
    font-weight: 700;
    color: var(--text, #333);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}
.pcsr-tab.active { color: var(--primary, #ef4056); border-bottom-color: var(--primary, #ef4056); }
.pcsr-viewall-link {
    font-size: calc(0.82rem * var(--w-font-scale, var(--font-scale, 1)));
    font-weight: 600;
    color: var(--accent, #0fabc5);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    padding-bottom: 12px;
}
.pcsr-viewall-link:hover { color: var(--accent, #0d8fa5); }
.pcsr-viewall-link i { font-size: 9px; }
.pcsr-body { padding: calc(16px * var(--w-density, var(--density, 1))); position: relative; overflow: hidden; }
/* Grid mode (≤3 items) */
.pcsr-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}
.pcsr-grid-1 { grid-template-columns: minmax(0, 400px); justify-content: center; }
.pcsr-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; }
@media (max-width: 767px) {
    .pcsr-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 479px) {
    .pcsr-grid { grid-template-columns: 1fr; }
    .pcsr-grid-2 { grid-template-columns: 1fr; }
}

.pcsr-card {
    background: var(--surface, #fff);
    /* Cascade: widget --w-radius → site --border-radius → 14px legacy */
    border-radius: var(--w-radius, var(--border-radius, 14px));
    box-shadow: var(--w-shadow, 0 2px 8px rgba(0,0,0,.07));
    overflow: hidden;
    transition: transform .22s, box-shadow .22s;
    display: flex;
    flex-direction: column;
    font-family: var(--w-font, var(--font-body));
    font-size: calc(1em * var(--w-font-scale, var(--font-scale, 1)));
}
.pcsr-card:hover { transform: translateY(-4px); box-shadow: var(--w-shadow, 0 8px 28px rgba(0,0,0,.11)); }
.pcsr-img-wrap { display: block; overflow: hidden; aspect-ratio: 4 / 3; flex-shrink: 0; }
.pcsr-img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.pcsr-card:hover .pcsr-img { transform: scale(1.05); }
.pcsr-img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #f5f5f5 0%, #ececec 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--text-muted, #ccc);
}
.pcsr-card-body {
    padding: calc(14px * var(--w-density, var(--density, 1))) calc(14px * var(--w-density, var(--density, 1))) calc(16px * var(--w-density, var(--density, 1)));
    display: flex;
    flex-direction: column;
    flex: 1;
}
.pcsr-card-title {
    font-size: calc(0.92rem * var(--w-font-scale, var(--font-scale, 1)));
    font-weight: 700;
    color: var(--text, #222);
    text-decoration: none;
    display: block;
    margin-bottom: calc(8px * var(--w-density, var(--density, 1)));
    line-height: 1.55;
}
.pcsr-card-title:hover { color: var(--primary, #d4a843); }
.pcsr-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: calc(12px * var(--w-density, var(--density, 1)));
}
.pcsr-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: calc(0.74rem * var(--w-font-scale, var(--font-scale, 1)));
    font-weight: 600;
    color: var(--text-muted, #666);
    background: var(--surface-2, #f5f5f5);
    border-radius: var(--w-radius, var(--border-radius, 20px));
    padding: 3px 10px;
    line-height: 1.4;
}
.pcsr-meta-chip i { font-size: 0.7rem; }
.pcsr-meta-group { color: var(--accent, #0fabc5); background: #e8f9fc; }
.pcsr-card-price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 12px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--border-color, #f0f0f0);
}
.pcsr-price {
    font-size: calc(1.05rem * var(--w-font-scale, var(--font-scale, 1)));
    font-weight: 800;
    color: var(--text, #1a1a1a);
    font-variant-numeric: tabular-nums;
}
.pcsr-price-unit {
    font-size: calc(0.75rem * var(--w-font-scale, var(--font-scale, 1)));
    color: var(--text-muted, #888);
    font-weight: 500;
}
.pcsr-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    font-size: calc(0.88rem * var(--w-font-scale, var(--font-scale, 1)));
    font-weight: 700;
    color: var(--on-primary, #fff);
    background: var(--primary, #d4a843);
    padding: calc(10px * var(--w-density, var(--density, 1))) 0;
    /* Buttons inherit widget radius — visually consistent with card */
    border-radius: var(--w-radius, var(--border-radius, 10px));
    text-decoration: none;
    transition: filter .18s, transform .15s, box-shadow .18s;
    box-shadow: var(--w-shadow, 0 2px 8px rgba(212,168,67,.25));
}
.pcsr-cta-btn i { font-size: 0.85rem; }
.pcsr-cta-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(212,168,67,.35);
    color: var(--on-primary, #fff);
}

/* ═══ Product Carousel Course ═══ */
.pcc-section {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.pcc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px 0;
    border-bottom: 2px solid var(--border-color, #f0f0f0);
}
.pcc-tabs { display: flex; gap: 0; }
.pcc-tab {
    padding: 10px 18px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text, #333);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}
.pcc-tab.active { color: var(--primary, #ef4056); border-bottom-color: var(--primary, #ef4056); }
.pcc-viewall-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent, #0fabc5);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    padding-bottom: 12px;
}
.pcc-viewall-link:hover { color: var(--accent, #0d8fa5); }
.pcc-viewall-link i { font-size: 9px; }
.pcc-body { padding: 16px; position: relative; overflow: hidden; }
.pcc-card {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.pcc-card:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.pcc-img-wrap { display: block; overflow: hidden; aspect-ratio: 16 / 10; position: relative; }
.pcc-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pcc-card:hover .pcc-img { transform: scale(1.04); }
.pcc-level-badge {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    background: rgba(0,0,0,.6);
    color: var(--on-primary, #fff);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--w-radius, var(--border-radius, 6px));
}
.pcc-card-body { padding: 14px; }
.pcc-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text, #333);
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    line-height: 1.6;
}
.pcc-card-title:hover { color: var(--primary, #d4a843); }
.pcc-card-meta { font-size: 0.78rem; color: var(--text-muted, #999); margin-bottom: 10px; }
.pcc-card-meta i { margin-left: 3px; font-size: 0.7rem; }
.pcc-card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color, #f3f3f3);
}
.pcc-price { font-size: 0.88rem; font-weight: 700; color: var(--text, #333); }
.pcc-price-old { font-size: 0.78rem; color: var(--text-muted, #bbb); text-decoration: line-through; }
.pcc-price-free { font-size: 0.88rem; font-weight: 700; color: var(--success, #27ae60); }

/* ═══ Product Carousel Event ═══ */
.pce-section {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.pce-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px 0;
    border-bottom: 2px solid var(--border-color, #f0f0f0);
}
.pce-tabs { display: flex; gap: 0; }
.pce-tab {
    padding: 10px 18px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text, #333);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}
.pce-tab.active { color: var(--primary, #ef4056); border-bottom-color: var(--primary, #ef4056); }
.pce-viewall-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent, #0fabc5);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    padding-bottom: 12px;
}
.pce-viewall-link:hover { color: var(--accent, #0d8fa5); }
.pce-viewall-link i { font-size: 9px; }
.pce-body { padding: 16px; position: relative; overflow: hidden; }
.pce-card {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.pce-card:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.pce-img-wrap { display: block; overflow: hidden; aspect-ratio: 16 / 9; position: relative; }
.pce-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pce-card:hover .pce-img { transform: scale(1.04); }
.pce-date-overlay {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    background: var(--primary, #d4a843);
    color: var(--on-primary, #fff);
    border-radius: var(--w-radius, var(--border-radius, 8px));
    padding: 6px 10px;
    text-align: center;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 48px;
}
.pce-date-day { font-size: 1.15rem; font-weight: 900; }
.pce-date-month { font-size: 0.65rem; font-weight: 600; opacity: 0.9; }
.pce-card-body { padding: 14px; }
.pce-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text, #333);
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    line-height: 1.6;
}
.pce-card-title:hover { color: var(--primary, #d4a843); }
.pce-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--text-muted, #999);
    margin-bottom: 10px;
}
.pce-card-meta i { margin-left: 3px; font-size: 0.7rem; }
.pce-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--border-color, #f3f3f3);
}
.pce-price { font-size: 0.88rem; font-weight: 700; color: var(--text, #333); }
.pce-cta-btn {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--on-primary, #fff);
    background: var(--primary, #d4a843);
    padding: 5px 14px;
    border-radius: var(--w-radius, var(--border-radius, 8px));
    text-decoration: none;
    transition: background .2s, transform .15s;
}
.pce-cta-btn:hover { filter: brightness(1.08); transform: translateY(-1px); color: var(--on-primary, #fff); }

/* ═══ Product Carousel Rental ═══ */
.pcr-section {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.pcr-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px 0;
    border-bottom: 2px solid var(--border-color, #f0f0f0);
}
.pcr-tabs { display: flex; gap: 0; }
.pcr-tab {
    padding: 10px 18px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text, #333);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}
.pcr-tab.active { color: var(--primary, #ef4056); border-bottom-color: var(--primary, #ef4056); }
.pcr-viewall-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent, #0fabc5);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    padding-bottom: 12px;
}
.pcr-viewall-link:hover { color: var(--accent, #0d8fa5); }
.pcr-viewall-link i { font-size: 9px; }
.pcr-body { padding: 16px; position: relative; overflow: hidden; }
.pcr-card {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.pcr-card:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.pcr-img-wrap { display: block; overflow: hidden; aspect-ratio: 4 / 3; position: relative; }
.pcr-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pcr-card:hover .pcr-img { transform: scale(1.04); }
.pcr-availability {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--w-radius, var(--border-radius, 6px));
}
.pcr-available { background: #dcfce7; color: #166534; }
.pcr-unavailable { background: #fef2f2; color: #991b1b; }
.pcr-card-body { padding: 14px; }
.pcr-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text, #333);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    line-height: 1.6;
}
.pcr-card-title:hover { color: var(--primary, #d4a843); }
.pcr-card-footer {
    padding-top: 10px;
    border-top: 1px solid var(--border-color, #f3f3f3);
}
.pcr-price { font-size: 0.88rem; font-weight: 700; color: var(--text, #333); }

/* ═══ Product Carousel Overlay — poster grid (Phase 2 variant) ═══ */
.pco-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.pco-heading { font-size: 1.15rem; font-weight: 800; color: var(--text, #1a1a1a); margin: 0; }
.pco-viewall {
    font-size: 0.82rem; font-weight: 600; color: var(--accent, #0fabc5);
    text-decoration: none; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
}
.pco-viewall i { font-size: 9px; }
.pco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}
.pco-card {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--w-shadow, 0 4px 14px rgba(0,0,0,.10));
    background: var(--surface-2, #f4f4f6);
}
.pco-img-wrap { position: absolute; inset: 0; }
.pco-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pco-card:hover .pco-img { transform: scale(1.07); }
.pco-img-empty {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem; color: var(--text-muted, #ccc);
}
.pco-badge {
    position: absolute; top: 10px; inset-inline-start: 10px;
    background: var(--primary, #ef4056); color: var(--on-primary, #fff);
    font-size: 0.72rem; font-weight: 800; padding: 3px 10px; border-radius: var(--radius-sm, 6px);
}
.pco-overlay {
    position: absolute; inset-inline: 0; bottom: 0;
    display: flex; flex-direction: column; gap: 4px;
    padding: 28px 14px 12px;
    background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 55%, transparent 100%);
}
.pco-title {
    color: var(--on-primary, #fff); font-size: 0.9rem; font-weight: 700; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pco-price { color: var(--on-primary, #fff); font-size: 1rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.pco-unit { font-size: 0.72rem; font-weight: 500; opacity: 0.85; }

/* ═══ Product Carousel Minimal — bare horizontal scroll (Phase 2 variant) ═══ */
.pcmin-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color, #f0f0f0);
}
.pcmin-heading { font-size: 1.05rem; font-weight: 700; color: var(--text, #222); margin: 0; }
.pcmin-viewall {
    font-size: 0.8rem; font-weight: 600; color: var(--accent, #0fabc5);
    text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
}
.pcmin-viewall i { font-size: 9px; }
.pcmin-track {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    padding: 4px 2px 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.pcmin-track::-webkit-scrollbar { display: none; }
.pcmin-item {
    flex: 0 0 auto;
    width: 150px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    scroll-snap-align: start;
}
.pcmin-img-wrap {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md, 12px);
    overflow: hidden;
    background: var(--surface-2, #f4f4f6);
    margin-bottom: 10px;
}
.pcmin-img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.pcmin-item:hover .pcmin-img { opacity: 0.9; }
.pcmin-img-empty {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: var(--text-muted, #ccc);
}
.pcmin-name {
    color: var(--text-muted, #666); font-size: 0.82rem; line-height: 1.5; margin-bottom: 4px;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.pcmin-price { color: var(--text, #1a1a1a); font-size: 0.9rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.pcmin-unit { color: var(--text-muted, #888); font-size: 0.7rem; font-weight: 500; }



/* === product-grid.css === */
/* Widget: product-grid — extracted from custome.css */
/* ─── Token cascade enforcer (Phase D3) — applies to all variants in this file ─── */
.pgt-card, .pgm-card, .pgc-card-outer, .pgr-card-outer, .cgm-section, .cgn-section {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}
.pgt-card *, .pgm-card *, .pgc-card-outer *, .pgr-card-outer *, .cgm-section *, .cgn-section * {
    font-family: inherit;
    font-feature-settings: inherit;
}
.pgt-card *:where(i, [class*="fa-"], [class*="ti-"], [class*="mdi-"]),
.pgm-card *:where(i, [class*="fa-"], [class*="ti-"], [class*="mdi-"]),
.pgc-card-outer *:where(i, [class*="fa-"], [class*="ti-"], [class*="mdi-"]),
.pgr-card-outer *:where(i, [class*="fa-"], [class*="ti-"], [class*="mdi-"]) {
    font-family: revert;
}

/* ═══ Product Grid Tabbed ═══ */
.pgt-card {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 14px));
    box-shadow: var(--w-shadow, 0 2px 12px rgba(0,0,0,0.06));
    overflow: hidden;
}
.pgt-header {
    padding: calc(18px * var(--w-density, var(--density, 1))) calc(24px * var(--w-density, var(--density, 1))) 0;
    border-bottom: 2px solid var(--border-color, #f0f0f0);
}
.pgt-title {
    font-size: calc(1.2rem * var(--w-font-scale, var(--font-scale, 1)));
    font-weight: 800;
    color: var(--text, #222);
    margin: 0 0 14px;
}
.pgt-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    border: none !important;
}
.pgt-tabs .nav-item { margin-bottom: -2px; }
.pgt-tab.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: calc(10px * var(--w-density, var(--density, 1))) calc(18px * var(--w-density, var(--density, 1)));
    font-size: calc(0.88rem * var(--w-font-scale, var(--font-scale, 1)));
    font-weight: 600;
    color: var(--text-muted, #666) !important;
    text-decoration: none;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    background: none !important;
    white-space: nowrap;
    transition: color .2s, border-color .2s;
}
.pgt-tab.nav-link i { font-size: 0.8rem; }
.pgt-tab.nav-link:hover, .pgt-tab.nav-link.active {
    color: var(--primary, #ef4056) !important;
    border-bottom-color: var(--primary, #ef4056) !important;
}
.pgt-content { padding: calc(20px * var(--w-density, var(--density, 1))); }

/* Widget: product-grid-main — extracted from custome.css */
/* ═══ Product Grid Main ═══ */
.pgm-section { }
.pgm-card {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 14px));
    box-shadow: var(--w-shadow, 0 2px 12px rgba(0,0,0,0.06));
    overflow: hidden;
}
.pgm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(16px * var(--w-density, var(--density, 1))) calc(24px * var(--w-density, var(--density, 1)));
    border-bottom: 2px solid var(--border-color, #f0f0f0);
}
.pgm-title {
    font-size: calc(1.15rem * var(--w-font-scale, var(--font-scale, 1)));
    font-weight: 800;
    color: var(--text, #222);
    margin: 0;
}
.pgm-viewall {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: calc(0.82rem * var(--w-font-scale, var(--font-scale, 1)));
    font-weight: 600;
    color: var(--accent, #0fabc5);
    text-decoration: none;
    padding: calc(6px * var(--w-density, var(--density, 1))) calc(16px * var(--w-density, var(--density, 1)));
    border: 1.5px solid var(--accent, #0fabc5);
    border-radius: var(--w-radius, var(--border-radius, 8px));
    transition: background .2s, color .2s;
    white-space: nowrap;
}
.pgm-viewall i { font-size: 9px; }
.pgm-viewall:hover { background: var(--accent, #0fabc5); color: var(--on-primary, #fff); }
.pgm-body { padding: calc(20px * var(--w-density, var(--density, 1))); }

/* ═══ Product Grid Course ═══ */
.pgc-section { }
.pgc-card-outer {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 14px));
    box-shadow: var(--w-shadow, 0 2px 12px rgba(0,0,0,0.06));
    overflow: hidden;
}
.pgc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(16px * var(--w-density, var(--density, 1))) calc(24px * var(--w-density, var(--density, 1)));
    border-bottom: 2px solid var(--border-color, #f0f0f0);
}
.pgc-title {
    font-size: calc(1.15rem * var(--w-font-scale, var(--font-scale, 1)));
    font-weight: 800;
    color: var(--text, #222);
    margin: 0;
}
.pgc-viewall {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: calc(0.82rem * var(--w-font-scale, var(--font-scale, 1)));
    font-weight: 600;
    color: var(--accent, #0fabc5);
    text-decoration: none;
    padding: calc(6px * var(--w-density, var(--density, 1))) calc(16px * var(--w-density, var(--density, 1)));
    border: 1.5px solid var(--accent, #0fabc5);
    border-radius: var(--w-radius, var(--border-radius, 8px));
    transition: background .2s, color .2s;
    white-space: nowrap;
}
.pgc-viewall i { font-size: 9px; }
.pgc-viewall:hover { background: var(--accent, #0fabc5); color: var(--on-primary, #fff); }
.pgc-body { padding: calc(20px * var(--w-density, var(--density, 1))); }
.pgc-card {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    box-shadow: var(--w-shadow, 0 1px 4px rgba(0,0,0,.06));
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.pgc-card:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.pgc-img-wrap { display: block; overflow: hidden; aspect-ratio: 16 / 10; position: relative; }
.pgc-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pgc-card:hover .pgc-img { transform: scale(1.04); }
.pgc-img-placeholder {
    width: 100%; height: 100%;
    background: var(--surface-2, #f0f0f0);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted, #ccc); font-size: 2rem;
}
.pgc-level-badge {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    background: rgba(0,0,0,.6);
    color: var(--on-primary, #fff);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--w-radius, var(--border-radius, 6px));
}
.pgc-card-body { padding: calc(14px * var(--w-density, var(--density, 1))); flex: 1; display: flex; flex-direction: column; }
.pgc-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text, #333);
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    line-height: 1.6;
}
.pgc-card-title:hover { color: var(--primary, #d4a843); }
.pgc-meta {
    display: flex; gap: 14px;
    font-size: 0.78rem; color: var(--text-muted, #999);
    margin-bottom: 10px;
}
.pgc-meta i { margin-left: 3px; font-size: 0.7rem; }
.pgc-card-footer {
    display: flex; align-items: center; gap: 8px;
    margin-top: auto; padding-top: 10px;
    border-top: 1px solid var(--border-color, #f3f3f3);
}
.pgc-price { font-size: 0.88rem; font-weight: 700; color: var(--text, #333); }
.pgc-price-old { font-size: 0.78rem; color: var(--text-muted, #bbb); text-decoration: line-through; }
.pgc-price-free { font-size: 0.88rem; font-weight: 700; color: var(--success, #27ae60); }

/* ═══ Product Grid Rental ═══ */
.pgr-section { }
.pgr-card-outer {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 14px));
    box-shadow: var(--w-shadow, 0 2px 12px rgba(0,0,0,0.06));
    overflow: hidden;
}
.pgr-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(16px * var(--w-density, var(--density, 1))) calc(24px * var(--w-density, var(--density, 1)));
    border-bottom: 2px solid var(--border-color, #f0f0f0);
}
.pgr-title {
    font-size: calc(1.15rem * var(--w-font-scale, var(--font-scale, 1)));
    font-weight: 800;
    color: var(--text, #222);
    margin: 0;
}
.pgr-viewall {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: calc(0.82rem * var(--w-font-scale, var(--font-scale, 1)));
    font-weight: 600;
    color: var(--accent, #0fabc5);
    text-decoration: none;
    padding: calc(6px * var(--w-density, var(--density, 1))) calc(16px * var(--w-density, var(--density, 1)));
    border: 1.5px solid var(--accent, #0fabc5);
    border-radius: var(--w-radius, var(--border-radius, 8px));
    transition: background .2s, color .2s;
    white-space: nowrap;
}
.pgr-viewall i { font-size: 9px; }
.pgr-viewall:hover { background: var(--accent, #0fabc5); color: var(--on-primary, #fff); }
.pgr-body { padding: calc(20px * var(--w-density, var(--density, 1))); }
.pgr-card {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    box-shadow: var(--w-shadow, 0 1px 4px rgba(0,0,0,.06));
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.pgr-card:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.pgr-img-wrap { display: block; overflow: hidden; aspect-ratio: 4 / 3; position: relative; }
.pgr-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pgr-card:hover .pgr-img { transform: scale(1.04); }
.pgr-img-placeholder {
    width: 100%; height: 100%;
    background: var(--surface-2, #f0f0f0);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted, #ccc); font-size: 2rem;
}
.pgr-availability {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--w-radius, var(--border-radius, 6px));
}
.pgr-available { background: #dcfce7; color: #166534; }
.pgr-unavailable { background: #fef2f2; color: #991b1b; }
.pgr-card-body { padding: calc(14px * var(--w-density, var(--density, 1))); flex: 1; display: flex; flex-direction: column; }
.pgr-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text, #333);
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    line-height: 1.6;
}
.pgr-card-title:hover { color: var(--primary, #d4a843); }
.pgr-meta {
    display: flex; flex-wrap: wrap; gap: 12px;
    font-size: 0.78rem; color: var(--text-muted, #999);
    margin-bottom: 10px;
}
.pgr-meta i { margin-left: 3px; font-size: 0.7rem; }
.pgr-card-footer {
    margin-top: auto; padding-top: 10px;
    border-top: 1px solid var(--border-color, #f3f3f3);
}
.pgr-price { font-size: 0.88rem; font-weight: 700; color: var(--text, #333); }

/* Widget: course-grid */
/* ═══ Course Grid Main ═══ */
.cgm-section { }
.cgm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.cgm-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text, #222);
    margin: 0;
}
.cgm-viewall {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent, #0fabc5);
    text-decoration: none;
    white-space: nowrap;
}
.cgm-viewall:hover { color: var(--accent, #0d8fa5); }
.cgm-viewall i { font-size: 9px; }

/* Course Card */
.cgm-card {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    box-shadow: var(--w-shadow, 0 1px 4px rgba(0,0,0,.06));
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.cgm-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.cgm-card-img-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}
.cgm-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.cgm-card:hover .cgm-card-img {
    transform: scale(1.04);
}
.cgm-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--surface-2, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #ccc);
    font-size: 2rem;
}
.cgm-level-badge {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    background: rgba(0,0,0,.6);
    color: var(--on-primary, #fff);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--w-radius, var(--border-radius, 6px));
}
.cgm-card-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.cgm-card-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text, #333);
    text-decoration: none;
    line-height: 1.6;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cgm-card-title:hover { color: var(--primary, #d4a843); }
.cgm-instructor {
    font-size: 0.8rem;
    color: var(--text-muted, #888);
    margin-bottom: 8px;
}
.cgm-instructor i {
    margin-left: 4px;
    font-size: 0.72rem;
}
.cgm-meta {
    display: flex;
    gap: 14px;
    font-size: 0.78rem;
    color: var(--text-muted, #999);
    margin-bottom: 12px;
}
.cgm-meta i {
    margin-left: 3px;
    font-size: 0.7rem;
}
.cgm-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--border-color, #f3f3f3);
}
.cgm-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.cgm-price-current {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text, #333);
}
.cgm-price-old {
    font-size: 0.78rem;
    color: var(--text-muted, #bbb);
    text-decoration: line-through;
}
.cgm-price-free {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--success, #27ae60);
}
.cgm-cta-btn {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--on-primary, #fff);
    background: var(--primary, #d4a843);
    padding: 6px 16px;
    border-radius: var(--w-radius, var(--border-radius, 8px));
    text-decoration: none;
    transition: background .2s, transform .15s;
    white-space: nowrap;
}
.cgm-cta-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    color: var(--on-primary, #fff);
}

/* ═══ Course Grid Netflix (horizontal scroll rows) ═══ */
.cgn-section { }
.cgn-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text, #222);
    margin: 0 0 20px;
}
.cgn-row-section {
    margin-bottom: 28px;
}
.cgn-row-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text, #333);
    margin: 0 0 12px;
}
.cgn-scroll-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}
.cgn-scroll-row::-webkit-scrollbar {
    height: 4px;
}
.cgn-scroll-row::-webkit-scrollbar-thumb {
    background: var(--border-color, #ddd);
    border-radius: var(--w-radius, var(--border-radius, 4px));
}
.cgn-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    border-radius: var(--w-radius, var(--border-radius, 12px));
    overflow: hidden;
    background: var(--surface, #fff);
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.cgn-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.cgn-card-img-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.cgn-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.cgn-card:hover .cgn-card-img {
    transform: scale(1.05);
}
.cgn-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--surface-2, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #ccc);
    font-size: 1.6rem;
}
.cgn-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.65));
    padding: 20px 10px 8px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.cgn-level {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--on-primary, #fff);
    background: rgba(255,255,255,.2);
    padding: 2px 8px;
    border-radius: var(--w-radius, var(--border-radius, 4px));
}
.cgn-lessons {
    font-size: 0.72rem;
    color: rgba(255,255,255,.9);
}
.cgn-lessons i {
    margin-left: 3px;
    font-size: 0.65rem;
}
.cgn-card-info {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cgn-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text, #333);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}
.cgn-card-price {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted, #888);
}

/* Responsive */
@media (max-width: 767.98px) {
    .cgn-card {
        flex: 0 0 180px;
    }
}

/* ═══ Product Grid Masonry — Pinterest CSS columns, natural heights (Phase 2 variant) ═══ */
.pgmas-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.pgmas-heading { font-size: 1.2rem; font-weight: 800; color: var(--text, #1a1a1a); margin: 0; }
.pgmas-viewall {
    font-size: 0.82rem; font-weight: 600; color: var(--accent, #0fabc5);
    text-decoration: none; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
}
.pgmas-viewall:hover { color: var(--accent, #0d8fa5); }
.pgmas-viewall i { font-size: 9px; }
.pgmas-grid {
    column-count: 4;
    column-gap: 16px;
}
.pgmas-card {
    display: block;
    position: relative;
    break-inside: avoid;
    margin-bottom: 16px;
    border-radius: var(--radius-md, 12px);
    overflow: hidden;
    text-decoration: none;
    background: var(--surface-2, #f4f4f6);
    box-shadow: var(--w-shadow, 0 2px 10px rgba(0,0,0,.08));
    transition: box-shadow .25s, transform .25s;
}
.pgmas-card:hover { box-shadow: 0 8px 26px rgba(0,0,0,.16); transform: translateY(-3px); }
.pgmas-img-wrap { position: relative; display: block; line-height: 0; }
/* Natural aspect — no fixed aspect-ratio, heights vary per image */
.pgmas-img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.pgmas-card:hover .pgmas-img { transform: scale(1.05); }
.pgmas-img-empty {
    width: 100%; aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem; color: var(--text-muted, #ccc);
}
.pgmas-badge {
    position: absolute; top: 10px; inset-inline-start: 10px;
    background: var(--primary, #ef4056); color: var(--on-primary, #fff);
    font-size: 0.72rem; font-weight: 800; padding: 3px 10px; border-radius: var(--radius-sm, 6px);
}
.pgmas-info {
    position: absolute; inset-inline: 0; bottom: 0;
    display: flex; flex-direction: column; gap: 4px;
    padding: 28px 12px 10px;
    background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.4) 55%, transparent 100%);
    opacity: 0;
    transition: opacity .25s ease;
}
.pgmas-card:hover .pgmas-info { opacity: 1; }
.pgmas-title {
    color: var(--on-primary, #fff); font-size: 0.88rem; font-weight: 700; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pgmas-price { color: var(--on-primary, #fff); font-size: 0.98rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.pgmas-unit { font-size: 0.72rem; font-weight: 500; opacity: 0.85; }
@media (max-width: 991.98px) { .pgmas-grid { column-count: 3; } }
@media (max-width: 575.98px) { .pgmas-grid { column-count: 2; column-gap: 12px; } .pgmas-card { margin-bottom: 12px; } }

/* ═══ Product Grid Minimal — bare clean grid, no chrome, whitespace (Phase 2 variant) ═══ */
.pgmn-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color, #f0f0f0);
}
.pgmn-heading { font-size: 1.1rem; font-weight: 700; color: var(--text, #222); margin: 0; }
.pgmn-viewall {
    font-size: 0.8rem; font-weight: 600; color: var(--accent, #0fabc5);
    text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
}
.pgmn-viewall:hover { color: var(--accent, #0d8fa5); }
.pgmn-viewall i { font-size: 9px; }
.pgmn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 32px 24px;
}
.pgmn-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    /* No border, shadow, or background chrome */
}
.pgmn-img-wrap {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-sm, 8px);
    overflow: hidden;
    background: var(--surface-2, #f4f4f6);
    margin-bottom: 12px;
}
.pgmn-img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s, transform .4s ease; }
.pgmn-item:hover .pgmn-img { transform: scale(1.04); }
.pgmn-img-empty {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: var(--text-muted, #ccc);
}
.pgmn-name {
    color: var(--text-muted, #666); font-size: 0.82rem; line-height: 1.5; margin-bottom: 6px;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.pgmn-price { color: var(--text, #1a1a1a); font-size: 0.95rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.pgmn-unit { color: var(--text-muted, #888); font-size: 0.7rem; font-weight: 500; }
@media (max-width: 575.98px) {
    .pgmn-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 24px 16px; }
}


/* === service-cards.css === */
/* Widget: service-cards — extracted from custome.css */
/* Token cascade enforcer (Phase D3) */
.svc-section, .svc-card, .svc-grid, .svc-header {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ Service Cards ═══ */
.svc-header { text-align: center; margin-bottom: 28px; }
.svc-title { font-size: 1.3rem; font-weight: 800; color: var(--text, #222); margin: 0 0 6px; }
.svc-subtitle { font-size: 0.9rem; color: var(--text-muted, #888); margin: 0; }
.svc-card {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 14px));
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 28px 24px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s, transform .25s;
}
.svc-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.1); transform: translateY(-4px); }
.svc-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--w-radius, var(--border-radius, 16px));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 18px;
}
.svc-card-title { font-size: 1.05rem; font-weight: 700; color: var(--text, #222); margin: 0 0 10px; }
.svc-card-desc { font-size: 0.88rem; color: var(--text-muted, #666); line-height: 1.7; flex: 1; margin: 0 0 14px; }
.svc-price { font-weight: 800; font-size: 0.95rem; color: var(--text, #333); margin-bottom: 14px; }
.svc-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--w-radius, var(--border-radius, 8px));
    color: var(--on-primary, #fff);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: filter .2s;
    margin-top: auto;
}
.svc-btn:hover { filter: brightness(1.1); color: var(--on-primary, #fff); }

/* ═══ Service Cards Overlay — image-fill poster tiles (Phase 2 variant) ═══ */
.sco-section, .sco-tile, .sco-grid, .sco-header {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}
.sco-header { text-align: center; margin-bottom: 28px; }
.sco-title { font-size: 1.3rem; font-weight: 800; color: var(--text, #222); margin: 0 0 6px; }
.sco-subtitle { font-size: 0.9rem; color: var(--text-muted, #888); margin: 0; }
.sco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}
.sco-tile {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    text-decoration: none;
    background: var(--surface-2, #f4f4f6);
    box-shadow: var(--w-shadow, 0 4px 16px rgba(0,0,0,.10));
    transition: transform .25s, box-shadow .25s;
}
.sco-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md, 0 10px 30px rgba(0,0,0,.16));
}
.sco-media { position: absolute; inset: 0; }
.sco-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.sco-tile:hover .sco-img { transform: scale(1.07); }
.sco-img-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    color: var(--on-primary, #fff);
    background: linear-gradient(135deg, var(--primary, #007bff), var(--accent, #0fabc5));
    opacity: 0.9;
}
.sco-icon-badge {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    border-radius: var(--radius-md, 12px);
    color: var(--on-primary, #fff);
    background: var(--primary, #007bff);
    box-shadow: var(--w-shadow, 0 2px 8px rgba(0,0,0,.25));
}
.sco-overlay {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 36px 16px 16px;
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 55%, transparent 100%);
}
.sco-tile-title {
    margin: 0;
    color: var(--on-primary, #fff);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sco-tile-desc {
    margin: 0;
    color: var(--on-primary, #fff);
    opacity: 0.82;
    font-size: 0.82rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 479px) {
    .sco-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
}



/* === simple-text.css === */
/* Widget: simple-text — extracted from custome.css */
/* Token cascade enforcer (Phase D3) */
.stx-section, .stx-content {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ Simple Text ═══ */
.stx-section { }
.stx-text { line-height: 1.9; margin: 0; }
/* Skills radial */
.skl-radials { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.skl-radial-item { text-align: center; }
.skl-radial-wrap { position: relative; width: 120px; height: 120px; }
.skl-radial-wrap svg { transform: rotate(-90deg); }
.skl-radial-bg { fill: none; stroke: var(--border-color, #eee); stroke-width: 8; }
.skl-radial-bar { fill: none; stroke: var(--primary, #007bff); stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 1.2s ease-out; }
.skl-radial-pct { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-weight: 900; font-size: 1.2rem; color: var(--text, #333); }
.skl-radial-label { margin-top: 8px; font-weight: 600; font-size: 0.88rem; color: var(--text-muted, #555); }



/* === skills.css === */
/* Widget: skills — extracted from custome.css */
/* Token cascade enforcer (Phase D3) */
.skl-section, .skl-grid, .skl-item {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ Skills ═══ */
.skl-section { }
.skl-title { font-size: 1.25rem; font-weight: 800; color: var(--text, #222); text-align: center; margin-bottom: 28px; }
.skl-list { max-width: 700px; margin: 0 auto; }
.skl-item { margin-bottom: 22px; }
.skl-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.skl-name { font-weight: 700; font-size: 0.92rem; color: var(--text, #333); }
.skl-pct { font-weight: 800; font-size: 0.88rem; color: var(--primary, #007bff); transition: color .3s; }
.skl-track { height: 12px; background: var(--surface-2, #f0f0f0); border-radius: var(--w-radius, var(--border-radius, 12px)); overflow: hidden; position: relative; }
.skl-fill {
    height: 100%;
    border-radius: var(--w-radius, var(--border-radius, 12px));
    width: 0;
    background: var(--primary, #007bff);
    transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}
.skl-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    animation: skl-shimmer 2s infinite;
}
@keyframes skl-shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }



/* === social-links.css === */
/* Widget: social-links — extracted from custome.css */
/* Token cascade enforcer (Phase D3) */
.scl-section, .scl-grid {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ Social Links ═══ */
.scl-section { text-align: center; }
.scl-title { font-size: 1.25rem; font-weight: 800; color: var(--text, #222); margin-bottom: 24px; }
.scl-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.scl-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--on-primary, #fff);
    font-size: 1.3rem;
    text-decoration: none;
    transition: transform .25s, box-shadow .25s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
.scl-btn:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    color: var(--on-primary, #fff);
}
/* Social cards */
.scl-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.scl-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 14px));
    padding: 16px 22px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    text-decoration: none;
    color: var(--text, #333);
    transition: box-shadow .25s, transform .25s;
    min-width: 200px;
    border: 1.5px solid var(--border-color, #f0f0f0);
}
.scl-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    color: var(--text, #333);
    border-color: transparent;
}
.scl-card-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--w-radius, var(--border-radius, 12px));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--on-primary, #fff);
    font-size: 1.15rem;
    flex-shrink: 0;
}
.scl-card-body { display: flex; flex-direction: column; }
.scl-card-platform { font-weight: 700; font-size: 0.92rem; color: var(--text, #222); }
.scl-card-label { font-size: 0.78rem; color: var(--text-muted, #888); margin-top: 2px; }
@media (max-width: 575px) {
    .scl-cards { gap: 10px; }
    .scl-card { min-width: 160px; padding: 12px 16px; }
}



/* === tabs-content.css === */
/* Widget: tabs-content — extracted from custome.css */
/* Token cascade enforcer (Phase D3) */
.tbc-section, .tbc-heading, .tbc-tabs {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ Tabs Content ═══ */
.tbc-heading { font-size: 1.25rem; font-weight: 800; color: var(--text, #222); text-align: center; margin-bottom: 24px; }
.tbc-card {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 14px));
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
/* Horizontal tabs */
.tbc-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 16px;
    margin: 0;
    border: none !important;
    border-bottom: 2px solid var(--border-color, #f0f0f0) !important;
    list-style: none;
    -webkit-overflow-scrolling: touch;
}
.tbc-tabs::-webkit-scrollbar { display: none; }
.tbc-tab.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted, #888) !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    background: none !important;
    margin-bottom: -2px;
    transition: all .2s;
    white-space: nowrap;
}
.tbc-tab.nav-link i { font-size: 0.9rem; opacity: 0.7; transition: opacity .2s; }
.tbc-tab.nav-link:hover {
    color: var(--text-muted, #555) !important;
    background: var(--surface-2, #f8f9fa) !important;
}
.tbc-tab.nav-link:hover i { opacity: 1; }
.tbc-tab.nav-link.active {
    color: var(--primary, #007bff) !important;
    border-bottom-color: var(--primary, #007bff) !important;
}
.tbc-tab.nav-link.active i { opacity: 1; }
.tbc-content { padding: 28px 24px; }
.tbc-pane-split { display: flex; gap: 28px; align-items: flex-start; }
.tbc-text { flex: 1; font-size: 0.92rem; line-height: 2; color: var(--text-muted, #555); }
.tbc-image { flex: 0 0 38%; }
.tbc-image img { width: 100%; border-radius: var(--w-radius, var(--border-radius, 12px)); box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
/* Vertical tabs */
.tbc-vertical { display: flex; min-height: 280px; }
.tbc-tabs-vertical {
    display: flex;
    flex-direction: column;
    flex: 0 0 200px;
    padding: 16px 0;
    margin: 0;
    list-style: none;
    background: transparent;
}
.tbc-tabs-vertical .tbc-tab.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    margin: 0;
    text-align: right;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted, #888) !important;
    background: none !important;
    border: none !important;
    border-right: 3px solid transparent !important;
    border-radius: 0 !important;
    transition: all .2s;
}
.tbc-tabs-vertical .tbc-tab.nav-link i { font-size: 0.9rem; opacity: 0.6; }
.tbc-tabs-vertical .tbc-tab.nav-link:hover {
    color: var(--text-muted, #555) !important;
}
.tbc-tabs-vertical .tbc-tab.nav-link:hover i { opacity: 0.8; }
.tbc-tabs-vertical .tbc-tab.nav-link.active {
    color: var(--primary, #007bff) !important;
    border-right-color: var(--primary, #007bff) !important;
    font-weight: 700;
}
.tbc-tabs-vertical .tbc-tab.nav-link.active i { opacity: 1; }
.tbc-content-vertical {
    flex: 1;
    padding: 28px 28px;
    background: var(--surface-2, #f8f9fb);
    border-radius: 0 12px 12px 0;
}
@media (max-width: 767.98px) {
    .tbc-tabs { padding: 0; }
    .tbc-content { padding: 20px 16px; }
    .tbc-vertical { flex-direction: column; }
    .tbc-tabs-vertical {
        flex-direction: row;
        flex: none;
        overflow-x: auto;
        padding: 0;
    }
    .tbc-tabs-vertical .tbc-tab.nav-link {
        border-right: none !important;
        border-bottom: 3px solid transparent !important;
        white-space: nowrap;
        padding: 12px 16px;
    }
    .tbc-tabs-vertical .tbc-tab.nav-link.active {
        border-bottom-color: var(--primary, #007bff) !important;
        border-right-color: transparent !important;
    }
    .tbc-content-vertical { padding: 20px 16px; border-radius: 0 0 12px 12px; }
    .tbc-pane-split { flex-direction: column; }
    .tbc-image { flex: none; }
}



/* === team-profiles.css === */
/* Widget: team-profiles — extracted from custome.css */
/* Token cascade enforcer (Phase D3) */
.tmp-section, .tmp-card {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ Team Profiles ═══ */
.tmp-section { }
.tmp-heading {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text, #222);
    margin-bottom: 24px;
}
.tmp-card {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 14px));
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 28px 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform .2s, box-shadow .2s;
}
.tmp-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.1); }
.tmp-photo-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 16px;
    flex-shrink: 0;
}
.tmp-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tmp-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2, #f0f0f0);
    color: var(--text-muted, #ccc);
    font-size: 2.2rem;
}
.tmp-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text, #222);
    margin: 0 0 4px;
}
.tmp-role {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary, #007bff);
    margin-bottom: 10px;
}
.tmp-bio {
    font-size: 0.84rem;
    color: var(--text-muted, #777);
    line-height: 1.7;
    margin: 0 0 14px;
    flex: 1;
}
.tmp-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
}
.tmp-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--surface-2, #f5f5f5);
    color: var(--text-muted, #666);
    font-size: 0.9rem;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.tmp-social:hover {
    background: var(--primary, #007bff);
    color: var(--on-primary, #fff);
}

/* ═══ Team Profiles Instructor ═══ */
.tpi-section { }
.tpi-heading {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text, #222);
    margin-bottom: 24px;
}
.tpi-card {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 14px));
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 28px 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform .2s, box-shadow .2s;
}
.tpi-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.1); }
.tpi-photo-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 16px;
    flex-shrink: 0;
}
.tpi-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tpi-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2, #f0f0f0);
    color: var(--text-muted, #ccc);
    font-size: 2.2rem;
}
.tpi-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text, #222);
    margin: 0 0 6px;
}
.tpi-bio {
    font-size: 0.84rem;
    color: var(--text-muted, #777);
    line-height: 1.7;
    margin: 0 0 14px;
    flex: 1;
}
.tpi-stats {
    display: flex;
    gap: 20px;
    margin-top: auto;
}
.tpi-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    color: var(--text-muted, #555);
}
.tpi-stat i {
    color: var(--primary, #d4a843);
    font-size: 0.85rem;
}
.tpi-stat-value {
    font-weight: 700;
    color: var(--text, #333);
}
.tpi-stat-label {
    color: var(--text-muted, #888);
}



/* === testimonial.css === */
/* Widget: testimonial — extracted from custome.css */
/* Token cascade enforcer (Phase D3) */
.tst-heading, .tst-card, .tst-section, .tst-wrap {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ Testimonials ═══ */
.tst-heading {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text, #222);
    margin-bottom: 20px;
}
.tst-card {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 14px));
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.tst-quote {
    font-size: 1.4rem;
    color: var(--primary, #007bff);
    opacity: 0.25;
    margin-bottom: 12px;
}
.tst-text {
    font-style: italic;
    line-height: 1.9;
    color: var(--text-muted, #555);
    font-size: 0.9rem;
    flex: 1;
    margin: 0 0 14px;
}
.tst-stars { margin-bottom: 16px; }
.tst-stars .fa-star {
    font-size: 0.82rem;
    color: var(--text-muted, #e0e0e0);
    margin-left: 1px;
}
.tst-stars .fa-star.active { color: var(--primary, #ffc107); }
.tst-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}
.tst-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.tst-avatar-placeholder {
    background: var(--surface-2, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #bbb);
    font-size: 0.9rem;
}
.tst-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text, #333);
}

/* ═══ Testimonial Video ═══ */
.tsv-section { }
.tsv-heading {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text, #222);
    margin-bottom: 20px;
}
.tsv-card {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 14px));
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.tsv-thumb-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: pointer;
}
.tsv-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.tsv-thumb-wrap:hover .tsv-thumb {
    transform: scale(1.05);
}
.tsv-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: var(--surface-2, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #ccc);
    font-size: 2rem;
}
.tsv-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.25);
    transition: background .2s;
}
.tsv-thumb-wrap:hover .tsv-play-overlay {
    background: rgba(0,0,0,.35);
}
.tsv-play-overlay i {
    font-size: 3rem;
    color: var(--on-primary, #fff);
    opacity: 0.9;
    transition: transform .2s;
}
.tsv-thumb-wrap:hover .tsv-play-overlay i {
    transform: scale(1.1);
}
.tsv-video-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #000;
}
.tsv-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.tsv-close-btn {
    position: absolute;
    top: 8px;
    inset-inline-end: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.5);
    color: var(--on-primary, #fff);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
}
.tsv-close-btn:hover { background: rgba(0,0,0,.7); }
.tsv-info {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.tsv-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text, #333);
}
.tsv-role {
    font-size: 0.78rem;
    color: var(--text-muted, #999);
}

/* ═══ Testimonial Cards — masonry / review wall (.tcd-*) ═══ */
.tcd-section,
.tcd-heading,
.tcd-card {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}
.tcd-heading {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text, #222);
    margin-bottom: 24px;
}
.tcd-masonry {
    column-count: 3;
    column-gap: 18px;
}
@media (max-width: 991.98px) {
    .tcd-masonry { column-count: 2; }
}
@media (max-width: 575.98px) {
    .tcd-masonry { column-count: 1; }
}
.tcd-card {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    display: inline-block;
    width: 100%;
    margin-bottom: 18px;
    padding: 22px 22px 20px;
    background: var(--surface, #fff);
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: var(--radius-lg, 16px);
    box-shadow: var(--w-shadow, 0 4px 18px rgba(0,0,0,0.06));
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.tcd-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 34px rgba(0,0,0,0.12);
    border-color: var(--primary-light, var(--primary, #007bff));
}
.tcd-mark {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.4rem;
    line-height: 0.6;
    font-weight: 700;
    color: var(--primary, #007bff);
    opacity: 0.22;
    margin-bottom: 6px;
}
.tcd-text {
    line-height: 1.95;
    font-size: 0.95rem;
    color: var(--text, #333);
    margin: 0 0 16px;
}
.tcd-stars { margin-bottom: 18px; }
.tcd-stars .fa-star {
    font-size: 0.85rem;
    color: var(--border-color, #e0e0e0);
    margin-left: 2px;
}
.tcd-stars .fa-star.active { color: var(--warning, #f59e0b); }
.tcd-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color, #e0e0e0);
}
.tcd-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--surface-2, #f0f0f0);
}
.tcd-avatar-placeholder {
    background: var(--surface-2, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #bbb);
    font-size: 1rem;
}
.tcd-name {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text, #333);
}

/* ═══ Testimonial Centered — spotlight quotes, editorial (.tcn-*) ═══ */
.tcn-section,
.tcn-heading,
.tcn-item {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}
.tcn-heading {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text, #222);
    margin-bottom: 40px;
}
.tcn-list {
    display: flex;
    flex-direction: column;
    gap: 56px;
}
.tcn-item {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tcn-mark {
    font-size: 2rem;
    color: var(--accent, #0fabc5);
    opacity: 0.55;
    margin-bottom: 18px;
}
.tcn-text {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 2;
    color: var(--text, #222);
    margin: 0 0 24px;
}
@media (max-width: 575.98px) {
    .tcn-text { font-size: 1.12rem; line-height: 1.9; }
    .tcn-list { gap: 40px; }
}
.tcn-stars { margin-bottom: 28px; }
.tcn-stars .fa-star {
    font-size: 1.05rem;
    color: var(--border-color, #e0e0e0);
    margin: 0 2px;
}
.tcn-stars .fa-star.active { color: var(--warning, #f59e0b); }
.tcn-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.tcn-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--surface, #fff);
    box-shadow: var(--w-shadow, 0 4px 16px rgba(0,0,0,0.12));
}
.tcn-avatar-placeholder {
    background: var(--surface-2, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #bbb);
    font-size: 1.8rem;
}
.tcn-name {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--text, #333);
    letter-spacing: 0.2px;
}



/* === text-block.css === */
/* Widget: text-block — extracted from custome.css */
/* Token cascade enforcer (Phase D3) */
.ctab-section, .stb-section, .txt-section {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ CTA Banner ═══ */
.ctab-section { position: relative; border-radius: var(--w-radius, var(--border-radius, 14px)); overflow: hidden; }
.ctab-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-size: cover; background-position: center; }
.ctab-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.ctab-content { position: relative; z-index: 2; text-align: center; padding: 60px 30px; }
.ctab-title { font-size: 1.6rem; font-weight: 900; margin: 0 0 12px; }
.ctab-text { font-size: 1rem; margin: 0 0 28px; opacity: 0.9; line-height: 1.7; }
.ctab-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ctab-btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 28px; border-radius: var(--w-radius, var(--border-radius, 50px)); font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.ctab-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.ctab-btn-primary { background: var(--surface, #fff); color: var(--text, #333); }
.ctab-btn-secondary { background: transparent; border: 2px solid rgba(255,255,255,0.6); color: var(--on-primary, #fff); }
.ctab-btn-secondary:hover { border-color: var(--on-primary, #fff); color: var(--on-primary, #fff); }



/* === timeline.css === */
/* Widget: timeline — extracted from custome.css */
/* Token cascade enforcer (Phase D3) */
.tml-section, .tml-item {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}

/* ═══ Timeline ═══ */
.tml-section { }
.tml-heading {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text, #222);
    margin-bottom: 28px;
}
.tml-timeline {
    position: relative;
    padding: 20px 0;
}
.tml-line {
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-start: 50%;
    width: 3px;
    transform: translateX(-50%);
    border-radius: var(--w-radius, var(--border-radius, 3px));
}
[dir="rtl"] .tml-line { transform: translateX(50%); }
.tml-entry {
    position: relative;
    width: 50%;
    padding: 0 40px 32px;
    opacity: 1;
}
.tml-right {
    inset-inline-start: 50%;
}
.tml-left {
    inset-inline-start: 0;
    text-align: end;
}
.tml-dot {
    position: absolute;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid var(--surface, #fff);
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}
.tml-right .tml-dot {
    inset-inline-start: -7px;
}
.tml-left .tml-dot {
    inset-inline-end: -7px;
}
.tml-content {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 12px));
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 20px;
}
.tml-date {
    display: inline-block;
    color: var(--on-primary, #fff);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: var(--w-radius, var(--border-radius, 50px));
    margin-bottom: 10px;
}
.tml-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text, #222);
    margin: 0 0 4px;
}
.tml-org {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted, #999);
    margin-bottom: 8px;
}
.tml-desc {
    font-size: 0.88rem;
    color: var(--text-muted, #666);
    line-height: 1.8;
    margin: 0;
}

/* Timeline entrance animation */
.tml-entry[data-scroll-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s, transform .5s;
}
.tml-entry[data-scroll-animate].scroll-animated {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 767.98px) {
    .tml-line { inset-inline-start: 20px; transform: none; }
    [dir="rtl"] .tml-line { transform: none; }
    .tml-entry {
        width: 100%;
        inset-inline-start: 0 !important;
        text-align: start !important;
        padding: 0 20px 24px 48px;
    }
    [dir="rtl"] .tml-entry { padding: 0 48px 24px 20px; }
    .tml-dot {
        inset-inline-start: 14px !important;
        inset-inline-end: auto !important;
    }
}

/* Timeline Compact */
.tml-compact {
    position: relative;
    padding: 0 0 0 32px;
}
[dir="rtl"] .tml-compact { padding: 0 32px 0 0; }
.tml-compact-line {
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-start: 8px;
    width: 3px;
    border-radius: var(--w-radius, var(--border-radius, 3px));
}
.tml-compact-entry {
    position: relative;
    padding-bottom: 20px;
}
.tml-compact-entry[data-scroll-animate] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .4s, transform .4s;
}
.tml-compact-entry[data-scroll-animate].scroll-animated {
    opacity: 1;
    transform: translateY(0);
}
.tml-compact-dot {
    position: absolute;
    inset-inline-start: -28px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--surface, #fff);
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}
.tml-compact-content {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 10px));
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 16px;
}
.tml-compact-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.tml-compact-date {
    display: inline-block;
    color: var(--on-primary, #fff);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: var(--w-radius, var(--border-radius, 50px));
}
.tml-compact-org {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted, #999);
}
.tml-compact-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text, #222);
    margin: 0 0 4px;
}
.tml-compact-desc {
    font-size: 0.84rem;
    color: var(--text-muted, #666);
    line-height: 1.7;
    margin: 0;
}



/* === top-products.css === */
/* Widget: top-products — extracted from custome.css */
/* Token cascade enforcer (Phase D3) */
.tpp-section, .tpr-section, .tpc-section {
    font-family: var(--w-font, var(--font-body));
    font-feature-settings: "ss01" 1, "ss02" 1, "rdot" 1;
}
.tpp-section *:not(i):not([class*="fa-"]):not([class*="ti-"]):not([class*="mdi-"]),
.tpr-section *:not(i):not([class*="fa-"]):not([class*="ti-"]):not([class*="mdi-"]),
.tpc-section *:not(i):not([class*="fa-"]):not([class*="ti-"]):not([class*="mdi-"]) {
    font-family: inherit;
    font-feature-settings: inherit;
}

/* ═══ Top Products Ranking (Digikala grid style) ═══ */
.tpp-section { }
.tpp-card {
    background: var(--surface, #fff);
    border-radius: var(--w-radius, var(--border-radius, 14px));
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
}
.tpp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 2px solid var(--border-color, #f0f0f0);
}
.tpp-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text, #222);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tpp-title i { color: var(--primary, #ef4056); }
.tpp-viewall {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent, #0fabc5);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}
.tpp-viewall:hover { color: var(--accent, #0d8fa5); }
.tpp-viewall i { font-size: 9px; }
.tpp-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 8px;
}
.tpp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    padding: 16px 10px;
    border-left: 1px solid var(--border-color, #f0f0f0);
    transition: background .15s;
}
.tpp-item:first-child { border-left: none; }
.tpp-item:hover { background: var(--surface-2, #f8fafb); }
.tpp-img {
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
    flex-shrink: 0;
}
.tpp-img img { width: 100%; height: 100%; object-fit: contain; }
.tpp-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--text-muted, #ddd); font-size: 1.5rem; background: var(--surface-2, #f8f9fa); border-radius: var(--w-radius, var(--border-radius, 8px)); }
.tpp-info { display: flex; align-items: flex-start; gap: 6px; width: 100%; }
.tpp-rank {
    font-weight: 900;
    font-size: 1rem;
    color: var(--primary, #ef4056);
    flex-shrink: 0;
    line-height: 1.5;
}
.tpp-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted, #555);
    line-height: 1.6;
    text-align: right;
}
.tpp-item:hover .tpp-name { color: var(--text, #222); }
@media (max-width: 991px) { .tpp-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767.98px) { .tpp-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .tpp-grid { grid-template-columns: repeat(2, 1fr); } .tpp-item { border-left: none; border-bottom: 1px solid var(--border-color, #f0f0f0); } }



/* === weather-widget.css === */
.plg-weather { padding: 12px; background: var(--surface-2, #eef); border-radius: 6px; }

