/* 
   KITIAMA HOMEPAGE - Premium Pink Theme
   Brand Color: #fc7ab5
*/

/* ===== HOMEPAGE CUSTOM PROPERTIES ===== */
.homepage {
    --pink-bg: #FEF0F5;
    --pink-bg-light: #FFF7FA;
    --pink-bg-dark: #FEDEE9;
    --pink-accent: #fc7ab5;
    --pink-accent-dark: #e85c9a;
    --pink-button: #fc7ab5;
    --pink-button-hover: #e85c9a;
    --pink-text: #d44d85;
    --charcoal: #2C2C2C;
    --warm-white: #FFFBF9;

    --gradient-pink: linear-gradient(180deg, var(--pink-bg) 0%, var(--pink-bg-light) 100%);
    --shadow-soft: 0 2px 8px rgba(252, 122, 181, 0.1), 0 4px 16px rgba(252, 122, 181, 0.08);
    --shadow-card: 0 4px 20px rgba(252, 122, 181, 0.12);
}

/* ===== BASE STYLES ===== */
.homepage body,
body.homepage {
    background: var(--pink-bg);
    color: var(--charcoal);
}

/* ===== LUCIDE ICONS ===== */
.lucide-inline {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    background: var(--pink-accent-dark);
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.announcement-bar svg {
    width: 14px;
    height: 14px;
    margin: 0 8px;
    opacity: 0.8;
}

/* ===== HEADER ===== */
.site-header {
    background: var(--pink-bg);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--pink-bg-dark);
}

.header-inner {
    max-width: var(--container-max, 1320px);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: 8px;
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: var(--charcoal);
    font-style: italic;
}

.main-nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--charcoal);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--pink-button);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--pink-button);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-ghost {
    background: transparent;
    color: var(--charcoal);
}

.btn-ghost:hover {
    background: var(--pink-bg-dark);
}

.btn-primary {
    background: var(--pink-button);
    color: white;
}

.btn-primary:hover {
    background: var(--pink-button-hover);
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--charcoal);
    left: 0;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    bottom: -7px;
}

/* ===== HERO SECTION ===== */
.hero-home {
    background: linear-gradient(135deg, var(--pink-bg-dark) 0%, var(--pink-bg) 50%, var(--pink-bg-light) 100%);
    padding: 60px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: var(--container-max, 1320px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.hero-content-home {
    padding: 40px 0;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--warm-white);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    color: var(--pink-text);
    margin-bottom: 24px;
}

.hero-tagline-icon {
    width: 18px;
    height: 18px;
}

.hero-tagline-icon svg {
    width: 100%;
    height: 100%;
    color: var(--pink-button);
}

.hero-title-home {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 300;
    line-height: 1.2;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.hero-title-home strong {
    font-weight: 600;
}

.hero-subtitle-home {
    font-size: 16px;
    line-height: 1.7;
    color: var(--pink-text);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-rose {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--pink-button);
    color: white;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--pink-button);
}

.btn-rose:hover {
    background: var(--pink-button-hover);
    border-color: var(--pink-button-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(194, 125, 132, 0.35);
}

.btn-rose-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--pink-button);
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid var(--pink-button);
    transition: all 0.3s ease;
}

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

.hero-trust {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--pink-bg-dark);
}

.trust-item {
    text-align: left;
}

.trust-number {
    display: block;
    font-size: 28px;
    font-weight: 600;
    color: var(--charcoal);
}

.trust-label {
    font-size: 13px;
    color: var(--pink-text);
}

/* Hero Image Collage */
.hero-collage {
    position: relative;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.hero-image-main {
    width: 280px;
    height: 380px;
    background: linear-gradient(145deg, var(--pink-accent), var(--pink-accent-dark));
    border-radius: 200px 200px 20px 20px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.hero-image-main img {
    max-height: 90%;
    max-width: 90%;
    object-fit: contain;
}

.hero-image-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-image-card {
    width: 160px;
    height: 180px;
    background: var(--warm-white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.hero-image-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ===== BESTSELLERS SECTION ===== */
.bestsellers-section {
    background: var(--warm-white);
    padding: 80px 24px;
}

.bestsellers-container {
    max-width: var(--container-max, 1320px);
    margin: 0 auto;
}

.section-header-pink {
    text-align: center;
    margin-bottom: 48px;
}

.section-header-pink h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 400;
    color: var(--charcoal);
    position: relative;
    display: inline-block;
}

.section-header-pink h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--pink-button);
}

/* Product Grid */
.products-grid-pink {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
    /* Safari compatibility */
}

.product-card-pink {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensure full height */
}

.product-card-pink:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.product-image-pink {
    aspect-ratio: 1;
    width: 100%;
    background: var(--pink-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.product-image-pink img {
    max-width: 85%;
    max-height: 85%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.product-info-pink {
    padding: 16px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name-pink {
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 4px;
    line-height: 1.4;
}

.product-desc-pink {
    font-size: 12px;
    color: var(--pink-text);
    margin-bottom: auto; /* Push following elements to bottom */
}

.product-price-pink {
    font-size: 15px;
    font-weight: 600;
    color: var(--charcoal);
    margin-top: 8px;
    margin-bottom: 8px;
}

.btn-add-cart {
    display: inline-block;
    width: 100%;
    background: var(--pink-button);
    color: white;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    /* margin-top: auto; removed, desc pushes it down */
}

.btn-add-cart:hover {
    background: var(--pink-button-hover);
}

/* ===== PROMO BANNER ===== */
.promo-section {
    background: linear-gradient(135deg, var(--pink-accent) 0%, var(--pink-bg-dark) 100%);
    padding: 80px 24px;
}

.promo-container {
    max-width: var(--container-max, 1320px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.promo-content {
    color: var(--charcoal);
}

.promo-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
}

.promo-subtitle {
    font-size: 18px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.promo-image {
    display: flex;
    justify-content: center;
}

.promo-image img {
    max-width: 350px;
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    background: var(--warm-white);
    padding: 80px 24px;
}

.testimonials-container {
    max-width: var(--container-max, 1320px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr 300px;
    gap: 40px;
    align-items: center;
}

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.testimonial-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.testimonial-subtitle {
    font-size: 14px;
    color: var(--pink-text);
    margin-bottom: 16px;
}

.testimonial-stars {
    color: #FFB800;
    font-size: 16px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 14px;
    color: var(--charcoal);
    line-height: 1.6;
    margin-bottom: 12px;
}

.testimonial-author {
    font-size: 13px;
    color: var(--pink-text);
}

.testimonial-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-circle {
    width: 36px;
    height: 36px;
    background: var(--pink-button);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-circle:hover {
    background: var(--pink-button-hover);
    transform: translateY(-2px);
}

.social-circle svg {
    width: 18px;
    height: 18px;
}

.cta-card {
    padding: 32px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 50;
    /* Increased z-index */
}

.cta-card .btn-rose {
    position: relative;
    z-index: 51;
    cursor: pointer;
    /* Ensure pointer cursor */
}

.cta-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 16px;
}

.cta-card p {
    font-size: 14px;
    color: var(--pink-text);
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-image {
    border-radius: 16px;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

/* ===== FOOTER ===== */
.footer-pink {
    background: var(--pink-bg);
    padding: 60px 24px 30px;
    border-top: 1px solid var(--pink-bg-dark);
}

.footer-container {
    max-width: var(--container-max, 1320px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
}

.footer-brand h4 {
    font-size: 28px;
    font-weight: 600;
    font-style: italic;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--pink-text);
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-col h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 20px;
}

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

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

.footer-col a {
    font-size: 13px;
    color: var(--pink-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--pink-button);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-bottom {
    max-width: var(--container-max, 1320px);
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--pink-bg-dark);
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--pink-text);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-collage {
        display: none;
    }

    .hero-subtitle-home {
        max-width: 100%;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

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

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

    .testimonials-container {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-top: 1px solid var(--pink-bg-dark);
        animation: fadeIn 0.3s ease;
    }

    .main-nav.nav-open {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-home {
        padding: 40px 16px 60px;
    }

    .products-grid-pink {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .products-grid-pink {
        grid-template-columns: 1fr;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .btn-rose,
    .btn-rose-outline {
        width: 100%;
        justify-content: center;
    }
}

/* ===== FOOTER PAYMENT ICONS ===== */
.footer-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
    align-items: center;
}

.footer-payments .payment-icon {
    background: white;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #E8D5CF;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-payments .payment-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.footer-payments .payment-icon svg {
    height: 20px;
    width: auto;
}

.footer-payments svg {
    height: 28px;
    width: auto;
    background: white;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #E8D5CF;
    transition: transform 0.2s ease;
}

.footer-payments svg:hover {
    transform: translateY(-2px);
}

.footer-payments img {
    height: 28px;
    width: auto;
    background: white;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #E8D5CF;
    transition: transform 0.2s ease;
}

.footer-payments img:hover {
    transform: translateY(-2px);
}