/* modern-flat.css
   Overrides and additions for a clean modern-flat design.
   Keep this file scoped to high-level styling tweaks. Component-level styles should stay local.
*/

/* Typography */
body, p, a, h1, h2, h3, h4, h5, h6 {
    font-family: "Inter", "Poppins", sans-serif;
    -webkit-font-smoothing: antialiased;
    color: var(--text-color);
}

h1, h2, h3 {
    font-weight: 600;
}

/* Card look */
.card, .featured__item, .banner__pic, .categories__item {
    border: none !important;
    box-shadow: 0 4px 12px var(--shadow-color) !important;
    border-radius: 16px !important;
}

/* Buttons */
.btn-primary, .add-to-cart-btn, #sendBtn,
.btn-outline-primary:hover {
    background: var(--primary-color) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,.12);
    transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary:hover, .add-to-cart-btn:hover, #sendBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,.18);
}

/* Section titles */
.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}
.section-title h2::after {
    content: "";
    position: absolute;
    width: 60%;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 20%;
    border-radius: 2px;
}

/* Navbar transparency */
.header,
.humberger__open {
    transition: background .3s, box-shadow .3s;
}
/* Desktop: hide the top info bar for a streamlined look */
@media (min-width: 992px) {
    .header__top {
        display: none !important;
    }
    .header {
        padding: 6px 0;
    }
}
/* Start transparent then become solid on scroll */
.header.transparent {
    background: transparent !important;
    box-shadow: none !important;
}
.header.solid {
    background: var(--header-bg) !important;
    box-shadow: 0 2px 10px var(--shadow-color) !important;
}
.header {
    backdrop-filter: blur(10px);
}

/* Smooth hover lift */
.categories__item:hover, .featured__item:hover, .banner__pic:hover {
    transform: translateY(-6px);
}

/* Remove noisy outlines from carousel navs */
.owl-carousel .owl-nav button {
    outline: none !important;
}

/* Toast redesign */
.toast {
    border-radius: 12px !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18) !important;
}

/* Footer flat look */
footer {
    background: var(--footer-bg);
    color: #fff;
}
footer a { color:#fff; }

/* Smooth transitions */
*:where(a, button, .featured__item, .categories__item) {
    transition: all .2s ease;
}

