:root {
    --primary-color: #F7C52D;
    --primary-dark: #E6B825;
    --text-primary: #2D3748;
    --text-secondary: #718096;
    --text-light: #A0AEC0;
    --white: #FFFFFF;
    --gray-50: #F7FAFC;
    --gray-100: #EDF2F7;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E0;
    --gray-400: #A0AEC0;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #fff;
  color: #222;
  margin: 0;
  padding: 0;
}

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

/* Header */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

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

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

.logo-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.logo-text h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.logo-text p {
    font-size: 12px;
    color: var(--text-secondary);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Phone display removed */

.btn-buy, .btn-primary, .btn-secondary {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-buy, .btn-primary {
    background: var(--primary-color);
    color: var(--text-primary);
}

.btn-buy:hover, .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-primary);
}

/* Hero Section */
/* Home Page Carousel */
.home-carousel {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-container-home {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  position: relative;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gray-100);
}

.carousel-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* Fallback for missing images */
.carousel-slide:not([style*="background-image"])::after {
  content: 'Loading...';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-secondary);
  font-size: 18px;
  z-index: 2;
}/* Navigation arrows */
.carousel-nav-home {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--text-primary);
}

.carousel-nav-home:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-home:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-nav-home:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.5);
}

.carousel-nav-home.prev {
    left: 20px;
}

.carousel-nav-home.next {
    right: 20px;
}

/* Carousel indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background: var(--white);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 12px;
    background: var(--gray-50);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Products Section */
/* Products Section */
.products {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    background-image: url('assets/images/backgroundimages/image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.products::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(247, 197, 45, 0.03) 0%, transparent 70%);
    animation: subtle-rotate 20s linear infinite;
    z-index: 1;
}

@keyframes subtle-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #ff6b35);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.section-header:hover h2::after {
    width: 80px;
}

.section-header p {
    font-size: 20px;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.01em;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

/* Router view for product details */
#router-view {
    position: relative;
    z-index: 15;
}

/* Add stagger animation for product cards */
.product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none !important;
    position: relative;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* Stagger animation delay */
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #ff6b35, #4facfe);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    text-decoration: none !important;
}

.product-image,
.product-image-placeholder {
    height: 240px;
    overflow: hidden;
    background: radial-gradient(circle, rgba(247, 197, 45, 0.05) 0%, rgba(248, 250, 252, 0.8) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 16px;
    background: transparent;
    padding: 10px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.08));
}

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

.product-content {
    padding: 32px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: transparent;
    position: relative;
}

.product-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
    text-decoration: none;
    line-height: 1.3;
}

.product-card:hover .product-content h3 {
    color: var(--primary-color);
}

.product-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
    min-height: 48px;
    letter-spacing: 0.01em;
    opacity: 0.8;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-category {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.product-category.restoration {
    background: rgba(252, 165, 165, 0.2);
    color: #DC2626;
    border-color: rgba(252, 165, 165, 0.3);
}

.product-category.premium-care {
    background: rgba(134, 239, 172, 0.2);
    color: #16A34A;
    border-color: rgba(134, 239, 172, 0.3);
}

.product-category.interior-care {
    background: rgba(147, 197, 253, 0.2);
    color: #2563EB;
    border-color: rgba(147, 197, 253, 0.3);
}

.product-category.tire-care {
    background: rgba(196, 181, 253, 0.2);
    color: #7C3AED;
    border-color: rgba(196, 181, 253, 0.3);
}

.product-category.exterior-care {
    background: rgba(254, 215, 170, 0.2);
    color: #EA580C;
    border-color: rgba(254, 215, 170, 0.3);
}

.view-details {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(247, 197, 45, 0.1);
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.view-details:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 80px;
    align-items: start;
}

.about-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-text > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-feature h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.about-feature p {
    color: var(--text-secondary);
    line-height: 1.5;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: var(--gray-50);
    border-radius: 12px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-item h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--gray-50);
}

.contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.contact p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.contact-item {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
    margin: 0;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p {
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer .logo-text h3,
.footer .logo-text p {
    color: var(--white);
}

.contact-info p {
    margin-bottom: 8px;
    color: var(--gray-400);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #374151;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--gray-400);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

/* Product Detail Page */
.product-detail-container {
    background: var(--white);
    min-height: 80vh;
    position: relative;
    z-index: 10;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

.availability-banner {
    margin: 18px auto 28px;
    padding: 12px 16px;
    background: linear-gradient(90deg, rgba(245,247,250,1) 0%, rgba(255,255,255,0.9) 100%);
    border: 1px solid rgba(34, 34, 34, 0.04);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 6px 18px rgba(16,24,40,0.06);
    animation: bannerIn 420ms cubic-bezier(.2,.9,.2,1);
}
.availability-banner .banner-text {
    display:flex;
    flex-direction: column;
}
.availability-banner .banner-text strong {
    font-size: 15px;
    color: var(--text-primary);
}
.availability-banner .banner-text span {
    font-size: 13px;
    color: var(--text-secondary);
}
.availability-banner .banner-icons {
    display:flex;
    gap:10px;
}
.availability-banner .banner-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.availability-banner .banner-icons img {width:28px;height:28px;display:block;filter:brightness(1.02) contrast(0.98);} 

/* Banner marketplace blocks: reuse marketplace color classes for consistency */
.availability-banner .banner-icons a.marketplace-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 12px rgba(16,24,40,0.06);
    border: 1px solid rgba(255,255,255,0.04);
    overflow: hidden;
    background: transparent;
}

/* Banner marketplace images fill container */
.availability-banner .banner-icons a img,
.marketplace-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
    background: transparent;
    border-radius: 0;
    display: block;
}

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

.breadcrumb {
    padding: 16px 0;
    background: var(--gray-50);
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    color: var(--text-light);
    margin: 0 8px;
}

.product-detail-content {
    padding: 60px 0 40px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 60px;
}

.product-image-section {
    position: sticky;
    top: 100px;
}

.product-detail-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    background: var(--white);
    padding: 40px;
}

.product-info-section {
    padding: 20px 0;
    position: relative;
    z-index: 5;
    user-select: text;
    -webkit-user-select: text;
}
.marketplace-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    align-items: center;
}
.marketplace-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 12px; /* subtle rounded square */
    box-shadow: 0 6px 22px rgba(16,24,40,0.08);
    transition: transform 0.18s cubic-bezier(.2,.8,.2,1), box-shadow 0.18s ease;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.06);
    background: transparent; /* allow logo to use full area */
}
.marketplace-links a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain; /* preserve aspect ratio while filling container */
    padding: 0;
    background: transparent;
    border-radius: 0;
}
.marketplace-links a:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 14px 34px rgba(16,24,40,0.12);
}

/* platform colors */
.marketplace-icon.amazon { background: transparent; }
.marketplace-icon.flipkart { background: transparent; }
.marketplace-icon.meesho { background: transparent; }

/* Make sure svg/logo inside colored block has a slight white tint for contrast when needed */
.marketplace-links a img { filter: none; }

/* On small screens, stack icons and align with buttons */
@media (max-width: 520px) {
    .marketplace-links {
        gap: 10px;
    }
    .marketplace-links a {
        width: 56px;
        height: 56px;
        border-radius: 10px;
    }
    .marketplace-links a img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 0;
    }
}

.product-info-section h1,
.product-info-section p,
.product-info-section .product-description {
    user-select: text;
    -webkit-user-select: text;
    pointer-events: auto;
}

.product-actions {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column; /* stack action row and icon row */
    gap: 12px;
    align-items: flex-start;
}

.product-actions .action-row {
    display: flex;
    gap: 12px;
    align-items: center;
}
.product-actions .action-row .btn-primary,
.product-actions .action-row .btn-secondary {
    min-width: 160px;
}
.product-actions .marketplace-links {
    margin-top: 4px;
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
}

/* Center icons under buttons on narrow viewports */
@media (max-width: 720px) {
    .product-actions {
        align-items: center;
    }
    .product-actions .action-row {
        justify-content: center;
    }
    .product-actions .marketplace-links {
        justify-content: center;
    }
}

.btn-primary,
.btn-secondary {
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

.product-info-section .product-category {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info-section h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.2;
}

.product-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.product-features {
    margin-bottom: 40px;
}

.product-features h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.feature-check {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.product-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.back-section {
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.back-btn {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.back-btn:hover {
    color: var(--primary-dark);
}

/* Product Carousel */
.product-carousel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 500px;
  width: 100%;
}

.carousel-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  background: var(--white);
  transition: opacity 0.3s ease;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  color: var(--text-primary);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 20;
  pointer-events: auto;
}

.carousel-nav:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-nav.prev {
  left: 16px;
}

.carousel-nav.next {
  right: 16px;
}

.carousel-thumbnails {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 100%;
  overflow-x: auto;
  padding: 8px 0;
}

/* Hide navigation when only one image */
.product-carousel:has(.thumbnail:only-child) .carousel-nav {
  display: none;
}

.thumbnail {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
  border: 2px solid var(--gray-200);
  padding: 4px;
  position: relative;
  z-index: 15;
  pointer-events: auto;
}

.thumbnail:hover {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.thumbnail.active {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(247, 197, 45, 0.3);
}

@media (max-width: 768px) {
  .product-carousel {
    max-width: 100%;
    gap: 12px;
  }
  
  .carousel-container {
    border-radius: 12px;
    aspect-ratio: 1.2;
  }
  
  .carousel-main-image {
    padding: 15px;
  }
  
  .carousel-nav {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .carousel-nav.prev {
    left: 8px;
  }
  
  .carousel-nav.next {
    right: 8px;
  }
  
  .carousel-thumbnails {
    gap: 6px;
    padding: 6px 0;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  
  .thumbnail {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Home Carousel Responsive */
    .home-carousel {
        height: 60vh;
        min-height: 450px;
    }
    
    .carousel-nav-home {
        width: 40px;
        height: 40px;
    }
    
    .carousel-nav-home.prev {
        left: 10px;
    }
    
    .carousel-nav-home.next {
        right: 10px;
    }
    
    .carousel-indicators {
        bottom: 15px;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
    
    /* Products Section Mobile */
    .products {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .section-header p {
        font-size: 18px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-card {
        border-radius: 20px;
    }
    
    .product-image,
    .product-image-placeholder {
        height: 200px;
    }
    
    .product-content {
        padding: 24px 20px 20px 20px;
    }
    
    .product-content h3 {
        font-size: 1.1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-image-section {
        position: static;
        top: auto;
    }
    
    .product-features .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-info-section h1 {
        font-size: 28px;
    }
    
    .product-info-section .product-description {
        font-size: 16px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    /* Home Carousel Mobile */
    .home-carousel {
        height: 50vh;
        min-height: 400px;
    }
    
    .carousel-nav-home {
        width: 35px;
        height: 35px;
    }
    
    .carousel-nav-home svg {
        width: 18px;
        height: 18px;
    }
    
    .carousel-nav-home.prev {
        left: 8px;
    }
    
    .carousel-nav-home.next {
        right: 8px;
    }
    
    .carousel-indicators {
        bottom: 10px;
        gap: 8px;
    }
    
    .carousel-indicator {
        width: 8px;
        height: 8px;
    }
    
    /* Small Mobile Products */
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .products-grid {
        gap: 24px;
    }
    
    .product-card {
        border-radius: 16px;
    }
    
    .product-image,
    .product-image-placeholder {
        height: 180px;
    }
    
    .product-content {
        padding: 20px 16px 16px 16px;
    }
    
    .product-footer {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .view-details {
        align-self: stretch;
        text-align: center;
        padding: 10px 16px;
    }
    
    .features,
    .products,
    .about,
    .contact {
        padding: 40px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .product-carousel {
        gap: 10px;
    }
    
    .carousel-container {
        aspect-ratio: 1;
        border-radius: 8px;
    }
    
    .carousel-main-image {
        padding: 10px;
    }
    
    .carousel-nav {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .carousel-nav.prev {
        left: 6px;
    }
    
    .carousel-nav.next {
        right: 6px;
    }
    
    .carousel-thumbnails {
        gap: 4px;
        padding: 4px 0;
    }
    
    .thumbnail {
        width: 45px;
        height: 45px;
        border-radius: 6px;
    }
    
    .product-info-section h1 {
        font-size: 24px;
    }
}

/* Very small devices - tighten spacing and scale elements for narrow viewports */
@media (max-width: 420px) {
    .nav-wrapper { height: 64px; }
    .logo-text h3 { font-size: 16px; }
    .logo-image { width: 50px; height: 50px; }
    .mobile-menu-btn { font-size: 22px; }

    .home-carousel { height: 44vh; min-height: 320px; }
    .carousel-slide::before { background: rgba(0,0,0,0.25); }
    .carousel-slides { align-items: center; }

    /* Product cards become smaller and single column with reduced padding */
    .product-card { border-radius: 12px; }
    .product-image, .product-image-placeholder { height: 160px; }
    .product-image img { padding: 5px; max-width: 100%; max-height: 100%; }
    .product-content { padding: 16px; }
    .product-content h3 { font-size: 1rem; }
    .product-content p { font-size: 14px; }

    /* Product detail adjustments */
    .product-detail-grid { gap: 24px; }
    .product-detail-image { padding: 20px; max-width: 100%; }
    .product-info-section { padding: 12px 0; }
    .product-info-section h1 { font-size: 20px; }
    .product-info-section .product-description { font-size: 14px; margin-bottom: 20px; }

    /* Actions and marketplace icons stack and center */
    .product-actions { gap: 10px; align-items: center; }
    .product-actions .action-row { flex-direction: column; width: 100%; }
    .product-actions .action-row .btn-primary, .product-actions .action-row .btn-secondary { min-width: auto; width: 100%; }
    .product-actions .marketplace-links { justify-content: center; gap: 10px; }
    .marketplace-links a { width: 40px; height: 40px; border-radius: 8px; }

    /* Footer compaction */
    .footer { padding: 40px 0 16px; }
    .footer-content { grid-template-columns: 1fr; gap: 20px; }
    .footer-bottom { flex-direction: column; gap: 12px; }
}

@media (max-width: 360px) {
    .nav-wrapper { height: 60px; }
    .logo-text h3 { font-size: 15px; }
    .logo-image { width: 45px; height: 45px; }

    .home-carousel { height: 40vh; min-height: 300px; }
    .carousel-container { padding: 8px; }
    .carousel-main-image { padding: 6px; }

    .product-image, .product-image-placeholder { height: 140px; }
    .thumbnail { width: 40px; height: 40px; }

    .product-info-section h1 { font-size: 18px; }
    .product-info-section .product-description { font-size: 13px; }

    .marketplace-links a img { width: 100%; height: 100%; object-fit: contain; padding: 0; }
}

.product-content h3,
.product-content p {
    text-decoration: none !important;
}