/* --- IMPORTS --- */
@import url("style/home-page.css");
@import url("style/product-detail-page.css");
@import url("style/shop-page.css");
@import url("style/product-card.css");
@import url("style/subcategory-card.css"); /* ADDED THIS IMPORT */


/* --- GLOBAL & ROOT STYLES --- */
:root {
    --primary-pink: #E60073;
    --primary-gradient: linear-gradient(90deg, #E60073, #993399);
    --secondary-black: #1a1a1a;
    --light-bg: #fdf6fa;
    --border-color: #eee;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f9fa;
    padding-bottom: 70px; /* Add padding to prevent content from being hidden by bottom nav */
}

.font-script { font-family: 'Dancing Script', cursive; }
.text-pink { color: var(--primary-pink); }
.btn-gradient {
    background-image: var(--primary-gradient);
    color: white; border: none; transition: all var(--transition-speed) ease;
    font-weight: 500;
}
.btn-gradient:hover {
    color: white; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* --- PROFESSIONAL HEADER STYLES (SHARED) --- */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.main-header-bar { padding: 0.75rem 0; }
.navbar-brand img { max-height: 50px; }

.main-search .form-control {
    border-radius: 50rem; padding: 0.75rem 3rem 0.75rem 1.5rem;
    border: 1.5px solid var(--primary-pink); transition: all 0.3s ease;
    background-color: #f8f8f8;
}
.main-search .form-control:hover,
.main-search .form-control:focus {
    background-color: #fff;
    box-shadow: 0 0 8px rgba(230, 0, 115, 0.25);
}
.main-search .search-btn {
    position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
    border: none; background: transparent; color: #888;
    padding: 0 10px; font-size: 1.1rem; cursor: pointer; transition: all 0.3s ease;
}
.main-search .search-btn:hover { color: var(--primary-pink); text-shadow: 0 0 6px var(--primary-pink); }

.header-call .call-icon {
    font-size: 1.8rem;
    color: var(--primary-pink);
}
.header-call .call-text {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: 500;
}
.header-call .call-number {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary-black);
    text-decoration: none;
    line-height: 1.2;
    transition: color 0.3s ease;
}
.header-call .call-number:hover {
    color: var(--primary-pink);
}

.header-actions { gap: 22px; }
.header-actions .header-icon {
    font-size: 1.5rem; color: #333; text-decoration: none; transition: color 0.3s ease;
}
.header-actions .header-icon:hover { color: var(--primary-pink); }
.header-actions .header-cart {
    display: flex; align-items: center; font-size: 1.6rem; color: #333;
    text-decoration: none; transition: color 0.3s ease;
}
.header-actions .header-cart:hover { color: var(--primary-pink); }
.header-cart .cart-details { line-height: 1.2; text-align: left; }
.header-cart .cart-text { font-size: 0.8rem; color: #666; display: block; }
.header-cart .cart-price { font-size: 0.9rem; font-weight: 700; color: #000; }

.header-icon-mobile {
    font-size: 1.3rem;
    color: var(--secondary-black);
    text-decoration: none;
    margin-left: 14px;
    transition: color 0.3s ease;
}
.header-icon-mobile:hover {
    color: var(--primary-pink);
}

.theme-navbar {
    background-image: var(--primary-gradient); padding: 0; border-top: 1px solid #e9ecef;
}
.theme-navbar .nav-link {
    color: rgba(255, 255, 255, 0.9); font-weight: 500; padding: 0.8rem 1rem;
    font-size: 0.9rem; text-transform: uppercase; transition: all 0.3s ease;
    border-radius: 3px;
}
.theme-navbar .nav-link:hover, .theme-navbar .nav-link.active {
    color: #fff; background-color: rgba(0,0,0,0.1);
}
.theme-navbar .navbar-social a {
    padding: 0.8rem 0.6rem;
}
.theme-navbar .dropdown-menu {
    background-color: var(--secondary-black);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 5px 5px;
    padding: 0.5rem 0;
    margin-top: 0;
}
.theme-navbar .dropdown-item {
    color: #ccc;
    padding: 0.5rem 1.5rem;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
}
.theme-navbar .dropdown-item:hover,
.theme-navbar .dropdown-item:focus {
    background-color: var(--primary-pink);
    color: #fff;
}
.theme-navbar .dropdown-divider {
    border-top: 1px solid #444;
}
@media (min-width: 992px) {
    .theme-navbar .dropdown:hover .dropdown-menu {
        display: block;
        animation: fadeIn 0.3s ease-in-out;
    }
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
}


/* --- THEMED FOOTER STYLES (SHARED) --- */
.footer {
    background-color: var(--secondary-black);
    color: #ccc;
    position: relative;
    padding-top: 5rem;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background-image: var(--primary-gradient);
}
.footer .footer-title {
    color: var(--primary-pink);
    font-weight: 700;
    margin-bottom: 1.25rem;
}
.footer .footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}
.footer .footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}
.footer .social-icons a {
    color: #ccc;
    transition: color 0.3s ease;
}
.footer .social-icons a:hover {
    color: var(--primary-pink);
}
.footer .newsletter-form .form-control {
    background-color: #333;
    border-color: #444;
    color: #fff;
}
.footer .newsletter-form .form-control::placeholder {
    color: #888;
}

.footer .payment-icon {
    height: 24px;
    margin: 0 2px;
    vertical-align: middle;
}
.footer .security-icon {
    height: 30px;
    vertical-align: middle;
}
.footer .row p {
    color: #a0a0a0;
    font-size: 0.9rem;
}

/* --- MOBILE & RESPONSIVE STYLES (SHARED) --- */
@media (max-width: 991.98px) {
    .header-call .call-icon {
        font-size: 1.3rem;
    }
    .header-call .call-text {
        font-size: 0.65rem;
        text-transform: none;
    }
    .header-call .call-number {
        font-size: 0.75rem;
    }
    .navbar-toggler {
        padding: .2rem .5rem;
        font-size: 1rem;
    }
}

.mobile-bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 1030; background-color: #f8f8f8;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: flex; justify-content: space-around; padding: 5px 0;
}
.mobile-nav-item {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; flex-grow: 1; text-decoration: none;
    color: #495057; font-size: 0.7rem; text-transform: uppercase;
}
.mobile-nav-item i {
    font-size: 1.5rem; margin-bottom: 2px;
}
.mobile-nav-item:hover { color: var(--primary-pink); }
.mobile-nav-item .icon-active { display: none; }
.mobile-nav-item .icon-inactive { display: inline-block; }
.mobile-nav-item.active { color: var(--primary-pink); }
.mobile-nav-item.active .icon-active { display: inline-block; }
.mobile-nav-item.active .icon-inactive { display: none; }

@media (min-width: 992px) {
    .mobile-bottom-nav { display: none; }
    body { padding-bottom: 0; }
}