/* PizzaHub Storefront - Public Pages */

/* Top bar */
.top-bar {
    background: var(--secondary);
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    padding: 8px 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.top-bar a { color: var(--accent); }
.top-bar span { display: inline-flex; align-items: center; gap: 6px; }

/* Header — professional layout */
.site-header {
    border-bottom: 1px solid #e8ecef;
    background: #fff;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    min-height: 72px;
}
.logo {
    flex-shrink: 0;
    min-width: 0;
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}
.logo-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}
.logo-tagline {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gray);
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.logo-icon { font-size: 1.75rem; line-height: 1; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center;
    padding: 0 12px;
}
.main-nav a {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--secondary);
    transition: color 0.2s, background 0.2s;
}
.main-nav a:hover {
    color: var(--primary);
    background: rgba(230, 57, 70, 0.06);
}
.main-nav a.active {
    color: var(--primary);
    background: rgba(230, 57, 70, 0.1);
}

.header-end {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.header-search {
    width: 220px;
}
.header-search form {
    position: relative;
    display: flex;
    align-items: center;
}
.header-search .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    pointer-events: none;
    display: flex;
    align-items: center;
}
.header-search input {
    width: 100%;
    padding: 9px 14px 9px 40px;
    border: 1px solid #dee2e6;
    border-radius: 50px;
    font-size: 0.88rem;
    background: #f8f9fa;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.header-search input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.12);
}
.header-search input::placeholder { color: #adb5bd; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    font-size: 1.1rem;
    transition: background 0.2s, border-color 0.2s;
}
.header-icon-btn:hover {
    background: #fff;
    border-color: var(--primary);
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.nav-toggle {
    display: none;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 8px 10px;
    line-height: 1;
    color: var(--secondary);
}
.flash-wrap { margin-top: 12px; }
.top-bar-hide-sm { }

/* Hero landing */
.hero-landing {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0f172a;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    background-size: cover;
    background-position: center;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.6) 45%, rgba(230,57,70,0.35) 100%);
}
.hero-slide-1 { background-image: linear-gradient(135deg, #1d3557 0%, #457b9d 40%, #e63946 100%); }
.hero-slide-2 { background-image: linear-gradient(135deg, #2d1b69 0%, #e63946 50%, #f4a261 100%); }
.hero-slide-3 { background-image: linear-gradient(135deg, #1b4332 0%, #40916c 40%, #e63946 90%); }
.hero-inner {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}
.hero-inner .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}
.hero-text h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.hero-slide-text { display: none; animation: fadeIn 0.6s ease; }
.hero-slide-text.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero-text h1 span { color: var(--accent); }
.hero-text p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.88);
    margin-bottom: 28px;
    max-width: 520px;
    line-height: 1.7;
}
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 32px;
}
.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-weight: 500;
}
.hero-feature .icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.hero-visual {
    position: relative;
    text-align: center;
}
.hero-pizza-showcase {
    font-size: 12rem;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
.hero-badge-float {
    position: absolute;
    background: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    font-weight: 700;
    color: var(--secondary);
    font-size: 0.9rem;
}
.hero-badge-float.b1 { top: 10%; right: 5%; }
.hero-badge-float.b2 { bottom: 20%; left: 0; color: var(--primary); }
.hero-dots {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}
.hero-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
}
.hero-dots button.active { background: #fff; border-color: #fff; width: 32px; border-radius: 6px; }
.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}
.hero-btns .btn-outline {
    border: 2px solid rgba(255,255,255,0.85);
    color: #fff;
    background: transparent;
}
.hero-btns .btn-outline:hover {
    background: #fff;
    color: var(--secondary);
}

/* Stats strip */
.stats-strip {
    background: #fff;
    margin-top: -40px;
    position: relative;
    z-index: 10;
    padding: 0 20px;
}
.stats-strip-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #eee;
}
.stat-item {
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid #f0f0f0;
}
.stat-item:last-child { border-right: none; }
.stat-item .num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.stat-item .lbl {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 6px;
    font-weight: 500;
}

/* Section headers pro */
.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}
.section-head .eyebrow {
    display: inline-block;
    background: var(--primary-soft, #fff0f1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.section-head h2 {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.section-head p { color: var(--gray); font-size: 1.05rem; line-height: 1.7; }

/* Category grid cards */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}
.category-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    border: 2px solid #f0f0f0;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}
.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(230,57,70,0.15);
}
.category-card .cat-icon { font-size: 2.8rem; margin-bottom: 12px; }
.category-card h4 { font-size: 1rem; color: var(--secondary); font-weight: 700; }
.category-card p { font-size: 0.8rem; color: var(--gray); margin-top: 6px; }

/* Promo deals — horizontal grid (not stacked banners) */
.promo-section {
    padding: 56px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
    margin-top: -20px;
    position: relative;
    z-index: 5;
}
.section-head-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    margin-bottom: 28px;
}
.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.promo-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    padding: 24px;
    color: #fff;
    overflow: hidden;
    position: relative;
    min-height: 220px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.promo-card::after {
    content: '';
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    pointer-events: none;
}
.promo-card--red {
    background: linear-gradient(145deg, #e63946 0%, #c1121f 100%);
}
.promo-card--navy {
    background: linear-gradient(145deg, #1d3557 0%, #2a4a6f 100%);
}
.promo-card--warm {
    background: linear-gradient(145deg, #e76f51 0%, #f4a261 100%);
}
.promo-card-icon {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 14px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.18);
    border-radius: 14px;
}
.promo-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}
.promo-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 800;
    line-height: 1.25;
}
.promo-card p {
    font-size: 0.88rem;
    opacity: 0.92;
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}
.promo-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 10px 18px;
    background: #fff;
    color: var(--secondary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: background 0.2s, transform 0.2s;
    margin-top: auto;
}
.promo-card--red .promo-card-btn { color: #c1121f; }
.promo-card--navy .promo-card-btn { color: #1d3557; }
.promo-card--warm .promo-card-btn { color: #c45c26; }
.promo-card-btn:hover {
    background: #f8f9fa;
    transform: translateX(2px);
}

/* Enhanced pizza card */
.pizza-card { border: 1px solid #f0f0f0; position: relative; }
.pizza-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}
.pizza-card-wish {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-size: 1.1rem;
    transition: transform 0.2s;
}
.pizza-card-wish:hover { transform: scale(1.1); }
.pizza-card-body .desc {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.star-rating { color: #ffc107; font-size: 0.9rem; letter-spacing: 1px; }
.star-rating .star { color: #ddd; }
.star-rating .star.filled, .star-rating .star.half { color: #ffc107; }
.rating-text { font-size: 0.8rem; color: var(--gray); margin-left: 6px; }
.pizza-card-footer {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}
.pizza-card-footer .btn { flex: 1; }

/* Offer cards */
.offer-card-pro {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}
.offer-card-pro:hover { transform: translateY(-4px); }
.offer-card-top {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 30px;
    color: #fff;
    text-align: center;
}
.offer-discount-big {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}
.offer-card-body { padding: 24px; }
.offer-card-body h3 { color: var(--secondary); margin-bottom: 10px; }
.offer-meta-list { list-style: none; margin: 16px 0; }
.offer-meta-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.9rem;
    color: var(--gray);
    display: flex;
    justify-content: space-between;
}

/* How it works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}
.step-card {
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eee;
    position: relative;
}
.step-card::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 1.2rem;
}
.step-card h4 { color: var(--secondary); margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--gray); }

/* Why us grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.feature-box {
    background: #fff;
    padding: 36px 28px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid #f5f5f5;
    transition: all 0.3s;
}
.feature-box:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(230,57,70,0.12);
}
.feature-box .f-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #fff0f1, #ffe5e5);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}
.feature-box h4 { color: var(--secondary); font-size: 1.1rem; margin-bottom: 10px; }
.feature-box p { color: var(--gray); font-size: 0.9rem; line-height: 1.6; }

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    border: 1px solid #eee;
    box-shadow: var(--shadow);
}
.testimonial-card .quote { font-size: 2rem; color: var(--primary); opacity: 0.3; line-height: 1; }
.testimonial-card p { color: var(--gray); font-style: italic; line-height: 1.7; margin: 12px 0 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author .avatar {
    width: 44px;
    height: 44px;
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.testimonial-author strong { display: block; color: var(--secondary); font-size: 0.95rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--gray); }

/* Brand strip */
.brand-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}
.brand-chip {
    padding: 14px 28px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    transition: all 0.2s;
}
.brand-chip:hover { background: var(--primary); border-color: var(--primary); }

/* CTA section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary), #2a4a6e);
    border-radius: 24px;
    padding: 60px 48px;
    text-align: center;
    color: #fff;
    margin: 0 20px;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}
.cta-section h2 { font-size: 2rem; margin-bottom: 12px; font-weight: 800; }
.cta-section p { opacity: 0.9; margin-bottom: 28px; font-size: 1.1rem; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Page header pro */
.page-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #2d4a6f 50%, var(--primary) 100%);
    color: #fff;
    padding: 56px 0 48px;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 40px;
    background: #fff;
    clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 10px; }
.page-hero p { opacity: 0.9; font-size: 1.1rem; }
.breadcrumb-nav {
    display: flex;
    gap: 8px;
    font-size: 0.9rem;
    margin-bottom: 16px;
    opacity: 0.85;
}
.breadcrumb-nav a:hover { text-decoration: underline; }

/* Menu layout */
.menu-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    padding: 40px 0 60px;
}
.filter-sidebar {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #eee;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}
.filter-sidebar h3 {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}
.filter-group { margin-bottom: 20px; }
.filter-group label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 8px; color: var(--secondary); }
.menu-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}
.results-count { font-weight: 600; color: var(--secondary); }
.results-count span { color: var(--primary); }

/* Product detail page */
.product-detail {
    padding: 40px 0 60px;
}
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.product-gallery {
    background: linear-gradient(145deg, #fff5f5, #ffe5e5);
    border-radius: 20px;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: sticky;
    top: 100px;
}
.product-gallery img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.product-gallery .placeholder { font-size: 10rem; }
.product-info h1 {
    font-size: 2rem;
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 12px;
}
.product-price-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.option-group { margin-bottom: 24px; }
.option-group > label {
    display: block;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
    font-size: 0.95rem;
}
.option-cards { display: flex; flex-wrap: wrap; gap: 10px; }
.option-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 120px;
}
.option-card:has(input:checked) {
    border-color: var(--primary);
    background: #fff5f5;
}
.option-card input { display: none; }
.option-card .opt-name { font-weight: 600; display: block; }
.option-card .opt-price { font-size: 0.85rem; color: var(--primary); margin-top: 4px; }
.topping-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

/* Quantity stepper — product page */
.qty-stepper {
    display: inline-flex;
    align-items: stretch;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 14px;
    padding: 5px;
    box-shadow: 0 2px 12px rgba(29, 53, 87, 0.06);
    max-width: 100%;
}
.qty-stepper-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    border: none;
    border-radius: 10px;
    background: #f1f3f5;
    color: var(--secondary);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.qty-stepper-btn:hover:not(:disabled) {
    background: var(--primary);
    color: #fff;
}
.qty-stepper-btn:active:not(:disabled) {
    transform: scale(0.96);
}
.qty-stepper-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background: #f8f9fa;
    color: #adb5bd;
}
.qty-stepper-input {
    width: 64px;
    min-width: 64px;
    border: none;
    border-left: 1px solid #e9ecef;
    border-right: 1px solid #e9ecef;
    margin: 0 4px;
    padding: 0 8px;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--secondary);
    background: transparent;
    -moz-appearance: textfield;
    appearance: textfield;
}
.qty-stepper-input:focus {
    outline: none;
    background: #fffaf9;
}
.qty-stepper-input::-webkit-outer-spin-button,
.qty-stepper-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qty-stepper-hint {
    display: block;
    margin-top: 10px;
    font-size: 0.82rem;
    color: var(--gray);
    font-weight: 500;
}

.price-sticky-box {
    background: var(--secondary);
    color: #fff;
    padding: 24px;
    border-radius: 16px;
    margin-top: 24px;
}
.price-sticky-box .total-label { opacity: 0.8; font-size: 0.9rem; }
.price-sticky-box .total-amount { font-size: 2rem; font-weight: 800; color: var(--accent); }
.product-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.product-actions .btn { flex: 1; min-width: 140px; padding: 14px 24px; }

/* Reviews on product */
.reviews-section { padding: 60px 0; background: var(--light); }
.review-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid #eee;
}

/* Contact page */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    padding: 50px 0 70px;
}
.contact-info-card {
    background: var(--secondary);
    color: #fff;
    border-radius: 20px;
    padding: 40px;
}
.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    align-items: flex-start;
}
.contact-info-item .c-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.contact-form-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

/* Auth split */
.auth-split {
    min-height: calc(100vh - 140px);
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.auth-split-visual {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.auth-split-visual h2 { font-size: 2rem; margin-bottom: 16px; font-weight: 800; }
.auth-split-form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #fafbfc;
}
.auth-form-box {
    width: 100%;
    max-width: 420px;
    background: #fff;
    padding: 48px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.auth-form-box h2 { text-align: center; margin-bottom: 8px; color: var(--secondary); font-weight: 800; }
.auth-form-box .subtitle { text-align: center; color: var(--gray); margin-bottom: 32px; font-size: 0.95rem; }

/* Footer enhanced */
.footer-newsletter {
    background: rgba(255,255,255,0.08);
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 40px;
    text-align: center;
}
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.footer-social a:hover { background: var(--primary); }
.payment-badges { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.payment-badge {
    background: rgba(255,255,255,0.1);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
}

/* Mobile nav overlay */
.mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}
.mobile-nav-head .logo-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
}
.mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 6px;
    color: var(--gray);
}
.mobile-search {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.mobile-search input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 0.9rem;
}
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}
.mobile-nav-actions .btn { width: 100%; }

.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
}
.mobile-nav.open { display: block; }
.mobile-nav-panel {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(300px, 85vw);
    background: #fff;
    padding: 24px;
    overflow-y: auto;
}
.mobile-nav-links a,
.mobile-nav-panel a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    color: var(--secondary);
}

:root { --primary-soft: #fff0f1; }

@media (max-width: 1100px) {
    .header-search { width: 180px; }
    .main-nav a { padding: 8px 10px; font-size: 0.88rem; }
}

@media (max-width: 1100px) {
    .promo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
    .promo-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .section-head-left { text-align: center; }
    .hero-inner .container { grid-template-columns: 1fr; text-align: center; }
    .hero-text p { margin-left: auto; margin-right: auto; }
    .hero-features { justify-content: center; }
    .hero-visual { display: none; }
    .stats-strip-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .menu-layout { grid-template-columns: 1fr; }
    .filter-sidebar { position: static; }
    .product-layout { grid-template-columns: 1fr; }
    .product-gallery { position: static; }
    .contact-layout, .auth-split { grid-template-columns: 1fr; }
    .auth-split-visual { display: none; }
    .header-inner { gap: 12px; }
    .header-search { display: none; }
    .main-nav { display: none; }
    .header-end { gap: 8px; }
    .nav-toggle { display: flex; align-items: center; justify-content: center; }
    .logo-tagline { display: none; }
}

@media (max-width: 576px) {
    .top-bar-hide-sm { display: none; }
    .logo-name { font-size: 1.15rem; }
    .header-actions .btn-sm { padding: 8px 14px; font-size: 0.82rem; }
    .stats-strip-inner { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid #f0f0f0; }
    .steps-grid { grid-template-columns: 1fr; }
    .promo-card { min-height: auto; }
    .topping-grid { grid-template-columns: 1fr; }
}
