/*
 * Omega Mart Child Theme — Main Frontend Stylesheet
 * Replicates the visual design of https://omegamart.lovable.app/
 * Design system: Terracotta / Sage / Warm Ivory / Playfair Display / Plus Jakarta Sans
 */

/* ============================================================
   1. CSS RESET & GLOBAL FOUNDATION
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --primary: #C76B4F;
    --primary-dark: #a8563c;
    --secondary: #F5EFE6;
    --accent: #7A8C74;
    --accent-dark: #5f6e5b;
    --background: #FCFAF7;
    --foreground: #2E2E2E;
    --foreground-muted: #6b6b6b;
    --border: #E8E0D5;
    --white: #ffffff;
    --radius: 1rem;
    --radius-sm: 0.5rem;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.10), 0 4px 10px rgba(0,0,0,0.06);
    --transition: all 0.25s ease;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--foreground);
    margin-top: 0;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

p { margin-top: 0; color: var(--foreground-muted); }

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover { color: var(--primary-dark); }

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

/* ============================================================
   2. BUTTONS
   ============================================================ */

.omega-btn,
.button,
button[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

.omega-btn-primary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: var(--primary);
    color: var(--white) !important;
    border-color: var(--primary);
}
.omega-btn-primary:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(199, 107, 79, 0.35);
}

.omega-btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.omega-btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.omega-btn-dark {
    background-color: var(--foreground);
    color: var(--white);
    border-color: var(--foreground);
}
.omega-btn-dark:hover {
    background-color: #1a1a1a;
    transform: translateY(-1px);
}

/* ============================================================
   3. SECTION LAYOUT UTILITIES
   ============================================================ */

.omega-section {
    padding: 5rem 0;
}

.omega-section-alt {
    background-color: var(--secondary);
    padding: 5rem 0;
}

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

.omega-section-heading {
    text-align: center;
    margin-bottom: 3rem;
}
.omega-section-heading h2 {
    margin-bottom: 0.75rem;
}
.omega-section-heading p {
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================================
   4. HEADER
   ============================================================ */

.site-header,
header.site-header,
#masthead.omega-custom-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(252, 250, 247, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled,
.scrolled #masthead {
    box-shadow: var(--shadow-md);
}

.omega-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 70px;
    gap: 2rem;
}

.omega-header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.omega-mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    color: var(--foreground);
    cursor: pointer;
    padding: 0;
}

/* Logo */
.site-branding a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.site-branding a span:first-child {
    color: var(--primary);
}
.site-branding img {
    max-height: 40px;
}

/* Search Bar */
.omega-header-center {
    flex-grow: 1;
    max-width: 600px;
}

.omega-header-search form {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0;
}

.omega-header-search input[type="search"] {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.8rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: var(--white);
    font-size: 0.95rem;
    color: var(--foreground);
    outline: none;
    transition: var(--transition);
    margin: 0;
}

.omega-header-search input[type="search"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(199, 107, 79, 0.1);
}

.omega-header-search .search-icon {
    position: absolute;
    left: 1.2rem;
    color: var(--foreground-muted);
    font-size: 0.95rem;
    z-index: 2;
}

/* Header icon buttons */
.omega-header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.omega-header-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--foreground);
    text-decoration: none;
    transition: var(--transition);
    background: transparent;
    font-size: 1.1rem;
    position: relative;
}

.omega-header-icon:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

/* Cart & Wishlist count badge */
.omega-cart-count,
.omega-wishlist-count {
    position: absolute;
    top: -2px;
    right: -4px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

@media (max-width: 768px) {
    .omega-header-container {
        gap: 1rem;
    }
    .omega-mobile-menu-toggle {
        display: block;
    }
    .omega-header-center {
        display: none;
    }
    .omega-header-right .omega-header-icon:not(.omega-cart-icon) {
        display: none;
    }
}

/* ============================================================
   5. HERO SECTION
   ============================================================ */

.omega-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: calc(100vh - 70px);
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    gap: 4rem;
}

.omega-hero-content {
    max-width: 580px;
}

.omega-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--secondary);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.omega-hero h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    line-height: 1.15;
}

.omega-hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.omega-hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.omega-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.omega-hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--foreground-muted);
}
.omega-hero-trust-item i {
    color: var(--accent);
    font-size: 0.9rem;
}

.omega-hero-image {
    position: relative;
}
.omega-hero-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* ============================================================
   6. PRODUCT CARDS
   ============================================================ */

.omega-mart-product-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border);
}
.omega-mart-product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* Image area */
.omega-mart-product-image-wrapper {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background-color: var(--secondary);
}
.omega-mart-product-image-wrapper img,
.omega-mart-product-image-wrapper a img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.omega-mart-product-card:hover .omega-mart-product-image-wrapper img {
    transform: scale(1.04);
}

/* Wishlist heart */
.omega-mart-wishlist-toggle {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.omega-mart-wishlist-toggle:hover,
.omega-mart-wishlist-toggle.active {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}
.omega-mart-wishlist-toggle i { color: var(--primary); font-size: 0.9rem; }
.omega-mart-wishlist-toggle:hover i,
.omega-mart-wishlist-toggle.active i { color: white; }

/* Urgency badge */
.omega-mart-urgency-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: var(--accent);
    color: white;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Quick view overlay */
.omega-mart-quick-view-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.omega-mart-product-card:hover .omega-mart-quick-view-overlay {
    opacity: 1;
}
.omega-mart-quick-view-btn {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(4px);
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--foreground);
    transition: var(--transition);
}
.omega-mart-quick-view-btn:hover {
    background: var(--primary);
    color: white;
}

/* Product info */
.omega-mart-product-info {
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.omega-mart-product-vendor {
    font-size: 0.72rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: block;
}

.omega-mart-product-title a {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.omega-mart-product-title a:hover {
    color: var(--primary);
}

.omega-mart-product-rating {
    margin: 0.4rem 0;
}
.omega-mart-product-rating .star-rating span::before,
.wc-block-components-product-rating .star-rating span::before {
    color: #f5b223;
}

.omega-mart-product-price,
.omega-mart-product-price .woocommerce-Price-amount {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.15rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

/* Action buttons */
.omega-mart-product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.85rem;
}
.omega-mart-product-actions a,
.omega-mart-product-actions button {
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.omega-mart-product-actions .add_to_cart_button {
    background: var(--foreground);
    color: white !important;
}
.omega-mart-product-actions .add_to_cart_button:hover {
    background: #1a1a1a;
}
.omega-mart-product-actions .omega-buy-now-btn {
    background: var(--primary);
    color: white;
}
.omega-mart-product-actions .omega-buy-now-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(199,107,79,0.35);
}

/* ============================================================
   7. VENDOR CARDS
   ============================================================ */

.omega-mart-vendor-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
}
.omega-mart-vendor-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.omega-mart-vendor-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 0 auto 1.1rem;
    overflow: hidden;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--secondary);
}
.omega-mart-vendor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.omega-mart-vendor-name a {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--foreground);
}
.omega-mart-vendor-name a:hover { color: var(--primary); }

.omega-mart-vendor-location {
    color: var(--accent);
    font-size: 0.82rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.omega-mart-vendor-meta {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    font-size: 0.82rem;
    color: var(--foreground-muted);
    margin-bottom: 1.25rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.omega-mart-vendor-meta i { color: #f5b223; }

.omega-mart-follow-btn {
    width: 100%;
    padding: 0.6rem;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 0.5rem;
}
.omega-mart-follow-btn:hover,
.omega-mart-follow-btn.following {
    background: var(--primary);
    color: white;
}

.omega-mart-vendor-visit-btn {
    display: block;
    width: 100%;
    padding: 0.6rem;
    background: var(--foreground);
    color: white !important;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    transition: var(--transition);
}
.omega-mart-vendor-visit-btn:hover {
    background: #1a1a1a;
}

/* ============================================================
   8. CATEGORY GRID CARDS
   ============================================================ */

.omega-mart-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem 1.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
    text-decoration: none;
}
.omega-mart-category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.omega-mart-category-image {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-bottom: 1rem;
    border: 3px solid var(--secondary);
    transition: transform 0.3s ease;
}
.omega-mart-category-card:hover .omega-mart-category-image {
    transform: scale(1.06);
}

.omega-mart-category-title {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 0.3rem;
}

.omega-mart-category-count {
    font-size: 0.8rem;
    color: var(--foreground-muted);
}

/* ============================================================
   9. OCCASION CARDS
   ============================================================ */

.omega-mart-occasion-card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    aspect-ratio: 4/5;
}
.omega-mart-occasion-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}
.omega-mart-occasion-card:hover .omega-mart-occasion-image {
    transform: scale(1.06);
}
.omega-mart-occasion-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(46,46,46,0.72) 0%, rgba(46,46,46,0.05) 55%, transparent 100%);
}
.omega-mart-occasion-label {
    position: absolute;
    bottom: 1.4rem;
    left: 1.4rem;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* ============================================================
   10. TRUST BADGES
   ============================================================ */

.omega-mart-trust-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
}
.omega-mart-trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--foreground);
}
.omega-mart-trust-badge-item i,
.omega-mart-trust-badge-item svg {
    color: var(--accent);
    font-size: 1.1rem;
}

/* ============================================================
   11. WHATSAPP FAB
   ============================================================ */

.omega-mart-whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 24px;
    background-color: #25D366;
    color: white !important;
    border-radius: 50%;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.omega-mart-whatsapp-fab:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.5);
}
.omega-mart-whatsapp-fab i { font-size: 1.75rem; }

/* ============================================================
   12. RECENTLY PURCHASED TOAST
   ============================================================ */

.omega-mart-toast-container {
    position: fixed;
    z-index: 9998;
    pointer-events: none;
}
.omega-mart-toast-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 320px;
    pointer-events: auto;
    border-left: 4px solid var(--primary);
}
.omega-mart-toast-card .toast-img img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 0.5rem;
}

/* ============================================================
   13. FOOTER
   ============================================================ */

.site-footer,
#colophon {
    background-color: var(--foreground);
    color: rgba(255,255,255,0.75);
    padding: 4rem 0 0;
    font-size: 0.9rem;
}

.site-footer .footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.75fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand .footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: white;
    margin-bottom: 0.75rem;
    display: block;
}
.footer-brand p {
    color: rgba(255,255,255,0.6);
    line-height: 1.65;
    font-size: 0.875rem;
    max-width: 280px;
}

.footer-col h4 {
    color: white;
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 1.25rem;
}
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-col ul li a {
    padding: 0 1.5rem 4rem;
}

.omega-footer-column h3 {
    color: white;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.omega-footer-brand h2 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.omega-footer-contact p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.omega-footer-contact i {
    color: var(--primary);
}

.omega-footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.omega-footer-links li {
    margin-bottom: 0.8rem;
}
.omega-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}
.omega-footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.omega-footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.omega-newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.omega-newsletter-form input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-full);
}
.omega-newsletter-form button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.omega-newsletter-form button:hover {
    background: var(--primary-dark);
}

.omega-footer-socials {
    display: flex;
    gap: 1rem;
}
.omega-footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.omega-footer-socials a:hover {
    background: var(--primary);
}

.omega-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

.omega-footer-payments {
    display: flex;
    gap: 0.5rem;
}
.omega-footer-payments .badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-weight: 600;
    color: white;
}

/* ============================================================
   14. MOBILE BOTTOM NAV
   ============================================================ */

.omega-mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: white;
    border-top: 1px solid var(--border);
    z-index: 998;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.07);
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.omega-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    gap: 3px;
    color: var(--foreground-muted);
    font-size: 0.65rem;
    font-weight: 500;
    transition: color 0.2s ease;
    text-decoration: none;
    background: transparent;
    border: none;
}
.omega-bottom-nav-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.omega-bottom-nav-item i { font-size: 1.25rem; }
.omega-bottom-nav-item.active,
.omega-bottom-nav-item:hover {
    color: var(--primary);
}
.omega-bottom-nav-item .omega-cart-count,
.omega-bottom-nav-item .omega-wishlist-count {
    top: -5px;
    right: -8px;
    width: 16px;
    height: 16px;
    font-size: 0.6rem;
}

/* ============================================================
   15. WOOCOMMERCE GLOBAL OVERRIDES
   ============================================================ */

/* Sale badge */
.woocommerce span.onsale {
    background-color: var(--primary) !important;
    border-radius: var(--radius-full) !important;
    padding: 4px 12px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.5 !important;
}

/* Star ratings */
.woocommerce .star-rating span::before,
.woocommerce-product-rating .star-rating span::before { color: #f5b223; }

/* Price */
.woocommerce .price { color: var(--primary); font-weight: 700; }
.woocommerce .price del { color: var(--foreground-muted); font-weight: 400; }

/* Tabs */
.woocommerce .woocommerce-tabs ul.tabs {
    border-bottom: 2px solid var(--border);
    padding: 0;
}
.woocommerce .woocommerce-tabs ul.tabs li {
    background: transparent;
    border: none;
}
.woocommerce .woocommerce-tabs ul.tabs li a {
    font-weight: 600;
    color: var(--foreground-muted);
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
}
.woocommerce .woocommerce-tabs ul.tabs li.active a {
    color: var(--primary);
}
.woocommerce .woocommerce-tabs ul.tabs li.active::after {
    background-color: var(--primary);
}

/* Form inputs */
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce form .input-text,
.woocommerce form select {
    border: 1.5px solid var(--border) !important;
    border-radius: var(--radius-sm) !important;
    background: var(--background) !important;
    font-family: var(--font-body) !important;
    padding: 0.7rem 1rem !important;
    transition: border-color 0.2s ease !important;
}
.woocommerce form .input-text:focus,
.woocommerce-checkout input.input-text:focus {
    border-color: var(--accent) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(122,140,116,0.15) !important;
}

/* Notices */
.woocommerce-message {
    border-top-color: var(--accent) !important;
}

/* ============================================================
   16. QUICK VIEW MODAL
   ============================================================ */

.omega-quick-view-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.omega-quick-view-modal.active { display: flex; }
.omega-qv-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(3px);
}
.omega-qv-content {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: var(--radius);
    max-width: 900px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    max-height: 90vh;
    box-shadow: var(--shadow-lg);
}
.omega-qv-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.omega-qv-details {
    padding: 2.5rem;
    overflow-y: auto;
}
.omega-qv-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* ============================================================
   17. MAKERS STORY TAB
   ============================================================ */

.omega-mart-makers-story {
    background: var(--secondary);
    padding: 2rem;
    border-radius: var(--radius);
}
.omega-mart-makers-story h3 {
    font-family: var(--font-heading);
    color: var(--foreground);
    margin-top: 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border);
    margin-bottom: 1rem;
}

/* ============================================================
   18. RESPONSIVE — TABLET
   ============================================================ */

@media (max-width: 1024px) {
    .omega-hero { grid-template-columns: 1fr; gap: 2rem; min-height: auto; padding: 3rem 1.5rem; }
    .omega-hero-content { max-width: 100%; }
    .omega-hero-image img { height: 420px; }
    .site-footer .omega-footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ============================================================
   19. RESPONSIVE — MOBILE
   ============================================================ */

@media (max-width: 768px) {
    .omega-mobile-bottom-nav { display: flex; }
    body.omega-mart-child { padding-bottom: 64px; }

    .omega-mart-whatsapp-fab { bottom: 80px; }
    .omega-mart-toast-container { bottom: 80px !important; }

    .omega-qv-content { grid-template-columns: 1fr; }
    .omega-qv-image { display: none; }

    .site-footer .omega-footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
    .omega-footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

    .omega-section { padding: 3.5rem 0; }
    .omega-section-alt { padding: 3.5rem 0; }
    .omega-container { padding: 0 1rem; }

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

@media (max-width: 480px) {
    .omega-hero h1 { font-size: 2rem; }
    .omega-hero-ctas { flex-direction: column; }
    .omega-hero-ctas .omega-btn { width: 100%; justify-content: center; }
}

/* ============================================================
   20. SCROLL ANIMATIONS (progressive enhancement)
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
    .omega-fade-up {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .omega-fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }
}
