/* ==========================================================================
   HOMEPAGE SECTIONS — Dufthaus Wien
   Covers: Trust Bar, Quick Prompts, Value Prop, How It Works,
           Bestsellers, Pricing, Sample Kit, Social Proof, Sticky Bar
   ========================================================================== */

/* ==========================================================================
   SHARED SECTION LAYOUT
   ========================================================================== */

.dh-hp-section {
    padding: 80px 0;
}

.dh-hp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.dh-hp-heading {
    font-family: var(--dh-font-heading);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 300;
    color: var(--dh-text-primary);
    letter-spacing: 3px;
    line-height: 1.25;
    margin: 0 0 8px;
    text-align: center;
}

.dh-hp-cta-center {
    text-align: center;
    margin-top: 48px;
}

/* ==========================================================================
   TRUST BAR (below hero)
   ========================================================================== */

.dh-trust-bar {
    background: rgba(212, 175, 55, 0.04);
    border-top: 1px solid rgba(212, 175, 55, 0.12);
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    padding: 14px 24px;
    overflow-x: auto;
    scrollbar-width: none;
}

.dh-trust-bar::-webkit-scrollbar {
    display: none;
}

.dh-trust-bar-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    white-space: nowrap;
}

.dh-trust-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--dh-font-body);
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--dh-text-secondary);
    text-transform: uppercase;
    padding: 0 20px;
}

.dh-trust-bar-icon {
    font-size: 16px;
}

.dh-trust-bar-divider {
    width: 1px;
    height: 16px;
    background: rgba(212, 175, 55, 0.2);
    flex-shrink: 0;
}

/* ==========================================================================
   AI CHAT — QUICK PROMPTS
   ========================================================================== */

.dh-ai-chat-header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dh-ai-chat-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.5);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.dh-ai-quick-prompts {
    padding: 12px 28px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.08);
}

.dh-ai-quick-prompts-label {
    font-family: var(--dh-font-body);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dh-text-secondary);
    margin-bottom: 8px;
}

.dh-ai-quick-prompts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 12px;
}

.dh-ai-quick-btn {
    font-family: var(--dh-font-body);
    font-size: 12px;
    color: var(--dh-text-secondary);
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 8px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-height: 44px; /* thumb-friendly */
    display: flex;
    align-items: center;
    gap: 6px;
}

.dh-ai-quick-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--dh-accent-gold);
    color: var(--dh-accent-gold);
    transform: translateY(-1px);
}

.dh-ai-quick-btn:active {
    transform: translateY(0);
}

/* Updated send button: icon only */
.dh-ai-chat-send {
    background: var(--dh-gold-btn-gradient);
    border: none;
    border-radius: 12px;
    padding: 0 20px;
    min-width: 52px;
    color: var(--dh-bg-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dh-ai-chat-send:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ==========================================================================
   SECTION 2: VALUE PROPOSITION
   ========================================================================== */

.dh-value-proposition {
    background: var(--dh-bg-dark);
}

.dh-value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.dh-value-card {
    background: var(--dh-bg-card);
    border: 1px solid var(--dh-card-border);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dh-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--dh-gold-btn-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.dh-value-card:hover {
    border-color: var(--dh-card-border-hover);
    transform: translateY(-4px);
}

.dh-value-card:hover::before {
    opacity: 1;
}

.dh-value-icon {
    font-size: 36px;
    margin-bottom: 16px;
    line-height: 1;
}

.dh-value-card h3 {
    font-family: var(--dh-font-heading);
    font-size: 20px;
    font-weight: 400;
    color: var(--dh-accent-gold);
    letter-spacing: 2px;
    margin: 0 0 10px;
}

.dh-value-card p {
    font-family: var(--dh-font-body);
    font-size: 14px;
    color: var(--dh-text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   SECTION 3: HOW IT WORKS
   ========================================================================== */

.dh-how-it-works {
    background: rgba(212, 175, 55, 0.02);
    border-top: 1px solid rgba(212, 175, 55, 0.08);
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.dh-steps-grid {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 48px;
}

.dh-step {
    flex: 1;
    text-align: center;
    padding: 0 24px;
}

.dh-step-number {
    font-family: var(--dh-font-heading);
    font-size: 64px;
    font-weight: 300;
    color: rgba(212, 175, 55, 0.2);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: 4px;
}

.dh-step-title {
    font-family: var(--dh-font-heading);
    font-size: 20px;
    font-weight: 400;
    color: var(--dh-text-primary);
    letter-spacing: 1px;
    margin: 0 0 12px;
}

.dh-step-desc {
    font-family: var(--dh-font-body);
    font-size: 14px;
    color: var(--dh-text-secondary);
    line-height: 1.7;
    margin: 0 0 12px;
}

.dh-step-example {
    font-family: var(--dh-font-heading);
    font-size: 13px;
    color: var(--dh-accent-gold);
    font-style: italic;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 8px;
    padding: 10px 14px;
    line-height: 1.5;
}

.dh-step-arrow {
    font-size: 28px;
    color: rgba(212, 175, 55, 0.3);
    padding-top: 24px;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 80px;
}

/* ==========================================================================
   SECTION 4: BESTSELLERS — Horizontal Scroll
   ========================================================================== */

.dh-bestsellers {
    background: var(--dh-bg-dark);
    padding-bottom: 0;
}

.dh-bestsellers-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.3) transparent;
    margin-top: 40px;
    padding: 8px 0 24px;
}

.dh-bestsellers-scroll-wrapper::-webkit-scrollbar {
    height: 4px;
}

.dh-bestsellers-scroll-wrapper::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 2px;
}

.dh-bestsellers-track {
    display: flex;
    gap: 20px;
    padding: 0 24px;
    width: max-content;
}

@media (min-width: 900px) {
    .dh-bestsellers-scroll-wrapper {
        overflow-x: visible;
    }
    .dh-bestsellers-track {
        width: auto;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        padding: 0 40px;
    }
    .dh-bestseller-card {
        width: auto;
    }
}

.dh-bestseller-card {
    width: 280px;
    flex-shrink: 0;
    background: var(--dh-bg-card);
    border: 1px solid var(--dh-card-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    scroll-snap-align: start;
}

.dh-bestseller-card:hover {
    border-color: var(--dh-card-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.dh-bestseller-img-wrapper {
    height: 200px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Scent family gradient overlays (ingredient photography placeholder) */
.dh-scent-oriental {
    background: radial-gradient(circle at 50% 60%, rgba(212, 175, 55, 0.3) 0%, rgba(139, 69, 19, 0.6) 60%, #1e1e1e 100%);
}

.dh-scent-woody {
    background: radial-gradient(circle at 50% 60%, rgba(101, 67, 33, 0.4) 0%, rgba(60, 40, 20, 0.7) 60%, #1e1e1e 100%);
}

.dh-scent-floral {
    background: radial-gradient(circle at 50% 60%, rgba(218, 165, 32, 0.4) 0%, rgba(139, 90, 0, 0.6) 60%, #1e1e1e 100%);
}

.dh-scent-fresh {
    background: radial-gradient(circle at 50% 60%, rgba(255, 140, 0, 0.3) 0%, rgba(180, 80, 0, 0.5) 60%, #1e1e1e 100%);
}

.dh-bestseller-img-placeholder {
    text-align: center;
    padding: 20px;
}

.dh-ingredient-emoji {
    display: block;
    font-size: 52px;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.dh-ingredient-label {
    font-family: var(--dh-font-body);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.dh-bestseller-info {
    padding: 20px;
}

.dh-bestseller-number {
    font-family: var(--dh-font-heading);
    font-size: 28px;
    font-weight: 300;
    color: var(--dh-accent-gold);
    letter-spacing: 3px;
    display: block;
    margin-bottom: 4px;
}

.dh-bestseller-name {
    font-family: var(--dh-font-heading);
    font-size: 17px;
    font-weight: 400;
    color: var(--dh-text-primary);
    letter-spacing: 1px;
    margin: 0 0 6px;
}

.dh-bestseller-notes {
    font-family: var(--dh-font-body);
    font-size: 12px;
    color: var(--dh-text-secondary);
    margin: 0 0 14px;
    line-height: 1.5;
}

.dh-bestseller-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--dh-card-border);
}

.dh-price-main {
    font-family: var(--dh-font-body);
    font-size: 22px;
    font-weight: 700;
    color: var(--dh-accent-gold);
}

.dh-price-vs {
    font-family: var(--dh-font-body);
    font-size: 13px;
    color: var(--dh-text-secondary);
    text-decoration: line-through;
    opacity: 0.7;
}

.dh-bestseller-actions {
    display: flex;
    gap: 8px;
}

.dh-bestseller-btn-view,
.dh-bestseller-btn-ai {
    flex: 1;
    text-align: center;
    padding: 9px 12px;
    border-radius: 8px;
    font-family: var(--dh-font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.dh-bestseller-btn-view {
    background: var(--dh-gold-btn-gradient);
    color: var(--dh-bg-dark);
    border: none;
}

.dh-bestseller-btn-view:hover {
    opacity: 0.9;
    color: var(--dh-bg-dark);
}

.dh-bestseller-btn-ai {
    background: transparent;
    color: var(--dh-accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.dh-bestseller-btn-ai:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--dh-accent-gold);
}

/* ==========================================================================
   SECTION 5: PRICING TRANSPARENCY
   ========================================================================== */

.dh-pricing-section {
    background: rgba(212, 175, 55, 0.02);
    border-top: 1px solid rgba(212, 175, 55, 0.08);
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.dh-pricing-comparison {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dh-pricing-row {
    display: flex;
    align-items: center;
    gap: 24px;
}

.dh-pricing-label {
    width: 180px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dh-pricing-brand {
    font-family: var(--dh-font-body);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dh-text-secondary);
}

.dh-pricing-brand-ours {
    color: var(--dh-accent-gold);
}

.dh-pricing-total {
    font-family: var(--dh-font-heading);
    font-size: 32px;
    font-weight: 300;
    color: var(--dh-text-secondary);
    letter-spacing: 2px;
}

.dh-pricing-total-ours {
    color: var(--dh-accent-gold);
}

.dh-pricing-bar-wrapper {
    flex: 1;
    height: 48px;
    display: flex;
    border-radius: 6px;
    overflow: hidden;
    gap: 2px;
}

.dh-pricing-bar-segment {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 1s ease;
    min-width: 0;
    overflow: hidden;
}

.dh-bar-label {
    font-family: var(--dh-font-body);
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(0,0,0,0.7);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 6px;
}

.dh-bar-ingredients     { background: rgba(212, 175, 55, 0.4); }
.dh-bar-bottle          { background: rgba(160, 140, 100, 0.5); }
.dh-bar-marketing       { background: rgba(120, 100, 60, 0.5); }
.dh-bar-markup          { background: rgba(80, 60, 30, 0.6); }
.dh-bar-ingredients-ours { background: rgba(212, 175, 55, 0.7); }
.dh-bar-pack            { background: rgba(160, 140, 100, 0.35); }
.dh-bar-ship            { background: rgba(120, 100, 60, 0.3); }

.dh-pricing-conclusion {
    text-align: center;
    font-family: var(--dh-font-heading);
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--dh-accent-gold);
    font-style: italic;
    margin-top: 40px;
    opacity: 0.9;
}

/* ==========================================================================
   SECTION 7: SOCIAL PROOF
   ========================================================================== */

.dh-social-proof {
    background: rgba(212, 175, 55, 0.02);
    border-top: 1px solid rgba(212, 175, 55, 0.08);
}

.dh-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.dh-review-card {
    background: var(--dh-bg-card);
    border: 1px solid var(--dh-card-border);
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
}

.dh-review-card:hover {
    border-color: var(--dh-card-border-hover);
    transform: translateY(-2px);
}

.dh-review-stars {
    color: var(--dh-accent-gold);
    font-size: 18px;
    letter-spacing: 2px;
}

.dh-review-quote {
    font-family: var(--dh-font-heading);
    font-size: 15px;
    font-style: italic;
    color: var(--dh-text-primary);
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

.dh-review-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--dh-card-border);
}

.dh-review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--dh-font-heading);
    font-size: 16px;
    color: var(--dh-accent-gold);
    flex-shrink: 0;
}

.dh-review-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dh-review-name {
    font-family: var(--dh-font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--dh-text-primary);
    display: block;
}

.dh-review-location {
    font-family: var(--dh-font-body);
    font-size: 11px;
    color: var(--dh-text-secondary);
    display: block;
}

.dh-review-product {
    font-family: var(--dh-font-heading);
    font-size: 18px;
    color: var(--dh-accent-gold);
    font-weight: 300;
    letter-spacing: 2px;
}

/* ==========================================================================
   MOBILE STICKY BOTTOM BAR
   ========================================================================== */

.dh-sticky-mobile-bar {
    display: none; /* shown only on mobile */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding: 8px 16px;
    padding-bottom: env(safe-area-inset-bottom, 8px);
}

.dh-sticky-mobile-bar .dh-sticky-btn {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.2s ease;
    cursor: pointer;
    background: none;
    border: none;
    min-height: 52px;
    justify-content: center;
}

.dh-sticky-mobile-bar {
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: stretch;
}

.dh-sticky-ai {
    flex: 1;
    text-align: center;
}

.dh-sticky-ai:hover {
    background: rgba(212, 175, 55, 0.08);
}

.dh-sticky-cart {
    flex: 1;
    text-align: center;
}

.dh-sticky-cart:hover {
    background: rgba(212, 175, 55, 0.08);
}

.dh-sticky-icon {
    font-size: 22px;
    line-height: 1;
}

.dh-sticky-label {
    font-family: var(--dh-font-body);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--dh-text-secondary);
    position: relative;
}

.dh-sticky-divider {
    width: 1px;
    height: 40px;
    background: rgba(212, 175, 55, 0.15);
    flex-shrink: 0;
}

.dh-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: var(--dh-accent-gold);
    color: var(--dh-bg-dark);
    border-radius: 50%;
    font-size: 9px;
    font-weight: 700;
    position: absolute;
    top: -8px;
    right: -12px;
}

/* ==========================================================================
   SCROLL-TO-CHAT SMOOTH BEHAVIOR
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

.dh-scroll-to-chat {
    cursor: pointer;
}

/* ==========================================================================
   RESPONSIVE — MOBILE FIRST ADJUSTMENTS
   ========================================================================== */

@media (max-width: 768px) {

    .dh-hp-section {
        padding: 60px 0;
    }

    /* Trust bar: horizontal scroll on mobile */
    .dh-trust-bar-inner {
        justify-content: flex-start;
    }

    /* Quick prompts: scroll horizontally */
    .dh-ai-quick-prompts-grid {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .dh-ai-quick-prompts-grid::-webkit-scrollbar {
        display: none;
    }

    /* Value grid: 1 column */
    .dh-value-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Steps: stack vertically */
    .dh-steps-grid {
        flex-direction: column;
        gap: 24px;
    }

    .dh-step-arrow {
        display: none;
    }

    .dh-step {
        padding: 0;
        border-left: 3px solid rgba(212, 175, 55, 0.2);
        padding-left: 20px;
        text-align: left;
    }

    .dh-step-number {
        font-size: 40px;
        margin-bottom: 8px;
    }

    /* Bestsellers: scroll snapping */
    .dh-bestsellers-track {
        scroll-snap-type: x mandatory;
        padding: 0 16px;
    }

    .dh-bestseller-card {
        width: 260px;
    }

    /* Pricing: vertical label */
    .dh-pricing-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .dh-pricing-label {
        flex-direction: row;
        align-items: baseline;
        gap: 12px;
        width: 100%;
    }

    .dh-pricing-bar-wrapper {
        width: 100%;
        height: 40px;
    }

    .dh-bar-label {
        font-size: 8px;
        padding: 0 4px;
    }

    /* Reviews: 1 column */
    .dh-reviews-grid {
        grid-template-columns: 1fr;
    }

    /* Sticky bar: show on mobile */
    .dh-sticky-mobile-bar {
        display: flex;
    }

    /* Add bottom padding to page so sticky bar doesn't cover content */
    .site-main {
        padding-bottom: 70px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {

    .dh-steps-grid {
        gap: 0;
    }

    .dh-step-arrow {
        padding-top: 80px;
        margin-top: 0;
    }
}

/* ==========================================================================
   BUTTONS — Homepage Specific
   ========================================================================== */

.dh-btn-primary {
    background: var(--dh-gold-btn-gradient) !important;
    color: var(--dh-bg-dark) !important;
    font-family: var(--dh-font-body) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    padding: 16px 40px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none !important;
}

.dh-btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
    color: var(--dh-bg-dark) !important;
}

/* Hero CTA row */
.dh-ai-hero-ctas {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
    align-items: center;
}

/* Hide hero CTAs on desktop where chat is already visible */
@media (min-width: 900px) {
    .dh-hero-cta-primary {
        display: none !important;
    }
}

@media (max-width: 899px) {
    .dh-ai-hero-ctas {
        justify-content: center;
    }
}
