﻿/* ===========================================
   COMPLETE FOOTER SECTION
   =========================================== */

:root {
    --color-coral: #FFE600;
    --color-coral-hover: #CCB800;
    --color-coral-light: rgba(255, 230, 0, 0.08);
    --color-pink: #FFF176;
    --color-cream: #FFFDE7;
    --color-cream-light: #fffaf7;
    --color-white: #ffffff;
    --color-text-dark: #333333;
    --color-text-medium: #666666;
    --color-text-light: #999999;
    --color-border: rgba(0, 0, 0, 0.08);
    --color-border-light: rgba(0, 0, 0, 0.05);
    --space-2xs: 0.25rem;
    --space-xs: 0.5rem;
    --space-sm: 0.625rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 2.5rem;
    --space-3xl: 3rem;
    --font-display: 'Luckiest Guy', cursive;
    --font-body: 'Poppins', sans-serif;
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(255, 230, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(255, 230, 0, 0.18);
    --shadow-focus: 0 0 0 4px rgba(255, 230, 0, 0.12);
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --touch-target-min: 44px;
}

:root {
    --footer-coral: #FFE600;
    --footer-coral-dark: #CCB800;
    --footer-pink: #FFF176;
    --footer-magenta: #FFE600;
    --footer-orange: #FFE600;
    --footer-white: #ffffff;
    --footer-bg: #fafafa;
    --footer-text: #333333;
    --footer-text-muted: #666666;
    --footer-text-light: #999999;
    --footer-border: #eeeeee;
    --footer-font: 'Poppins', sans-serif;
    --footer-font-display: 'Luckiest Guy', cursive;
}

/* ===== NEWSLETTER ===== */

.footer-newsletter {
    background: #FFE600 !important;
    background-image: none !important;
    animation: none !important;
    padding: 18px 0 !important;
    position: relative !important;
    overflow: hidden !important;
    border-top: 3px solid #111111 !important;
    border-bottom: 3px solid #111111 !important;
    box-shadow: none !important;
    margin-top: 0 !important;
}

    .footer-newsletter::after {
        display: none !important;
    }

    .footer-newsletter::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: -100% !important;
        width: 200% !important;
        height: 100% !important;
        background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent) !important;
        animation: shimmer 3s infinite !important;
        border: none !important;
        pointer-events: none !important;
    }

@keyframes shimmer {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

.footer-newsletter .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.newsletter-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.newsletter-icon {
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(0,0,0,0.25);
    transition: all var(--transition-base);
}

    .newsletter-icon:hover {
        background: #111111;
        border-color: #111111;
        transform: scale(1.08) rotate(5deg);
    }

        .newsletter-icon:hover i,
        .newsletter-icon:hover svg {
            color: #FFE600;
        }

    .newsletter-icon i,
    .newsletter-icon svg {
        font-size: 20px;
        color: #111111;
        transition: color var(--transition-base);
    }

.newsletter-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

    /* Newsletter heading — Luckiest Guy (it's a display headline) */
    .newsletter-text h4 {
        font-family: 'Luckiest Guy', cursive;
        font-size: 0.95rem;
        font-weight: 400;
        color: #111111;
        margin: 0;
    }

        .newsletter-text h4 strong {
            font-weight: 700;
        }

    .newsletter-text p {
        display: none;
    }

.newsletter-form {
    display: flex;
    gap: 0;
    flex-shrink: 0;
}

/* Input — Poppins */
.newsletter-input {
    width: 260px;
    padding: 12px 20px;
    border: 2px solid #111111;
    border-right: none;
    border-radius: 25px 0 0 25px;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    background: #ffffff;
    color: #111111;
    transition: all 0.3s ease;
}

    .newsletter-input::placeholder {
        color: #888888;
        font-weight: 400;
    }

    .newsletter-input:hover {
        background: #ffffff;
        border-color: #111111;
    }

    .newsletter-input:focus {
        outline: none;
        background: #ffffff;
        border-color: #111111;
        box-shadow: 0 0 0 3px rgba(0,0,0,0.15);
    }

/* Button — Poppins */
.newsletter-btn {
    padding: 12px 24px;
    background: #111111;
    color: #FFE600;
    border: 2px solid #111111;
    border-radius: 0 25px 25px 0;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-block-size: var(--touch-target-min);
    position: relative;
    overflow: hidden;
}

    .newsletter-btn::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: var(--radius-full);
        background: rgba(255,230,0,0.12);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .newsletter-btn:hover::before {
        width: 300px;
        height: 300px;
    }

    .newsletter-btn:hover {
        background: #222222;
        border-color: #222222;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    }

    .newsletter-btn:focus-visible {
        outline: 3px solid #111111;
        outline-offset: 2px;
    }

    .newsletter-btn:active {
        transform: translateY(0);
    }

    .newsletter-btn svg,
    .newsletter-btn i {
        transition: transform var(--transition-base);
        flex-shrink: 0;
    }

    .newsletter-btn:hover svg,
    .newsletter-btn:hover i {
        transform: translateX(4px);
    }

/* ===== FOOTER BODY ===== */

.footer.footer--three {
    background: var(--footer-white);
    padding: 48px 0 24px;
    border-top: none !important;
    border: none !important;
}

    .footer.footer--three .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 24px;
    }

    .footer.footer--three .row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 40px;
    }

    .footer.footer--three .col-lg-9 {
        flex: 1;
        min-width: 300px;
    }

    .footer.footer--three .col-lg-3 {
        flex: 0 0 280px;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

.footer-nav-container {
    margin-bottom: 24px;
}

.footer-nav-container--horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
}

.footer-nav-container .footer-widget,
.footer-nav-container .footer-menu-column {
    min-width: 140px;
}

/* Nav column headings — Luckiest Guy */
.footer-nav-container h4,
.footer-nav-container .widget-title,
.footer-nav-container .footer-heading {
    font-family: 'Luckiest Guy', cursive;
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--footer-text);
    margin: 0 0 16px 0;
    position: relative;
    padding-bottom: 10px;
}

    .footer-nav-container h4::after,
    .footer-nav-container .widget-title::after,
    .footer-nav-container .footer-heading::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 24px;
        height: 2px;
        background: var(--footer-coral);
        border-radius: 2px;
    }

.footer-nav-container ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav-container li {
    margin-bottom: 8px;
}

    .footer-nav-container li:last-child {
        margin-bottom: 0;
    }

/* Nav links — Poppins */
.footer-nav-container a {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--footer-text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    padding: 2px 0;
}

    .footer-nav-container a:hover {
        color: var(--footer-coral);
    }

/* Copyright — Poppins */
.footer__copyright-text {
    padding-top: 24px;
    border-top: 1px solid var(--footer-border);
}

    .footer__copyright-text p {
        font-family: 'Poppins', sans-serif;
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--footer-text-light);
        margin: 0;
        line-height: 1.6;
    }

    .footer__copyright-text a {
        color: var(--footer-coral);
        text-decoration: none;
        font-weight: 600;
        transition: color 0.2s ease;
    }

        .footer__copyright-text a:hover {
            text-decoration: underline;
        }

.social-icons--footer {
    margin-bottom: 20px;
}

    .social-icons--footer ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        gap: 10px;
        justify-content: flex-end;
    }

    .social-icons--footer li {
        margin: 0;
    }

    .social-icons--footer a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: var(--footer-bg);
        border-radius: 50%;
        color: var(--footer-text-muted);
        font-size: 16px;
        text-decoration: none;
        transition: all 0.3s ease;
        border: 1px solid var(--footer-border);
    }

        .social-icons--footer a:hover {
            background: var(--footer-coral);
            color: #111111;
            border-color: var(--footer-coral);
            transform: translateY(-2px);
        }

.payment-icon {
    margin-bottom: 16px;
}

    .payment-icon img {
        max-width: 160px;
        height: auto;
        opacity: 0.6;
        transition: opacity 0.3s ease;
        filter: grayscale(30%);
    }

    .payment-icon:hover img {
        opacity: 1;
        filter: grayscale(0%);
    }

/* Language/currency selects — Poppins */
.footer.footer--three .mt-10 {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

    .footer.footer--three .mt-10 select {
        padding: 10px 36px 10px 14px;
        font-size: 0.85rem;
        font-weight: 600;
        font-family: 'Poppins', sans-serif;
        border: 1px solid var(--footer-border);
        border-radius: 8px;
        background: var(--footer-white);
        color: var(--footer-text-muted);
        cursor: pointer;
        transition: all 0.2s ease;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
    }

        .footer.footer--three .mt-10 select:hover,
        .footer.footer--three .mt-10 select:focus {
            outline: none;
            border-color: var(--footer-coral);
        }

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: #FFE600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(255,230,0,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.3s ease;
    z-index: 999;
}

    .scroll-top.visible,
    .scroll-top.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .scroll-top::before {
        content: "↑";
        font-size: 20px;
        font-weight: bold;
    }

    .scroll-top:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 24px rgba(255,230,0,0.5);
    }

/* Overlays */
.cart-overlay, .wishlist-overlay {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
}

    .cart-overlay.active,
    .wishlist-overlay.active {
        right: 0;
    }

.cart-overlay-close, .wishlist-overlay-close {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .cart-overlay-close.active,
    .wishlist-overlay-close.active {
        opacity: 1;
        visibility: visible;
    }

.wishlist-overlay-content,
.cart-overlay-content {
    padding: 30px;
    height: 100%;
    overflow-y: auto;
}

/* Search overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .search-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .search-overlay .close-icon {
        position: absolute;
        top: 30px;
        right: 30px;
    }

        .search-overlay .close-icon a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            background: #FFE600;
            border-radius: 50%;
            color: #111111;
            font-size: 20px;
            text-decoration: none;
            transition: all 0.3s ease;
        }

            .search-overlay .close-icon a:hover {
                transform: rotate(90deg);
            }

.search-close-icon {
    position: absolute;
    top: 30px;
    right: 30px;
}

    .search-close-icon a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        background: #f5f5f5;
        border-radius: 50%;
        color: #333;
        font-size: 20px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .search-close-icon a:hover {
            background: #FFE600;
            color: #111111;
        }

/* Search inputs — Poppins */
.search-overlay-content {
    text-align: center;
    width: 90%;
    max-width: 600px;
}

.search-overlay .input-box input {
    width: 100%;
    padding: 20px 30px;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border: 2px solid #eee;
    border-radius: 50px;
    background: #fff;
    transition: all 0.3s ease;
}

    .search-overlay .input-box input:focus {
        outline: none;
        border-color: #FFE600;
        box-shadow: 0 0 0 5px rgba(255,230,0,0.1);
    }

.search-overlay-content .input-box input {
    width: 100%;
    padding: 20px 0;
    font-size: 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border: none;
    border-bottom: 2px solid #ddd;
    background: transparent;
    text-align: center;
    outline: none;
    transition: border-color 0.3s ease;
}

    .search-overlay-content .input-box input:focus {
        border-color: #FFE600;
    }

.search-overlay .search-hint,
.search-overlay-content .search-hint span {
    margin-top: 20px;
    color: #999;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
    .newsletter-wrapper {
        flex-wrap: wrap;
        gap: 20px;
    }

    .newsletter-content {
        width: 100%;
        justify-content: center;
    }

    .newsletter-form {
        width: 100%;
        max-width: 400px;
    }

    .newsletter-input {
        flex: 1;
        width: auto;
    }
}

@media (max-width: 992px) {
    .footer.footer--three .row {
        flex-direction: column;
    }

    .footer.footer--three .col-lg-3 {
        flex: 1;
        align-items: flex-start;
        margin-top: 25px;
        padding-top: 25px;
        border-top: 1px solid rgba(255,230,0,0.1);
    }

    .social-icons--footer ul {
        justify-content: flex-start;
    }

    .footer.footer--three .mt-10 {
        justify-content: flex-start;
    }

    .footer.footer--three .text-lg-right {
        text-align: left !important;
    }
}

@media (max-width: 768px) {
    .footer-newsletter {
        padding: 16px 0 !important;
    }

    .newsletter-wrapper {
        flex-direction: column;
        gap: 16px;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .newsletter-form {
        max-width: 100%;
    }

    .newsletter-input {
        border-radius: 25px;
        border-right: 2px solid #111111;
    }

    .newsletter-btn {
        border-radius: 25px;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .footer.footer--three {
        padding: 36px 0 20px;
    }

        .footer.footer--three .row {
            flex-direction: column;
            gap: 28px;
        }

        .footer.footer--three .col-lg-3 {
            flex: 1;
            align-items: center;
            padding-top: 20px;
            border-top: 1px solid var(--footer-border);
        }

    .social-icons--footer ul {
        justify-content: center;
    }

    .footer.footer--three .mt-10 {
        justify-content: center;
    }

    .footer__copyright-text {
        text-align: center;
    }

    .footer-nav-container--horizontal {
        justify-content: center;
        gap: 32px;
    }

    .footer-nav-container {
        text-align: center;
    }

        .footer-nav-container h4::after,
        .footer-nav-container .widget-title::after {
            left: 50%;
            transform: translateX(-50%);
        }
}

@media (max-width: 480px) {
    .footer-newsletter {
        padding: 14px 0 !important;
    }

    .newsletter-icon {
        width: 38px;
        height: 38px;
    }

        .newsletter-icon i, .newsletter-icon svg {
            font-size: 18px;
        }

    .newsletter-text h4 {
        font-size: 0.85rem;
    }

    .newsletter-input {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .newsletter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .footer.footer--three {
        padding: 30px 0 20px;
    }

        .footer.footer--three .container {
            padding: 0 16px;
        }

    .footer__copyright-text p {
        font-size: 0.82rem;
    }

    .social-icons--footer a {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .scroll-top {
        width: 42px;
        height: 42px;
        bottom: 20px;
        right: 20px;
    }
}
