/*
Theme Name: Babyhallen
Theme URI: https://babyhallen.se
Description: Lekfullt och färgglatt barnbutik-tema för Babyhallen.se
Author: Babyhallen
Author URI: https://babyhallen.se
Template: hello-elementor
Version: 1.0.0
Text Domain: babyhallen
*/

/* ==========================================================================
   Färgpalett - Lekfull & Färgglad
   ========================================================================== */

:root {
    /* Primära färger */
    --baby-pink: #FF6B9D;
    --baby-blue: #4ECDC4;
    --baby-yellow: #FFE66D;
    --baby-purple: #A78BFA;
    --baby-orange: #FF8C42;
    --baby-green: #7ED957;

    /* Neutrala färger */
    --baby-white: #FFF0F5;
    --baby-cream: #FFE4EC;
    --baby-gray-light: #FFF5F8;
    --baby-gray: #6B7280;
    --baby-dark: #2D3748;

    /* Gradient */
    --gradient-fun: linear-gradient(135deg, var(--baby-pink) 0%, var(--baby-purple) 50%, var(--baby-blue) 100%);
    --gradient-soft: linear-gradient(135deg, var(--baby-cream) 0%, var(--baby-white) 100%);
}

/* ==========================================================================
   Grundläggande stilar
   ========================================================================== */

body {
    font-family: 'Nunito', 'Segoe UI', sans-serif;
    background-color: var(--baby-white);
    color: var(--baby-dark);
}

/* ==========================================================================
   Typografi
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito', 'Segoe UI', sans-serif;
    font-weight: 700;
    color: var(--baby-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

/* ==========================================================================
   Knappar
   ========================================================================== */

.elementor-button,
.button,
button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--gradient-fun) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3) !important;
}

.elementor-button:hover,
.button:hover,
button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4) !important;
}

/* Sekundär knapp */
.button-secondary,
.woocommerce a.button.alt {
    background: var(--baby-blue) !important;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3) !important;
}

/* ==========================================================================
   Header / Navigering
   ========================================================================== */

.site-header {
    background: var(--baby-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.site-header .site-title {
    font-weight: 800;
    background: var(--gradient-fun);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   WooCommerce Produkter
   ========================================================================== */

.woocommerce ul.products li.product {
    background: var(--baby-white);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--baby-pink);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.1rem;
    color: var(--baby-dark);
    font-weight: 600;
}

.woocommerce ul.products li.product .price {
    color: var(--baby-pink);
    font-weight: 700;
    font-size: 1.2rem;
}

.woocommerce ul.products li.product img {
    border-radius: 15px;
}

/* Rea-badge */
.woocommerce span.onsale {
    background: var(--baby-orange) !important;
    border-radius: 50px !important;
    padding: 5px 15px !important;
    font-weight: 600;
}

/* ==========================================================================
   Kategorier
   ========================================================================== */

.product-category {
    background: var(--gradient-soft);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.product-category:hover {
    transform: scale(1.02);
}

.product-category h2 {
    color: var(--baby-dark);
    font-size: 1.3rem;
}

/* ==========================================================================
   Sökfält
   ========================================================================== */

.woocommerce-product-search input[type="search"],
input[type="text"],
input[type="email"],
input[type="search"] {
    border: 2px solid var(--baby-gray-light);
    border-radius: 50px;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.woocommerce-product-search input[type="search"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus {
    border-color: var(--baby-blue);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.2);
    outline: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--baby-dark);
    color: var(--baby-white);
    padding: 60px 0 30px;
}

.site-footer a {
    color: var(--baby-blue);
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--baby-pink);
}

/* ==========================================================================
   Lekfulla detaljer
   ========================================================================== */

/* Rundade bilder */
.elementor-image img {
    border-radius: 15px;
}

/* Ikonboxar */
.elementor-icon-box-icon {
    background: var(--gradient-fun);
    border-radius: 50%;
    padding: 20px;
}

.elementor-icon-box-icon i,
.elementor-icon-box-icon svg {
    color: white !important;
    fill: white !important;
}

/* Testimonials */
.elementor-testimonial {
    background: var(--baby-cream);
    border-radius: 20px;
    padding: 30px;
    border-left: 4px solid var(--baby-pink);
}

/* ==========================================================================
   Animationer
   ========================================================================== */

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* ==========================================================================
   Responsivitet
   ========================================================================== */

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .woocommerce ul.products li.product {
        padding: 15px;
    }
}

/* ==========================================================================
   Ladda Google Fonts
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

/* ==========================================================================
   Babyhallen Header
   ========================================================================== */

.babyhallen-header {
    background: var(--baby-white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.header-logo {
    flex-shrink: 0;
}

.header-logo .site-logo {
    height: 100px;
    width: auto;
}

.header-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.header-nav .nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.header-nav .nav-menu li {
    margin: 0;
}

.header-nav .nav-menu a {
    color: var(--baby-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 14px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: block;
}

.header-nav .nav-menu a:hover {
    color: var(--baby-pink);
    background: var(--baby-cream);
}

.header-nav .nav-menu .current-menu-item a,
.header-nav .nav-menu .current_page_item a {
    background: var(--gradient-fun);
    color: white;
}

/* Search */
.header-search {
    flex-shrink: 0;
}

.header-search form {
    display: flex;
    align-items: center;
    background: var(--baby-gray-light);
    border-radius: 50px;
    padding: 0;
    overflow: hidden;
}

.header-search input[type="search"] {
    border: none;
    background: transparent;
    padding: 10px 15px;
    width: 180px;
    font-size: 14px;
    outline: none;
}

.header-search input[type="search"]:focus {
    box-shadow: none;
}

.header-search button {
    background: var(--baby-pink) !important;
    border: none !important;
    padding: 10px 15px !important;
    border-radius: 0 50px 50px 0 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
}

.header-search button svg {
    color: white;
}

.header-search button:hover {
    background: var(--baby-purple) !important;
    transform: none !important;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none !important;
    border: none !important;
    padding: 10px !important;
    cursor: pointer;
    box-shadow: none !important;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--baby-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   Babyhallen Footer
   ========================================================================== */

.babyhallen-footer {
    margin-top: auto;
}

.footer-main {
    background: var(--baby-dark);
    padding: 60px 0 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h3,
.footer-col h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-logo-text {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-fun);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-col p {
    color: #A0AEC0;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #A0AEC0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col ul a:hover {
    color: var(--baby-pink);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #A0AEC0;
}

.contact-list svg {
    color: var(--baby-purple);
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--baby-pink);
    transform: translateY(-3px);
}

.footer-bottom {
    background: #1A202C;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: #718096;
    font-size: 14px;
    margin: 0;
}

/* ==========================================================================
   Main Content
   ========================================================================== */

#main-content {
    min-height: 60vh;
}

/* ==========================================================================
   Responsive Header & Footer
   ========================================================================== */

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        padding: 15px 20px;
    }

    .header-logo {
        order: 1;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }

    .header-nav {
        order: 4;
        width: 100%;
        display: none;
    }

    .header-nav.active {
        display: block;
    }

    .header-nav .nav-menu {
        flex-direction: column;
        padding: 20px 0;
        gap: 5px;
    }

    .header-nav .nav-menu a {
        padding: 12px 20px;
    }

    .header-search {
        order: 3;
    }

    .header-search input[type="search"] {
        width: 120px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-list li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* ==========================================================================
   Mega Menu - Webhallen Style
   ========================================================================== */

/* Header Top Bar */
.header-top {
    background: var(--baby-white);
    border-bottom: 1px solid var(--baby-gray-light);
}

.header-top .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 30px;
}

/* Cart Icon */
.header-cart {
    flex-shrink: 0;
}

.header-cart .cart-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--baby-gray-light);
    border-radius: 50%;
    color: var(--baby-dark);
    transition: all 0.3s ease;
}

.header-cart .cart-link:hover {
    background: var(--baby-pink);
    color: white;
}

.header-cart .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--baby-pink);
    color: white;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-cart .cart-link:hover .cart-count {
    background: var(--baby-purple);
}

/* Navigation Bar */
.header-nav {
    background: var(--baby-dark);
}

.header-nav .header-container {
    padding: 0 30px;
}

/* Mega Menu */
.mega-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.mega-menu-item {
    position: relative;
}

.mega-menu-item > a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.mega-menu-item > a:hover,
.mega-menu-item.active > a {
    background: rgba(255, 255, 255, 0.1);
    border-bottom-color: var(--baby-pink);
}

.mega-menu-item.has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 8px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.3s ease;
}

.mega-menu-item.has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Mega Dropdown */
.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 600px;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 15px 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.mega-menu-item:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-dropdown-inner {
    padding: 25px 30px;
}

/* Dropdown Header */
.mega-dropdown-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--baby-gray-light);
}

.mega-dropdown-header .view-all {
    color: var(--baby-pink);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mega-dropdown-header .view-all:hover {
    color: var(--baby-purple);
}

/* Dropdown Columns */
.mega-dropdown-columns {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 25px;
}

.mega-column {
    min-width: 0;
}

.mega-column-title {
    display: block;
    color: var(--baby-dark);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mega-column-title:hover {
    color: var(--baby-pink);
}

.mega-subcategories {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-subcategories li {
    margin-bottom: 8px;
}

.mega-subcategories a {
    color: var(--baby-gray);
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
    padding: 2px 0;
}

.mega-subcategories a:hover {
    color: var(--baby-pink);
    padding-left: 5px;
}

/* Position dropdowns near edges differently */
.mega-menu-item:nth-last-child(-n+2) .mega-dropdown {
    left: auto;
    right: 0;
}

/* ==========================================================================
   Mega Menu Responsive
   ========================================================================== */

@media (max-width: 992px) {
    .mega-dropdown {
        min-width: 450px;
    }

    .mega-dropdown-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-top .header-container {
        flex-wrap: wrap;
        padding: 15px 20px;
    }

    .header-logo {
        order: 1;
        flex: 1;
    }

    .header-search {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }

    .header-search form {
        width: 100%;
    }

    .header-search input[type="search"] {
        width: 100%;
        flex: 1;
    }

    .header-cart {
        order: 2;
    }

    .mobile-menu-toggle {
        order: 2;
        display: flex !important;
        margin-left: 10px;
    }

    .header-nav {
        display: none;
    }

    .header-nav.active {
        display: block;
    }

    .mega-menu {
        flex-direction: column;
    }

    .mega-menu-item > a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mega-dropdown {
        position: static;
        min-width: 100%;
        box-shadow: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: var(--baby-gray-light);
    }

    .mega-menu-item.active .mega-dropdown {
        display: block;
    }

    .mega-dropdown-inner {
        padding: 20px;
    }

    .mega-dropdown-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mega-column {
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .mega-column:last-child {
        border-bottom: none;
    }
}

/* ==========================================================================
   Homepage - Target Style Layout
   ========================================================================== */

.homepage {
    background: var(--baby-white);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-soft);
    padding: 60px 0;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--baby-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--baby-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-btn {
    display: inline-block;
    background: var(--gradient-fun);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

.hero-image {
    position: relative;
    height: 400px;
}

.hero-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: var(--gradient-fun);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 4s ease-in-out infinite;
}

/* Category Grid */
.categories-section {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--baby-dark);
    text-align: center;
    margin-bottom: 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.category-card {
    background: white;
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--baby-pink);
}

.category-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--baby-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-placeholder {
    color: var(--baby-pink);
}

.category-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--baby-dark);
    margin: 0;
}

.section-cta {
    text-align: center;
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--baby-pink);
    color: var(--baby-pink);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--baby-pink);
    color: white;
}

/* Promo Section */
.promo-section {
    padding: 40px 0;
    background: var(--baby-gray-light);
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
}

.promo-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    align-items: flex-end;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: var(--promo-color, var(--baby-pink));
    opacity: 0.1;
    border-radius: 0 0 0 100%;
}

.promo-card.promo-large {
    grid-column: 1;
}

.promo-content {
    position: relative;
    z-index: 1;
}

.promo-badge {
    display: inline-block;
    background: var(--promo-color, var(--baby-pink));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.promo-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--baby-dark);
    margin-bottom: 8px;
}

.promo-content p {
    color: var(--baby-gray);
    margin-bottom: 15px;
    font-size: 14px;
}

.promo-btn {
    display: inline-block;
    color: var(--promo-color, var(--baby-pink));
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}

.promo-btn:hover {
    text-decoration: underline;
}

/* Products Section */
.products-section {
    padding: 60px 0;
}

.products-section.products-sale {
    background: var(--baby-cream);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header .section-title {
    margin-bottom: 0;
    text-align: left;
}

.section-link {
    color: var(--baby-pink);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.section-link:hover {
    color: var(--baby-purple);
}

/* Product Carousel */
.products-carousel {
    position: relative;
    overflow: hidden;
}

.products-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.products-track::-webkit-scrollbar {
    display: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: white !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    transition: all 0.3s ease !important;
}

.carousel-btn:hover {
    background: var(--baby-pink) !important;
    color: white;
    transform: translateY(-50%) scale(1.1) !important;
}

.carousel-btn svg {
    color: var(--baby-dark);
    transition: color 0.3s ease;
}

.carousel-btn:hover svg {
    color: white;
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

/* Product Card */
.product-card {
    flex: 0 0 75px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-link {
    text-decoration: none;
    display: block;
}

.product-image {
    position: relative;
    height: 60px;
    overflow: hidden;
    background: var(--baby-gray-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-badge.sale {
    background: var(--baby-orange);
    color: white;
}

.product-info {
    padding: 5px;
}

.product-name {
    font-size: 8px;
    font-weight: 600;
    color: var(--baby-dark);
    margin-bottom: 2px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 9px;
    font-weight: 700;
    color: var(--baby-pink);
}

.product-price del {
    color: var(--baby-gray);
    font-weight: 400;
    font-size: 13px;
    margin-right: 5px;
}

.product-price ins {
    text-decoration: none;
}

.add-to-cart-btn {
    width: 100%;
    padding: 4px !important;
    background: var(--baby-gray-light) !important;
    border: none !important;
    border-radius: 0 !important;
    color: var(--baby-dark) !important;
    font-size: 7px !important;
    font-weight: 600 !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.add-to-cart-btn:hover {
    background: var(--baby-pink) !important;
    color: white !important;
}

.add-to-cart-btn svg {
    transition: color 0.3s ease;
}

.add-to-cart-btn:hover svg {
    color: white;
}

/* Feature Banner */
.feature-banner {
    padding: 50px 0;
    background: var(--baby-dark);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    color: white;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    color: var(--baby-pink);
}

.feature-item h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

/* Story Section */
.story-section {
    padding: 60px 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.story-card {
    border-radius: 20px;
    overflow: hidden;
}

.story-image {
    height: 300px;
    position: relative;
}

.story-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
}

.story-overlay h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.story-overlay p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.story-btn {
    display: inline-block;
    background: white;
    color: var(--baby-dark);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.story-btn:hover {
    transform: scale(1.05);
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: var(--gradient-fun);
}

.newsletter-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 15px;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
}

.newsletter-form button {
    background: var(--baby-dark) !important;
    color: white !important;
    padding: 15px 30px !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.newsletter-form button:hover {
    background: white !important;
    color: var(--baby-dark) !important;
    transform: none !important;
}

.no-products {
    color: var(--baby-gray);
    text-align: center;
    padding: 40px;
}

/* ==========================================================================
   Homepage Responsive
   ========================================================================== */

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .promo-grid {
        grid-template-columns: 1fr 1fr;
    }

    .promo-card.promo-large {
        grid-column: span 2;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .category-card {
        padding: 20px 15px;
    }

    .category-image {
        width: 80px;
        height: 80px;
    }

    .promo-grid {
        grid-template-columns: 1fr;
    }

    .promo-card.promo-large {
        grid-column: 1;
    }

    .product-card {
        flex: 0 0 65px;
    }

    .product-image {
        height: 50px;
    }

    .carousel-btn {
        display: none !important;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .story-image {
        height: 250px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input[type="email"],
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .category-image {
        width: 60px;
        height: 60px;
    }

    .category-name {
        font-size: 0.9rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        flex: 0 0 55px;
    }
}
