/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 15px;
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #ffffff;
    overflow-x: hidden !important;
}

/* Loading Spinner */
@keyframes spin { 
    0% { transform: rotate(0deg);} 
    100% { transform: rotate(360deg);} 
}

#global-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#global-spinner > div {
    border: 6px solid #eee;
    border-top: 6px solid #000;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    animation: spin 1s linear infinite;
}

/* Header and Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #000000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #333;
}

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    margin: 0 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-size: 1rem;
}

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

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

.nav-links a:hover {
    color: #cccccc;
}

/* Quote Link Styles */


/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.dropdown-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-size: 1rem;
}

.dropdown-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

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

.dropdown-link:hover {
    color: #cccccc;
}

.dropdown-arrow {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-arrow:hover {
    color: #cccccc;
    background-color: rgba(255,255,255,0.1);
}

.dropdown-arrow.active {
    transform: rotate(180deg);
    color: #cccccc;
}

/* Show dropdown on hover over the entire dropdown container */
.dropdown:hover .dropdown-content {
    display: block !important;
}

/* Show dropdown on arrow hover */
.dropdown-arrow:hover + .dropdown-content,
.dropdown-content:hover {
    display: block !important;
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 250px;
    background-color: #ffffff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    z-index: 100;
    border-radius: 8px;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
}

.dropdown-content.show {
    display: block;
}

/* Adjust main dropdown if it would go off-screen */
@media (max-width: 1200px) {
    .dropdown:last-child .dropdown-content,
    .dropdown:nth-last-child(2) .dropdown-content {
        left: auto;
        right: 0;
    }
}

.dropdown-content a {
    color: #333;
    padding: 16px 24px;
    text-decoration: none;
    display: block;
    font-size: 1rem;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.dropdown-content a:hover {
    background-color: #e0e0e0;
    color: #000;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #ffffff;
}

/* Hero Section */
.hero {
    width: 100vw;
    max-width: 100vw;
    margin: 35px auto;
    background: #181818;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    padding: 1rem;
}

.cta-button:hover, .cta-button:focus {
    background-color: #333333;
    color: #ffffff;
}

/* Features Section */
.features {
    padding: 4rem 5%;
    background-color: #f8f9fa;
}

.features h2 {
    text-align: center;
    font-size: 2.7rem;
    font-weight: 800;
    color: #181818;
    letter-spacing: 0.04em;
    margin-bottom: 2.2rem;
    position: relative;
    line-height: 1.1;
}

.features h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #000;
    margin: 1.2rem auto 0 auto;
    border-radius: 2px;
    opacity: 0.12;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border: 1px solid #e5e5e5;
    padding: 2.2rem 1.5rem 2.2rem 1.5rem;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #000000;
}

.feature-item i {
    font-size: 2.5rem;
    color: #b80000;
    margin-bottom: 1.1rem;
}

.feature-item h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: #222;
}

.feature-item p {
    font-size: 1.05rem;
    color: #555;
    margin: 0;
}

.featured-categories {
    padding: 4rem 5%;
    background-color: #000000;
    color: #ffffff;
}

.featured-categories h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 700;
}

.featured-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-category-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255,255,255,0.1);
    border: 1px solid #333333;
}

.featured-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

.featured-category-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-category-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background-color: #ffffff;
}

.featured-category-card:hover img {
    transform: scale(1.05);
}

.featured-category-card-content {
    padding: 1.5rem;
    background-color: #ffffff;
}

.featured-category-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #000000;
    font-weight: 600;
}

.featured-category-card p {
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Categories and Products sections continue with similar black/white theme... */

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.category-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #000000;
    text-decoration: none;
    color: inherit;
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background-color: #ffffff;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-card h3 {
    padding: 1rem;
    font-size: 1.25rem;
    color: #000000;
    font-weight: 600;
    text-align: center;
    background-color: #f8f9fa;
    margin: 0;
    border-top: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.category-card:hover h3 {
    background-color: #000000;
    color: #ffffff;
}

/* Fix category card content padding and text color */
.category-card-content {
    padding: 1.5rem;
}

.category-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #000000;
    font-weight: 600;
    text-align: center;
    background-color: transparent;
    border: none;
    padding: 0;
}

.category-card:hover .category-card-content h3 {
    color: #000000;
    background-color: transparent;
}

.category-card-content p {
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
}

.category-card:hover .category-card-content p {
    color: #666666;
}

/* Responsive design continues with mobile-first approach... */

.categories-section {
    padding: 4rem 5%;
    background-color: #ffffff;
}

.categories-section .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.categories-section .category-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    text-decoration: none;
    color: inherit;
    display: block;
}

.categories-section .category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #000000;
    text-decoration: none;
    color: inherit;
}

.categories-section .category-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.categories-section .category-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background-color: #ffffff;
}

.categories-section .category-card:hover img {
    transform: scale(1.05);
}

.categories-section .category-card-content {
    padding: 1.5rem;
}

.categories-section .category-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #000000;
    font-weight: 600;
    text-align: center;
}

.categories-section .category-card:hover h3 {
    color: #000000;
}

.categories-section .category-card p {
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
}

.categories-section .category-card:hover p {
    color: #666666;
}

/* Standardized Products Section */
.products,
.products-section {
    padding: 4rem 5%;
    background-color: #f8f9fa;
}

.products h2,
.products-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #000000;
    font-weight: 700;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background-color: #ffffff;
    padding: 10px;
}

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

.product-card h3 {
    padding: 1rem;
    font-size: 1.25rem;
    color: #000000;
    font-weight: 600;
    margin: 0;
}

.product-card .price {
    padding: 0 1rem;
    font-size: 1.1rem;
    color: #000000;
    font-weight: 700;
}

.product-card .description {
    padding: 0 1rem 0.5rem 1rem;
    color: #666666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-card .cta-button {
    margin: 0 auto 1.2rem auto;
    margin-top: 0.5rem;
    display: block;
}

.product-card .cta-button:hover {
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #000000;
}

.product-detail {
    padding: 2rem 5%;
    margin-top: 80px;
}

.product-detail .product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-detail .main-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    max-width: 450px;
    margin: 0 auto;
}

.product-detail .main-image img {
    max-width: 350px;
    max-height: 350px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    background: #f8f9fa;
}

.product-detail .product-images {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 400px;
}

.product-detail .product-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000000;
    font-weight: 700;
}

.product-detail .product-meta {
    margin-bottom: 2rem;
    color: #666666;
}

.product-detail .product-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.secondary-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    border: 2px solid #000000;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 600;
}

.secondary-button:hover {
    background-color: #000000;
    color: #ffffff;
}

.request-sample {
    padding: 3rem 5%;
    background-color: #f8f9fa;
}

.request-sample h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #000000;
    font-weight: 700;
}

#sample-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#sample-form input {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
}

#sample-form input:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

#sample-form button {
    width: 100%;
    padding: 1rem;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

#sample-form button:hover {
    background-color: #333333;
    transform: translateY(-1px);
}

footer {
    background-color: #000000;
    color: #ffffff;
    padding: 3rem 5% 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.footer-section p {
    color: #cccccc;
    margin-bottom: 0.5rem;
}

.footer-section p i {
    margin-right: 0.5rem;
    width: 20px;
}

.social-links a {
    font-size: 2rem;
    margin-right: 18px;
    color: #333;
    transition: color 0.2s;
}

.social-links a:last-child {
    margin-right: 0;
}

.social-links a:hover {
    color: #e74c3c;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #333333;
    color: #cccccc;
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-button a {
    color: #ffffff;
    font-size: 1.8rem;
}

.whatsapp-button:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
}

/* Floating Quote Cart Button */
.quote-cart-button {
    position: fixed;
    bottom: 90px; /* Position above WhatsApp button */
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: all 0.3s ease;
}

.quote-cart-button a {
    color: #ffffff;
    font-size: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.quote-cart-button:hover {
    background-color: #333333;
    transform: scale(1.1);
}

.quote-cart-button .quote-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    font-weight: bold;
}

.page-hero {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
    text-align: center;
    padding: 8rem 1rem 4rem;
    margin-top: 60px;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.breadcrumb {
    text-align: center;
    margin-top: 1rem;
    position: relative;
    z-index: 2;
}

.breadcrumb a {
    color: #cccccc;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.about-content {
    padding: 4rem 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #000000;
    font-weight: 700;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #666666;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    background-color: #000000;
    color: #ffffff;
}

.feature-item i {
    font-size: 3rem;
    color: #000000;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.feature-item:hover i {
    color: #ffffff;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000000;
    font-weight: 600;
    transition: color 0.3s ease;
}

.feature-item:hover h3 {
    color: #ffffff;
}

.feature-item p {
    transition: color 0.3s ease;
}

.feature-item:hover p {
    color: #cccccc;
}

.contact-content {
    padding: 4rem 5%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.contact-info h2 {
    margin-bottom: 2rem;
    color: #000000;
    font-weight: 700;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: #000000;
    margin-right: 1rem;
    width: 30px;
}

.info-item h3 {
    color: #000000;
    font-weight: 600;
}

.info-item p {
    color: #666666;
    margin: 0;
}

.contact-form {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-form h2 {
    margin-bottom: 2rem;
    color: #000000;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

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

.contact-form button {
    width: 100%;
    padding: 1rem;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.contact-form button:hover {
    background-color: #333333;
    transform: translateY(-1px);
}

.subcategory-dropdown {
    position: relative;
}

.subcategory-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}

.subcategory-trigger:hover {
    background-color: #000000;
    color: #ffffff;
}

.subcategory-dropdown:hover .subcategory-content {
    display: block;
}

.subcategory-link {
    color: #333;
    text-decoration: none;
    flex-grow: 1;
    padding: 12px 16px;
    display: block;
    border-bottom: 1px solid #f0f0f0;
}

.subcategory-arrow {
    background: none;
    border: none;
    color: #666;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 12px 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subcategory-arrow:hover {
    color: #000;
}

.subcategory-arrow.active {
    transform: rotate(90deg);
    color: #000;
}

.subcategory-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 200px;
    background-color: #ffffff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    z-index: 101;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

/* Position subcategory dropdown to the left if it would go off-screen */
.subcategory-dropdown:nth-last-child(-n+2) .subcategory-content {
    left: auto;
    right: 100%;
}

/* Additional responsive breakpoints for better positioning */
@media (max-width: 1400px) {
    .subcategory-dropdown:nth-last-child(-n+3) .subcategory-content {
        left: auto;
        right: 100%;
    }
}

@media (max-width: 1200px) {
    .subcategory-dropdown:nth-last-child(-n+4) .subcategory-content {
        left: auto;
        right: 100%;
    }
}

.subcategory-content.show {
    display: block;
}

.subcategory-content a {
    color: #333;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.subcategory-content a:last-child {
    border-bottom: none;
}

.subcategory-content a:hover {
    background-color: #000000;
    color: #ffffff;
}

.subcategory-content.position-left {
    left: auto;
    right: 100%;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 3%;
    }
    
    .logo-img {
        height: 40px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #000000;
        flex-direction: column;
        border-top: 1px solid #333;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        padding: 1rem;
        border-bottom: 1px solid #333;
        margin: 0;
        text-align: center;
    }

    .mobile-menu {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    #sample-form {
        margin: 0 1rem;
        padding: 1.5rem;
    }

    .features,
    .featured-categories,
    .products,
    .products-section,
    .categories-section,
    .subcategories-section {
        padding: 3rem 3%;
    }

    .featured-category-grid,
    .product-grid,
    .category-grid,
    .subcategory-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .featured-category-card,
    .category-card,
    .subcategory-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .categories-section .category-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .categories-section .category-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .subcategories-section .subcategory-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .subcategory-description {
        margin: 0 auto 2rem;
        padding: 1rem;
    }

    .product-detail .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-detail .product-actions {
        justify-content: center;
    }

    .subcategory-content {
        position: static;
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
        border-radius: 0;
        margin-top: 0;
        max-height: 300px;
        overflow-y: auto;
    }

    .subcategory-dropdown .subcategory-trigger {
        background-color: #f8f9fa;
    }

    .subcategory-arrow {
        display: none;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        border-radius: 0;
        max-height: 300px;
        overflow-y: auto;
    }

    .dropdown-trigger {
        justify-content: center;
    }

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

    .subcategory-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* Mobile adjustments for floating buttons */
    .quote-cart-button {
        width: 50px;
        height: 50px;
        bottom: 80px;
        right: 15px;
    }
    
    .quote-cart-button a {
        font-size: 1.3rem;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-button a {
        font-size: 1.5rem;
    }
}

.subcategories-section {
    padding: 4rem 5%;
    background-color: #f8f9fa;
}

.subcategories-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #000000;
    font-weight: 700;
}

.subcategory-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.subcategory-description p {
    color: #666666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.subcategory-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    text-decoration: none;
    color: inherit;
    display: block;
}

.subcategory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #000000;
    text-decoration: none;
    color: inherit;
}

.subcategory-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subcategory-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background-color: #ffffff;
}

.subcategory-card:hover img {
    transform: scale(1.05);
}

.subcategory-card-content {
    padding: 1.5rem;
}

.subcategory-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #000000;
    font-weight: 600;
    text-align: center;
}

.subcategory-card:hover h3 {
    color: #000000;
}

.subcategory-card p {
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
}

/* Image Loading and Fallback Styles */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Ensure all product/category images have consistent background */
.product-card img,
.category-card img,
.featured-category-card img,
.subcategory-card img {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

/* Image container improvements */
.product-card,
.category-card,
.featured-category-card,
.subcategory-card {
    position: relative;
}

/* Loading state for images */
.product-card img:not([src]),
.category-card img:not([src]),
.featured-category-card img:not([src]),
.subcategory-card img:not([src]) {
    background-color: #f8f9fa;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ctext x='50' y='50' text-anchor='middle' dy='.3em' font-family='Arial' font-size='12' fill='%23999'%3ELoading...%3C/text%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.form-control:focus, .form-control:hover {
    background-color: #fff;
    color: #000;
    border-color: #000000;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

.form-control {
    background-color: #fff;
    color: #000;
}

/* Quote Cart Styles */
.quote-cart {
    padding: 4rem 0;
}

.quote-items {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.quote-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 2rem;
    align-items: center;
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}

.item-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details h3 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    color: #333;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-selector-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
    margin-right: 1rem;
}

.quantity-btn {
    background: #fff;
    border: 1.5px solid #2c3e50;
    color: #2c3e50;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #2c3e50;
    color: #fff;
}

.quantity-input {
    width: 48px;
    height: 36px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    pointer-events: none;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.add-to-quote-btn.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #2c3e50;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.07);
}

.add-to-quote-btn.cta-button:hover {
    background: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.15);
}

.add-to-quote-btn.cta-button i {
    font-size: 1.1rem;
}

.remove-item {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.5rem;
    transition: color 0.2s;
}

.remove-item:hover {
    color: #c0392b;
}

.quote-summary {
    text-align: center;
    margin-top: 2rem;
}

.empty-quote {
    text-align: center;
    padding: 4rem 0;
}

.empty-quote i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.empty-quote h2 {
    margin: 0 0 1rem;
    color: #333;
}

.empty-quote p {
    color: #666;
    margin-bottom: 2rem;
}

/* Quote Submission Styles */
.quote-submission {
    padding: 4rem 0;
}

.quote-submission-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.quote-items-summary {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}

.quote-items-summary h2 {
    margin: 0 0 2rem;
    color: #333;
    font-size: 1.5rem;
}

.quote-form-container {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}

.quote-form {
    display: grid;
    gap: 1.5rem;
}

.submit-button {
    background: #2c3e50;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-button:hover {
    background: #34495e;
}

@media (max-width: 768px) {
    .quote-submission-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-item {
        grid-template-columns: 80px 1fr auto;
        gap: 1rem;
    }
    
    .item-image {
        width: 80px;
        height: 80px;
    }
}

/* Toast Notification Styles */
#product-toast,
#contact-toast {
    position: fixed;
    bottom: 32px;
    left: 32px;
    z-index: 9999;
    min-width: 250px;
    background: #222;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    font-size: 0.9rem;
    display: none;
}

#product-toast i,
#contact-toast i {
    color: #4caf50;
    font-size: 1.5rem;
}

/* Utility Classes */
.full-width {
    width: 100%;
}

.hidden {
    display: none !important;
}

/* Toast Styles */
.toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #333;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast i {
    font-size: 1.2rem;
}

.toast-success i {
    color: #4caf50;
}

.toast-error i {
    color: #f44336;
}

.toast-info i {
    color: #2196f3;
}

/* Modal display fix */
.modal {
    display: none;
}

.modal.show {
    display: block;
}

/* Remove all previous zoom/indicator/cursor styles for banners and other images */
.hero-banner-img,
.product-card img,
.featured-category-card img,
.category-card img,
.subcategory-card img {
    cursor: default !important;
}
.zoom-indicator { display: none !important; }

/* AliExpress-style Magnifier and Overlay */
.zoom-magnifier-lens {
    display: none !important;
    border: none !important;
    background: none !important;
}

/* Prevent zoomed image from overflowing */
.product-detail .main-image,
.zoom-magnifier-container {
    overflow: hidden;
}

.zoomed-product-img,
.product-detail .main-image img {
    transition: transform 0.2s;
    will-change: transform;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Hero carousel responsive styles */
@media (max-width: 900px) {
    .hero-carousel, .hero, .hero-slide {
        aspect-ratio: 16/2;
        max-height: 340px;
        min-height: 100px;
        height: 70vw;
    }
}

@media (min-width: 900px) {
    .hero-carousel, .hero, .hero-slide {
        aspect-ratio: 16/4;
        min-height: 520px;
    }
    
    .hero-btn {
        font-size: 1.1rem;
        padding: 0.7rem 1.7rem;
        min-width: 140px;
        bottom: 32px;
    }
}

@media (max-width: 600px) {
    html, body {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }
    h1 {
        font-size: 1.45rem !important;
        font-weight: 700 !important;
        margin-bottom: 0.7rem !important;
    }
    h2 {
        font-size: 1.25rem !important;
        font-weight: 700 !important;
        margin-bottom: 0.6rem !important;
    }
    h3 {
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        margin-bottom: 0.5rem !important;
    }
    h4, h5, h6 {
        font-size: 1rem !important;
        font-weight: 600 !important;
        margin-bottom: 0.4rem !important;
    }
    p, .product-description, .feature-item p, .featured-category-card p, .category-card p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 0.7rem !important;
    }
    .cta-button {
        font-size: 1.05rem !important;
        padding: 0.7rem 1.2rem !important;
        border-radius: 8px !important;
    }
    .feature-item h3, .featured-category-card h3, .category-card h3 {
        font-size: 1.08rem !important;
        font-weight: 700 !important;
    }
    .hero-carousel, .hero, .hero-slide {
        aspect-ratio: 2/1;
        max-height: 270px;
        min-height: 60px;
    }
    /* Reduce heading sizes after hero on mobile */
    h1, .hero + * h1, .features h2, .featured-categories h2, .products h2, .page-hero h1 {
        font-size: 1.3rem !important;
    }
    h2, .features h2, .featured-categories h2, .products h2 {
        font-size: 1.1rem !important;
    }
}

/* Header margin fix */
header {
    margin-bottom: 0 !important;
}

/* Hero Carousel Styles */
.hero-carousel, .hero-slide {
    width: 100vw;
    max-width: 100vw;
    min-height: 120px;
    position: relative;
    overflow: hidden;
    background: #181818;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.7s;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center;
    display: block;
    background: #181818;
}

.hero-banner-img:hover {
    cursor: zoom-in;
}

.hero-btn {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    z-index: 3;
    font-size: 1.15rem;
    padding: 0.7rem 2rem;
    min-width: 150px;
    border-radius: 10px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    display: block;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.25);
    z-index: 1;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: none;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 1.5rem;
    background-color: #000;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
}

.close {
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #ccc;
}

.modal-body {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
}

/* Request Sample Card Styles */
.request-sample-card {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
    padding: 2rem;
}

.request-sample-card h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* Alert Styles */
.alert {
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    text-align: center;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Fix for banner image cropping and zoom */
.hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center;
    display: block;
    background: #181818;
    transition: transform 0.3s ease;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.7s;
    z-index: 1;
}

.zoomable-image img.hero-banner-img {
    object-fit: contain !important;
    width: 100%;
    height: 100%;
    background: #181818;
}

/* Make sure zoom scale is visible for banners */
@media (hover: hover) and (pointer: fine) {
    .zoomable-image:hover img.hero-banner-img {
        transform: scale(1.15);
        z-index: 10;
    }
    .zoomable-image.zoomed img.hero-banner-img {
        transform: scale(1.3);
        z-index: 10;
    }
}
@media (hover: none) and (pointer: coarse) {
    .zoomable-image.zoomed img.hero-banner-img {
        transform: scale(1.2);
        z-index: 10;
    }
}

/* Only show zoom cursor and indicator for banner images */
.hero-banner-img {
    cursor: zoom-in;
    position: relative;
}
.hero-banner-img:hover {
    cursor: zoom-in;
}
.zoom-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}
.hero-banner-img:hover + .zoom-indicator,
.hero-banner-img:focus + .zoom-indicator {
    opacity: 1;
}

/* Remove zoomable-image and zoom-indicator from other images */
.product-card img,
.featured-category-card img,
.category-card img,
.subcategory-card img,
.product-detail .main-image img {
    cursor: default !important;
}

.product-card .zoom-indicator,
.featured-category-card .zoom-indicator,
.category-card .zoom-indicator,
.subcategory-card .zoom-indicator,
.product-detail .main-image .zoom-indicator {
    display: none !important;
}

/* Uniform heading size on mobile */
@media (max-width: 600px) {
    h1, h2, h3, h4, h5, h6,
    .features h2, .featured-categories h2, .products h2, .page-hero h1 {
        font-size: 1.1rem !important;
        line-height: 1.2 !important;
        font-weight: 600 !important;
    }
}

/* Make h2 larger on mobile for better flow */
@media (max-width: 600px) {
    h2, .features h2, .featured-categories h2, .products h2, .page-hero h1 {
        font-size: 1.45rem !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
    }
    h1, h3, h4, h5, h6 {
        font-size: 1.1rem !important;
        line-height: 1.2 !important;
        font-weight: 600 !important;
    }
}

/* Heading after hero/banner spacing and centering */
.features h2, .featured-categories h2, .products h2, .page-hero h1 {
    margin-top: 2.2rem;
    margin-bottom: 1.2rem;
    text-align: center;
    width: 100%;
}
@media (max-width: 900px) {
    .features h2, .featured-categories h2, .products h2, .page-hero h1 {
        margin-top: 1.2rem;
        margin-bottom: 0.8rem;
    }
}

/* --- RESET: Banner Styles --- */
.banner-container {
    width: 100vw;
    max-width: 100vw;
    position: static;
    background: #000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 220px;
    padding: 0;
    box-sizing: border-box;
}

.banner-image {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    max-height: 435px;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #000;
    margin: 85px auto;
}

.hero-btn {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 3;
    font-size: 1.1rem;
    padding: 0.7rem 2rem;
    min-width: 140px;
    border-radius: 10px;
    background: #111;
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    display: block;
    opacity: 0.97;
}

@media (max-width: 900px) {
    .banner-container {
        min-height: 260px;
    }
    .banner-image {
        max-height: 260px;
    }
    .hero-btn {
        font-size: 1rem;
        padding: 0.5rem 1.2rem;
        min-width: 100px;
        bottom: 10px;
    }
}

@media (max-width: 600px) {
    .banner-container {
        min-height: 120px;
    }
    .banner-image {
        max-height: 135px;
    }
    .hero-btn {
        font-size: 0.95rem;
        padding: 0.4rem 1rem;
        min-width: 90px;
        bottom: 6px;
    }
}

/* Overlay for zoomed image */
.zoom-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.92);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}
.zoom-overlay.active {
    display: flex !important;
}

/* Cursor for zoom-in on main image (desktop) */
@media (hover: hover) and (pointer: fine) {
  .product-detail .main-image img {
    cursor: zoom-in;
  }
  .zoom-overlay {
    cursor: zoom-out;
  }
}

/* Smoother touch for mobile zoom */
.product-detail .main-image img,
.zoom-magnifier-container {
  touch-action: none;
}

/* Professional cross (close) button for overlay - always on top */
.zoom-close {
    position: absolute;
    top: 32px;
    right: 40px;
    color: #222;
    font-size: 2.7rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 100010;
    background: #fff;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, box-shadow 0.2s, border 0.2s, color 0.2s;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    border: 2.5px solid #fff;
    outline: 2.5px solid #222;
    opacity: 0.98;
}
.zoom-close:hover {
    background: #b80000;
    color: #fff;
    border-color: #b80000;
    outline: 2.5px solid #b80000;
    opacity: 1;
    box-shadow: 0 6px 32px rgba(184,0,0,0.18);
}

/* Ensure overlayed image is not zoomed by default */
.zoomed-product-img {
    transform: none;
}

html, body {
    overflow-x: hidden !important;
} 