/* Store-specific styles */

h1, h2, h3, h4, h5, h6 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700; 
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding-top: 70px; 
}

/* SEO & Accessibility Utility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Navigation Bar */
.navbar {
    background-color:  rgba(248, 249, 250, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
}

.nav-container {
    max-width: auto; 
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    gap: 2rem; 
}

/* Logo Section */
.logo {
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.8rem;
    transition: transform 0.3s ease;
}

.logo a:hover {
    transform: scale(1.02);
}

.logo img {
    height: 45px; 
    width: auto;
    object-fit: contain;
}
.logo-link { gap: 0.5rem; }

.site-title {
    display: inline-block !important; 
    color: #6c3f18;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 1.2rem;
}

.icons {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

/* Base style for ALL icons (Cart, User, and Search Box) */
.icon {
    width: 42px;
    height: 42px;
    background-color: #a6f509;
    color: #6c3f18;           
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 8px;
}

/* Ensure SVG icons follow the parent color */
.icon svg {
    fill: currentColor; 
    width: 1.2em;
    height: 1.2em;
}

/* Hover State for ALL icons */
.icon:hover {
    background-color: whitesmoke; 
    color: #6c3f18;          
    transform: translateY(-2px);
}

/*  SEARCH BOX LOGIC  */
.search-box.icon {
    padding: 0;
    overflow: hidden;
    min-width: 42px; 
    flex-direction: row; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Input stays hidden and on the left */
#searchInput {
    order: 1; 
    width: 0;
    opacity: 0;
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
    transition: all 0.4s ease;
    color: #333;
}

/* The search button stays on the right */
#searchBtn {
    order: 2; 
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Expanding State (Active) */
.search-box.icon.active {
    min-width: 250px; 
    background-color: lightgray; 
    color: #6c3f18;
}

.search-box.icon.active #searchInput {
    width: 100%;
    opacity: 1;
    padding: 0 10px 0 15px; 
}
.search-box.icon.active #searchBtn {
    color: #6c3f18;
}

/* Hero Section for Index Page */
.hero-modern {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.bg-media {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center
}

.hero-lead-card {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 3rem;
    text-align: center;
    background: rgba(4, 60, 97, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.hero-lead-card h1 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 3.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.highlight {
    color: #a6f509;
}



/* Filter Section */
.filter-section {
    padding: 3rem 2rem;
    background-color: #f8f9fa;
    text-align: center;
}

.filter-section h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.filter-btn {
    background-color: white;
    border: 2px solid #e0e0e0;
    color: #2c3e50;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-btn:hover {
    border-color: #a6f509;
    color: #a6f509;
}

.filter-btn.active {
    background-color: #a6f509;
    color: #2c3e50;
    border-color: #a6f509;
}

/* Products Showcase */
.products-showcase {
    padding: 4rem 2rem;
    background-color: white;
}

.product-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #a6f509;
}

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

.products-grid.single-column {
    grid-template-columns: 1fr;
    max-width: 600px;
}

.product-card {
    background-color: white;
    padding: 0.5rem;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    border-color: #a6f509;
    padding: 1.5rem;
}

.product-card:hover .product-description {
    opacity: 1;
    max-height: 300px;
    margin: 1rem 0;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ecf0f1 100%);
}

.product-image.small {
    height: 150px;
    width: 100%;
    object-fit: cover;
}

.product-card h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.product-spec {
    color: #6c3f18;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-description {
    color: #555;
    font-size: 0.95rem;
    margin: 1rem 0;
    flex-grow: 1;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-actions .cta-button {
    flex: 1;
    text-align: center;
    padding: 0.7rem 1rem;
}

/* Financing Section */
.financing-section {
    padding: 4rem 2rem;
    background: white
}

.financing-section h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-intro {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

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

.financing-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid navy;
    text-align: center;
    transition: all 0.3s ease;
}

.financing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.financing-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.financing-card p {
    color: #555;
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-box {
        width: 50%;
    }

    .icon {
        font-size: 1.8rem;
        min-width: 40px;
        min-height: 40px;
        padding: 0.4rem;
    }

    .icons {
        gap: 1rem;
    }

    .slideshow-container {
        min-height: 300px;
    }

    .slide-content {
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 1.5rem;
    }

    .slide-text h2 {
        font-size: 1.8rem;
    }

    .slide-text p {
        font-size: 1rem;
    }

    .slide-icon {
        font-size: 4rem;
    }

    .prev, .next {
        padding: 10px;
        font-size: 14px;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .cta-button {
        width: 100%;
    }

    .category-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .search-box {
        display: none;
    }

    .icon {
        font-size: 1.6rem;
        min-width: 38px;
        min-height: 38px;
    }

    .slideshow-container {
        min-height: 250px;
    }

    .slide-content {
        padding: 1.5rem 1rem;
    }

    .slide-text h2 {
        font-size: 1.4rem;
    }

    .slide-text p {
        font-size: 0.9rem;
    }

    .slide-icon {
        font-size: 3rem;
    }

    .filter-buttons {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
    }

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

    .product-card {
        padding: 1.5rem;
    }

    .product-icon {
        font-size: 2rem;
    }

    .product-card h4 {
        font-size: 1rem;
    }

    .product-price {
        font-size: 1.2rem;
    }

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

/* Floating Pop-ups */
.floating-popup {
    position: fixed;
    bottom: 20px;
    z-index: 1000;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideIn 0.5s ease-out;
    transition: all 0.3s ease;
    overflow: hidden;
}

.floating-popup:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.floating-popup .popup-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    overflow: hidden;
}

.popup-svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    overflow: visible;
}

.whatsapp-popup {
    right: 20px;
    background-color: #30f509;
}

.whatsapp-popup .popup-svg {
    fill: #FFFFFF;
}

.call-popup {
    right: 90px;
    background-color: #ffffff;
}

.call-popup .popup-svg {
    fill: #30f509;
}

/* Newsletter Popup */
.newsletter-icon-popup {
    left: 20px;
    right: auto;
    background-color: #ffffff;
}

.newsletter-icon-popup .popup-svg {
    fill: #30f509;
}

.newsletter-popup-modal {
    display: none; 
    position: fixed;
    z-index: 9999; 
    left: 20px;
    bottom: 90px;
    top: auto;
    width: 320px;
    height: auto;
    overflow: visible;
    background-color: transparent;
    align-items: flex-start;
    justify-content: flex-start;
    animation: slideIn 0.3s ease-out;
}

.newsletter-popup-modal[style*="display: flex"] {
    display: flex !important;
}

.newsletter-popup-content {
    background-color: #fefefe;
    margin: 0;
    padding: 1.5rem;
    border: 1px solid #888;
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    position: relative;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close-newsletter-popup {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-newsletter-popup:hover,
.close-newsletter-popup:focus {
    color: #333;
    text-decoration: none;
}

.newsletter-popup-content h3 {
    margin-top: 0;
    color: #2c3e50;
}

.newsletter-popup-content p {
    color: #555;
    margin-bottom: 1.5rem;
}

#newsletterForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#newsletterForm input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

/* Product Detail Pages */
/* Hero Container for Product Detail Pages */
.hero-subpage {
  position: relative;
  height: 40vh; 
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
}

/* Background Image & Overlay */
.hero-bg, .bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); 
  z-index: -1;
}

/* Glassmorphism Effect */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px); 
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
}

/* Animation States */
.reveal-text, .fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

/* Triggered by JS */
.reveal-text.active, .fade-in.active {
  opacity: 1;
  transform: translateY(0);
}



.breadcrumb {
    padding: 1.5rem 2rem;
    background-color: #f8f9fa;
    font-size: 0.95rem;
    color: #555;
}

.breadcrumb a {
    color: #6c3f18;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Product Details Full */
.product-details-full {
    padding: 4rem 2rem;
    background-color: white;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.product-main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: start;
}

.product-image-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-image-large {
    background: linear-gradient(135deg, #f8f9fa 0%, #ecf0f1 100%);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    border-left: 4px solid navy;
}

.product-image-large img {
    max-width: 100%;
    max-height: 500px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-quick-specs {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid navy;
}

.product-quick-specs h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.product-quick-specs ul {
    list-style: none;
    padding: 0;
}

.product-quick-specs li {
    padding: 0.5rem 0;
    color: #555;
    border-bottom: 1px solid #e0e0e0;
}

.product-quick-specs li:last-child {
    border-bottom: none;
}

.product-info-section h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}


.badge {
    background-color: #a6f509;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-summary {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 2rem 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.features-list h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.features-list ul {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 0.7rem 0;
    color: #555;
    font-size: 0.95rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.action-buttons .cta-button {
    flex: 1;
    text-align: center;
    padding: 1rem;
}

.financing-info {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid navy;
    margin-top: 2rem;
}

.financing-info p {
    color: #555;
    margin-bottom: 1rem;
}

.cta-link {
    color: #a6f509;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.cta-link:hover {
    text-decoration: underline;
}

/* Product Description Full */
.product-description-full {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

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

.description-column h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.description-column p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.specs-list {
    list-style: none;
    padding: 0;
}

.specs-list li {
    padding: 0.7rem 0;
    color: #555;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.95rem;
}

.specs-list li:last-child {
    border-bottom: none;
}

.specs-list strong {
    color: #2c3e50;
}

/* Related Products */
.related-products {
    padding: 4rem 2rem;
    background-color: white;
}

.related-products h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

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

.related-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    border-color: #a6f509;
}

.related-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

 .related-products .product-image {
    width: 100%;
    max-width: 100%;
    height:auto;
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ecf0f1 100%);
    padding: 1rem;
}

.related-products .product-image.small {
    height: 220px;
}

.related-card img {
    width: 100%;
    max-width: 280px;
    height: 100%;
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ecf0f1 100%);
    padding: 1rem;
}

.related-card h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.related-card p {
    color: #555;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.faq-section h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

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

.faq-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid navy;
    cursor: pointer;
}

.faq-item summary {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
    outline: none;
}

.faq-item summary:hover {
    color: #a6f509;
}

.faq-item p {
    color: #555;
    margin-top: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Product CTA Section */
.product-cta {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #a7cc40 10%, #6c3f18 100%);
    color: white;
    text-align: center;
}

.product-cta h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.product-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Responsive for Detail Pages */
@media (max-width: 768px) {
    .hero-subpage {
        padding: 3rem 1.5rem;
    }

    .hero-subpage h1 {
        font-size: 1.8rem;
    }

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

    .product-image-large {
        min-height: 200px;
        font-size: 4rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .cta-button {
        width: 100%;
    }

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

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

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

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .cta-button {
        width: 100%;
    }

    .product-cta h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-subpage {
        padding: 2rem 1rem;
    }

    .hero-subpage h1 {
        font-size: 1.4rem;
    }

    .breadcrumb {
        font-size: 0.85rem;
        padding: 1rem;
    }

    .product-image-large {
        padding: 2rem;
        font-size: 3rem;
        min-height: 150px;
    }

    .price {
        font-size: 1.5rem;
    }

    .badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

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

    .product-description-full {
        padding: 2rem 1rem;
    }

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

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

    .faq-item {
        padding: 1rem;
    }

    .product-cta {
        padding: 2rem 1rem;
    }

    .product-cta h2 {
        font-size: 1.2rem;
    }

    .product-cta p {
        font-size: 0.95rem;
    }
}


/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.25s ease;
    text-decoration: none;
    margin: 0.4rem;
}
.nav-cta { font-weight: 800; padding: 0.6rem 1.2rem; }

.cta-button.primary {
    background-color: #a6f509;
    color: #333;
}

.cta-button.primary:hover {
    background-color: #a6f509;
    transform: scale(1.05);
}

.cta-button.secondary {
    background-color: navy;
    color: white;
}

.cta-button.secondary:hover {
    background-color: #4a2810;
    transform: scale(1.05);
}

/* Footer */
.footer {
    background-color: navy;
    color: #ecf0f1;
    padding: 3rem 2rem;
}

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

.footer-section h4 { margin-bottom: 1rem; color: #a6f509; }
.address-line { display: inline-flex; align-items: center; gap: 0.4rem; }
.pin { width: 16px; height: 16px; fill: #a6f509; }
.contact-list { list-style: none; padding-left: 0; margin-top: 0.5rem; }
.contact-list li { margin: 0.25rem 0; }

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

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

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

.footer-section a:hover {
    color: #a6f509;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-block;
}

/* Inline SVG icon styling */
.social-links a svg {
    width: 28px;
    height: 28px;
    fill: #ecf0f1;
    display: block;
}

.social-links a:hover svg {
    fill: #a6f509;
}

.social-facebook svg { fill: #ecf0f1; }
.social-linkedin svg { fill: #ecf0f1; }
.social-instagram svg { fill: #ecf0f1; }
.social-x svg { fill: #ecf0f1; }
.social-whatsapp svg { fill: #ecf0f1; }

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(236, 240, 241, 0.2);
    padding-top: 2rem;
}

.certified-by-title {
    margin-top: 1.5rem;
}

.certifications {
    display: flex;
    gap: 15px;
    align-items: center;
}

.certifications img {
    height: 40px;
    width: auto;
    background: white;
    padding: 2px;
    border-radius: 4px;
    object-fit: contain;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h2 {
    margin: 0;
    color: #6c3f18;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-close:hover {
    background-color: #f0f0f0;
    color: #333;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Cart Modal Styles */
.cart-modal {
    max-width: 700px;
}

.empty-cart {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c3f18;
    font-size: 1.1rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: box-shadow 0.2s;
}

.cart-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 6px;
}

.cart-item-details h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1rem;
}

.cart-item-price {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

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

.cart-item-quantity button {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cart-item-quantity button:hover {
    background-color: #6c3f18;
    color: white;
    border-color: #6c3f18;
}

.cart-item-quantity span {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.cart-item-total {
    font-weight: 600;
    color: #6c3f18;
    min-width: 100px;
    text-align: right;
}

.cart-item-remove {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.cart-item-remove:hover {
    background-color: #fee;
    transform: scale(1.1);
}

.cart-summary {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e0e0e0;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    color: #6c3f18;
}

/* Auth Modal Styles */
.auth-modal {
    max-width: 450px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #6c3f18;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #6c3f18;
    box-shadow: 0 0 0 3px rgba(108, 63, 24, 0.1);
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #e0e0e0;
}

.auth-divider span {
    background: white;
    padding: 0 1rem;
    position: relative;
    color: #666;
    font-size: 0.9rem;
}

.full-width {
    width: 100%;
}

/* Profile Modal Styles */
.profile-modal {
    max-width: 400px;
}

.profile-info {
    text-align: center;
    padding: 1rem 0 2rem 0;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #6c3f18 0%, #8b5e34 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.profile-info h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.profile-info p {
    margin: 0;
    color: #666;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

#cartBtn {
    position: relative;
}

/* Checkout Options Modal */
.checkout-options-modal {
    max-width: 500px;
}

.checkout-message {
    text-align: center;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.checkout-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.checkout-option-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.checkout-option-btn:hover {
    border-color: #6c3f18;
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 63, 24, 0.2);
}

.checkout-option-btn .option-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.checkout-option-btn .option-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
    display: block;
}

.checkout-option-btn .option-desc {
    font-size: 0.9rem;
    color: #666;
    display: block;
}

.email-option:hover {
    border-color: #0066cc;
}

.whatsapp-option:hover {
    border-color: #25D366;
}

.checkout-note {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Responsive Modal Styles */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        margin: 1rem;
    }

    .cart-item {
        grid-template-columns: 60px 1fr;
        gap: 0.75rem;
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
    }

    .cart-item-details {
        grid-column: 2;
    }

    .cart-item-quantity {
        grid-column: 1 / 2;
        grid-row: 2;
    }

    .cart-item-total {
        grid-column: 2;
        grid-row: 2;
        text-align: left;
    }

    .cart-item-remove {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .modal-footer {
        flex-direction: column;
    }

    .modal-footer button {
        width: 100%;
    }
}
    

    .cart-item-total {
        grid-column: 2;
        grid-row: 2;
        text-align: left;
    }

    .cart-item-remove {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .modal-footer {
        flex-direction: column;
    }

    .modal-footer button {
        width: 100%;
    }

    /* Buy Dropdown & Bulk Buy Modal */
.buy-dropdown { position: relative; display: inline-block; }
.buy-options { display: none; position: absolute; right: 0; background-color: #fff; min-width: 180px; box-shadow: 0 8px 16px rgba(0,0,0,0.2); z-index: 1000; border-radius: 8px; overflow: hidden; margin-top: 5px; }
.buy-options.show { display: block; }
.buy-option { color: #333; padding: 12px 16px; text-decoration: none; display: block; width: 100%; text-align: left; border: none; background: none; cursor: pointer; font-family: inherit; font-size: 1rem; transition: background 0.3s; }
.buy-option:hover { background-color: #f1f1f1; color: var(--primary-dark); }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; z-index: 2000; }
.modal-content { background-color: #fff; padding: 2rem; border-radius: 8px; width: 90%; max-width: 500px; position: relative; max-height: 90vh; overflow-y: auto; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.close-modal { position: absolute; top: 10px; right: 20px; font-size: 28px; font-weight: bold; cursor: pointer; color: #aaa; }
.close-modal:hover { color: #a6f509; }
.discount-label { background-color: #e8f5e9; color: #2e7d32; padding: 10px; border-radius: 4px; margin: 15px 0; font-size: 0.9rem; border-left: 4px solid #2e7d32; }

#bulkBuyModal h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}
#bulkBuyModal .modal-intro {
    margin-bottom: 1.5rem;
    color: #666;
}
#bulkBuyModal .cta-button {
    width: 100%;
}
