:root {
            --Major-text-color: #272727;
            --icons-prices-color: #72AEC8;
            --secondary-text-color: #3A3A3A;
            --arrows-color: #D7DDDF;
            --background-color: #FFFFFF;
            --banner-color: #EDF1F3;
        }
        
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        body {
            font-family: "Montserrat", sans-serif;
            background: var(--background-color);
            color: var(--Major-text-color);
            line-height: 1.7;
            overflow-x: hidden;
        }
        
        
        .container {
            width: 90%;
            max-width: 100%;
            margin: 0 auto;
        }
        
        /* Header & Navigation */
        header {
            background: #FFFFFF;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            padding: 10px 0;
            border-bottom: 1px solid var(--banner-color);
            transition: all 0.4s ease;
        }

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

        .logo {
            display: flex;
            align-items: center;
            gap: 5px;
            text-decoration: none;
        }

        .logo-icon {
            color: var(--icons-prices-color);
            font-size: 28px;
        }

        .logo-text {
            font-family: 'Jost', sans-serif;
            font-size: 24px;
            font-weight: bold;
            color: var(--Major-text-color);
        }

        .logo-text span {
            color: var(--icons-prices-color);
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 40px;
        }

        nav a {
            text-decoration: none;
            color: var(--Major-text-color);
            font-weight: 600;
            font-size: 12px;
            position: relative;
            padding: 5px 0;
            transition: color 0.3s ease;
        }

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

        nav a:hover:after {
            width: 100%;
        }

        .nav-buttons {
            display: flex;
            gap: 25px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 8px 20px;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            border: none;
            font-size: 16px;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .btn-primary {
            background: var(--icons-prices-color);
            color: #fff;
        }

        .btn-primary:hover {
            transform: translateY(-2px); 
            box-shadow: 0 6px 20px rgba(114,174,200,0.35); 
        }

        .btn-ghost {
            background: transparent; 
            color: var(--major-text-color);
            border: 2px solid var(--secondary-text-color); 
            padding: 8px 14px;
        }
        
        .btn-ghost:hover { 
            background: var(--banner-color); 
            transform: translateY(-2px); 
        }
        
        .cart-count-badge {
            background: var(--icons-prices-color); 
            color: #fff; 
            font-size: 10px; 
            font-weight: 800;
            width: 18px; 
            height: 18px; 
            border-radius: 50%; 
            display: inline-flex;
            align-items: center; 
            justify-content: center; 
            margin-left: 4px;
        }

        /*Hero Section*/
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            padding-top: 80px;
            padding-bottom: 60px;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--banner-color) 0%, var(--background-color) 100%);
            z-index: -1;
        }

        .hero-content {
            flex: 1 1 0;
            min-width: 0;
            color: var(--secondary-text-color);
            animation: fadeInUp 1s ease-out;
        }

        .hero .container {
            display: flex;
            align-items: center;
            gap: 60px;
        }

        /* Image wrapper keeps the image from stretching */
        .hero-image-wrap {
            flex: 0 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero img {
            /* Never exceed its natural width or the container */
            width: clamp(220px, 35vw, 500px);
            height: auto;
            max-width: 100%;
            object-fit: contain;
            border: 2px solid var(--secondary-text-color);
            border-radius: 40px;
            animation: fadeIn 1s ease-out;
            display: block;
        }

        .hero-subtitle {
            font-size: clamp(14px, 2vw, 20px);
            color: var(--secondary-text-color);
            margin-top: 20px;
            margin-bottom: 40px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .hero-subtitle::before {
            content: '';
            width: 50px;
            height: 2px;
            flex-shrink: 0;
            background: var(--icons-prices-color);      
        }

        .hero-title {
            font-size: clamp(32px, 4.5vw, 60px);
            color: var(--Major-text-color);
            margin-bottom: 25px;
            line-height: 1.1;
            letter-spacing: 0.5px;
        }

        .hero-title span {
            color: var(--icons-prices-color);
            position: relative;
        }

        .hero-text {
            font-size: clamp(14px, 1.5vw, 16px);
            margin-bottom: 30px;
            max-width: 600px;
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
            margin-top: 40px;
            flex-wrap: wrap;
        }


        /* Products Section */
        .products {
            background: linear-gradient(135deg, #0a1628 0%, #0d2240 50%, #0a1628 100%);
            padding: 100px 0 80px;
            text-align: center;
            position: relative;
            overflow: hidden;
            border-top: 4px solid var(--icons-prices-color);
        }

        .products::before {
            content: '';
            position: absolute;
            top: -100px; left: -100px;
            width: 400px; height: 400px;
            background: radial-gradient(circle, rgba(70,130,180,0.15) 0%, transparent 70%);
            border-radius: 50%;
        }

        .products::after {
            content: '';
            position: absolute;
            bottom: -80px; right: -80px;
            width: 350px; height: 350px;
            background: radial-gradient(circle, rgba(70,130,180,0.12) 0%, transparent 70%);
            border-radius: 50%;
        }

        .section-header {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 60px;
        }

        .section-subtitle {
            font-size: 20px;
            color: #4682b4;
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
        }

        .section-title {
            font-size: 42px;
            color: var(--background-color);
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            width: 80px;
            height: 3px;
            background: var(--banner-color);
            left: 50%;
            transform: translateX(-50%);
            bottom: -10px;
        }

        .section-desc {
            font-size: 18px;
            color: rgba(255,255,255,0.65);
        }

        /* ── RESPONSIVE PRODUCT GRID (the key fix) ── */
        .product-grid {
            display: grid;
            /* 3 columns on desktop, shrinks gracefully on smaller screens */
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin: 0 auto 60px;
        }

        .product-card {
            background: var(--background-color);
            border-radius: 15px;
            overflow: hidden;
            transition: transform 0.3s ease;
            position: relative;
            top: 0;
        }

        .product-card:hover {
            transform: translateY(-15px);
            border: 4px solid var(--icons-prices-color);
        }   

        .product-img {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 220px;
            overflow: hidden;
            padding: 20px;
        }

        .product-img img {
            max-width: 100%;
            width: 200px;
            height: auto;
            display: block;
            transition: transform 0.3s ease;
        }

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

        .product-info {
            padding: 25px;
            position: relative;
        }

        .product-tag {
            display: inline-block;
            background: var(--icons-prices-color);
            color: #fff;
            font-size: 14px;
            font-weight: 600;
            padding: 8px 18px;
            border-radius: 20px;
            margin-bottom: 15px;
        }

        .product-title {
            font-size: 24px;
            color: var(--Major-text-color);
            margin-bottom: 10px;
        }

        .product-desc {
            font-size: 16px;
            color: var(--secondary-text-color);
            margin-bottom: 20px;
        }

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

        .product-price {
            font-size: 20px;
            color: var(--icons-prices-color);
            font-weight: bold;
        }

        .rating {
            color: var(--icons-prices-color);
            font-size: 16px;
        }

        /* Footer */
        footer {
            background: var(--background-color);
            color: var(--secondary-text-color);
            padding: 70px 0 30px;
            position: relative;
            border-top: 4px solid var(--icons-prices-color);
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 50px;
            margin-bottom: 50px;
        }

        .footer-column h3 {
            font-size: 18px;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 15px;
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 2px;
            background: var(--icons-prices-color);
        }

        .footer-links {
            list-style: none;
        }

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

        .footer-links a {
            color: var(--secondary-text-color);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .footer-links a:hover {
            color: var(--icons-prices-color);
            padding-left: 5px;
        }

        .social-links {
            display: flex;
            gap: 20px;
            margin-top: 20px;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(114, 174, 200, 0.1);
            border-radius: 50%;
            color: var(--secondary-text-color);
            font-size: 18px;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background: var(--icons-prices-color);
            transform: translateY(-3px);
        }

        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid var(--arrows-color);
            font-size: 15px;
            color: var(--secondary-text-color);
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ── RESPONSIVE BREAKPOINTS ── */

        /* Tablet: 2 columns, hero side-by-side but tighter */
        @media (max-width: 1024px) {
            .product-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 24px;
            }

            /* Center the lone third card */
            .product-grid .product-card:last-child:nth-child(odd) {
                grid-column: 1 / -1;
                max-width: 420px;
                margin: 0 auto;
                width: 100%;
            }

            .hero .container {
                gap: 40px;
            }
        }

        /* Mobile: hero stacks vertically, products single column */
        @media (max-width: 700px) {
            .product-grid {
                grid-template-columns: 1fr;
                gap: 20px;
                max-width: 420px;
                margin-left: auto;
                margin-right: auto;
            }

            .product-grid .product-card:last-child:nth-child(odd) {
                grid-column: auto;
                max-width: none;
            }

            /* Hero stacks: text on top, image below */
            .hero .container {
                flex-direction: column;
                align-items: center;
                text-align: center;
                gap: 36px;
            }

            .hero-content {
                width: 100%;
            }

            .hero-subtitle {
                justify-content: center;
            }

            /* Subtitle line hides on centered layout */
            .hero-subtitle::before {
                display: none;
            }

            .hero-image-wrap {
                width: 100%;
            }

            /* Image fills width but stays proportional */
            .hero img {
                width: min(320px, 80vw);
                border-radius: 28px;
            }

            .hero-buttons {
                justify-content: center;
            }

            .section-title {
                font-size: 30px;
            }

            .section-desc {
                font-size: 15px;
            }

            nav ul {
                gap: 18px;
            }

            nav a {
                font-size: 10px;
            }

            .nav-buttons {
                gap: 12px;
            }
        }

        /* Small mobile */
        @media (max-width: 420px) {
            .hero img {
                width: 75vw;
                border-radius: 20px;
            }

            .product-title {
                font-size: 18px;
            }

            .product-price {
                font-size: 17px;
            }
        }

 /* Search Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.search-box {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  width: 90%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.search-close {
  position: absolute;
  top: -15px;
  right: -15px;
  background: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  color: #555;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.search-close:hover {
  background: #f0f0f0;
  color: #000;
}

.search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.search-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: #4682b4;
}

.search-submit {
  padding: 12px 18px;
  background: #4682b4;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: background 0.2s;
}

.search-result-item:hover {
  background: #f0f6ff;
}

.result-name {
  font-weight: 600;
}

.result-price {
  font-size: 0.85rem;
  color: #4682b4;
}

.no-results {
  color: #888;
  text-align: center;
  padding: 10px 0;
}
