/* 
 * Merge & Mix - Premium Baby Store Redesign
 * Colors, Typography, and Core Setup
 */

:root {
    /* Colors */
    --primary: #FF7500; /* Bright Orange CTA */
    --primary-light: #ff8c33;
    --secondary: #86DCBB; /* Mint Green Header */
    --dark: #265C9B; /* Deep Blue for Headings for readability */
    --text-main: #333333; /* Dark text for readability on light backgrounds */
    --text-muted: #698B9D; /* Muted Blue-Grey */
    --light: #ffffff; /* Pure White for forms and content boxes */
    --white: #ffffff;
    --border: rgba(38, 92, 155, 0.2); /* Deep blue border */
    
    /* Custom New Palette */
    --bg-top: #5AD8DF; /* Vibrant Cyan Top Background */
    --bg-header-box: #86DCBB; /* Mint Green Header Box */
    --link-blue: #265C9B; /* Deep Blue Links */
    --placeholder: #698B9D; /* Muted Blue-Grey Placeholder */
    --bg-bottom: #C2DFD9; /* Pale Grey-Green Bottom Background */
    
    /* Promo Colors */
    --bg-green: #4ade80;
    --bg-purple: #a78bfa;
    --bg-pink: #f472b6;
    --bg-blue: #60a5fa;
    --bg-red: #fb7185;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --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);
    --shadow-float: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Border Radius */
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background: linear-gradient(to bottom, var(--bg-top), var(--bg-bottom));
    background-attachment: fixed;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
    outline: none;
}

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

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

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

.bg-light {
    background-color: var(--light);
}

.border-top {
    border-top: 1px solid var(--border);
}

.highlight {
    color: var(--primary);
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(30, 80, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 80, 255, 0.4);
}

.btn-white {
    background-color: var(--white);
    color: var(--dark);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary);
}

.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--dark);
    font-family: var(--font-heading);
}

.link-btn:hover {
    color: var(--primary);
    gap: 0.75rem;
}

/* Badges */
.badge {
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge.new {
    background-color: var(--primary);
    color: var(--white);
}
.badge.sale {
    background-color: var(--secondary);
    color: var(--white);
}

/* -------------------------------------
 * Top Bar
 * ------------------------------------- */
.top-bar {
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    background: var(--bg-top);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo h1 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary);
}

.search-container {
    flex: 1;
    max-width: 600px;
    position: relative;
    display: flex;
}

.search-container input {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-family: inherit;
    background: var(--white);
    color: var(--text-main);
    transition: var(--transition-fast);
}

.search-container input::placeholder {
    color: var(--placeholder);
}

.search-container input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(30, 80, 255, 0.1);
}

.search-container button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-container button:hover {
    background: var(--primary-light);
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.action-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.9375rem;
}

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

.cart-icon {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    left: 8px;
    background: var(--secondary);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

/* -------------------------------------
 * Main Navigation
 * ------------------------------------- */
.main-nav {
    background: var(--bg-header-box);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition-normal);
}

.main-nav.sticky {
    box-shadow: var(--shadow-md);
    background: var(--bg-header-box);
    backdrop-filter: blur(10px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.shop-category {
    position: relative;
}

.category-btn {
    background: var(--primary);
    color: var(--white);
    padding: 1.25rem 2rem;
    font-weight: 600;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    transition: var(--transition-normal);
}

.category-btn:hover {
    background: var(--primary-light);
}

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

.nav-links a {
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    position: relative;
    padding: 1.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark);
}

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

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

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

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

.help-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--dark);
}

.help-line i {
    color: var(--primary);
    font-size: 1.25rem;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--dark);
    margin-left: 1rem;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background: var(--white);
    z-index: 1001;
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    transition: var(--transition-normal);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.close-menu-btn:hover {
    background: #e5e7eb;
    transform: rotate(90deg);
}

.mobile-nav-links {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-links a {
    font-size: 1.125rem;
    font-weight: 600;
    font-family: var(--font-heading);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--primary);
    padding-left: 0.5rem;
}

/* -------------------------------------
 * Hero Section
 * ------------------------------------- */
.hero {
    padding: 4rem 0;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
}

.hero-subtitle {
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-price {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.hero-price .highlight {
    font-size: 1.5rem;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--bg-green);
    opacity: 0.2;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(40px);
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-float);
}

/* -------------------------------------
 * Shop By Category
 * ------------------------------------- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1.5rem;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.category-icon-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    border: 3px solid transparent;
}

.category-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.category-item:hover .category-icon-wrapper {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.category-item:hover .category-icon-wrapper img {
    transform: scale(1.1);
}

.category-item span {
    font-weight: 600;
    font-family: var(--font-heading);
}

/* -------------------------------------
 * Promo Banners Grid
 * ------------------------------------- */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 1.5rem;
}

.promo-card {
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-float);
}

.promo-card.large:nth-child(1) {
    grid-column: span 1;
    grid-row: span 2;
    flex-direction: column;
    align-items: flex-start;
}

.promo-card.large:nth-child(2) {
    grid-column: span 2;
    flex-direction: column;
    justify-content: flex-start;
}

.promo-card.small {
    grid-column: span 1;
}

.promo-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.promo-card.small .promo-content h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.promo-card.small .promo-price,
.promo-card.large .promo-price {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.promo-card.large h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.promo-card .link-btn {
    color: var(--white);
}

.promo-img {
    position: absolute;
    z-index: 1;
    transition: var(--transition-slow);
}

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

.promo-card.large:nth-child(1) .promo-img {
    bottom: -10%;
    right: -10%;
    width: 90%;
}

.center-bottom {
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
}

.promo-card:hover .center-bottom {
    transform: translateX(-50%) scale(1.05);
}

.right-bottom {
    bottom: 0;
    right: -10%;
    height: 110%;
}

/* Promo Card Backgrounds */
.bg-green { background: linear-gradient(135deg, #4ade80, #22c55e); }
.bg-purple { background: linear-gradient(135deg, #a78bfa, #8b5cf6); }
.bg-pink { background: linear-gradient(135deg, #f472b6, #ec4899); }
.bg-blue { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.bg-red { background: linear-gradient(135deg, #fb7185, #f43f5e); }

/* -------------------------------------
 * Product Cards
 * ------------------------------------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1rem;
    border: 1px solid var(--border);
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    transform: translateY(-5px);
}

.product-img-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1rem;
    padding-top: 100%;
    background: var(--light);
}

.product-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    transition: var(--transition-normal);
    opacity: 0;
}

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

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
}

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

.product-img-wrapper .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

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

.product-rating {
    color: #fbbf24;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.125rem;
    margin-top: auto;
}

.old-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.875rem;
    font-weight: 400;
    margin-left: 0.5rem;
}

/* -------------------------------------
 * Tabs
 * ------------------------------------- */
.tabs-header {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.tab-btn {
    font-size: 1.125rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-muted);
    padding-bottom: 0.5rem;
    position: relative;
    transition: var(--transition-normal);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-normal);
}

.tab-btn.active, .tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active::after, .tab-btn:hover::after {
    width: 100%;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

/* -------------------------------------
 * Full Width Banner
 * ------------------------------------- */
.full-width-banner {
    background: url('https://images.unsplash.com/photo-1445205170230-053b83016050?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    position: relative;
    padding: 8rem 0;
    margin: 4rem 0;
    background-attachment: fixed; /* Parallax effect */
}

.full-width-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(90, 216, 223, 0.7), rgba(134, 220, 187, 0.7)); /* Custom gradient overlay */
}

.full-width-banner .banner-inner {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center; /* Center the glass card */
}

.glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    max-width: 600px;
    text-align: center;
    color: var(--white);
}

.glass-card .banner-subtitle {
    color: var(--white);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.glass-card h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.2;
}

.glass-card .banner-price {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.glass-card .highlight {
    color: var(--primary); /* Bright orange for contrast */
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--white);
    padding: 0.2rem 0.8rem;
    border-radius: var(--radius-md);
    margin-left: 0.5rem;
}

/* -------------------------------------
 * Features Highlights
 * ------------------------------------- */
.features-grid {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 3rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin-top: -8rem;
    position: relative;
    z-index: 10;
}

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

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(38, 92, 155, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition-fast);
}

.feature-item:hover .feature-icon {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.feature-text h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* -------------------------------------
 * 2-Column Banners
 * ------------------------------------- */
.two-col-banners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.promo-card.half {
    padding: 3rem;
    align-items: center;
}

.promo-card.half .promo-img {
    right: 0;
    bottom: 0;
    height: 100%;
    object-fit: contain;
}

/* -------------------------------------
 * Testimonials
 * ------------------------------------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.testimonial-card .rating {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.testimonial-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info h5 {
    margin-bottom: 0.1rem;
}

.client-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* -------------------------------------
 * Brands
 * ------------------------------------- */
.brands-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.brand-logo {
    opacity: 0.5;
    filter: grayscale(100%);
    transition: var(--transition-normal);
    max-height: 50px;
}

.brand-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* -------------------------------------
 * Newsletter
 * ------------------------------------- */
.newsletter-section {
    background: var(--bg-top);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    color: var(--dark);
}

.newsletter-inner {
    text-align: center;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.newsletter-section h3 {
    color: var(--dark);
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.newsletter-section p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

.newsletter-img {
    position: absolute;
    right: 5%;
    bottom: 0;
    height: 120%;
    z-index: 1;
    opacity: 0.7;
    mix-blend-mode: multiply;
}

/* -------------------------------------
 * Footer
 * ------------------------------------- */
.footer {
    background: var(--bg-bottom);
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col ul li a {
    color: var(--dark);
}

.footer-col ul li a[href*="Privacy Policy"],
.footer-col ul li a:hover {
    color: var(--link-blue);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.contact-info li i {
    color: var(--primary);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

.payment-icons {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    color: #d1d5db;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--dark);
    transform: translateY(-5px);
}

/* -------------------------------------
 * Animations (Scroll Reveal)
 * ------------------------------------- */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* -------------------------------------
 * Responsiveness
 * ------------------------------------- */

/* Laptops (1024px) */
@media (max-width: 1024px) {
    .categories-grid { grid-template-columns: repeat(4, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablets (768px) */
@media (max-width: 768px) {
    .top-bar-inner { flex-wrap: wrap; gap: 1rem; }
    .search-container { order: 3; max-width: 100%; }
    
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-title { font-size: 2.5rem; }
    
    .promo-grid { grid-template-columns: 1fr; }
    .promo-card.large:nth-child(1), .promo-card.large:nth-child(2), .promo-card.small { grid-column: span 1; }
    
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    
    .features-grid { flex-wrap: wrap; margin-top: -3rem; }
    .feature-item { width: 45%; }
    
    .two-col-banners { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    
    .newsletter-form { flex-direction: column; }
    .newsletter-img { display: none; }
    
    .full-width-banner .banner-inner { justify-content: center; text-align: center; }
    .full-width-banner .banner-content { text-align: center; }
}

/* Mobile Phones (480px) */
@media (max-width: 480px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: 1fr; }
    .feature-item { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .shop-category { display: none; } /* Hide large category button on very small screens, place in mobile menu if needed */
}

/* ==========================================================================
   SINGLE PRODUCT PAGE STYLES
   ========================================================================== */

.breadcrumb {
    padding: 1.5rem 0;
    background: var(--light);
    border-bottom: 1px solid var(--border);
    margin-bottom: 3rem;
}
.breadcrumb a {
    color: var(--text-light);
    transition: var(--transition);
}
.breadcrumb a:hover {
    color: var(--primary);
}
.breadcrumb i {
    font-size: 0.8rem;
    margin: 0 0.5rem;
    color: var(--text-light);
}
.breadcrumb span {
    color: var(--dark);
    font-weight: 500;
}

.single-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.glass-card-img {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
}
.main-image:hover img {
    transform: scale(1.05); /* subtle zoom */
}

.thumbnail-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.thumb {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}
.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.thumb.active, .thumb:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* Product Details */
.product-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-details .product-title {
    font-size: 2.2rem;
    color: var(--dark);
    line-height: 1.3;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.product-meta .product-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #FFB800; /* Gold */
}
.product-meta .product-rating span {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-left: 0.5rem;
}

.stock-status {
    font-size: 0.95rem;
    font-weight: 600;
}
.stock-status.in-stock { color: var(--success); }
.stock-status.out-of-stock { color: var(--danger); }

.product-details .product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}
.product-details .old-price {
    font-size: 1.2rem;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 400;
}

.product-description {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Variants */
.product-variants {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}
.variant-group h4 {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}
.color-options {
    display: flex;
    gap: 0.8rem;
}
.color-swatch {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid var(--white);
    box-shadow: 0 0 0 1px var(--border);
    transition: var(--transition);
}
.color-swatch.active, .color-swatch:hover {
    box-shadow: 0 0 0 2px var(--dark);
    transform: scale(1.1);
}

/* Actions */
.product-actions-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
}
.qty-btn {
    width: 45px;
    height: 45px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}
.qty-btn:hover { background: var(--light); color: var(--primary); }
.qty-input {
    width: 50px;
    height: 45px;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.add-to-cart-lg {
    flex: 1;
    min-width: 200px;
    height: 45px;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.wishlist-btn-lg {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-dark);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.wishlist-btn-lg:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Guarantee Box */
.guarantee-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(90, 216, 223, 0.1);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px dashed var(--secondary);
    color: var(--dark);
    font-weight: 500;
}
.guarantee-box i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.product-meta-lines p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}
.product-meta-lines strong {
    color: var(--dark);
    margin-right: 0.5rem;
}
.product-meta-lines a {
    color: var(--primary);
    transition: var(--transition);
}
.product-meta-lines a:hover {
    text-decoration: underline;
}

/* Tabs */
.tabs-header.centered {
    justify-content: center;
}
.content-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    line-height: 1.7;
}
.content-box ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-top: 1rem;
}
.content-box li {
    margin-bottom: 0.5rem;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}
.info-table th, .info-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}
.info-table th {
    width: 30%;
    font-weight: 600;
    color: var(--dark);
    background: var(--light);
}

/* Responsive Single Product */
@media (max-width: 992px) {
    .single-product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
@media (max-width: 576px) {
    .thumbnail-row {
        gap: 0.5rem;
    }
    .product-actions-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .add-to-cart-lg {
        width: 100%;
    }
    .wishlist-btn-lg {
        width: 100%;
    }
}
