/* Paminakids-inspired Design Updates */

/* ===== GLOBAL OVERFLOW FIX ===== */
html,
body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

/* ===== TYPOGRAPHY ===== */
body {
    font-family: 'Nunito', 'Poppins', sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Poppins', 'Nunito', sans-serif !important;
}

/* Navigation font */
.main-navigation a,
.tf-header-bar a,
#header a {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ===== COLOR SCHEME - Soft Pink Accents ===== */
:root {
    --pamina-pink: #E86498;
    --pamina-pink-light: #fce7f3;
    --pamina-pink-dark: #be185d;
    --pamina-cream: #faf8f5;
    --pamina-text: #333333;
}

/* Primary buttons with pink accent */
.tf-btn.btn-fill-red,
.tf-btn-line.style-primary,
.btn-primary {
    background-color: var(--pamina-pink) !important;
    border-color: var(--pamina-pink) !important;
}

.tf-btn.btn-fill-red:hover,
.tf-btn-line.style-primary:hover,
.btn-primary:hover {
    background-color: var(--pamina-pink-dark) !important;
    border-color: var(--pamina-pink-dark) !important;
}

/* Link hover colors */
.link:hover,
a:hover {
    color: var(--pamina-pink) !important;
}

/* ===== FULL-WIDTH BANNER SLIDER ===== */
.tf-slideshow {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    position: relative;
    box-sizing: border-box;
}

.tf-slideshow .slider-wrap {
    height: 70vh !important;
    min-height: 450px;
    max-height: 700px;
}

.tf-slideshow .sld_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tf-slideshow .sld_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Banner text styling - elegant serif look */
.tf-slideshow .title_sld {
    font-family: 'Poppins', serif !important;
    font-weight: 300 !important;
    font-size: clamp(36px, 6vw, 72px) !important;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.tf-slideshow .sub-text_sld {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 400;
    font-size: clamp(14px, 2vw, 18px) !important;
    letter-spacing: 1px;
    margin-top: 16px;
}

/* Banner CTA buttons - ghost style */
.tf-slideshow .tf-btn {
    background: transparent !important;
    border: 2px solid #fff !important;
    color: #fff !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: 30px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 13px;
}

.tf-slideshow .tf-btn:hover {
    background: #fff !important;
    color: var(--pamina-pink) !important;
}

/* ===== CATEGORY CARDS ===== */
.wg-cls-2 {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wg-cls-2:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.wg-cls-2 .cls-content_wrap {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(8px);
}

.wg-cls-2 .tag_cls {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--pamina-text);
}

/* ===== PRODUCT CARDS ===== */
.card-product {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.card-product:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.card-product_wrapper {
    position: relative;
    overflow: hidden;
    background: var(--pamina-cream);
}

.card-product_wrapper .img-product {
    transition: transform 0.5s ease;
}

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

.card-product_info {
    padding: 16px;
}

.card-product_info .name-product {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: var(--pamina-text);
    line-height: 1.4;
}

.card-product_info .price-prd {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--pamina-pink) !important;
}

/* NEW badge for products */
.card-product .badge-new {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--pamina-pink);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 10px;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SECTION TITLES ===== */
.flat-title .title {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 300 !important;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--pamina-text);
}

.flat-title .title.type-thin {
    font-weight: 200 !important;
}

/* ===== HEADER UPDATES ===== */
.tf-header-bar,
#header {
    background: #fff;
    border-bottom: 1px solid #f5f5f5;
}

/* Login/Register button with pink */
.header-btn-login,
.btn-login {
    background-color: var(--pamina-pink) !important;
    color: #fff !important;
    border-radius: 25px;
    padding: 10px 24px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 13px;
    border: none;
    transition: all 0.3s ease;
}

.header-btn-login:hover,
.btn-login:hover {
    background-color: var(--pamina-pink-dark) !important;
}

/* ===== PRODUCT DETAIL PAGE ===== */
.tf-product-info-title .name {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500;
    font-size: clamp(24px, 4vw, 32px);
    color: var(--pamina-text);
}

.tf-product-info-wrap {
    font-family: 'Nunito', sans-serif;
}

/* Gender & Color badges */
.tf-product-info-title .badge {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
}

/* ===== SIDEBAR FILTERS ===== */
.tf-sidebar-shop .facet-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    color: var(--pamina-text);
}

.tf-sidebar-shop .facet-link {
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
}

.tf-sidebar-shop .facet-link.active,
.tf-sidebar-shop .facet-link:hover {
    color: var(--pamina-pink) !important;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 991px) {
    .tf-slideshow .slider-wrap {
        height: 50vh !important;
        min-height: 350px;
        max-height: 500px;
    }

    .tf-slideshow .title_sld {
        font-size: clamp(24px, 5vw, 36px) !important;
        letter-spacing: 2px;
    }
}

@media (max-width: 767px) {
    .tf-slideshow {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    .tf-slideshow .slider-wrap {
        height: 60vw !important;
        min-height: 280px;
        max-height: 400px;
    }

    .tf-slideshow .title_sld {
        font-size: 24px !important;
        letter-spacing: 1px;
    }

    .tf-slideshow .tf-btn {
        padding: 10px 20px;
        font-size: 11px;
    }

    .card-product_info {
        padding: 12px;
    }

    .card-product_info .name-product {
        font-size: 13px;
    }
}

/* ===== SMOOTH ANIMATIONS ===== */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Page transitions */
.fade-item {
    animation-duration: 0.8s;
}

/* Loader/Preload styling */
.preload .spinner {
    border-color: var(--pamina-pink-light);
    border-top-color: var(--pamina-pink);
}