@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --red: #C41E3A;
    --red-dark: #9B1B30;
    --red-light: #E8304A;
    --gray-900: #1a1a1a;
    --gray-800: #2d2d2d;
    --gray-700: #404040;
    --gray-600: #555;
    --gray-500: #777;
    --gray-400: #999;
    --gray-300: #bbb;
    --gray-200: #ddd;
    --gray-100: #f0f0f0;
    --gray-50: #f8f8f8;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

.mirrored-icon {
    display: inline-block;
    transform: scaleX(-1);
}

[dir="rtl"] .mirrored-icon {
    transform: scaleX(1);
}

.phone-number {
    direction: ltr !important;
    display: inline-block;
    unicode-bidi: embed;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* TOP BAR */
.top-bar {
    background: #111111;
    color: var(--gray-400);
    font-size: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 12px;
    align-items: center;
}

.top-bar-left a {
    color: var(--gray-300);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.top-bar-left a:hover {
    color: var(--white);
}

.top-bar-left a svg {
    width: 16px;
    height: 16px;
    fill: var(--white);
    transition: var(--transition);
}

.top-bar-left a:hover svg {
    fill: var(--red-light);
}

.top-bar-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.top-bar-right a {
    color: var(--white);
    background: var(--red);
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    transition: var(--transition);
}

.top-bar-right a:hover {
    background: var(--red-dark);
}

.lang-selector {
    display: flex;
    gap: 6px;
    align-items: center;
}

.lang-selector a {
    background: transparent !important;
    padding: 4px 10px !important;
    border: 1px solid var(--gray-700);
    border-radius: 4px;
    font-size: 12px !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--gray-300) !important;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.lang-selector a:hover {
    border-color: var(--red);
    background: rgba(196, 30, 58, 0.2) !important;
    color: var(--white) !important;
}

.lang-selector a.active-lang {
    border-color: var(--red);
    background: var(--red) !important;
    color: var(--white) !important;
}

.lang-selector a svg.flag-icon {
    width: 18px;
    height: 13px;
    border-radius: 2px;
    flex-shrink: 0;
}

.top-bar-right .phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent !important;
    border: 1px solid var(--gray-600);
    color: var(--gray-300) !important;
    font-size: 12px !important;
    padding: 5px 14px !important;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.top-bar-right .phone-btn svg {
    width: 14px;
    height: 14px;
    fill: var(--red-light);
}

.top-bar-right .phone-btn:hover {
    border-color: var(--red);
    color: var(--white) !important;
    background: rgba(196, 30, 58, 0.15) !important;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVBAR */
.navbar {
    background: var(--white);
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 5px;
    align-items: center;
}

.nav-menu>li {
    position: relative;
}

.nav-menu>li>a {
    padding: 12px 20px;
    font-weight: 700;
    font-size: 13px;
    color: var(--gray-800);
    transition: all 0.3s ease;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-menu>li>a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu>li>a:hover,
.nav-menu>li>a.active {
    color: var(--red);
}

.nav-menu>li>a:hover::before,
.nav-menu>li>a.active::before {
    width: 20px;
}

/* DROPDOWN */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    min-width: 260px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-radius: 16px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

/* Main Dropdown Indicator (Points UP) */
.nav-menu > li > .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 30px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
    border-left: 1px solid rgba(0,0,0,0.05);
    border-top: 1px solid rgba(0,0,0,0.05);
    z-index: 1;
}

.nav-menu>li:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 24px;
    font-size: 14px;
    color: var(--gray-700);
    transition: all 0.2s ease;
    font-weight: 600;
}

.dropdown-menu li a:hover {
    background: #fcfcfc;
    color: var(--red);
    padding-left: 28px;
}

/* NESTED DROPDOWN */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: -15px;
    left: 100%;
    margin-left: 10px;
    transform: translateX(10px);
}

.dropdown-submenu:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Submenu Indicator (Points LEFT) */
.dropdown-submenu > .dropdown-menu::before {
    content: '';
    position: absolute;
    top: 25px;
    left: -6px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
    border-left: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    border-top: none;
    z-index: 1;
}

.dropdown-submenu>a::after {
    content: " ▸";
    float: right;
}


.nav-search {
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    transition: var(--transition);
    border-radius: 6px;
}

.nav-search svg {
    width: 22px;
    height: 22px;
    fill: var(--gray-600);
    transition: var(--transition);
}

.nav-search:hover svg {
    fill: var(--red);
}

.nav-search:hover {
    background: rgba(196, 30, 58, 0.06);
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition);
}

/* HERO */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.6) 50%, rgba(196, 30, 58, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content .container {
    width: 100%;
}

.hero-text-box {
    max-width: 700px;
}

.hero-text-box h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 52px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-text-box h1 span {
    color: var(--red);
}

.hero-text-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 400;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #8b1529;
    color: var(--white);
    padding: 12px 32px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 21, 41, 0.3);
    background: #a71d31;
}

.hero-btn span {
    transition: transform 0.3s ease;
}

.hero-btn:hover span {
    transform: translateX(5px);
}

.hero-btn:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

.hero-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.hero-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.hero-dots span.active {
    background: var(--red);
    border-color: var(--white);
    width: 32px;
    border-radius: 6px;
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.section-title .line {
    width: 60px;
    height: 4px;
    background: var(--red);
    margin: 0 auto;
    border-radius: 2px;
}

.section-title p {
    color: var(--gray-500);
    margin-top: 15px;
    font-size: 15px;
}

/* PRODUCTS GRID */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.product-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--gray-200);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--red);
}

.product-card-img {
    height: 220px;
    background: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: none;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
    transition: var(--transition);
}

.product-card:hover .product-card-img img {
    transform: scale(1.08);
}

.product-card-img .icon {
    font-size: 64px;
    color: var(--red);
    transition: var(--transition);
}

.product-card:hover .icon {
    transform: scale(1.1);
}

.product-card-body {
    padding: 24px;
}

.product-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.product-card-body p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--red);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.product-link:hover {
    gap: 10px;
    color: var(--red-dark);
}

/* BRANDS */
.brands-section {
    background: var(--gray-50);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    align-items: center;
}

.brand-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--gray-600);
}

.brand-card:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-3px);
}

/* MAP SECTION (Together Stronger) */
.map-section {
    background: linear-gradient(135deg, var(--gray-900), var(--red-dark));
    color: var(--white);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.map-section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.map-section p {
    color: var(--gray-300);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* ABOUT PREVIEW */
.about-preview {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.about-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 15px;
}

.about-img {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    border-radius: 16px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    padding: 30px;
    box-shadow: var(--shadow-lg);
}

/* CTA */
.cta-section {
    background: var(--red);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.cta-section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.cta-btn {
    display: inline-block;
    background: var(--white);
    color: var(--red);
    padding: 14px 40px;
    border-radius: 8px;
    font-weight: 700;
    transition: var(--transition);
    text-transform: uppercase;
}

.cta-btn:hover {
    background: var(--gray-900);
    color: var(--white);
    transform: translateY(-2px);
}

/* FOOTER */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray-800);
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
}

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

.footer-col ul li a {
    color: var(--gray-400);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    color: var(--gray-500);
    font-size: 13px;
}

/* PAGE HEADER */
.page-header {
    background: linear-gradient(135deg, var(--gray-900), var(--red-dark));
    padding: 80px 0 60px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 10px;
}

/* CATALOG BACK BUTTON */
.catalog-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    color: var(--gray-700) !important;
    font-size: 14px;
    transition: all 0.2s ease;
    text-decoration: none !important;
    flex-shrink: 0;
}
.catalog-back-btn:hover {
    background: var(--red);
    color: #fff !important;
    border-color: var(--red);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.2);
    transform: translateX(-3px);
}
[dir="rtl"] .catalog-back-btn:hover {
    transform: translateX(3px);
}
[dir="rtl"] .catalog-back-btn i {
    transform: rotate(180deg);
}

/* COMPACT SEARCH AREA */
.product-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-100);
}

.modern-search-compact {
    display: flex;
    align-items: center;
    background: var(--gray-50);
    border-radius: 8px;
    padding: 5px 5px 5px 20px;
    width: 400px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.modern-search-compact:focus-within {
    background: #fff;
    border-color: var(--red);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.modern-search-compact input {
    border: none;
    background: none;
    flex-grow: 1;
    height: 40px;
    font-size: 14px;
    outline: none;
    color: var(--gray-800);
}

.compact-search-btn {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.compact-search-btn:hover {
    opacity: 0.9;
}

@media (max-width: 991px) {
    .product-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .modern-search-compact {
        width: 100%;
    }
}

.page-header .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-300);
}

.page-header .breadcrumb a {
    color: var(--gray-400);
    transition: var(--transition);
}

.page-header .breadcrumb a:hover {
    color: var(--white);
}

.page-header .breadcrumb .sep {
    color: var(--red-light);
}

/* PRODUCT DETAIL */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.product-detail-img {
    background: var(--gray-100);
    border-radius: 16px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
}

.product-detail-img .icon {
    font-size: 100px;
    color: var(--red);
}

.product-detail-info h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.product-detail-info p {
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 20px;
}

.product-features {
    margin: 20px 0;
}

.product-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-features li::before {
    content: '✓';
    color: var(--red);
    font-weight: 700;
    font-size: 16px;
}

/* PRODUCT SEARCH BAR */
.product-search {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.product-search input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 15px;
    background: var(--white);
    transition: var(--transition);
    color: var(--gray-800);
    font-family: inherit;
}

.product-search input:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.product-search input::placeholder {
    color: var(--gray-400);
}

.product-search .search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    fill: var(--gray-400);
    pointer-events: none;
}

/* CATALOG GRID (12 items) */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.catalog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    border: 1px solid var(--gray-100);
}

.catalog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--red);
}

.catalog-card-img {
    height: 180px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.catalog-card-img::before {
    content: '\f03e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 32px;
    color: var(--gray-200);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.catalog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    position: relative;
    z-index: 2;
    background: #ffffff;
}

.catalog-card-img img.broken {
    opacity: 0;
    visibility: hidden;
}

.catalog-card:hover .catalog-card-img img:not(.broken) {
    transform: scale(1.06);
}

.catalog-card-body {
    padding: 16px;
}

.catalog-card-body h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.catalog-card-body .sku {
    font-size: 12px;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.catalog-card-body .badge {
    display: inline-block;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(196, 30, 58, 0.1);
    color: var(--red);
    font-weight: 600;
}

/* PRODUCT DETAIL MODAL */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: var(--white);
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
}

.modal-header h3 {
    font-size: 20px;
    color: var(--gray-800);
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--gray-100);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--gray-600);
}

.modal-close:hover {
    background: var(--red);
    color: var(--white);
}

.modal-body {
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.modal-img {
    border-radius: 12px;
    overflow: hidden;
    background: var(--gray-50);
}

.modal-img img {
    width: 100%;
    height: auto;
}

.modal-info h4 {
    font-size: 16px;
    color: var(--red);
    margin-bottom: 8px;
    font-weight: 600;
}

.modal-info p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 12px;
}

.modal-info table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.modal-info table td {
    padding: 8px 12px;
    font-size: 13px;
    border-bottom: 1px solid var(--gray-100);
}

.modal-info table td:first-child {
    font-weight: 600;
    color: var(--gray-700);
    width: 40%;
}

.modal-info table td:last-child {
    color: var(--gray-500);
}

.modal-info .btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.modal-info .btn-contact:hover {
    background: var(--red-dark);
}

.modal-info .btn-contact svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* CONTACT PAGE */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.contact-info-boxes {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-box {
    background: var(--gray-50);
    padding: 30px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.contact-box:hover {
    border-color: var(--red);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.contact-box-icon {
    width: 50px;
    height: 50px;
    background: var(--red);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-box-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.contact-box-text h3 {
    font-size: 18px;
    color: var(--gray-900);
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-box-text p,
.contact-box-text a {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-box-text a:hover {
    color: var(--red);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.contact-form h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    color: var(--gray-800);
}

.form-control:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-submit:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.3);
}

/* ABOUT PAGE */
.about-page-section {
    padding: 60px 0;
}

.about-page-content {
    line-height: 1.8;
    color: var(--gray-600);
    font-size: 16px;
    margin-bottom: 40px;
}

.about-page-content p {
    margin-bottom: 20px;
}

.about-page-content h3 {
    color: var(--gray-900);
    font-size: 24px;
    margin: 30px 0 15px;
    font-family: 'Outfit', sans-serif;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--gray-50);
    border-radius: 12px;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--red);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: rgba(196, 30, 58, 0.1);
    color: var(--red);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.value-icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.value-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--gray-900);
}

.value-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-400);
    display: none;
}

.no-results svg {
    width: 64px;
    height: 64px;
    fill: var(--gray-200);
    margin-bottom: 16px;
}

.no-results p {
    font-size: 16px;
}

/* RESPONSIVE ADDITIONS */
@media(max-width:1024px) {
    .catalog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:991px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-top: 2px solid var(--red);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu>li {
        width: 100%;
    }

    .nav-menu>li>a {
        padding: 14px 18px;
        border-radius: 8px;
        font-size: 15px;
        width: 100%;
        justify-content: space-between;
    }

    /* Mobile dropdown: hidden by default, toggle via JS */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-top: none;
        border-left: 3px solid var(--red);
        margin-left: 15px;
        padding: 0;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        display: block !important;
    }

    .dropdown-menu.mobile-open {
        max-height: 600px;
    }

    /* Override desktop hover behavior on mobile */
    .nav-menu>li:hover>.dropdown-menu,
    .dropdown-submenu:hover>.dropdown-menu {
        max-height: 0;
    }

    .nav-menu>li:hover>.dropdown-menu.mobile-open,
    .dropdown-submenu:hover>.dropdown-menu.mobile-open {
        max-height: 600px;
    }

    /* Submenu items styling */
    .dropdown-menu li a {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 6px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Nested submenu */
    .dropdown-submenu>.dropdown-menu {
        border-left: 2px solid rgba(196, 30, 58, 0.3);
        margin-left: 12px;
        margin-top: 0;
    }

    /* Arrow indicator for submenu toggles */
    .dropdown-submenu>a::after {
        content: "▾";
        float: right;
        transition: transform 0.3s ease;
        font-size: 12px;
    }

    .dropdown-submenu.mobile-submenu-open>a::after {
        transform: rotate(180deg);
    }

    .dropdown-submenu.mobile-submenu-open>a {
        color: var(--red);
        background: rgba(196, 30, 58, 0.06);
    }

    .hero {
        height: 400px;
    }

    .hero-content {
        padding: 0 !important;
    }

    .hero-text-box h1 {
        font-size: 32px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .about-page-section {
        padding: 40px 0;
    }

    .about-page-content h3 {
        font-size: 20px;
    }

    .about-img {
        padding: 24px !important;
        height: auto;
    }

    .product-detail-grid,
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .contact-form {
        padding: 20px;
        width: 100%;
    }

    .contact-info-boxes {
        width: 100%;
    }

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

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

    .modal-body {
        grid-template-columns: 1fr;
    }
}

/* INLINE SEARCH BAR */
.nav-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.nav-search-input {
    width: 0;
    opacity: 0;
    padding: 8px 0;
    border: none;
    border-bottom: 2px solid var(--red);
    outline: none;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    pointer-events: none;
}

.nav-search-wrapper.active .nav-search-input {
    width: 200px;
    opacity: 1;
    padding: 8px 10px;
    margin-right: 5px;
    pointer-events: auto;
}

.nav-search-icon {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 5px;
}

.nav-search-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--gray-700);
    transition: var(--transition);
}

.nav-search-icon:hover svg,
.nav-search-wrapper.active .nav-search-icon svg {
    fill: var(--red);
}

@media (max-width: 991px) {
    .nav-search-wrapper {
        position: static;
        margin-left: 0;
        margin-right: 15px;
        order: -1;
    }

    .nav-search-input {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 0 20px;
        height: 0;
        border-bottom: none;
        overflow: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-search-wrapper.active .nav-search-input {
        height: 60px;
        padding: 15px 20px;
        border-bottom: 2px solid var(--red);
        opacity: 1;
        pointer-events: auto;
    }
}

/* SEARCH SUGGESTIONS */
.search-suggestions {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
    display: none;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1001;
}

.search-suggestions.active {
    display: block;
}

.suggestion-item {
    padding: 12px 15px;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.suggestion-item:hover {
    background: var(--gray-50);
}

.suggestion-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.suggestion-info h4 {
    font-size: 14px;
    margin: 0;
    color: var(--gray-900);
    font-family: 'Outfit', sans-serif;
}

.suggestion-info span {
    font-size: 11px;
    color: var(--red);
    font-weight: 600;
}

@media (max-width: 991px) {
    .search-suggestions {
        width: 100%;
        top: 130px;
        /* Below mobile search input */
        left: 0;
        border-radius: 0;
    }
}

@media(max-width:480px) {
    .hero {
        height: 350px;
    }

    .hero-text-box h1 {
        font-size: 26px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

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

    .contact-form {
        padding: 20px;
    }

    .contact-form h3 {
        font-size: 22px;
    }

    .form-control {
        box-sizing: border-box;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 8px;
    }
}

/* PRODUCT DETAIL STYLES FROM DESIGN */
.detail-section {
    padding: 60px 0 80px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.detail-img-wrap {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    padding: 30px;
    border: 1px solid var(--gray-100);
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-img-wrap::before {
    content: '\f03e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 64px;
    color: var(--gray-200);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.detail-img-wrap img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    background: #ffffff;
}

.detail-img-wrap img.broken {
    opacity: 0;
    visibility: hidden;
}

.detail-info .detail-cat {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--red);
    background: rgba(196, 30, 58, 0.08);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-info h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 8px;
    line-height: 1.3;
}

.detail-info .detail-sku {
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.detail-info .detail-desc {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-100);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.specs-table tr {
    border-bottom: 1px solid var(--gray-100);
}

.specs-table td {
    padding: 14px 0;
    font-size: 14px;
}

.specs-table td:first-child {
    font-weight: 700;
    color: var(--gray-700);
    width: 40%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.specs-table td:first-child svg {
    width: 18px;
    height: 18px;
    fill: var(--red);
    flex-shrink: 0;
}

.specs-table td:last-child {
    color: var(--gray-500);
}

.detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media(max-width:768px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .detail-info h1 {
        font-size: 22px;
    }
}


/* ADDITIONAL STYLES FOR PRODUCT CARDS AND SEARCH */
.sku {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 10px;
    font-weight: 500;
}

.product-search {
    position: relative;
    max-width: 600px;
    margin: 0 auto 50px;
}

.product-search input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: var(--transition);
}

.product-search input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(196, 30, 58, 0.1);
}

.product-search .search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    fill: var(--gray-400);
}



/* Brand Filter Styling */
.brand-filter-wrapper {
    margin: 30px 0;
    padding: 10px 0;
}

.brand-filter-scroll {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.brand-item {
    padding: 12px 25px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-weight: 700;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    user-select: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.brand-item:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.1);
}

.brand-item.active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

@media (max-width: 991px) {
    .brand-filter-scroll {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 5px 15px 15px 15px;
        -webkit-overflow-scrolling: touch;
        margin: 0 -15px;
    }

    .brand-item {
        flex: 0 0 auto;
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.whatsapp-float i {
    line-height: 1;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(37, 211, 102, 0.55);
    }

    70% {
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), 0 0 0 16px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 576px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 28px;
        bottom: 18px;
        right: 18px;
    }
}