/*
Theme Name: Viet My Corporation
Theme URI: https://vietmyus.com
Author: Viet My Corporation
Author URI: https://vietmyus.com
Description: Custom theme for Viet My Corporation — USDA-inspected pork products manufacturer since 1972. Authentic Taste of Asia.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: viet-my
Tags: food, manufacturing, custom-logo, custom-menu, featured-images
*/

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

:root {
    --red: #8B1A1A;
    --red-dark: #6B1414;
    --red-light: #A52A2A;
    --cream: #FAF6F0;
    --cream-dark: #F0EBE3;
    --gold: #C9A84C;
    --gold-dark: #B8953D;
    --dark: #1A1A1A;
    --gray: #666666;
    --gray-light: #999999;
    --white: #FFFFFF;
    --shadow: 0 2px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.3s ease;
    --max-width: 1200px;
    --header-height: 80px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--cream);
}

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

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

a:hover {
    color: var(--gold);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    color: var(--dark);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== HEADER ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 1px 10px rgba(0,0,0,0.06);
    height: var(--header-height);
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

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

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

.site-logo img {
    height: 50px;
    width: auto;
}

.site-logo .logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1.2;
}

.site-logo .logo-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Navigation */
.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    display: block;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all var(--transition);
    text-decoration: none;
}

.main-nav a:hover,
.main-nav .current-menu-item a,
.main-nav .current_page_item a {
    color: var(--red);
    background: rgba(139, 26, 26, 0.06);
}

/* Hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--dark);
    margin: 6px 0;
    transition: all var(--transition);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26, 26, 26, 0.55) 0%,
        rgba(139, 26, 26, 0.65) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
}

.hero-label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 24px;
    padding: 8px 24px;
    border: 1px solid rgba(201, 168, 76, 0.4);
    border-radius: 2px;
}

.hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-subtitle span {
    margin: 0 8px;
    color: var(--gold);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--red-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 26, 26, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--red);
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
}

.btn-gold:hover {
    background: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========== TRUST BAR ========== */
.trust-bar {
    background: var(--red);
    padding: 20px 0;
}

.trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.trust-item svg {
    width: 20px;
    height: 20px;
    fill: var(--gold);
    flex-shrink: 0;
}

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

.section-light {
    background: var(--white);
}

.section-cream {
    background: var(--cream);
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

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

.section-header .overline {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.05rem;
}

/* ========== FEATURE BLOCKS ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 48px 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

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

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: rgba(139, 26, 26, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--red);
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========== WHOLESALE BANNER ========== */
.wholesale-banner {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    padding: 60px 0;
    text-align: center;
}

.wholesale-banner h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 8px;
}

.wholesale-banner p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.wholesale-banner .gold-line {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 20px;
}

/* ========== PRODUCT GRID ========== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    color: inherit;
}

.product-card-image {
    position: relative;
    aspect-ratio: 1;
    background: var(--cream-dark);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

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

.product-card-image .category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--red);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-card-body {
    padding: 20px 24px;
}

.product-card-body .item-number {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.product-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.product-card-body .pack-size {
    font-size: 0.85rem;
    color: var(--gray);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream-dark);
    color: var(--gray-light);
    font-size: 0.85rem;
}

/* ========== SINGLE PRODUCT ========== */
.single-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    padding: 40px 0;
}

.single-product-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--cream-dark);
    aspect-ratio: 1;
}

.single-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-product-info .item-number {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.single-product-info h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.single-product-info .product-category {
    display: inline-block;
    background: rgba(139, 26, 26, 0.08);
    color: var(--red);
    padding: 4px 16px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.single-product-info .product-description {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 32px;
}

.product-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 32px;
}

.product-details-table tr {
    border-bottom: 1px solid var(--cream-dark);
}

.product-details-table th {
    text-align: left;
    padding: 12px 16px 12px 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 140px;
}

.product-details-table td {
    padding: 12px 0;
    color: var(--gray);
}

/* ========== RECIPE CARDS ========== */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.recipe-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.recipe-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    color: inherit;
}

.recipe-card-image {
    aspect-ratio: 16/10;
    background: var(--cream-dark);
    overflow: hidden;
}

.recipe-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

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

.recipe-card-body {
    padding: 24px;
}

.recipe-card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.recipe-card-body p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.recipe-card .view-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== SINGLE RECIPE ========== */
.single-recipe-header {
    text-align: center;
    padding: 40px 0;
}

.single-recipe-header h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.recipe-hero-image {
    max-width: 800px;
    margin: 0 auto 48px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.recipe-hero-image img {
    width: 100%;
    height: auto;
}

.recipe-content-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.recipe-ingredients {
    background: var(--cream);
    padding: 32px;
    border-radius: var(--radius-lg);
    align-self: start;
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.recipe-ingredients h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: var(--red);
}

.recipe-ingredients ul {
    list-style: none;
    padding: 0;
}

.recipe-ingredients li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 0.95rem;
    color: var(--gray);
}

.recipe-ingredients li:last-child {
    border-bottom: none;
}

.recipe-instructions h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--red);
}

.recipe-instructions ol {
    padding-left: 24px;
}

.recipe-instructions li {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--gray);
}

/* ========== ABOUT PAGE ========== */
.about-hero {
    background: var(--red);
    padding: 100px 0 80px;
    margin-top: var(--header-height);
    text-align: center;
}

.about-hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 12px;
}

.about-hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.15rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.9;
    margin-bottom: 24px;
}

.about-quote {
    background: var(--cream);
    border-left: 4px solid var(--gold);
    padding: 32px 40px;
    margin: 48px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.about-quote blockquote {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    font-style: italic;
    color: var(--dark);
    margin-bottom: 8px;
}

.about-quote cite {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--gray);
    font-style: normal;
}

.usda-badge-section {
    text-align: center;
    padding: 40px;
    background: var(--cream);
    border-radius: var(--radius-lg);
    margin: 48px 0;
}

.usda-badge-section svg {
    width: 80px;
    height: 80px;
    fill: var(--red);
    margin-bottom: 16px;
}

.usda-badge-section h3 {
    margin-bottom: 8px;
}

.usda-badge-section p {
    color: var(--gray);
    max-width: 500px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 48px 0;
}

.stat-card {
    text-align: center;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.stat-card .stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== CONTACT PAGE ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.7;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-detail svg {
    width: 22px;
    height: 22px;
    fill: var(--red);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-detail p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-form-wrap {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
    margin-bottom: 24px;
}

/* Contact Form 7 Styling */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    background: var(--cream);
    transition: all var(--transition);
    margin-bottom: 16px;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.08);
}

.wpcf7 textarea {
    height: 140px;
    resize: vertical;
}

.wpcf7 input[type="submit"] {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 16px 40px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
}

.wpcf7 input[type="submit"]:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

.wpcf7 label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
    background: var(--red);
    padding: 80px 0 60px;
    margin-top: var(--header-height);
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    font-size: 2.75rem;
    margin-bottom: 10px;
}

.page-hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== FOOTER ========== */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    text-decoration: none;
}

.footer-brand .footer-logo img {
    height: 40px;
}

.footer-brand .footer-logo span {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-usda {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.06);
    padding: 10px 16px;
    border-radius: var(--radius);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

.footer-usda svg {
    width: 28px;
    height: 28px;
    fill: var(--gold);
}

.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: color var(--transition);
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer-bottom p {
    margin: 0;
}

/* ========== PAGE CONTENT ========== */
.page-content {
    padding: 80px 0;
}

.page-intro {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.page-intro p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .single-product-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: -4px 0 30px rgba(0,0,0,0.15);
        transition: right var(--transition);
        z-index: 1000;
        padding: 100px 32px 32px;
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .main-nav a {
        padding: 14px 16px;
        font-size: 1rem;
    }

    .hero {
        height: 70vh;
        min-height: 480px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .trust-items {
        gap: 20px;
    }

    .trust-item {
        font-size: 0.75rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .recipe-grid {
        grid-template-columns: 1fr;
    }

    .recipe-content-grid {
        grid-template-columns: 1fr;
    }

    .recipe-ingredients {
        position: static;
    }

    .section {
        padding: 60px 0;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

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

    .page-hero {
        padding: 60px 0 40px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.8rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
}
