:root {
    --primary-blue: #0071e3;
    --dark-base: #1d1d1f;
    --discount-red: #d70015;
    --bg-soft: #f5f5f7;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --accent-gold: #bf953f;
}

html, body {
    overflow-x: hidden !important;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Cairo', sans-serif;
    background-color: var(--white);
    color: var(--dark-base);
    scroll-behavior: smooth;
}

main { display: block; }
.fw-900 { font-weight: 900; }
.category-divider { border-top: 1px solid #eee; margin: 40px 0; }
.row { margin-left: 0; margin-right: 0; }

.navbar {
    background: var(--glass-bg);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 0;
    z-index: 1050;
}

.navbar-brand {
    font-weight: 900;
    font-size: 1.8rem;
    color: #000 !important;
    letter-spacing: -1px;
    background: linear-gradient(90deg, #000, var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    font-weight: 600;
    color: var(--dark-base) !important;
    margin: 0 15px;
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: 0.3s;
}

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

.hero-wrapper { padding: 30px 0; }

.main-banner {
    border-radius: 40px;
    height: 600px;
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0.1) 100%),
                url('https://images.unsplash.com/photo-1616348436168-de43ad0db179?q=80&w=2000');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.banner-text {
    padding-right: 10%;
    color: var(--white);
    max-width: 800px;
    z-index: 2;
}

.banner-text h1 {
    font-weight: 900;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-main {
    background: var(--primary-blue);
    color: var(--white);
    padding: 18px 50px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-block;
}

.btn-main:hover {
    background: #0077ed;
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.4);
    color: var(--white);
}

.circle-box {
    width: 120px;
    height: 120px;
    background: var(--bg-soft);
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 2.5rem;
    color: var(--dark-base);
    transition: 0.5s;
}

.cat-circle-link:hover .circle-box {
    background: var(--dark-base);
    color: var(--white);
    transform: rotate(-10deg) scale(1.1);
}

.product-card-premium {
    background: var(--white);
    border-radius: 35px;
    padding: 25px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-premium:hover {
    transform: translateY(-15px);
    box-shadow: 0 50px 80px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.promo-tag {
    position: absolute;
    top: 25px;
    left: 25px;
    background: var(--discount-red);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.75rem;
    z-index: 5;
    box-shadow: 0 5px 15px rgba(215, 0, 21, 0.3);
}

.product-img-holder {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
}

.product-img-holder img {
    max-height: 90%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 0.6s;
}

.product-card-premium:hover .product-img-holder img {
    transform: scale(1.1) rotate(3deg);
}

.price-now-label {
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--dark-base);
    letter-spacing: -0.5px;
}

.price-was-label {
    text-decoration: line-through;
    color: #86868b;
    font-size: 0.9rem;
    margin-bottom: -5px;
    display: block;
}

.add-btn-circle {
    width: 55px;
    height: 55px;
    border-radius: 20px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border: none;
    transition: 0.4s;
    cursor: pointer;
}

.add-btn-circle:hover {
    background: var(--primary-blue);
    transform: rotate(90deg);
}

.add-btn-circle:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

.features-grid {
    background: #000;
    border-radius: 60px;
    padding: 120px 60px;
    margin: 100px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.feature-item {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    height: 100%;
    transition: 0.4s;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.testimonial-card {
    background: var(--bg-soft);
    border-radius: 30px;
    padding: 35px;
    height: 100%;
    transition: 0.4s;
    border: 1px solid transparent;
}

.testimonial-card:hover {
    background: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 15px;
}

.stars-row {
    color: #ffcc00;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.footer-premium {
    padding: 100px 0 40px;
    background: var(--bg-soft);
    border-radius: 60px 60px 0 0;
    margin-top: 80px;
}

.social-link-box {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-base);
    margin-left: 12px;
    transition: 0.4s;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.social-link-box:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-5px);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #6c757d;
    text-decoration: none;
    transition: 0.3s;
}

.footer-contact-item:hover { color: var(--primary-blue); }

.footer-contact-item i {
    width: 35px;
    height: 35px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    font-size: 0.9rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.02);
}

.wa-contact-fixed {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 800;
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: 0.4s;
}

.wa-contact-fixed:hover {
    transform: scale(1.05);
    background: #1ebe5d;
    color: white;
}

p.text-muted.small.mb-0 {
    display: block !important;
    width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

@media (max-width: 768px) {
    .main-banner { height: 25vh !important; border-radius: 20px; }
    .banner-text h1 { font-size: 1.8rem; }
    .features-grid { padding: 40px 15px; border-radius: 30px; }
    .wa-contact-fixed span { display: none; }
    h2.fw-900.mt-2 { font-size: 1rem !important; }
    a.btn.btn-dark.rounded-pill.px-4.py-2 { font-size: small; }
    
    .row.g-4 > div {
        width: 50% !important;
        padding: 5px !important;
    }

    .product-card-premium {
        padding: 10px !important;
        height: 100%;
    }

    .product-card-premium h3.fw-bold.mb-1.text-truncate {
        font-size: small !important;
        font-weight: normal !important;
    }

    p.text-muted.small.mb-0.d-md-block { font-size: x-small; }
    h2#cat-heading-2, h2#cat-heading-28 { font-size: medium !important; }
    
    section.category-section.py-5 { padding: 0 !important; }
    .d-flex.align-items-end.justify-content-between.mt-auto.pt-3 { padding: 0 !important; }
    .col-lg-3.col-md-6.col-6 { padding-top: 0 !important; margin-top: 10px; }
    span.promo-tag { font-size: xx-small; }
    
    .product-img-holder { height: 140px !important; }
    .product-card-premium h6 { font-size: 0.9rem; }
    .price-now-label { font-size: 0.9rem !important; }
    .add-btn-circle { width: 35px; height: 35px; font-size: 0.8rem; }
}

.d-md-flex.align-items-center.justify-content-between.mb-5 {
    display: flex;
    align-items: center;
}


