/* ==========================================================================
   Digitem Academy & Book Empire v3.6 - Fully Responsive Mobile-First RTL UI
   ========================================================================== */

:root {
    --dae-primary: #2563eb;
    --dae-primary-hover: #1d4ed8;
    --dae-accent: #059669;
    --dae-bg-page: #f8fafc;
    --dae-bg-card: #ffffff;
    --dae-bg-subtle: #f1f5f9;
    --dae-text-main: #0f172a;
    --dae-text-muted: #475569;
    --dae-border: #e2e8f0;
    --dae-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

body.sp-night-mode-on {
    --dae-bg-page: #0b1120;
    --dae-bg-card: #1e293b;
    --dae-bg-subtle: #0f172a;
    --dae-text-main: #f8fafc;
    --dae-text-muted: #94a3b8;
    --dae-border: rgba(255, 255, 255, 0.12);
    --dae-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

html,
body.dae-mayosis-compatible {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

.dae-main-wrapper,
.dae-container,
.dae-main-wrapper *,
.dae-main-wrapper *::before,
.dae-main-wrapper *::after {
    box-sizing: border-box;
}

.dae-main-wrapper {
    background: var(--dae-bg-page);
    color: var(--dae-text-main);
    padding: clamp(16px, 3vw, 28px) 0 96px;
    direction: rtl;
    text-align: right;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

.dae-container {
    width: 100% !important;
    max-width: 1260px !important;
    margin: 0 auto !important;
    padding-left: clamp(12px, 3.5vw, 20px) !important;
    padding-right: clamp(12px, 3.5vw, 20px) !important;
}

/* Ensure all grid and flex children can shrink below their content size without overflowing mobile screens */
.dae-single-hero,
.dae-single-hero-right,
.dae-single-hero-left,
.dae-single-title-col,
.dae-single-layout,
.dae-single-main,
.dae-single-sidebar,
.dae-product-card,
.dae-card-meta-top,
.dae-card-box,
.dae-side-card,
.dae-buy-box {
    min-width: 0 !important;
    max-width: 100% !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Cover Avatar Badges */
.dae-cover-badge {
    background: var(--badge-bg, #2563eb);
    color: #ffffff;
    border-radius: 14px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.dae-card-avatar {
    width: 56px;
    height: 64px;
}

.dae-single-avatar {
    width: 74px;
    height: 84px;
    border-radius: 16px;
}

.dae-cb-icon {
    font-size: 24px;
    line-height: 1;
}

.dae-cb-fmt {
    font-size: 10px;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.25);
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 4px;
    direction: ltr;
}

/* Archive Hero Section */
.dae-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: clamp(18px, 3.5vw, 32px);
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dae-hero-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.25);
    color: #93c5fd;
    border: 1px solid rgba(147, 197, 253, 0.35);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: clamp(11px, 2vw, 12.5px);
    font-weight: 700;
    margin-bottom: 12px;
    max-width: 100%;
}

.dae-hero-title {
    font-size: clamp(18px, 3vw, 27px);
    font-weight: 900;
    color: #ffffff !important;
    margin: 0 0 10px;
    line-height: 1.5;
}

.dae-hero-title span {
    color: #60a5fa;
}

.dae-hero-subtitle {
    color: #cbd5e1;
    font-size: clamp(12.5px, 2vw, 14px);
    line-height: 1.75;
    margin: 0 0 18px;
    max-width: 920px;
}

.dae-hero-search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
    justify-content: space-between;
}

.dae-search-input-wrap {
    flex: 1 1 260px;
    min-width: 0;
    width: 100%;
}

.dae-search-input-wrap input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    font-size: 13.5px;
}

.dae-promo-code-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px dashed rgba(251, 191, 36, 0.6);
    padding: 9px 14px;
    border-radius: 12px;
    font-size: 12.5px;
    color: #fde68a;
    max-width: 100%;
}

.dae-promo-code-pill code {
    font-weight: 800;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: 6px;
}

/* Category Filter Strip */
.dae-cat-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    margin-bottom: 20px;
    max-width: 100%;
}

.dae-cat-chip {
    background: var(--dae-bg-card);
    color: var(--dae-text-main);
    border: 1px solid var(--dae-border);
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.dae-cat-chip:hover,
.dae-cat-chip.active {
    background: var(--dae-primary);
    color: #ffffff;
    border-color: var(--dae-primary);
}

/* Product Cards Grid */
.dae-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.dae-section-head h2 {
    font-size: clamp(15px, 2.2vw, 18px);
    font-weight: 800;
    margin: 0;
    line-height: 1.45;
}

.dae-count-badge {
    background: var(--dae-bg-subtle);
    color: var(--dae-text-muted);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.dae-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 32px;
}

.dae-product-card {
    background: var(--dae-bg-card);
    border: 1px solid var(--dae-border);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--dae-shadow);
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.dae-product-card:hover {
    transform: translateY(-2px);
    border-color: var(--dae-primary);
}

.dae-product-card.is-vip-card {
    border-color: rgba(37, 99, 235, 0.45);
}

.dae-card-top {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.dae-card-pills {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.dae-cat-tag {
    font-size: 11.5px;
    font-weight: 700;
}

.dae-vip-pill {
    background: #fef3c7;
    color: #b45309;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 50px;
}

.dae-card-title {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.55;
    margin: 0;
}

.dae-card-title a {
    color: var(--dae-text-main);
    text-decoration: none;
}

.dae-card-title a:hover {
    color: var(--dae-primary);
}

.dae-card-specs {
    list-style: none;
    margin: 0 0 12px;
    padding: 10px 12px;
    background: var(--dae-bg-subtle);
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.65;
}

.dae-card-specs li {
    margin-bottom: 4px;
    color: var(--dae-text-muted);
}

.dae-card-specs li:last-child {
    margin-bottom: 0;
}

.dae-card-specs strong {
    color: var(--dae-text-main);
}

.dae-card-rating-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--dae-border);
}

.dae-instant-tag {
    color: var(--dae-accent);
    font-weight: 700;
}

.dae-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dae-price-block del {
    display: block;
    font-size: 11.5px;
    color: var(--dae-text-muted);
}

.dae-price-block strong {
    font-size: 16px;
    font-weight: 900;
    color: var(--dae-text-main);
}

.dae-price-block strong span {
    font-size: 12px;
    font-weight: 600;
}

.dae-card-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* Buttons */
.dae-btn-primary {
    background: var(--dae-primary);
    color: #ffffff !important;
    border: none;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s ease;
    line-height: 1.4;
}

.dae-btn-primary:hover {
    background: var(--dae-primary-hover);
}

.dae-btn-outline {
    background: transparent;
    color: var(--dae-text-main) !important;
    border: 1px solid var(--dae-border);
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.4;
}

.dae-btn-outline:hover {
    border-color: var(--dae-primary);
    color: var(--dae-primary) !important;
}

.dae-btn-full {
    width: 100%;
    padding: 12px 14px;
    font-size: 13.5px;
}

.dae-copy-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
}

/* Out-of-Stock / Back-in-Stock Waitlist Box (Below Price) */
.dae-waitlist-box {
    margin-top: 12px;
    background: #fffbeb;
    border: 1.5px solid #f59e0b;
    border-radius: 12px;
    padding: 14px;
    text-align: right;
    transition: all 0.2s ease;
}

body.sp-night-mode-on .dae-waitlist-box {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.5);
}

@keyframes daePulseBorder {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.dae-wl-pulse {
    animation: daePulseBorder 1.2s ease-out 2;
}

.dae-oos-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    font-size: 13px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    width: 100%;
    justify-content: center;
}

.dae-oos-desc {
    font-size: 12.5px;
    color: var(--dae-text-main);
    line-height: 1.65;
    margin: 0 0 10px;
}

.dae-wl-inputs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.dae-wl-input {
    width: 100% !important;
    padding: 10px 12px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 13px !important;
    text-align: left;
}

.dae-wl-input::placeholder {
    text-align: right;
    color: #64748b;
}

.dae-btn-waitlist {
    background: #d97706;
    color: #ffffff !important;
    border: none;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background 0.15s ease;
}

.dae-btn-waitlist:hover {
    background: #b45309;
}

.dae-wl-feedback {
    margin-top: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.6;
}

.dae-wl-feedback.is-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.dae-wl-feedback.is-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Subscription Banner */
.dae-subscription-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: clamp(18px, 3vw, 28px);
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}

.dae-sub-kicker {
    display: inline-block;
    color: #fbbf24;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.dae-sub-info h2 {
    color: #ffffff !important;
    font-size: clamp(16px, 2.3vw, 20px);
    margin: 0 0 10px;
    line-height: 1.5;
}

.dae-sub-info p {
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.75;
    margin: 0;
}

.dae-sub-plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.dae-sub-plan-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

.dae-sub-plan-card.featured {
    background: rgba(37, 99, 235, 0.18);
    border-color: #60a5fa;
}

.dae-best-val {
    background: #f59e0b;
    color: #0f172a;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 50px;
    align-self: center;
}

.dae-sub-plan-card strong {
    font-size: 17px;
    color: #ffffff;
}

/* Single Product Page */
.dae-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12.5px;
    color: var(--dae-text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.dae-breadcrumb a {
    color: var(--dae-text-muted);
    text-decoration: none;
}

.dae-single-hero {
    background: var(--dae-bg-card);
    border: 1px solid var(--dae-border);
    border-radius: 20px;
    padding: clamp(16px, 2.8vw, 24px);
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 22px;
    margin-bottom: 22px;
    box-shadow: var(--dae-shadow);
}

.dae-single-hero-right {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.dae-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.dae-cat-pill,
.dae-verified-pill,
.dae-format-pill {
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

.dae-cat-pill { color: #fff; }
.dae-verified-pill { background: #dcfce7; color: #166534; }
.dae-format-pill { background: var(--dae-bg-subtle); color: var(--dae-text-main); }

.dae-single-title-col h1 {
    font-size: clamp(17px, 2.4vw, 22px);
    font-weight: 900;
    margin: 0 0 8px;
    line-height: 1.5;
}

.dae-author-sub {
    font-size: 13px;
    color: var(--dae-text-muted);
    margin: 0 0 12px;
    line-height: 1.65;
}

.dae-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 12px;
    color: var(--dae-text-muted);
    background: var(--dae-bg-subtle);
    padding: 10px 12px;
    border-radius: 10px;
}

/* Buy Box */
.dae-buy-box {
    background: var(--dae-bg-subtle);
    border: 1px solid var(--dae-border);
    border-radius: 16px;
    padding: clamp(14px, 2.5vw, 18px);
}

.dae-buy-box-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.dae-price-main del {
    display: block;
    font-size: 12px;
    color: var(--dae-text-muted);
}

.dae-price-main strong {
    font-size: clamp(19px, 2.5vw, 22px);
    font-weight: 900;
    color: var(--dae-primary);
}

.dae-score-pill {
    background: #fef3c7;
    color: #92400e;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12.5px;
}

.dae-tier-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.dae-tier-option {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: var(--dae-bg-card);
    border: 1.5px solid var(--dae-border);
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.55;
}

.dae-tier-option input[type="radio"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.dae-tier-option.active {
    border-color: var(--dae-primary);
}

.dae-tier-option strong {
    display: block;
    color: var(--dae-text-main);
}

.dae-tier-option small {
    color: var(--dae-text-muted);
    display: block;
}

.dae-discount-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    background: var(--dae-bg-card);
    border: 1px dashed var(--dae-primary);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    margin-bottom: 12px;
}

/* Single Grid Layout */
.dae-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}

.dae-card-box,
.dae-side-card {
    background: var(--dae-bg-card);
    border: 1px solid var(--dae-border);
    border-radius: 16px;
    padding: clamp(15px, 2.5vw, 22px);
    margin-bottom: 18px;
    box-shadow: var(--dae-shadow);
}

.dae-card-box h2,
.dae-side-card h3 {
    margin-top: 0;
    font-size: clamp(15px, 2vw, 17px);
    font-weight: 800;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--dae-border);
    line-height: 1.5;
}

.dae-editorial-body {
    font-size: 14px;
    line-height: 1.85;
}

.dae-editorial-body h2,
.dae-editorial-body h3 {
    font-size: clamp(15px, 2vw, 18px);
    margin-top: 20px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.dae-editorial-body img,
.dae-editorial-body svg,
.dae-editorial-body iframe {
    max-width: 100% !important;
    height: auto !important;
}

.dae-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.dae-metric-item {
    background: var(--dae-bg-subtle);
    padding: 12px 14px;
    border-radius: 10px;
    min-width: 0;
}

.dae-metric-item span {
    display: block;
    font-size: 12px;
    color: var(--dae-text-muted);
    margin-bottom: 4px;
}

.dae-pros-cons-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.dae-pros-box,
.dae-cons-box {
    background: var(--dae-bg-card);
    border: 1px solid var(--dae-border);
    border-radius: 16px;
    padding: 16px;
    min-width: 0;
}

.dae-pros-box { border-top: 4px solid #10b981; }
.dae-cons-box { border-top: 4px solid #f59e0b; }

.dae-pros-box h3,
.dae-cons-box h3 {
    margin-top: 0;
    font-size: 14.5px;
}

.dae-pros-box ul,
.dae-cons-box ul {
    padding-right: 18px;
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
}

/* Responsive Scrollable Tables */
.dae-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.dae-vs-table,
.dae-editorial-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
    margin: 12px 0;
}

.dae-vs-table th,
.dae-vs-table td,
.dae-editorial-body th,
.dae-editorial-body td {
    padding: 9px 10px;
    border-bottom: 1px solid var(--dae-border);
    text-align: right;
}

.dae-vs-table th,
.dae-editorial-body th {
    background: var(--dae-bg-subtle);
    font-weight: 800;
}

/* FAQ & Reviews */
.dae-faq-item {
    border: 1px solid var(--dae-border);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 10px;
}

.dae-faq-item summary {
    font-weight: 800;
    cursor: pointer;
    font-size: 13.5px;
    line-height: 1.55;
}

.dae-faq-ans {
    margin-top: 8px;
    color: var(--dae-text-muted);
    font-size: 13px;
    line-height: 1.75;
}

.dae-comment-card {
    border: 1px solid var(--dae-border);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
}

.dae-comment-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.dae-star-badge {
    color: #d97706;
    font-weight: 700;
    font-size: 12px;
    margin-right: 6px;
}

.dae-exp-tag {
    background: var(--dae-bg-subtle);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    display: inline-block;
    margin-top: 4px;
}

.dae-editorial-reply {
    background: var(--dae-bg-subtle);
    border-right: 3px solid var(--dae-primary);
    padding: 10px 12px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 12.5px;
}

.dae-review-form {
    background: var(--dae-bg-subtle);
    padding: 16px;
    border-radius: 12px;
    margin-top: 16px;
}

.dae-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 10px;
}

.dae-review-form input,
.dae-review-form select,
.dae-review-form textarea {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid var(--dae-border);
    border-radius: 8px;
    background: var(--dae-bg-card);
    color: var(--dae-text-main);
    font-size: 13px;
}

.dae-side-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
}

.dae-side-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 7px 0;
    border-bottom: 1px dashed var(--dae-border);
    font-size: 12.5px;
}

.dae-silo-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dae-silo-link {
    display: block;
    padding: 8px 10px;
    background: var(--dae-bg-subtle);
    border-radius: 8px;
    color: var(--dae-text-main);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.55;
}

.dae-featured-banner-wrap {
    margin-bottom: 18px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--dae-border);
    background: #0f172a;
    max-width: 100%;
}

.dae-featured-banner-wrap img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

/* Mobile Sticky Bar */
.dae-mobile-sticky-bar {
    display: none;
}

/* ==========================================================================
   Responsive Breakpoints (Tablet & Mobile)
   ========================================================================== */

@media (max-width: 1024px) {
    .dae-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .dae-single-hero,
    .dae-single-layout,
    .dae-subscription-banner {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .dae-editorial-body table,
    .dae-vs-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .dae-sub-plans {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .dae-main-wrapper {
        padding: 12px 0 92px;
    }

    .dae-cards-grid,
    .dae-pros-cons-row,
    .dae-metrics-grid,
    .dae-form-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .dae-single-hero-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .dae-single-avatar {
        width: 58px;
        height: 66px;
    }

    .dae-trust-strip {
        flex-direction: column;
        gap: 6px;
        width: 100%;
    }

    .dae-promo-code-pill {
        width: 100%;
    }

    .dae-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .dae-price-block {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .dae-card-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .dae-card-actions a {
        width: 100%;
        padding: 9px 8px;
        font-size: 12px;
    }

    .dae-mobile-sticky-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        background: var(--dae-bg-card);
        border-top: 1px solid var(--dae-border);
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        z-index: 9999;
        box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.12);
    }

    .dae-msb-price {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .dae-msb-price span {
        font-size: 11px;
        color: var(--dae-text-muted);
    }

    .dae-msb-price strong {
        font-size: 15px;
        font-weight: 900;
        color: var(--dae-primary);
    }
}

/* Mayosis Single Product & Single Academy Safe Overrides v3.6 */
body.dae-mayosis-compatible .mayosis-loader,
body.dae-mayosis-compatible #preloader,
body.dae-mayosis-compatible .preloader {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
body.dae-mayosis-compatible.single-download .page-main-header,
body.dae-mayosis-compatible.single-academy_item .page-main-header,
body.dae-mayosis-compatible.single-download .mayosis-bd-breadcrumb,
body.dae-mayosis-compatible.single-academy_item .mayosis-bd-breadcrumb {
    display: none !important;
}
