/* =============================================
   Ilias & Vesna – Anpassad CSS
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

/* ── LOGGA (text, samma font som footer) ────── */
.nav-logo-text {
    font-family: 'Great Vibes', cursive !important;
    font-size: 32px !important;
    color: #9F7B59 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
}
.nav-logo-text:hover {
    color: #7d5f43 !important;
    text-decoration: none !important;
}

/* ── RENSA SÖK & KUNDVAGN ───────────────────── */
.header-right { display: none !important; }

/* ── MENY HÖJD ──────────────────────────────── */
.wpo-site-header .navigation {
    padding: 8px 0 !important;
}

/* ── STICKY-MENY ────────────────────────────── */
/* Mallens JS klonar .navigation och lägger till .sticky-header/.sticky-on
   automatiskt vid scroll – vi säkerställer bara att bakgrunden är solid */
.sticky-header {
    background: #fff !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.10) !important;
}
.sticky-header .nav-logo-text {
    color: #9F7B59 !important;
}

/* ── MENY: ta bort versaler ─────────────────── */
.navigation .nav.navbar-nav > li > a {
    text-transform: none !important;
}

/* ── OSA-KNAPP: på samma rad som menyn ──────── */
.navigation .nav.navbar-nav {
    align-items: center;
}
.nav-osa-btn > a {
    background: #9F7B59 !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 7px 20px !important;
    margin-left: 8px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    line-height: 1.4 !important;
    transition: background 0.3s ease !important;
    display: inline-block !important;
}
.nav-osa-btn > a:hover {
    background: #7d5f43 !important;
    color: #fff !important;
}

/* Mobil */
@media (max-width: 991px) {
    .site-logo { height: 38px; }
    .nav-osa-btn > a {
        margin-left: 0 !important;
        margin-top: 6px !important;
    }
}


/* ── ÖNSKELISTA ─────────────────────────────── */
.wpo-wishlist-section {
    background: #fff;
    padding: 80px 0;
}
.wishlist-card {
    background: #EFE6EE;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(159,123,89,0.10);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.wishlist-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 40px rgba(159,123,89,0.18);
}
.wishlist-card .wl-icon {
    font-size: 48px;
    color: #9F7B59;
    margin-bottom: 20px;
    display: block;
}
.wishlist-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #2d2d2d;
}
.wishlist-card p {
    color: #888;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ── INFO ───────────────────────────────────── */
.wpo-info-section {
    padding: 80px 0;
    background: #fff;
}
.info-card {
    background: #EFE6EE;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid #f0e8de;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 40px rgba(159,123,89,0.15);
}
.info-card .info-icon {
    width: 70px;
    height: 70px;
    background: #9F7B59;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.info-card .info-icon i {
    font-size: 28px;
    color: #fff;
}
.info-card h3 {
    font-size: 22px;
    color: #2d2d2d;
    margin-bottom: 15px;
}
.info-card p {
    color: #777;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 6px;
}
.info-placeholder {
    display: inline-block;
    background: #f0e8de;
    color: #9F7B59;
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 20px;
    margin-top: 12px;
    font-style: italic;
}

/* ── OSA-FORMULÄR: dölj status-meddelanden som standard ── */
#success, #error { display: none; }

/* ── FOOTER (minimalist) ────────────────────── */
.wpo-footer-minimal {
    background: #1a1a1a;
    padding: 0;
}
.wpo-footer-minimal .container {
    padding-top: 50px !important;
    padding-bottom: 40px !important;
}
.footer-logo-text {
    font-family: 'Great Vibes', cursive;
    font-size: 48px;
    color: #9F7B59;
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
    transition: opacity 0.3s;
}
.footer-logo-text:hover { opacity: 0.8; color: #9F7B59; }
.footer-date {
    color: #aaa;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.footer-copy {
    color: #666;
    font-size: 13px;
    margin: 0;
}
.footer-copy a {
    color: #9F7B59;
    text-decoration: none;
}
.footer-copy a:hover { text-decoration: underline; }

/* ── MOBIL OVERLAY-MENY ─────────────────────── */

/* Dölj mallens gamla mobilmeny */
@media (max-width: 991px) {
    .navigation-holder { display: none !important; }
    .menu-close        { display: none !important; }
}

/* Hamburger-knapp */
.mob-hamburger {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 32px;
}
.mob-hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #242424;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
/* Hamburger → X animation */
.mob-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mob-hamburger.is-open span:nth-child(2) { opacity: 0; }
.mob-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Fullscreen overlay */
.mob-overlay {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.mob-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Stäng-knapp (X) */
.mob-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    padding: 0;
}
.mob-close span {
    display: block;
    width: 100%;
    height: 2px;
    background: #242424;
    border-radius: 2px;
    position: absolute;
    top: 50%;
}
.mob-close span:nth-child(1) { transform: rotate(45deg); }
.mob-close span:nth-child(2) { transform: rotate(-45deg); }

/* Menylänkar */
.mob-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}
.mob-nav a {
    font-family: inherit;
    font-size: 26px;
    color: #242424;
    text-decoration: none;
    padding: 8px 0;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}
.mob-nav a:hover { color: #9F7B59; }

/* OSA-knapp i overlay */
.mob-nav .mob-osa-btn {
    background: #9F7B59;
    color: #fff;
    border-radius: 50px;
    padding: 12px 40px;
    margin-top: 16px;
    font-size: 20px;
}
.mob-nav .mob-osa-btn:hover { background: #7d5f43; color: #fff; }

/* ── MOBILFIXAR ─────────────────────────────── */
@media (max-width: 991px) {
    /* Logga */
    .logo-flower { height: 28px; }
    .logo-text   { font-size: 18px; }

    /* OSA-knapp i mobilmenyn */
    .nav-osa-btn > a {
        margin-left: 0 !important;
        display: inline-block !important;
        margin-top: 8px !important;
    }

    /* Footer */
    .footer-logo-text { font-size: 38px; }
}

@media (max-width: 767px) {
    /* Hero: centrera text på mobil */
    .static-hero-s4 .hero-text {
        text-align: center;
        padding: 60px 20px 20px;
    }
    .static-hero-s4 .wpo-static-hero-img {
        margin-top: 20px;
    }

    /* Önskelista: luft mellan korten */
    .wpo-wishlist-section {
        padding: 50px 0;
    }
    .wishlist-card {
        height: auto !important;
        margin-bottom: 0 !important;
    }
    .wpo-wishlist-section .col-lg-4,
    .wpo-wishlist-section .col-md-6,
    .wpo-wishlist-section [class*="col-"] {
        padding-bottom: 28px !important;
    }

    /* Info: luft mellan korten */
    .wpo-info-section {
        padding: 50px 0;
    }
    .info-card {
        height: auto !important;
        margin-bottom: 0 !important;
    }
    .wpo-info-section .col-lg-4,
    .wpo-info-section .col-md-6,
    .wpo-info-section [class*="col-"] {
        padding-bottom: 28px !important;
    }

    /* Footer */
    .footer-logo-text { font-size: 32px; }
}
