/* ==========================================================================
   Corvex - Butcher & Organic Meat Theme
   Responsive stylesheet for mobile, tablet and desktop.
   Primary red: #f04523 | Dark footer: #0e1625 | Light bg: #f8f6f4
   ========================================================================== */

:root {
    --cv-primary: #abcd6a;
    --cv-primary-hover: #c9a554;
    --cv-primary-light: #fff0ec;
    --cv-dark: #0e1625;
    --cv-dark-2: #151f32;
    --cv-light: #f8f6f4;
    --cv-white: #ffffff;
    --cv-text: #1f2937;
    --cv-text-light: #6b7280;
    --cv-border: #e5e7eb;
    --cv-radius: 8px;
    --cv-radius-lg: 16px;
    --cv-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --cv-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --cv-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --cv-heading: 'Playfair Display', Georgia, serif;
    --cv-container: 1280px;
    --cv-topbar-height: 42px;
    --cv-nav-height: 76px;
}

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

html { scroll-behavior: smooth; }

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

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

a { color: inherit; text-decoration: none; }

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

/* Buttons */
.cv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    background: var(--cv-primary);
    color: #000000;
    border: none;
    border-radius: var(--cv-radius);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.cv-btn:hover {
    background: var(--cv-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(240, 69, 35, 0.25);
}

.cv-btn-secondary {
    background: transparent;
    color: var(--cv-primary);
    border: 2px solid var(--cv-primary);
}

.cv-btn-secondary:hover {
    background: var(--cv-primary);
    color: #fff;
}

.cv-btn-dark {
    background: var(--cv-dark);
    color: #fff;
}

.cv-btn-dark:hover {
    background: #1e2a42;
}

/* Header */
.cv-topbar {
    background: var(--cv-primary);
    color: rgba(0, 0, 0);
    font-size: 13px;
    height: var(--cv-topbar-height);
    display: flex;
    align-items: center;
}

.cv-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.cv-topbar a { color: #000000; opacity: 0.9; }
.cv-topbar a:hover { opacity: 1; text-decoration: underline; }
.cv-topbar-contact { display: flex; gap: 20px; align-items: center; }
.cv-topbar-contact i { margin-right: 4px; }

.cv-header {
    background: var(--cv-white);
    border-bottom: 1px solid var(--cv-border);
    height: var(--cv-nav-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.cv-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 24px;
}

.cv-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--cv-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--cv-dark);
    flex-shrink: 0;
}

.cv-logo img { height: 44px; width: auto; }

.cv-logo-mark {
    width: 40px;
    height: 40px;
    background: var(--cv-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.cv-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.cv-nav a {
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--cv-text);
    border-radius: var(--cv-radius);
    transition: color 0.2s, background 0.2s;
    position: relative;
}

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

.cv-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--cv-primary);
    border-radius: 2px;
}

.cv-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cv-header-actions a,
.cv-header-actions button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--cv-text);
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    position: relative;
}

.cv-header-actions a:hover,
.cv-header-actions button:hover {
    background: var(--cv-primary-light);
    color: var(--cv-primary);
}

.cv-cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--cv-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cv-hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--cv-dark);
    cursor: pointer;
}

/* Dropdown menu */
.cv-dropdown {
    position: relative;
}

.cv-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.cv-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: #fff;
    border-radius: var(--cv-radius);
    box-shadow: var(--cv-shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    transform: translateX(-50%) translateY(8px);
    z-index: 1000;
}

.cv-dropdown:hover .cv-dropdown-menu,
.cv-dropdown:focus-within .cv-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.cv-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--cv-text);
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.cv-dropdown-menu a:hover {
    background: var(--cv-primary-light);
    color: var(--cv-primary);
}

/* Mobile menu overlay */
.cv-mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.cv-mobile-menu.open {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.cv-mobile-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100%;
    background: #fff;
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.3s;
    overflow-y: auto;
}

.cv-mobile-menu.open .cv-mobile-panel {
    transform: translateX(0);
}

.cv-mobile-panel .cv-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.cv-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 40px;
}

.cv-mobile-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--cv-border);
    font-size: 16px;
    font-weight: 500;
    color: var(--cv-text);
}

.cv-mobile-nav a.active { color: var(--cv-primary); }

/* Hero */
.cv-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background: var(--cv-dark);
}

.cv-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.cv-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(14, 22, 37, 0.55), rgba(14, 22, 37, 0.75));
    z-index: 1;
}

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

.cv-hero h1 {
    font-family: var(--cv-heading);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cv-hero p {
    font-size: clamp(16px, 2vw, 20px);
    opacity: 0.92;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Banner Slider integration: make plugin slider fill the hero area */
.cv-hero-slider {
    position: relative;
    width: 100%;
    min-height: 620px;
    background: var(--cv-dark);
}

.cv-hero-slider .bsp-slider {
    height: 620px !important;
    min-height: 620px;
    border-radius: 0;
}

.cv-hero-slider .bsp-slide-bg {
    background-position: center center;
}

.cv-hero-slider .bsp-content {
    max-width: 1000px;
    padding: 120px 24px;
}

.cv-hero-slider .bsp-title {
    font-family: var(--cv-heading);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cv-hero-slider .bsp-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    opacity: 0.92;
    margin-bottom: 32px;
    max-width: 600px;
}

.cv-hero-slider .bsp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    background: var(--cv-primary);
    color: #fff;
    border: none;
    border-radius: var(--cv-radius);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    backdrop-filter: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.cv-hero-slider .bsp-cta:hover {
    background: var(--cv-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(240, 69, 35, 0.25);
}

@media (max-width: 768px) {
    .cv-hero-slider,
    .cv-hero-slider .bsp-slider {
        min-height: 500px;
        height: 500px !important;
    }
    .cv-hero-slider .bsp-content { padding: 100px 20px; }
}

/* Feature cards (under hero) */
.cv-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: -60px;
    position: relative;
    z-index: 3;
    padding-bottom: 80px;
}

.cv-feature-card {
    background: #fff;
    border-radius: var(--cv-radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--cv-shadow-lg);
    transition: transform 0.2s;
}

.cv-feature-card:hover { transform: translateY(-4px); }

.cv-feature-icon {
    width: 64px;
    height: 64px;
    background: var(--cv-primary-light);
    color: var(--cv-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 16px;
}

.cv-feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cv-feature-card p {
    font-size: 14px;
    color: var(--cv-text-light);
    line-height: 1.6;
}

/* Section styling */
.cv-section {
    padding: 80px 0;
}

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

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

.cv-section-header h2 {
    font-family: var(--cv-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--cv-dark);
}

.cv-section-header p {
    color: var(--cv-text-light);
    font-size: 16px;
}

.cv-section-title-left {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.cv-section-title-left h2 {
    font-family: var(--cv-heading);
    font-size: clamp(26px, 3.5vw, 34px);
    font-weight: 700;
}

/* Categories */
.cv-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cv-category-card {
    position: relative;
    border-radius: var(--cv-radius-lg);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: var(--cv-shadow);
}

.cv-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.cv-category-card:hover img { transform: scale(1.08); }

.cv-category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #fff;
}

.cv-category-overlay h3 {
    font-family: var(--cv-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cv-category-overlay span {
    font-size: 13px;
    opacity: 0.85;
}

/* Product grid */
.cv-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cv-product-card {
    background: #fff;
    border-radius: var(--cv-radius-lg);
    overflow: hidden;
    box-shadow: var(--cv-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

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

.cv-product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f3f4f6;
}

.cv-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

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

.cv-product-actions {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
}

.cv-product-card:hover .cv-product-actions {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.cv-product-actions button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--cv-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.cv-product-actions button:hover {
    background: var(--cv-primary);
    color: #fff;
}

.cv-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--cv-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.cv-product-info { padding: 18px; }

.cv-product-category {
    font-size: 12px;
    color: var(--cv-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 6px;
}

.cv-product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--cv-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.cv-product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
}

.cv-product-price .cv-sale {
    color: var(--cv-primary);
}

.cv-product-price .cv-original {
    color: var(--cv-text-light);
    text-decoration: line-through;
    font-size: 14px;
    font-weight: 500;
}

.cv-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--cv-text-light);
    margin-bottom: 10px;
}

.cv-stars {
    color: #fbbf24;
    letter-spacing: -2px;
}

/* About / content block section */
.cv-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.cv-about-image {
    position: relative;
    border-radius: var(--cv-radius-lg);
    overflow: hidden;
}

.cv-about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 420px;
}

.cv-about-content h2 {
    font-family: var(--cv-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--cv-dark);
}

.cv-about-content p {
    color: var(--cv-text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.cv-check-list {
    list-style: none;
    margin: 24px 0;
}

.cv-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--cv-text);
}

.cv-check-list i {
    color: var(--cv-primary);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Newsletter */
.cv-newsletter {
    background: var(--cv-dark);
    padding: 60px 0;
    color: #fff;
}

.cv-newsletter-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cv-newsletter-text h3 {
    font-family: var(--cv-heading);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
}

.cv-newsletter-text p {
    opacity: 0.85;
    font-size: 14px;
}

.cv-newsletter-form {
    display: flex;
    gap: 12px;
    flex: 1;
    max-width: 520px;
}

.cv-newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--cv-radius);
    color: #fff;
    font-size: 14px;
}

.cv-newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.55); }

.cv-newsletter-form input:focus {
    outline: none;
    border-color: var(--cv-primary);
    background: rgba(255, 255, 255, 0.12);
}

/* Footer */
.cv-footer {
    background: var(--cv-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 80px 0 0;
}

.cv-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 40px;
    padding-bottom: 60px;
}

.cv-footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cv-footer-about p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.cv-footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    margin-bottom: 14px;
    line-height: 1.5;
}

.cv-footer-contact i {
    color: var(--cv-primary);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.cv-footer-menu {
    list-style: none;
}

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

.cv-footer-menu a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.cv-footer-menu a:hover {
    color: var(--cv-primary);
    padding-left: 6px;
}

.cv-footer-product {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    align-items: center;
}

.cv-footer-product img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--cv-radius);
    background: var(--cv-dark-2);
}

.cv-footer-product-info { flex: 1; }

.cv-footer-product-info h5 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cv-footer-product-info .cv-price {
    color: var(--cv-primary);
    font-weight: 700;
    font-size: 14px;
}

.cv-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.cv-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cv-dark-2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: background 0.2s, transform 0.2s;
}

.cv-social a:hover {
    background: var(--cv-primary);
    transform: translateY(-2px);
}

.cv-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
}

.cv-footer-bottom a { color: rgba(255, 255, 255, 0.6); }
.cv-footer-bottom a:hover { color: #fff; }

.cv-footer-legal {
    display: flex;
    gap: 20px;
}

/* Page banner (used on contact, page, products) */
.cv-banner {
    position: relative;
    background: var(--cv-dark);
    color: #fff;
    padding: 90px 0 80px;
    text-align: center;
    overflow: hidden;
}

.cv-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
}

.cv-banner h1 {
    font-family: var(--cv-heading);
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.cv-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.cv-breadcrumb a { color: rgba(255, 255, 255, 0.8); }
.cv-breadcrumb a:hover { color: #fff; }
.cv-breadcrumb span { color: #fff; }

/* Contact page */
.cv-contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: -50px;
    position: relative;
    z-index: 2;
    padding-bottom: 60px;
}

.cv-contact-card {
    background: #fff;
    border-radius: var(--cv-radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--cv-shadow-lg);
}

.cv-contact-card i {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--cv-primary-light);
    color: var(--cv-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 16px;
}

.cv-contact-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--cv-dark);
}

.cv-contact-card p {
    font-size: 14px;
    color: var(--cv-text-light);
    line-height: 1.6;
}

.cv-contact-map {
    width: 100%;
    height: 420px;
    border: none;
    display: block;
    filter: grayscale(20%);
}

.cv-contact-section {
    background: var(--cv-light);
    padding: 80px 0;
}

.cv-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

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

.cv-contact-form h2 {
    font-family: var(--cv-heading);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--cv-dark);
}

.cv-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cv-form-group {
    margin-bottom: 18px;
}

.cv-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--cv-dark);
}

.cv-form-group input,
.cv-form-group textarea,
.cv-form-group select {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius);
    font-family: inherit;
    font-size: 14px;
    color: var(--cv-text);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cv-form-group input:focus,
.cv-form-group textarea:focus,
.cv-form-group select:focus {
    outline: none;
    border-color: var(--cv-primary);
    box-shadow: 0 0 0 3px rgba(240, 69, 35, 0.1);
}

.cv-form-group textarea { min-height: 140px; resize: vertical; }

.cv-alert {
    padding: 14px 18px;
    border-radius: var(--cv-radius);
    margin-bottom: 20px;
    font-size: 14px;
}

.cv-alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.cv-alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* Products listing */
.cv-products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    padding: 60px 0;
}

.cv-sidebar {
    background: #fff;
    border-radius: var(--cv-radius-lg);
    padding: 24px;
    box-shadow: var(--cv-shadow);
    align-self: start;
}

.cv-sidebar h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--cv-dark);
}

.cv-sidebar ul {
    list-style: none;
}

.cv-sidebar li { margin-bottom: 10px; }

.cv-sidebar a {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--cv-text);
    padding: 6px 0;
    border-bottom: 1px solid var(--cv-border);
}

.cv-sidebar a:hover,
.cv-sidebar a.active {
    color: var(--cv-primary);
}

.cv-sidebar .cv-count {
    color: var(--cv-text-light);
    font-size: 12px;
}

.cv-products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.cv-products-toolbar select {
    padding: 10px 14px;
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius);
    font-size: 14px;
    background: #fff;
}

.cv-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.cv-pagination a,
.cv-pagination span {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--cv-radius);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--cv-border);
    color: var(--cv-text);
}

.cv-pagination a:hover { border-color: var(--cv-primary); color: var(--cv-primary); }

.cv-pagination .current {
    background: var(--cv-primary);
    color: #fff;
    border-color: var(--cv-primary);
}

/* Product detail */
.cv-product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px 0;
}

.cv-product-gallery {
    position: relative;
}

.cv-gallery-main {
    border-radius: var(--cv-radius-lg);
    overflow: hidden;
    background: #f3f4f6;
    aspect-ratio: 1 / 1;
}

.cv-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv-gallery-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.cv-gallery-thumbs button {
    width: 80px;
    height: 80px;
    border-radius: var(--cv-radius);
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    background: #f3f4f6;
    transition: border-color 0.2s;
}

.cv-gallery-thumbs button.active,
.cv-gallery-thumbs button:hover { border-color: var(--cv-primary); }

.cv-gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv-product-meta h1 {
    font-family: var(--cv-heading);
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--cv-dark);
}

.cv-product-meta .cv-category {
    color: var(--cv-primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.cv-product-meta .cv-price-block {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.cv-product-meta .cv-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--cv-primary);
}

.cv-product-meta .cv-original {
    font-size: 18px;
    color: var(--cv-text-light);
    text-decoration: line-through;
}

.cv-product-meta .cv-save {
    background: #fef3c7;
    color: #92400e;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.cv-product-meta .cv-description {
    color: var(--cv-text-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

.cv-product-meta .cv-stock {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.cv-product-meta .cv-stock span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cv-in-stock { color: #16a34a; }
.cv-out-stock { color: #dc2626; }

.cv-add-cart {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.cv-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius);
    overflow: hidden;
}

.cv-qty button {
    width: 44px;
    height: 50px;
    background: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--cv-text);
}

.cv-qty input {
    width: 60px;
    height: 50px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.cv-tabs {
    margin-top: 40px;
}

.cv-tab-list {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid var(--cv-border);
    margin-bottom: 24px;
}

.cv-tab-list button {
    background: none;
    border: none;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--cv-text-light);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.2s;
}

.cv-tab-list button.active,
.cv-tab-list button:hover {
    color: var(--cv-primary);
    border-bottom-color: var(--cv-primary);
}

.cv-tab-panel { display: none; }
.cv-tab-panel.active { display: block; }

/* Page content */
.cv-page-content {
    padding: 60px 24px;
    max-width: 900px;
    margin: 0 auto;
}

.cv-page-content h1 {
    font-family: var(--cv-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--cv-dark);
}

.cv-page-content .cms-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--cv-text-light);
}

.cv-page-content .cms-content p { margin-bottom: 18px; }
.cv-page-content .cms-content h2 { color: var(--cv-dark); margin: 32px 0 16px; font-size: 26px; }
.cv-page-content .cms-content h3 { color: var(--cv-dark); margin: 24px 0 12px; font-size: 20px; }
.cv-page-content .cms-content img { border-radius: var(--cv-radius-lg); margin: 20px 0; }
.cv-page-content .cms-content ul { margin-left: 24px; margin-bottom: 18px; }
.cv-page-content .cms-content a { color: var(--cv-primary); text-decoration: underline; }

/* Suppress PWA install popups injected by plugins */
#pwa-install,
#pwa-banner,
#pwa-prompt { display: none !important; }

/* Search / empty state */
.cv-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--cv-text-light);
}

.cv-empty i {
    font-size: 56px;
    opacity: 0.25;
    margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    .cv-product-grid,
    .cv-category-grid { grid-template-columns: repeat(3, 1fr); }
    .cv-footer-grid { grid-template-columns: 1fr 1fr; }
    .cv-products-layout { grid-template-columns: 220px 1fr; gap: 28px; }
}

@media (max-width: 768px) {
    :root {
        --cv-nav-height: 64px;
        --cv-topbar-height: 36px;
    }

    .cv-topbar-contact span { display: none; }
    .cv-topbar-contact span:first-child { display: inline; }

    .cv-nav,
    .cv-header-actions .cv-search-desk,
    .cv-header-actions .cv-account-desk {
        display: none;
    }

    .cv-hamburger { display: flex; }

    .cv-hero { min-height: 500px; }
    .cv-hero-content { padding: 100px 20px; }

    .cv-features { grid-template-columns: 1fr; margin-top: -40px; }

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

    .cv-about-grid,
    .cv-product-detail,
    .cv-contact-grid { grid-template-columns: 1fr; }

    .cv-contact-cards { grid-template-columns: 1fr; margin-top: -30px; }
    .cv-contact-card { padding: 24px; }

    .cv-newsletter-inner { flex-direction: column; align-items: flex-start; }
    .cv-newsletter-form { width: 100%; max-width: 100%; flex-direction: column; }

    .cv-footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .cv-footer-bottom { flex-direction: column; text-align: center; }

    .cv-products-layout { grid-template-columns: 1fr; }
    .cv-sidebar { order: 2; }

    .cv-form-row { grid-template-columns: 1fr; }

    .cv-gallery-thumbs button { width: 60px; height: 60px; }

    .cv-section { padding: 60px 0; }

    .cv-section-title-left {
        flex-direction: column;
        align-items: flex-start;
    }

    .cv-product-actions {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 480px) {
    .cv-container { padding: 0 20px; }

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

    .cv-btn { width: 100%; }

    .cv-add-cart { flex-direction: column; }

    .cv-product-meta .cv-price-block {
        flex-wrap: wrap;
        gap: 10px;
    }

    .cv-gallery-thumbs { gap: 8px; }
}
