/* ======================================
   WINGS NUTRITION - MAIN STYLESHEET
   ====================================== */

/* CSS RESET & BASE */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0062BD;
    --primary-dark: #0051a0;
    --primary-light: #1b8fd4;
    --secondary: #F59E0B;
    --secondary-dark: #d97706;
    --accent: #0ea5e9;
    --text-dark: #1a2332;
    --text-body: #334155;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f0f4f8;
    --bg-section: #e8eef5;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.18);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ======================================
   HEADER
   ====================================== */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--primary);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    gap: 20px;
}

/* Logo — logo image only, no text */
.header-logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 56px;
    width: auto;
    /* Remove background from logo */
    mix-blend-mode: normal;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: var(--transition);
}

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

/* Hide logo text in nav — logo only */
.logo-text { display: none !important; }

/* Search */
.header-search { flex: 1; max-width: 500px; }

.search-wrapper { position: relative; }

.search-input {
    width: 100%;
    padding: 10px 44px 10px 18px;
    border: none;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: rgba(255,255,255,0.95);
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.search-input:focus {
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3), 0 2px 8px rgba(0,0,0,0.15);
    background: #fff;
}

.search-input::placeholder { color: #94a3b8; }

.search-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    pointer-events: none;
    opacity: 0.6;
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    z-index: 2000;
    overflow: hidden;
    display: none;
    border: 1px solid var(--border);
    max-height: 70vh;
    overflow-y: auto;
}

.search-dropdown.active { display: block; }

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}

.search-item:last-child { border-bottom: none; }
.search-item:hover { background: var(--bg-light); }
.search-item img { width: 40px; height: 40px; object-fit: contain; border-radius: 6px; flex-shrink: 0; }
.search-item-info { flex: 1; min-width: 0; }
.search-item-name { font-size: 0.875rem; font-weight: 600; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-item-price { font-size: 0.8rem; color: var(--primary); font-weight: 500; }

/* Header Nav */
.header-nav { display: flex; align-items: center; gap: 20px; }

.nav-link {
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link--active::after { width: 100%; }
.nav-link:hover { color: var(--secondary); }
.nav-link--active { color: var(--secondary); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--primary-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.mobile-menu.active {
    display: flex;
    max-height: 300px;
    padding: 12px 0;
}

.mobile-link {
    color: #fff;
    padding: 12px 24px;
    font-weight: 500;
    font-size: 1rem;
    display: block;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.mobile-link:hover {
    background: rgba(255,255,255,0.1);
    border-left-color: var(--secondary);
    color: var(--secondary);
}

/* ======================================
   HERO
   ====================================== */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    background: url('../images/hero-bg.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,40,100,0.75) 0%, rgba(0,10,30,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 24px;
    animation: fadeInUp 0.8s ease both;
}

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

.hero-tagline {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 16px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 40px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* ======================================
   BUTTONS
   ====================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 40px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }
.btn-secondary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-secondary:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }

/* ======================================
   SECTIONS
   ====================================== */
section { padding: 80px 0; }

.section-label {
    text-align: center;
    color: var(--primary);
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.section-label::before, .section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    opacity: 0.3;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 48px;
    line-height: 1.3;
}

/* ======================================
   WHY SECTION
   ====================================== */
.why-section { background: var(--bg-section); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary); }

.feature-icon { display: flex; justify-content: center; margin-bottom: 20px; }

.icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34,197,94,0.05);
    transition: var(--transition);
}

.feature-card:hover .icon-circle { background: rgba(34,197,94,0.1); transform: scale(1.1); }

.feature-title { font-size: 1rem; font-weight: 700; color: var(--secondary); margin-bottom: 12px; }
.feature-desc { color: var(--text-body); font-size: 0.9rem; line-height: 1.6; }

/* ======================================
   CATEGORIES
   ====================================== */
.categories-section { background: var(--bg-section); padding-top: 0; }

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.category-card:hover img { transform: scale(1.07); }

.category-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 20px;
    background: linear-gradient(to top, rgba(0,50,120,0.85) 0%, transparent 100%);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* ======================================
   PRODUCTS GRID  (No Inquire button)
   ====================================== */
.products-section { background: var(--bg-section); padding-top: 0; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(0,98,189,0.2); }

.product-img-wrap {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f8fafc;
    position: relative;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.4s ease;
}

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 1;
}

.product-info {
    padding: 14px 16px 18px;
    border-top: 1px solid var(--border);
}

.product-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.4;
    text-align: center;
}

.product-price {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-body);
    text-align: center;
    display: block;
}

.show-all-wrapper { text-align: center; margin-top: -8px; margin-bottom: 8px; }

/* ======================================
   INGREDIENTS
   ====================================== */
.ingredients-section { background: var(--bg-section); }

.ingredients-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.ingredient-item {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: var(--transition);
}

.ingredient-item:last-child { border-bottom: none; }
.ingredient-item:hover { color: var(--primary); }

.ingredients-center {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ingredients-center img {
    width: 280px;
    height: 280px;
    object-fit: contain;
    mix-blend-mode: multiply;
    animation: float 3s ease-in-out infinite;
    filter: brightness(1.05) contrast(1.1);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ======================================
   FOOTER  (Fully responsive)
   ====================================== */
.footer {
    background: var(--primary);
    color: #fff;
    padding: 48px 0 0;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 32px;
}

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

.footer-logo img {
    height: 56px;
    width: auto;
    /* Transparent bg for logo */
    mix-blend-mode: normal;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

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

.footer-link {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-link:hover { color: var(--secondary); }

.footer-bottom {
    background: rgba(0,0,0,0.25);
    padding: 16px 24px;
    text-align: center;
}

.footer-bottom p { color: rgba(255,255,255,0.65); font-size: 0.82rem; }

/* ======================================
   SCROLL TO TOP
   ====================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

.scroll-top:hover { background: var(--primary-dark); transform: translateY(-4px); }
.scroll-top.visible { display: flex; }

/* ======================================
   BREADCRUMB
   ====================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.breadcrumb a { color: var(--primary); font-weight: 500; }
.breadcrumb a:hover { color: var(--primary-dark); text-decoration: underline; }

/* ======================================
   SHOP PAGE
   ====================================== */
.shop-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 24px;
    text-align: center;
    color: #fff;
}

.shop-banner-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.shop-banner .breadcrumb { justify-content: center; color: rgba(255,255,255,0.75); }
.shop-banner .breadcrumb a { color: rgba(255,255,255,0.9); }

.shop-section { background: var(--bg-section); padding: 60px 0 80px; }

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    background: #fff;
    padding: 18px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.filter-categories { display: flex; gap: 10px; flex-wrap: wrap; }

.filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    border: 2px solid var(--border);
    background: transparent;
    color: var(--text-body);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.sort-select {
    padding: 8px 16px;
    border-radius: 30px;
    border: 2px solid var(--border);
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-body);
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.sort-select:focus { border-color: var(--primary); color: var(--primary); }

.no-results { text-align: center; padding: 60px 20px; color: var(--text-light); font-size: 1rem; grid-column: 1 / -1; }

/* ======================================
   PRODUCT DETAIL PAGE
   ====================================== */
.product-detail-section { padding: 60px 0 80px; background: var(--bg-section); }

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

/* Gallery */
.product-detail-gallery {
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.gallery-main {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-md);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
}

.gallery-main img {
    width: 100%;
    max-width: 380px;
    max-height: 380px;
    object-fit: contain;
    margin: 0 auto;
    transition: opacity 0.3s ease;
    transform-origin: center center;
    will-change: transform;
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--border);
    transition: var(--transition);
    background: #fff;
    flex-shrink: 0;
}

.thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.thumb:hover { border-color: var(--primary); }
.thumb.active { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(0,98,189,0.25); }

/* Product Info */
.product-detail-info { padding-top: 8px; }

.product-detail-category {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.product-detail-name {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.25;
}

.product-detail-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

/* Variant Groups */
.variant-group { margin-bottom: 20px; }

.variant-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.selected-flavor-name { color: var(--primary); font-weight: 700; text-transform: none; letter-spacing: 0; }

.variant-options { display: flex; flex-wrap: wrap; gap: 10px; }

.variant-btn {
    padding: 8px 18px;
    border-radius: 30px;
    border: 2px solid var(--border);
    background: #fff;
    color: var(--text-body);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.variant-btn:hover { border-color: var(--primary); color: var(--primary); }
.variant-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }

/* Description & Key Points */
.product-detail-desc {
    color: var(--text-body);
    font-size: 0.925rem;
    line-height: 1.75;
    margin-bottom: 24px;
    padding-top: 4px;
}

.key-points-list { list-style: none; margin-bottom: 32px; }

.key-point-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-body);
}

.key-point-item:last-child { border-bottom: none; }

.key-point-check {
    color: var(--primary);
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Inquire Button (Product page only) */
.product-detail-inquire {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: #25D366;
    color: #fff;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.product-detail-inquire:hover {
    background: #1ebe5c;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(37,211,102,0.45);
    color: #fff;
}

/* Related Section */
.related-section { background: var(--bg-section); padding-top: 0; }

/* ======================================
   ANIMATIONS
   ====================================== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ======================================
   RESPONSIVE — Tablet 1024px
   ====================================== */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 900px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }

    .ingredients-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .ingredients-center img { width: 220px; height: 220px; margin: 0 auto; }

    .product-detail { grid-template-columns: 1fr; gap: 40px; }
    .product-detail-gallery { position: static; }
}

/* ======================================
   RESPONSIVE — Mobile 768px
   ====================================== */
@media (max-width: 768px) {
    :root { --header-height: 70px; }

    .header-search { flex: 1; max-width: none; }
    .header-nav .nav-link { display: none; }
    .hamburger { display: flex; }

    section { padding: 56px 0; }
    .section-title { margin-bottom: 32px; }

    .hero { min-height: 100svh; }
    .hero-title { font-size: 2rem; }
    .hero-buttons { gap: 14px; }
    .btn { padding: 12px 24px; font-size: 0.8rem; }

    .features-grid { grid-template-columns: 1fr; max-width: 420px; }
    .categories-grid { grid-template-columns: 1fr; gap: 16px; }
    .category-card { aspect-ratio: 16/9; }

    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    .filter-bar { flex-direction: column; align-items: stretch; }
    .filter-categories { justify-content: center; }
    .sort-select { width: 100%; }

    /* ── Mobile search dropdown — fixed positioning ── */
    .search-dropdown {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        max-height: 60vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    }

    .search-item {
        padding: 12px 16px;
        gap: 14px;
    }

    .search-item img {
        width: 48px;
        height: 48px;
    }

    .search-item-name { font-size: 0.9rem; }
    .search-item-price { font-size: 0.82rem; }

    /* ── Footer mobile — stack vertically, centered ── */
    .footer { padding: 40px 0 0; }

    .footer-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 24px;
        padding-bottom: 32px;
    }

    .footer-logo a { flex-direction: column; gap: 8px; }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .scroll-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }

    /* Gallery on mobile */
    .gallery-main { min-height: 260px; padding: 20px; }
    .gallery-main img { max-height: 260px; }
    .thumb { width: 64px; height: 64px; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-name { font-size: 0.8rem; }
    .product-price { font-size: 0.8rem; }
    .hero-title { font-size: 1.7rem; }

    .variant-btn { padding: 7px 14px; font-size: 0.8rem; }
    .product-detail-inquire { padding: 14px 24px; font-size: 0.85rem; }

    /* Footer extra small */
    .footer-logo img { height: 48px; }
}

@media (max-width: 360px) {
    .products-grid { grid-template-columns: 1fr; }
}
