/* ===== Modern Responsive Frontend Fix ===== */

:root {
    --primary: #0aa37f;
    --primary-dark: #08775d;
    --secondary: #1f2937;
    --soft-bg: #f6fbf9;
    --border: #e5e7eb;
    --text: #111827;
    --muted: #6b7280;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --radius: 16px;
}

body {
    background: #ffffff;
    color: var(--text);
    font-family: "Source Sans Pro", Arial, sans-serif;
}

a {
    transition: 0.25s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Header ===== */

.site-header {
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 20;
}

.site-brand h4 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    letter-spacing: -0.5px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-phone .icon {
    width: 44px;
    height: 44px;
    background: var(--soft-bg);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-phone .text p {
    margin: 0;
    line-height: 1.3;
}

.header-phone .number {
    color: var(--secondary);
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-menu .menu-item a {
    color: var(--secondary);
    font-weight: 700;
    padding: 12px 16px;
    border-radius: 999px;
}

.main-menu .menu-item a:hover {
    background: var(--soft-bg);
    color: var(--primary);
}

/* ===== Category + Search + Cart ===== */

.category-trigger {
    background: var(--primary);
    color: #ffffff !important;
    border-radius: 12px;
    padding: 13px 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-menu {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.category-menu .cat-item a {
    padding: 12px 16px;
    color: var(--secondary);
    font-weight: 600;
}

.category-menu .cat-item a:hover {
    background: var(--soft-bg);
    color: var(--primary);
}

.header-search-block form {
    display: flex;
    border: 2px solid var(--primary);
    border-radius: 999px;
    overflow: hidden;
    background: #ffffff;
}

.header-search-block input {
    border: none !important;
    outline: none !important;
    height: 48px;
    padding: 0 18px;
    flex: 1;
}

.header-search-block button {
    border: none;
    background: var(--primary);
    color: #ffffff;
    padding: 0 24px;
    font-weight: 800;
}

.header-search-block button:hover {
    background: var(--primary-dark);
}

.cart-block {
    background: var(--soft-bg);
    border-radius: 14px;
    padding: 10px 14px;
}

/* ===== Sticky Header ===== */

.fixed-header.common-sticky {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
}

/* ===== Hero Slider ===== */

.hero-area {
    background: linear-gradient(135deg, #f1fff9 0%, #ffffff 55%, #eef8ff 100%);
}

.single-slide {
    min-height: 460px;
    display: flex !important;
    align-items: center;
}

.home-content-inner h1 {
    font-size: 46px;
    line-height: 1.08;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.home-content-inner h2 {
    font-size: 18px;
    color: var(--muted);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-outlined--primary {
    background: var(--primary) !important;
    color: #ffffff !important;
    border: 2px solid var(--primary) !important;
    border-radius: 999px !important;
    padding: 13px 28px !important;
    font-weight: 800 !important;
    box-shadow: 0 12px 24px rgba(10, 163, 127, 0.25);
}

.btn-outlined--primary:hover {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    transform: translateY(-2px);
}

.hero-partial-image img {
    max-height: 360px;
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.12));
}

/* ===== Feature Box ===== */

.feature-box {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px 22px;
    background: #ffffff;
    transition: 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box .icon {
    width: 56px;
    height: 56px;
    background: var(--soft-bg);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}

.feature-box h5 {
    font-weight: 800;
    color: var(--secondary);
}

.feature-box p {
    color: var(--muted);
}

/* ===== Promo Banner ===== */

.promo-image {
    display: block;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.promo-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: 0.4s ease;
}

.promo-image:hover img {
    transform: scale(1.05);
}

/* ===== Product Card ===== */

.product-slider {
    margin-top: 10px;
}

.product-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    transition: 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.product-header {
    padding: 16px 16px 8px;
}

.product-header h3 {
    font-size: 16px;
    line-height: 1.35;
    min-height: 44px;
    margin-bottom: 6px;
}

.product-header h3 a {
    color: var(--secondary);
    font-weight: 800;
}

.product-header h3 a:hover {
    color: var(--primary);
}

.product-header .author {
    color: var(--muted);
    font-size: 14px;
}

.product-card--body {
    padding: 0 16px 18px;
}

.card-image {
    background: var(--soft-bg);
    border-radius: 14px;
    overflow: hidden;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
}

.hover-btns .single-btn {
    background: var(--primary);
    color: #ffffff;
    border-radius: 50%;
}

.price-block {
    margin-top: 14px;
}

.price-block .price {
    color: var(--primary);
    font-size: 18px;
    font-weight: 900;
}

/* ===== Footer ===== */

.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    margin-top: 50px;
}

.site-footer .footer-title h3,
.site-footer .brand-footer {
    color: #ffffff;
}

.site-footer a {
    color: #cbd5e1;
}

.site-footer a:hover {
    color: #ffffff;
}

.footer-contact p {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.footer-contact .label {
    color: #ffffff;
    font-weight: 800;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
}

.payment-block img {
    max-height: 34px;
}

.notification-area {
    display: none;
}

/* ===== Mobile Header ===== */

.mobile-header {
    background: #ffffff;
    box-shadow: var(--shadow);
}

.mobile-header .site-brand h4 {
    font-size: 22px;
}

.mobile-header-btns .link-icon {
    background: var(--soft-bg);
    color: var(--primary);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.off-canvas-wrapper {
    background: #ffffff;
}

.search-box.offcanvas form {
    display: flex;
    border: 2px solid var(--primary);
    border-radius: 999px;
    overflow: hidden;
}

.search-box.offcanvas input {
    border: none;
    padding: 12px 14px;
    flex: 1;
}

.search-box.offcanvas button {
    border: none;
    background: var(--primary);
    color: #ffffff;
    padding: 0 16px;
}

/* ===== Responsive ===== */

@media (max-width: 1199px) {
    .home-content-inner h1 {
        font-size: 38px;
    }

    .card-image {
        height: 170px;
    }
}

@media (max-width: 991px) {
    .single-slide {
        min-height: auto;
        padding: 45px 0;
    }

    .home-content-inner {
        text-align: center;
    }

    .home-content-inner h1 {
        font-size: 32px;
    }

    .home-content-inner h2 {
        font-size: 16px;
    }

    .hero-partial-image {
        position: static !important;
        margin-bottom: 20px;
        text-align: center;
    }

    .hero-partial-image img {
        max-height: 260px;
    }

    .section-padding {
        padding-top: 45px;
        padding-bottom: 45px;
    }
}

@media (max-width: 767px) {
    .container {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .mobile-header .row {
        row-gap: 12px;
    }

    .category-trigger {
        justify-content: center;
        padding: 11px 14px;
        font-size: 14px;
    }

    .home-content-inner h1 {
        font-size: 27px;
    }

    .home-content-inner h2 {
        font-size: 15px;
    }

    .btn-outlined--primary {
        padding: 11px 22px !important;
    }

    .feature-box {
        padding: 22px 18px;
        text-align: center;
    }

    .feature-box .icon {
        margin-left: auto;
        margin-right: auto;
    }

    .promo-image img {
        height: 180px;
    }

    .card-image {
        height: 180px;
    }

    .product-header h3 {
        min-height: auto;
    }

    .site-footer {
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-bottom {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .home-content-inner h1 {
        font-size: 24px;
    }

    .hero-partial-image img {
        max-height: 220px;
    }

    .card-image {
        height: 160px;
    }

    .price-block .price {
        font-size: 16px;
    }
}