/* Base Reset & Variables */
:root {
    --primary-color: #3f51b5;
    --primary-hover: #2c397f;
    --dark-bg: #0b1121;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --light-bg: #f9fafb;
    --border-color: #e5e7eb;
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
    line-height: 1.6;
}

img,
iframe,
video {
    max-width: 100%;
}

button,
input,
textarea,
select {
    min-width: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Animations (Scroll effects) */
.hidden {
    opacity: 0;
    transition: opacity 0.8s ease;
}
.hidden-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}
.hidden-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}
.hidden-bottom {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.show {
    opacity: 1;
    transform: translate(0, 0);
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    min-width: 0;
}

.logo {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    line-height: 1.1;
}

.logo-img {
    display: block;
    height: 52px;
    max-width: 170px;
    object-fit: contain;
    width: auto;
}

.logo-ozwo {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-bg);
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    min-width: 0;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 15px;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    background: transparent;
    border: 0;
    color: var(--text-dark);
    display: none;
    font-size: 24px;
    line-height: 1;
    padding: 8px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    height: calc(100vh - 80px);
    min-height: 500px;
    max-height: 700px;
    background: url('https://images.unsplash.com/photo-1542315758-cda612ab761b?auto=format&fit=crop&q=80&w=1920') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11, 17, 33, 0.95) 0%, rgba(11, 17, 33, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-text {
    max-width: 600px;
    color: var(--white);
}

.hero-text h2 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-text h2 .highlight {
    font-weight: 700;
    font-size: 56px;
    display: block;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #e5e7eb;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    font-size: 15px;
}

.btn-primary {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--dark-bg);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 13px;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: var(--white);
}

/* Products Section */
.products {
    padding: 80px 0;
    background-color: var(--white);
}

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

.section-header h2 {
    font-size: 32px;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.product-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 20px;
    color: var(--text-light);
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.product-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info h3 {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 20px;
    min-height: 40px;
    font-weight: 600;
}

/* Footer Section */
.footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    border-top: 1px solid #1f2937;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: #9ca3af;
    margin: 20px 0;
    font-size: 14px;
}

.copyright {
    color: #6b7280;
    font-size: 12px;
    margin-top: 40px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #9ca3af;
    font-size: 14px;
}

.footer-links ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact ul li a {
    color: #9ca3af;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

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

.footer-contact ul li i {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.phone-num {
    margin-left: auto;
    color: var(--white);
    font-weight: 500;
}

/* FABs */
.fab-container {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.fab-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

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

.insta-fab {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
}

.whatsapp-fab {
    background-color: #25d366;
}

.facebook-fab {
    background-color: #1877f2;
}

.twitter-fab {
    background-color: #1da1f2;
}

.phone-fab {
    background-color: #1f2937;
}

/* Page Header */
.page-header { margin-top: 80px; height: 300px; background: center/cover no-repeat; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); }
.page-header-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(11, 17, 33, 0.8); }
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { font-size: 42px; margin-bottom: 10px; }

/* Store Layout (Urunler) */
.store-section { padding: 60px 0; background: #f4f6f8; }
.store-container { display: flex; gap: 30px; }
.store-sidebar { width: 260px; flex-shrink: 0; }
.filter-box { background: var(--white); padding: 20px; border-radius: 8px; border: 1px solid var(--border-color); }
.filter-box h3 { font-size: 16px; margin-bottom: 15px; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; }
.filter-box ul li { margin-bottom: 10px; }
.custom-checkbox { display: flex; align-items: center; cursor: pointer; font-size: 14px; position: relative; padding-left: 28px; user-select: none; }
.custom-checkbox input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkmark { position: absolute; top: 0; left: 0; height: 18px; width: 18px; background-color: #eee; border-radius: 4px; transition: 0.2s; }
.custom-checkbox:hover input ~ .checkmark { background-color: #ccc; }
.custom-checkbox input:checked ~ .checkmark { background-color: var(--primary-color); }
.checkmark:after { content: ""; position: absolute; display: none; left: 6px; top: 2px; width: 5px; height: 10px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.custom-checkbox input:checked ~ .checkmark:after { display: block; }
.mt-4 { margin-top: 20px; }
.store-main { flex-grow: 1; min-width: 0; }
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.store-card { background: var(--white); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; transition: 0.3s; position: relative; }
.store-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.store-card-img { position: relative; height: 220px; padding: 20px; background: #fff; display:flex; align-items:center; justify-content:center; border-bottom: 1px solid #f0f0f0; }
.store-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.store-card-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; }
.store-card:hover .store-card-overlay { opacity: 1; }
.quick-view-btn { padding: 10px 20px; background: var(--dark-bg); color: var(--white); border: none; border-radius: 20px; cursor: pointer; font-weight: 500; }
.store-card-body { padding: 15px; }
.store-brand { font-size: 12px; color: var(--text-light); text-transform: uppercase; margin-bottom: 5px; }
.store-title { font-size: 14px; color: var(--text-dark); margin-bottom: 10px; height: 42px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-weight: 500; }
.store-rating { color: #f59e0b; font-size: 12px; margin-bottom: 15px; display:flex; gap: 2px; align-items:center; }
.store-rating span { color: var(--text-light); margin-left: 5px; }
.store-price-row { display: flex; justify-content: space-between; align-items: center; }
.store-price { font-weight: 700; color: var(--primary-color); font-size: 14px; }
.add-to-cart-btn { background: #f3f4f6; border: none; width: 35px; height: 35px; border-radius: 50%; color: var(--dark-bg); cursor: pointer; transition: 0.3s; display:flex; align-items:center; justify-content:center; }
.add-to-cart-btn:hover { background: var(--primary-color); color: var(--white); }

/* About Us Section */
.about-section { padding: 80px 0; }
.about-container { display: flex; gap: 60px; align-items: center; }
.about-image { flex: 1; position: relative; }
.about-image .main-img { width: 100%; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.floating-img { position: absolute; bottom: -30px; right: -30px; width: 200px; border: 8px solid var(--white); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); background:#fff; }
.floating-img img { width: 100%; height: auto; border-radius: 4px; }
.about-content { flex: 1; min-width: 0; }
.sub-title { color: var(--primary-color); font-weight: 600; letter-spacing: 2px; margin-bottom: 10px; }
.text-primary { color: var(--primary-color); }
.about-content h2 { font-size: 36px; margin-bottom: 20px; line-height: 1.2; }
.about-content p { color: var(--text-light); margin-bottom: 30px; font-size: 16px; }
.about-features { display: flex; flex-direction: column; gap: 20px; }
.feature-item { display: flex; gap: 20px; align-items: flex-start; }
.feature-item i { font-size: 24px; color: var(--primary-color); background: #eef2ff; padding: 15px; border-radius: 50%; }
.feature-item h4 { font-size: 18px; margin-bottom: 5px; }
.feature-item p { margin-bottom: 0; font-size: 14px; }

/* Counter Section */
.counter-section { padding: 60px 0; background: var(--dark-bg); color: var(--white); }
.counter-grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; gap: 30px; }
.counter-icon { font-size: 40px; color: var(--primary-color); margin-bottom: 15px; }
.counter-number { font-size: 48px; font-weight: 700; margin-bottom: 5px; line-height: 1; }
.counter-card p { color: #9ca3af; font-size: 16px; text-transform: uppercase; letter-spacing: 1px; }

/* Gallery Section */
.gallery-section { padding: 80px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); grid-auto-rows: 250px; gap: 15px; grid-auto-flow: dense; }
.gallery-item { background: var(--white); border: 1px solid var(--border-color); position: relative; overflow: hidden; border-radius: 8px; cursor: pointer; padding: 18px; }
.gallery-item img { width: 100%; height: 100%; object-fit: contain; transition: 0.5s; }
.gallery-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(11, 17, 33, 0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; }
.gallery-overlay i { color: var(--white); font-size: 32px; transform: scale(0.5); transition: 0.3s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-overlay i { transform: scale(1); }
.row-span-2 { grid-row: span 2; }
.col-span-2 { grid-column: span 2; }

/* Contact Section */
.contact-section { padding: 80px 0; }
.contact-container { display: flex; gap: 60px; }
.contact-info { flex: 1; min-width: 0; }
.contact-info h2 { font-size: 32px; margin-bottom: 15px; }
.contact-info > p { color: var(--text-light); margin-bottom: 40px; }
.info-item { display: flex; gap: 20px; margin-bottom: 30px; align-items: flex-start; }
.info-icon { width: 50px; height: 50px; background: #eef2ff; color: var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.info-content h4 { font-size: 18px; margin-bottom: 5px; }
.info-content p { color: var(--text-light); }
.info-content a { color: var(--text-light); }
.info-content a:hover { color: var(--primary-color); }
.social-links-inline { background: #f9fafb; padding: 25px; border-radius: 12px; border: 1px solid var(--border-color); }
.social-icons { display: flex; gap: 15px; margin-top: 15px; }
.social-icons a { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 16px; transition: 0.3s; }
.social-icons .facebook { background: #1877f2; }
.social-icons .instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); }
.social-icons a:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.contact-form-wrapper { flex: 1; min-width: 0; background: var(--white); padding: 40px; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.05); border: 1px solid var(--border-color); }
.contact-form h3 { font-size: 24px; margin-bottom: 25px; }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea { width: 100%; padding: 15px; border: 1px solid var(--border-color); border-radius: 8px; font-family: inherit; font-size: 15px; outline: none; transition: 0.3s; background: #f9fafb; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary-color); background: var(--white); box-shadow: 0 0 0 4px rgba(63, 81, 181, 0.1); }
.w-100 { width: 100%; }
.inline-location-link {
    align-items: center;
    color: var(--primary-color);
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    gap: 7px;
    margin-top: 7px;
}

.inline-location-link:hover {
    color: var(--primary-hover);
}

.contact-map-section {
    background: #f4f6f8;
    padding: 0 0 80px;
}

.contact-map-grid {
    align-items: stretch;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.7fr);
}

.map-location-card,
.contact-map {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(11, 17, 33, 0.07);
    overflow: hidden;
}

.map-location-card {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px;
}

.map-eyebrow {
    color: var(--primary-color) !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.map-location-card h2 {
    color: var(--dark-bg);
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.map-location-card p {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.map-location-card p i {
    color: var(--primary-color);
    margin-right: 7px;
}

.map-location-card > span:not(.map-eyebrow) {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 24px;
}

.contact-map iframe {
    border: 0;
    display: block;
    height: 100%;
    min-height: 440px;
    width: 100%;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    .nav-links {
        gap: 20px;
    }
    .logo-img {
        height: 48px;
        max-width: 155px;
    }
    .hero-text h2 {
        font-size: 36px;
    }
    .hero-text h2 .highlight {
        font-size: 42px;
    }
    
    .about-container { flex-direction: column; }
    .floating-img { display: none; }
    .store-container { flex-direction: column; }
    .store-sidebar { width: 100%; display: flex; gap: 20px; overflow-x: auto; padding-bottom:10px; }
    .filter-box { min-width: 250px; margin-top: 0 !important; }
    .contact-container { flex-direction: column; gap: 34px; }
}

@media (max-width: 768px) {
    .container {
        padding: 0 14px;
    }

    .nav-container {
        height: 70px;
    }

    .logo-img {
        height: 42px;
        max-width: 140px;
    }

    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-text h2 {
        font-size: 28px;
    }
    .hero-text h2 .highlight {
        font-size: 32px;
    }
    
    .counter-grid { grid-template-columns: 1fr; gap: 40px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .col-span-2 { grid-column: span 1; }
    .hero {
        height: auto;
        margin-top: 70px;
        max-height: none;
        min-height: 520px;
        padding: 80px 0;
    }
    .page-header {
        height: 220px;
        margin-top: 70px;
        padding: 45px 0;
    }
    .page-header h1 { font-size: 32px; }
    .fab-container {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 100;
    }
}

/* Catalog improvements */
.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.catalog-toolbar p {
    color: var(--text-light);
    font-size: 14px;
}

.filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    background: var(--dark-bg);
    color: var(--white);
    border: 0;
    border-radius: 7px;
    padding: 11px 14px;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

.filter-options {
    display: grid;
    gap: 11px;
}

.filter-box-sub {
    margin-top: 20px;
}

.store-card {
    display: flex;
    flex-direction: column;
}

.store-card-img {
    height: 242px;
    padding: 18px;
    background: #fff;
}

.store-card-img > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.store-brand {
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.55px;
    text-transform: uppercase;
}

.store-brand span {
    color: #aab2c1;
    margin: 0 4px;
}

.store-title {
    height: auto;
    min-height: 42px;
    margin-bottom: 8px;
}

.store-description {
    color: var(--text-light);
    display: -webkit-box;
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 12px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.store-specs {
    border-top: 1px solid #edf0f4;
    display: grid;
    gap: 6px;
    margin-top: auto;
    padding: 11px 0 13px;
}

.store-specs li {
    display: flex;
    font-size: 12px;
    gap: 8px;
    justify-content: space-between;
}

.store-specs span {
    color: var(--text-light);
}

.store-specs strong {
    color: var(--text-dark);
    font-weight: 600;
    text-align: right;
}

.store-detail-link {
    align-items: center;
    align-self: flex-start;
    background: transparent;
    border: 0;
    color: var(--primary-color);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    gap: 8px;
    padding: 0;
}

.store-detail-link:hover {
    color: var(--primary-hover);
}

.empty-products {
    color: var(--text-light);
    grid-column: 1 / -1;
    padding: 30px 0;
}

.home-product-category {
    color: var(--primary-color) !important;
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: 0.6px;
    margin: -5px 0 7px !important;
    text-transform: uppercase;
}

.product-info > p:not(.home-product-category) {
    color: var(--text-light);
    font-size: 13px;
    margin: -9px 0 16px;
    min-height: 38px;
}

.all-products-action {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}

.btn-home-primary,
.btn-solid {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--white);
}

.btn-home-primary:hover,
.btn-solid:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--white);
}

/* Product detail modal */
body.modal-open {
    overflow: hidden;
}

.product-modal {
    inset: 0;
    position: fixed;
    z-index: 10001;
}

.product-modal-backdrop {
    background: rgba(11, 17, 33, 0.7);
    inset: 0;
    position: absolute;
}

.product-modal-content {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
    left: 50%;
    max-height: calc(100vh - 40px);
    max-width: 1020px;
    overflow: auto;
    padding: 34px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 40px);
}

.modal-close {
    align-items: center;
    background: #f1f3f7;
    border: 0;
    border-radius: 50%;
    color: var(--dark-bg);
    cursor: pointer;
    display: flex;
    font-size: 18px;
    height: 36px;
    justify-content: center;
    position: absolute;
    right: 16px;
    top: 16px;
    width: 36px;
    z-index: 2;
}

.modal-product-layout {
    display: grid;
    gap: 36px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
}

.modal-main-image {
    align-items: center;
    background: #f7f8fa;
    display: flex;
    height: 410px;
    justify-content: center;
    padding: 24px;
}

.modal-main-image > img {
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.modal-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.modal-thumb {
    background: #fff;
    border: 1px solid var(--border-color);
    cursor: pointer;
    height: 68px;
    padding: 5px;
    width: 68px;
}

.modal-thumb.active {
    border-color: var(--primary-color);
}

.modal-thumb img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.modal-category {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.75px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.modal-details h2 {
    color: var(--dark-bg);
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 14px;
    padding-right: 28px;
}

.modal-description {
    color: var(--text-light);
    margin-bottom: 20px;
}

.modal-section {
    border-top: 1px solid var(--border-color);
    margin-top: 19px;
    padding-top: 18px;
}

.modal-section h4 {
    color: var(--dark-bg);
    font-size: 15px;
    margin-bottom: 10px;
}

.specification-list {
    display: grid;
    gap: 8px;
}

.specification-list div {
    background: #f7f8fa;
    display: flex;
    font-size: 14px;
    gap: 16px;
    justify-content: space-between;
    padding: 9px 11px;
}

.specification-list dt {
    color: var(--text-light);
}

.specification-list dd {
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
    text-align: right;
}

.variant-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-list li {
    background: #eef1fb;
    border: 1px solid #dbe1f9;
    border-radius: 4px;
    color: #2f407f;
    font-size: 13px;
    padding: 6px 9px;
}

.modal-contact-btn {
    margin-top: 24px;
}

.custom-size-cta {
    align-items: center;
    background: #eef1fb;
    border-left: 4px solid var(--primary-color);
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-top: 28px;
    padding: 18px 20px;
}

.custom-size-cta strong {
    color: var(--dark-bg);
    display: block;
    margin-bottom: 3px;
}

.custom-size-cta p {
    color: var(--text-light);
    font-size: 14px;
}

.related-products > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.related-products button {
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    padding: 8px 10px;
}

.related-products button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.form-notice {
    color: #216e39;
    font-size: 14px;
    margin-top: 16px;
    text-align: center;
}

@media (max-width: 992px) {
    .store-sidebar {
        display: grid;
        gap: 20px;
        grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr);
        overflow: visible;
        padding: 0;
        width: 100%;
    }

    .filter-box-sub {
        margin-top: 0;
    }

    .modal-product-layout {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 58px;
    }

    .hidden-left,
    .hidden-right {
        transform: translateY(30px);
    }

    .nav-links.is-open {
        background: var(--white);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        gap: 16px;
        left: 0;
        padding: 20px;
        position: absolute;
        top: 70px;
        width: 100%;
    }

    .about-section {
        padding: 52px 0;
    }

    .about-image {
        display: none;
    }

    .about-content h2 {
        font-size: 28px;
    }

    .about-content p {
        font-size: 15px;
        margin-bottom: 22px;
    }

    .feature-item {
        gap: 14px;
    }

    .feature-item i {
        font-size: 20px;
        padding: 12px;
    }

    .counter-section {
        padding: 28px 0;
    }

    .counter-grid {
        gap: 8px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .counter-card {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.09);
        border-radius: 8px;
        padding: 13px 6px;
    }

    .counter-icon {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .counter-number {
        font-size: 25px;
        margin-bottom: 5px;
    }

    .counter-card p {
        font-size: 10px;
        letter-spacing: 0.3px;
        line-height: 1.2;
    }

    .catalog-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .filter-toggle {
        display: inline-flex;
    }

    .store-sidebar {
        display: none;
    }

    .store-sidebar.is-open {
        display: grid;
        grid-template-columns: 1fr;
    }

    .store-grid {
        gap: 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .store-card-img {
        height: 132px;
        padding: 10px;
    }

    .store-card-body {
        padding: 10px;
    }

    .store-brand {
        font-size: 10px;
        line-height: 1.2;
        margin-bottom: 5px;
    }

    .store-title {
        display: -webkit-box;
        font-size: 12.5px;
        line-height: 1.25;
        margin-bottom: 8px;
        min-height: 32px;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .store-description,
    .store-specs {
        display: none;
    }

    .store-detail-link {
        font-size: 12px;
        line-height: 1.2;
        margin-top: auto;
    }

    .quick-view-btn {
        border-radius: 16px;
        font-size: 12px;
        padding: 8px 12px;
        white-space: nowrap;
    }

    .products {
        padding: 55px 0;
    }

    .section-header {
        margin-bottom: 28px;
    }

    .products-grid {
        gap: 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-card {
        border-radius: 8px;
        padding: 10px;
    }

    .product-img {
        height: 118px;
        margin-bottom: 10px;
    }

    .home-product-category {
        font-size: 10px !important;
        line-height: 1.2;
        margin: 0 0 5px !important;
    }

    .product-info h3 {
        display: -webkit-box;
        font-size: 12.5px;
        line-height: 1.25;
        margin-bottom: 8px;
        min-height: 32px;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .product-info > p:not(.home-product-category) {
        display: -webkit-box;
        font-size: 11.5px;
        line-height: 1.3;
        margin: 0 0 10px;
        min-height: 30px;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .product-card .btn-outline {
        border-radius: 16px;
        font-size: 11.5px;
        gap: 6px;
        justify-content: center;
        padding: 7px 10px;
        width: 100%;
        white-space: nowrap;
    }

    .product-modal-content {
        max-height: calc(100vh - 24px);
        padding: 26px 18px;
        width: calc(100% - 24px);
    }

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

    .modal-main-image {
        height: 280px;
        padding: 16px;
    }

    .modal-details h2 {
        font-size: 24px;
    }

    .custom-size-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .fab-container {
        align-items: center;
        background: rgba(11, 17, 33, 0.86);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 999px;
        bottom: 10px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
        flex-direction: row;
        gap: 8px;
        left: 50%;
        padding: 7px;
        right: auto;
        transform: translateX(-50%);
    }

    .fab-icon {
        box-shadow: none;
        flex-shrink: 0;
        height: 36px;
        width: 36px;
    }

    .contact-map-section {
        padding-bottom: 55px;
    }

    .contact-section {
        padding: 52px 0;
    }

    .contact-info h2 {
        font-size: 26px;
    }

    .contact-info > p {
        margin-bottom: 28px;
    }

    .info-item {
        gap: 14px;
        margin-bottom: 24px;
    }

    .info-icon {
        height: 42px;
        width: 42px;
        font-size: 17px;
    }

    .info-content {
        min-width: 0;
    }

    .info-content a,
    .inline-location-link,
    .map-location-card span,
    .map-location-card p {
        overflow-wrap: anywhere;
    }

    .social-links-inline {
        padding: 20px;
    }

    .contact-form-wrapper {
        padding: 24px 18px;
        width: 100%;
    }

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

    .form-group input,
    .form-group textarea {
        padding: 13px;
    }

    .contact-map-grid {
        grid-template-columns: 1fr;
    }

    .map-location-card {
        padding: 28px 24px;
        width: 100%;
    }

    .map-location-card h2 {
        font-size: 24px;
        overflow-wrap: anywhere;
    }

    .contact-map iframe {
        height: 340px;
        min-height: 340px;
    }

    .footer {
        padding-top: 42px;
    }

    .footer-contact ul li a {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }

    .phone-num {
        margin-left: 0;
    }

    .btn {
        max-width: 100%;
        text-align: center;
    }
}
