/**
 * BDealz Hero Slider CSS
 * 5 visual styles with full responsive design and dark mode support
 */

/* ==========================================================================
   BASE SLIDER
   ========================================================================== */

.bdealz-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    font-family: var(--font-primary);
    background: var(--bg-secondary);
}

.bdealz-hero *,
.bdealz-hero *::before,
.bdealz-hero *::after {
    box-sizing: border-box;
}

/* ---------- Height Classes ---------- */

.bdealz-hero--h-small {
    height: 300px;
}

.bdealz-hero--h-medium {
    height: 450px;
}

.bdealz-hero--h-large {
    height: 600px;
}

.bdealz-hero--h-fullscreen {
    height: calc(100vh - var(--header-height));
}

/* ---------- Slides ---------- */

.bdealz-hero__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    pointer-events: none;
}

.bdealz-hero__slide--active {
    opacity: 1;
    visibility: visible;
    z-index: 3;
    pointer-events: auto;
}

.bdealz-hero__slide--prev,
.bdealz-hero__slide--next {
    z-index: 2;
}

/* ---------- Transition: Fade ---------- */

.bdealz-hero--fade .bdealz-hero__slide {
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* ---------- Transition: Slide ---------- */

.bdealz-hero--slide .bdealz-hero__slide {
    transition: transform 0.6s ease, opacity 0.4s ease, visibility 0.4s ease;
    transform: translateX(100%);
}

.bdealz-hero--slide .bdealz-hero__slide--active {
    transform: translateX(0);
}

.bdealz-hero--slide .bdealz-hero__slide--prev {
    transform: translateX(-100%);
}

.bdealz-hero--slide .bdealz-hero__slide--next {
    transform: translateX(100%);
}

/* ---------- Transition: Zoom ---------- */

.bdealz-hero--zoom .bdealz-hero__slide {
    transition: transform 0.7s ease, opacity 0.7s ease, visibility 0.7s ease;
    transform: scale(1.1);
}

.bdealz-hero--zoom .bdealz-hero__slide--active {
    transform: scale(1);
}

/* ---------- Background ---------- */

.bdealz-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

img.bdealz-hero__bg {
    display: block;
}

.bdealz-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.3) 100%);
}

/* ---------- Content Wrapper ---------- */

.bdealz-hero__content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 40px 24px;
    color: var(--slide-text, #ffffff);
}

/* ---------- Badge ---------- */

.bdealz-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: var(--slide-badge-bg, var(--primary));
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.4;
}

/* ---------- Store ---------- */

.bdealz-hero__store {
    font-size: 13px;
    font-weight: 500;
    color: inherit;
    opacity: 0.75;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

/* ---------- Title ---------- */

.bdealz-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 12px;
    color: inherit;
}

/* ---------- Subtitle ---------- */

.bdealz-hero__subtitle {
    font-size: clamp(14px, 1.5vw, 18px);
    line-height: 1.6;
    margin: 0 0 24px;
    opacity: 0.85;
    max-width: 560px;
}

/* ---------- Pricing ---------- */

.bdealz-hero__pricing {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.bdealz-hero__price-old {
    font-size: 18px;
    text-decoration: line-through;
    opacity: 0.5;
    font-weight: 500;
}

.bdealz-hero__price-new {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--accent-green);
}

/* ---------- CTA Buttons ---------- */

.bdealz-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    background: var(--slide-cta-bg, var(--primary));
    color: #ffffff;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    line-height: 1.4;
}

.bdealz-hero__cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(108, 60, 225, 0.35);
}

.bdealz-hero__cta:active {
    transform: translateY(0);
}

.bdealz-hero__cta--secondary {
    background: transparent;
    color: inherit;
    border-color: currentColor;
    opacity: 0.9;
}

.bdealz-hero__cta--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    opacity: 1;
    box-shadow: none;
}

/* ---------- Countdown ---------- */

.bdealz-hero__countdown {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    font-variant-numeric: tabular-nums;
}

/* ---------- Arrows ---------- */

.bdealz-hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    border: none;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: #ffffff;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    font-size: 18px;
    line-height: 1;
}

.bdealz-hero__arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.08);
}

.bdealz-hero__arrow--prev {
    left: 16px;
}

.bdealz-hero__arrow--next {
    right: 16px;
}

/* ---------- Dot Navigation ---------- */

.bdealz-hero__nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Dots */
.bdealz-hero__dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), width var(--transition);
    padding: 0;
}

.bdealz-hero__dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.bdealz-hero__dot--active {
    background: #ffffff;
    transform: scale(1.25);
}

/* Lines */
.bdealz-hero__line {
    width: 24px;
    height: 3px;
    border-radius: 2px;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background var(--transition), width var(--transition);
    padding: 0;
}

.bdealz-hero__line:hover {
    background: rgba(255, 255, 255, 0.65);
}

.bdealz-hero__line--active {
    background: #ffffff;
    width: 40px;
}

/* Numbers */
.bdealz-hero__num {
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
    padding: 0;
    font-family: var(--font-heading);
}

.bdealz-hero__num:hover {
    border-color: rgba(255, 255, 255, 0.8);
    color: #ffffff;
}

.bdealz-hero__num--active {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--primary);
}

/* ---------- Progress Bar ---------- */

.bdealz-hero__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 10;
    overflow: hidden;
}

.bdealz-hero__progress-bar {
    height: 100%;
    width: 0%;
    background: var(--primary-light);
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* ---------- Slide Counter ---------- */

.bdealz-hero__counter {
    position: absolute;
    bottom: 20px;
    right: 24px;
    z-index: 10;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
}

/* ---------- Trust Badges ---------- */

.bdealz-hero__trust {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    opacity: 0.7;
    margin-top: 20px;
}

.bdealz-hero__trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.bdealz-hero__trust span::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.5;
    flex-shrink: 0;
}

.bdealz-hero__trust span:first-child::before {
    display: none;
}


/* ==========================================================================
   STYLE 1: DEFAULT
   ========================================================================== */

.bdealz-hero--default .bdealz-hero__slide {
    align-items: center;
}

.bdealz-hero--default .bdealz-hero__content {
    text-align: left;
    max-width: var(--container-max);
    padding-left: 48px;
    padding-right: 48px;
}

.bdealz-hero--default .bdealz-hero__subtitle {
    max-width: 520px;
}

.bdealz-hero--default .bdealz-hero__overlay {
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.25) 70%, transparent 100%);
}


/* ==========================================================================
   STYLE 2: CARDS
   ========================================================================== */

.bdealz-hero--cards .bdealz-hero__slide {
    align-items: center;
    justify-content: center;
}

.bdealz-hero--cards .bdealz-hero__overlay {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
}

.bdealz-hero--cards .bdealz-hero__content {
    display: flex;
    max-width: 900px;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), 0 25px 60px rgba(0, 0, 0, 0.15);
    padding: 0;
    overflow: hidden;
    color: var(--text-primary);
}

.bdealz-hero--cards .bdealz-hero__visual {
    width: 40%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.bdealz-hero--cards .bdealz-hero__visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bdealz-hero--cards .bdealz-hero__text {
    width: 60%;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bdealz-hero--cards .bdealz-hero__subtitle {
    color: var(--text-secondary);
}

.bdealz-hero--cards .bdealz-hero__store {
    opacity: 1;
    color: var(--text-secondary);
}

.bdealz-hero--cards .bdealz-hero__cta--secondary {
    color: var(--text-primary);
    border-color: var(--border);
}

.bdealz-hero--cards .bdealz-hero__cta--secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--text-secondary);
}

/* Cards dark mode */
[data-theme="dark"] .bdealz-hero--cards .bdealz-hero__content {
    background: var(--bg-dark);
    color: #e2e8f0;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .bdealz-hero--cards .bdealz-hero__subtitle {
    color: var(--text-muted);
}

[data-theme="dark"] .bdealz-hero--cards .bdealz-hero__store {
    color: var(--text-muted);
}

[data-theme="dark"] .bdealz-hero--cards .bdealz-hero__cta--secondary {
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .bdealz-hero--cards .bdealz-hero__cta--secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Cards dot styling on dark overlay bg */
.bdealz-hero--cards .bdealz-hero__dot {
    background: rgba(255, 255, 255, 0.4);
}

.bdealz-hero--cards .bdealz-hero__dot--active {
    background: #ffffff;
}


/* ==========================================================================
   STYLE 3: SPLIT
   ========================================================================== */

.bdealz-hero--split .bdealz-hero__slide {
    flex-direction: row;
    align-items: stretch;
}

.bdealz-hero--split .bdealz-hero__visual {
    width: 50%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.bdealz-hero--split .bdealz-hero__visual img,
.bdealz-hero--split .bdealz-hero__visual .bdealz-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bdealz-hero--split .bdealz-hero__content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 48px 56px;
    max-width: none;
    margin: 0;
}

.bdealz-hero--split .bdealz-hero__subtitle {
    color: var(--text-secondary);
    max-width: 480px;
}

.bdealz-hero--split .bdealz-hero__store {
    opacity: 1;
    color: var(--text-secondary);
}

.bdealz-hero--split .bdealz-hero__overlay {
    display: none;
}

/* Split arrows */
.bdealz-hero--split .bdealz-hero__arrow--prev {
    left: 16px;
    background: rgba(0, 0, 0, 0.25);
}

.bdealz-hero--split .bdealz-hero__arrow--next {
    right: 16px;
    background: rgba(0, 0, 0, 0.15);
    color: var(--text-primary);
}

.bdealz-hero--split .bdealz-hero__arrow--next:hover {
    background: rgba(0, 0, 0, 0.08);
}

/* Split dots */
.bdealz-hero--split .bdealz-hero__dot {
    background: var(--border);
}

.bdealz-hero--split .bdealz-hero__dot--active {
    background: var(--primary);
}

.bdealz-hero--split .bdealz-hero__line {
    background: var(--border);
}

.bdealz-hero--split .bdealz-hero__line--active {
    background: var(--primary);
}

.bdealz-hero--split .bdealz-hero__num {
    border-color: var(--border);
    color: var(--text-muted);
}

.bdealz-hero--split .bdealz-hero__num--active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

/* Split CTA secondary */
.bdealz-hero--split .bdealz-hero__cta--secondary {
    color: var(--text-primary);
    border-color: var(--border);
}

.bdealz-hero--split .bdealz-hero__cta--secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--text-muted);
}

/* Split progress bar on light bg */
.bdealz-hero--split .bdealz-hero__progress {
    background: var(--border);
}

/* Split dark mode */
[data-theme="dark"] .bdealz-hero--split .bdealz-hero__content {
    background: var(--bg-dark);
    color: #e2e8f0;
}

[data-theme="dark"] .bdealz-hero--split .bdealz-hero__subtitle {
    color: var(--text-muted);
}

[data-theme="dark"] .bdealz-hero--split .bdealz-hero__store {
    color: var(--text-muted);
}

[data-theme="dark"] .bdealz-hero--split .bdealz-hero__arrow--next {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .bdealz-hero--split .bdealz-hero__arrow--next:hover {
    background: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .bdealz-hero--split .bdealz-hero__dot {
    background: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .bdealz-hero--split .bdealz-hero__dot--active {
    background: var(--primary-light);
}

[data-theme="dark"] .bdealz-hero--split .bdealz-hero__line {
    background: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .bdealz-hero--split .bdealz-hero__line--active {
    background: var(--primary-light);
}

[data-theme="dark"] .bdealz-hero--split .bdealz-hero__num {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .bdealz-hero--split .bdealz-hero__num--active {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: #ffffff;
}

[data-theme="dark"] .bdealz-hero--split .bdealz-hero__cta--secondary {
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .bdealz-hero--split .bdealz-hero__cta--secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] .bdealz-hero--split .bdealz-hero__progress {
    background: rgba(255, 255, 255, 0.1);
}


/* ==========================================================================
   STYLE 4: MINIMAL
   ========================================================================== */

.bdealz-hero--minimal {
    background: var(--bg-primary);
}

.bdealz-hero--minimal .bdealz-hero__bg,
.bdealz-hero--minimal .bdealz-hero__overlay {
    display: none;
}

.bdealz-hero--minimal .bdealz-hero__slide {
    align-items: center;
    justify-content: center;
}

.bdealz-hero--minimal .bdealz-hero__content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-primary);
    padding: 40px 24px;
}

.bdealz-hero--minimal .bdealz-hero__title {
    font-size: clamp(32px, 5vw, 56px);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--primary-light) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: bdealz-gradient-shift 4s ease infinite;
    max-width: 800px;
}

@keyframes bdealz-gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.bdealz-hero--minimal .bdealz-hero__subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    font-size: clamp(15px, 1.8vw, 19px);
    text-align: center;
}

.bdealz-hero--minimal .bdealz-hero__store {
    color: var(--text-muted);
    opacity: 1;
}

.bdealz-hero--minimal .bdealz-hero__badge {
    background: var(--bg-tertiary);
    color: var(--primary);
}

.bdealz-hero--minimal .bdealz-hero__price-new {
    color: var(--primary);
}

/* Minimal hides arrows */
.bdealz-hero--minimal .bdealz-hero__arrow {
    display: none;
}

/* Minimal dots */
.bdealz-hero--minimal .bdealz-hero__dot {
    background: var(--border);
}

.bdealz-hero--minimal .bdealz-hero__dot--active {
    background: var(--primary);
}

.bdealz-hero--minimal .bdealz-hero__line {
    background: var(--border);
}

.bdealz-hero--minimal .bdealz-hero__line--active {
    background: var(--primary);
}

.bdealz-hero--minimal .bdealz-hero__num {
    border-color: var(--border);
    color: var(--text-muted);
}

.bdealz-hero--minimal .bdealz-hero__num--active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

/* Minimal CTA */
.bdealz-hero--minimal .bdealz-hero__cta--secondary {
    color: var(--text-primary);
    border-color: var(--border);
}

.bdealz-hero--minimal .bdealz-hero__cta--secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--text-muted);
}

/* Minimal progress bar */
.bdealz-hero--minimal .bdealz-hero__progress {
    background: var(--border);
}

.bdealz-hero--minimal .bdealz-hero__counter {
    color: var(--text-muted);
}

/* Minimal dark mode */
[data-theme="dark"] .bdealz-hero--minimal {
    background: var(--bg-dark);
}

[data-theme="dark"] .bdealz-hero--minimal .bdealz-hero__content {
    color: #e2e8f0;
}

[data-theme="dark"] .bdealz-hero--minimal .bdealz-hero__subtitle {
    color: var(--text-muted);
}

[data-theme="dark"] .bdealz-hero--minimal .bdealz-hero__store {
    color: var(--text-muted);
}

[data-theme="dark"] .bdealz-hero--minimal .bdealz-hero__badge {
    background: rgba(108, 60, 225, 0.15);
    color: var(--primary-light);
}

[data-theme="dark"] .bdealz-hero--minimal .bdealz-hero__dot {
    background: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .bdealz-hero--minimal .bdealz-hero__dot--active {
    background: var(--primary-light);
}

[data-theme="dark"] .bdealz-hero--minimal .bdealz-hero__line {
    background: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .bdealz-hero--minimal .bdealz-hero__line--active {
    background: var(--primary-light);
}

[data-theme="dark"] .bdealz-hero--minimal .bdealz-hero__num {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .bdealz-hero--minimal .bdealz-hero__num--active {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: #ffffff;
}

[data-theme="dark"] .bdealz-hero--minimal .bdealz-hero__cta--secondary {
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .bdealz-hero--minimal .bdealz-hero__cta--secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] .bdealz-hero--minimal .bdealz-hero__progress {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .bdealz-hero--minimal .bdealz-hero__counter {
    color: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .bdealz-hero--minimal .bdealz-hero__price-new {
    color: var(--primary-light);
}


/* ==========================================================================
   STYLE 5: FULLSCREEN
   ========================================================================== */

.bdealz-hero--fullscreen {
    height: 100vh;
    min-height: 600px;
}

.bdealz-hero--fullscreen .bdealz-hero__slide {
    align-items: center;
    justify-content: center;
}

.bdealz-hero--fullscreen .bdealz-hero__overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.bdealz-hero--fullscreen .bdealz-hero__content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    padding: 60px 24px 100px;
}

.bdealz-hero--fullscreen .bdealz-hero__title {
    font-size: clamp(28px, 5vw, 52px);
    max-width: 850px;
}

.bdealz-hero--fullscreen .bdealz-hero__subtitle {
    max-width: 640px;
    text-align: center;
    font-size: clamp(15px, 1.6vw, 19px);
}

/* Dual CTA row */
.bdealz-hero--fullscreen .bdealz-hero__cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

.bdealz-hero--fullscreen .bdealz-hero__cta {
    min-width: 180px;
}

.bdealz-hero--fullscreen .bdealz-hero__cta--secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.bdealz-hero--fullscreen .bdealz-hero__cta--secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
}

/* Trust badges at bottom */
.bdealz-hero--fullscreen .bdealz-hero__trust {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: rgba(255, 255, 255, 0.65);
    justify-content: center;
    width: max-content;
    max-width: 90%;
}

/* Counter in bottom-right */
.bdealz-hero--fullscreen .bdealz-hero__counter {
    bottom: 24px;
    right: 28px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}


/* ==========================================================================
   DARK MODE — BASE OVERRIDES
   ========================================================================== */

[data-theme="dark"] .bdealz-hero {
    background: var(--bg-dark);
}

[data-theme="dark"] .bdealz-hero__countdown {
    background: rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .bdealz-hero__progress {
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .bdealz-hero__progress-bar {
    background: var(--primary-light);
}


/* ==========================================================================
   RESPONSIVE — 1280px
   ========================================================================== */

@media (max-width: 1280px) {
    .bdealz-hero--default .bdealz-hero__content {
        padding-left: 40px;
        padding-right: 40px;
    }

    .bdealz-hero--split .bdealz-hero__content {
        padding: 40px 44px;
    }
}


/* ==========================================================================
   RESPONSIVE — 1024px
   ========================================================================== */

@media (max-width: 1024px) {
    .bdealz-hero--h-large {
        height: 520px;
    }

    .bdealz-hero--default .bdealz-hero__content {
        padding-left: 32px;
        padding-right: 32px;
    }

    .bdealz-hero--cards .bdealz-hero__content {
        max-width: 760px;
    }

    .bdealz-hero--cards .bdealz-hero__text {
        padding: 32px 28px;
    }

    .bdealz-hero--split .bdealz-hero__content {
        padding: 36px 36px;
    }

    .bdealz-hero--fullscreen .bdealz-hero__content {
        padding: 48px 24px 90px;
    }

    .bdealz-hero--fullscreen .bdealz-hero__trust {
        bottom: 48px;
    }
}


/* ==========================================================================
   RESPONSIVE — 768px
   ========================================================================== */

@media (max-width: 768px) {
    .bdealz-hero--h-small {
        height: 260px;
    }

    .bdealz-hero--h-medium {
        height: 400px;
    }

    .bdealz-hero--h-large {
        height: 480px;
    }

    .bdealz-hero__arrow {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .bdealz-hero__arrow--prev {
        left: 10px;
    }

    .bdealz-hero__arrow--next {
        right: 10px;
    }

    .bdealz-hero__content {
        padding: 32px 20px;
    }

    .bdealz-hero__cta {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* Cards: stack layout */
    .bdealz-hero--cards .bdealz-hero__content {
        flex-direction: column;
        max-width: 480px;
    }

    .bdealz-hero--cards .bdealz-hero__visual {
        width: 100%;
        min-height: 200px;
        max-height: 220px;
    }

    .bdealz-hero--cards .bdealz-hero__text {
        width: 100%;
        padding: 24px 24px 28px;
    }

    /* Split: stack layout */
    .bdealz-hero--split .bdealz-hero__slide {
        flex-direction: column;
    }

    .bdealz-hero--split .bdealz-hero__visual {
        width: 100%;
        height: 200px;
        flex-shrink: 0;
    }

    .bdealz-hero--split .bdealz-hero__content {
        width: 100%;
        padding: 28px 24px 36px;
        flex: 1;
    }

    .bdealz-hero--split .bdealz-hero__arrow--next {
        color: inherit;
    }

    /* Fullscreen */
    .bdealz-hero--fullscreen {
        min-height: 500px;
    }

    .bdealz-hero--fullscreen .bdealz-hero__content {
        padding: 40px 20px 110px;
    }

    .bdealz-hero--fullscreen .bdealz-hero__cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }

    .bdealz-hero--fullscreen .bdealz-hero__cta {
        width: 100%;
    }

    .bdealz-hero--fullscreen .bdealz-hero__trust {
        bottom: 40px;
        gap: 12px;
        font-size: 12px;
    }

    .bdealz-hero--fullscreen .bdealz-hero__counter {
        bottom: 16px;
        right: 20px;
        font-size: 12px;
    }
}


/* ==========================================================================
   RESPONSIVE — 640px
   ========================================================================== */

@media (max-width: 640px) {
    .bdealz-hero--h-small {
        height: 220px;
    }

    .bdealz-hero--h-medium {
        height: 360px;
    }

    .bdealz-hero--h-large {
        height: 440px;
    }

    .bdealz-hero--h-fullscreen {
        height: calc(100vh - var(--header-height));
        height: calc(100dvh - var(--header-height));
    }

    .bdealz-hero__title {
        font-size: clamp(20px, 6vw, 32px);
    }

    .bdealz-hero__subtitle {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .bdealz-hero__badge {
        font-size: 11px;
        padding: 5px 12px;
        margin-bottom: 12px;
    }

    .bdealz-hero__pricing {
        gap: 8px;
        margin-bottom: 18px;
    }

    .bdealz-hero__price-old {
        font-size: 15px;
    }

    .bdealz-hero__price-new {
        font-size: clamp(22px, 5vw, 32px);
    }

    .bdealz-hero__content {
        padding: 24px 16px;
    }

    .bdealz-hero__arrow {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .bdealz-hero__arrow--prev {
        left: 8px;
    }

    .bdealz-hero__arrow--next {
        right: 8px;
    }

    .bdealz-hero__nav {
        bottom: 14px;
        gap: 8px;
    }

    .bdealz-hero__dot {
        width: 6px;
        height: 6px;
    }

    .bdealz-hero__line {
        width: 18px;
        height: 3px;
    }

    .bdealz-hero__line--active {
        width: 30px;
    }

    .bdealz-hero__num {
        width: 18px;
        height: 18px;
        font-size: 9px;
    }

    .bdealz-hero__countdown {
        font-size: 12px;
        padding: 6px 12px;
        gap: 6px;
        margin-bottom: 14px;
    }

    .bdealz-hero__counter {
        bottom: 14px;
        right: 16px;
        font-size: 11px;
    }

    .bdealz-hero__trust {
        gap: 10px;
        font-size: 11px;
        margin-top: 14px;
    }

    /* Default mobile */
    .bdealz-hero--default .bdealz-hero__content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .bdealz-hero--default .bdealz-hero__overlay {
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.8) 100%);
    }

    /* Cards mobile */
    .bdealz-hero--cards .bdealz-hero__content {
        max-width: calc(100% - 32px);
        border-radius: var(--radius-md);
    }

    .bdealz-hero--cards .bdealz-hero__visual {
        min-height: 160px;
        max-height: 180px;
    }

    .bdealz-hero--cards .bdealz-hero__text {
        padding: 20px 18px 24px;
    }

    /* Split mobile */
    .bdealz-hero--split .bdealz-hero__visual {
        height: 170px;
    }

    .bdealz-hero--split .bdealz-hero__content {
        padding: 24px 16px 32px;
    }

    /* Minimal mobile */
    .bdealz-hero--minimal .bdealz-hero__title {
        font-size: clamp(26px, 7vw, 40px);
    }

    /* Fullscreen mobile */
    .bdealz-hero--fullscreen {
        min-height: 460px;
    }

    .bdealz-hero--fullscreen .bdealz-hero__title {
        font-size: clamp(24px, 6.5vw, 38px);
    }

    .bdealz-hero--fullscreen .bdealz-hero__content {
        padding: 32px 16px 120px;
    }

    .bdealz-hero--fullscreen .bdealz-hero__trust {
        bottom: 32px;
        flex-direction: column;
        gap: 6px;
        align-items: center;
    }

    .bdealz-hero--fullscreen .bdealz-hero__trust span::before {
        display: none;
    }
}


/* ==========================================================================
   ACCESSIBILITY / REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .bdealz-hero--fade .bdealz-hero__slide,
    .bdealz-hero--slide .bdealz-hero__slide,
    .bdealz-hero--zoom .bdealz-hero__slide {
        transition-duration: 0.01ms;
    }

    .bdealz-hero--minimal .bdealz-hero__title {
        animation: none;
        background-position: 0% 50%;
    }

    .bdealz-hero__arrow,
    .bdealz-hero__cta,
    .bdealz-hero__dot,
    .bdealz-hero__line,
    .bdealz-hero__num {
        transition-duration: 0.01ms;
    }
}


/* ==========================================================================
   PRINT
   ========================================================================== */

@media print {
    .bdealz-hero {
        height: auto !important;
        min-height: 0 !important;
        page-break-inside: avoid;
    }

    .bdealz-hero__slide {
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .bdealz-hero__slide:not(.bdealz-hero__slide--active) {
        display: none !important;
    }

    .bdealz-hero__arrow,
    .bdealz-hero__nav,
    .bdealz-hero__progress,
    .bdealz-hero__counter {
        display: none !important;
    }
}
