/**
 * Kraftinox Custom Styles
 *
 * Cuprins:
 * 1. CSS Variables
 * 2. Base Styles
 * 3. Navbar
 * 4. Hero Section
 * 5. Products Section
 * 6. Benefits Section
 * 7. CTA Banner
 * 8. Footer
 * 9. Buttons
 * 10. WooCommerce Overrides
 * 11. Responsive
 */

/* ============================================
   1. CSS VARIABLES
   ============================================ */
:root {
    /* Brand Colors */
    --brand: #366d71;
    --brand-light: #4a8a8f;
    --brand-dark: #2a5558;

    /* Neutrals */
    --black: #111;
    --white: #fff;
    --grey-50: #fafafa;
    --grey-100: #f4f4f4;
    --grey-300: #d4d4d4;
    --grey-500: #737373;
    --grey-700: #404040;

    /* Typography */
    --font-serif: 'Libre Baskerville', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 80px;
    --space-2xl: 120px;
}

/* ============================================
   2. BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--black);
    background: var(--white);
    line-height: 1.7;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--brand);
    color: var(--white);
}

/* Container */
.container,
.kraftinox-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-header p {
    font-size: 0.95rem;
    color: var(--grey-500);
    max-width: 500px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-sans);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--black);
    margin-bottom: var(--space-xs);
    letter-spacing: -0.02em;
}

.section-title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--brand);
}

/* ============================================
   3. NAVBAR
   ============================================ */

/* Blocksy Header Menu - Consistent Font */
header.ct-header .menu > .menu-item > a {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
}

.navbar,
.kraftinox-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 var(--space-lg);
    transition: all 0.4s ease;
}

.navbar.at-top {
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.navbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-mark {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

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

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.navbar.at-top .logo-text {
    color: var(--white);
}

.navbar.scrolled .logo-text {
    color: var(--brand);
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar.at-top .nav-links a {
    color: rgba(255, 255, 255, 0.85);
}

.navbar.at-top .nav-links a:hover {
    color: var(--white);
}

.navbar.scrolled .nav-links a {
    color: var(--grey-500);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--brand);
}

/* Nav CTA */
.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-phone {
    font-size: 0.875rem;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar.at-top .nav-phone {
    color: rgba(255, 255, 255, 0.85);
}

.navbar.scrolled .nav-phone {
    color: var(--grey-700);
}

/* --- Blocksy Header Height Override --- */
header.ct-header {
    --header-height: 80px !important;
}

header.ct-header [data-row="middle"] {
    --height: 80px !important;
}

/* --- Dropdown Submenu Styling (Blocksy) --- */

/* Main dropdown container */
header.ct-header .sub-menu {
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    padding: 8px 0 !important;
    min-width: 240px !important;
}

/* Menu items */
header.ct-header .sub-menu .menu-item {
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

/* All menu links in submenu - base styles */
header.ct-header .sub-menu a,
header.ct-header .sub-menu .ct-menu-link {
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    color: #404040 !important;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease !important;
    background: transparent !important;
    white-space: nowrap !important;
}

/* Menu links - items WITHOUT children (direct <a>) */
header.ct-header .sub-menu .menu-item:not(.menu-item-has-children) > a {
    display: block !important;
    padding: 10px 20px !important;
}

header.ct-header .sub-menu .menu-item:not(.menu-item-has-children) > a:hover {
    background: linear-gradient(90deg, #f0f7f7 0%, #fff 100%) !important;
    color: #366d71 !important;
}

/* Items WITH children - parent wrapper layout */
header.ct-header .sub-menu .ct-sub-menu-parent {
    display: flex !important;
    align-items: center !important;
}

/* Link inside parent wrapper */
header.ct-header .sub-menu .ct-sub-menu-parent > a.ct-menu-link {
    flex: 1 !important;
    display: block !important;
    padding: 10px 20px !important;
}

header.ct-header .sub-menu .ct-sub-menu-parent > a.ct-menu-link:hover {
    background: linear-gradient(90deg, #f0f7f7 0%, #fff 100%) !important;
    color: #366d71 !important;
}

/* Blocksy arrow button */
header.ct-header .sub-menu .ct-toggle-dropdown-mobile {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    width: 36px !important;
    height: auto !important;
    padding: 0 !important;
    cursor: pointer !important;
    color: #737373 !important;
    transition: color 0.2s ease !important;
    align-self: stretch !important;
}

header.ct-header .sub-menu .ct-toggle-dropdown-mobile:hover {
    color: #366d71 !important;
}

/* Arrow icon */
header.ct-header .sub-menu .ct-toggle-dropdown-mobile svg {
    width: 10px !important;
    height: 10px !important;
    transform: rotate(-90deg) !important;
    transition: transform 0.2s ease !important;
}

header.ct-header .sub-menu .menu-item-has-children:hover .ct-toggle-dropdown-mobile svg {
    transform: rotate(-90deg) translateX(2px) !important;
}

/* Nested submenu (level 2+) - show on hover */
header.ct-header .sub-menu .sub-menu {
    position: absolute !important;
    left: 100% !important;
    top: 0 !important;
    margin-left: 4px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(-10px) !important;
    transition: all 0.25s ease !important;
    border-radius: 10px !important;
    min-width: 200px !important;
}

/* Show nested submenu on parent hover */
header.ct-header .sub-menu .menu-item-has-children:hover > .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}

/* Active/current item */
header.ct-header .sub-menu .current-menu-item > a,
header.ct-header .sub-menu .current-menu-item > .ct-sub-menu-parent > a {
    color: #366d71 !important;
    font-weight: 500 !important;
    background: #f0f7f7 !important;
}

/* ============================================
   4. HERO SECTION
   ============================================ */
.hero,
.kraftinox-hero {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

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

/* Gradient backgrounds for slides */
.hero-slide:nth-child(1) .hero-slide-bg {
    background: linear-gradient(135deg, #1a3d40 0%, #366d71 60%, #4a8a8f 100%);
}

.hero-slide:nth-child(2) .hero-slide-bg {
    background: linear-gradient(145deg, #2a5558 0%, #1a3d40 100%);
}

.hero-slide:nth-child(3) .hero-slide-bg {
    background: linear-gradient(125deg, #366d71 0%, #2a5558 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 var(--space-lg);
}

.hero-text {
    max-width: 800px;
}

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-md);
}

.hero-headline {
    position: relative;
    min-height: clamp(140px, 20vw, 220px);
    margin-bottom: var(--space-md);
}

.hero-headline h1 {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    width: 100%;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-headline h1.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.hero-headline h1 em {
    font-style: italic;
}

.hero-desc {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    max-width: 480px;
    margin: 0 auto var(--space-lg);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

/* Hero Indicators */
.hero-indicators {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.hero-indicator {
    width: 48px;
    height: 2px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-indicator::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: var(--white);
    transition: width 0.3s ease;
}

.hero-indicator.active::after {
    width: 100%;
    transition: width 5s linear;
}

/* Hero Stats */
.hero-stats {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-lg);
    display: flex;
    gap: var(--space-xl);
    z-index: 20;
}

.stat {
    color: var(--white);
}

.stat-value {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
}

/* ============================================
   5. PRODUCTS SECTION
   ============================================ */
.products,
.kraftinox-products {
    padding: var(--space-2xl) 0;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.product {
    cursor: pointer;
}

.product-visual {
    aspect-ratio: 3/4;
    margin-bottom: var(--space-sm);
    overflow: hidden;
    position: relative;
    background: var(--grey-100);
}

.product-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--brand);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product:hover .product-visual::after {
    opacity: 0.85;
}

.product-cta {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product:hover .product-cta {
    opacity: 1;
}

.product-cta span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.03em;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
}

.product-info {
    text-align: center;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 2px;
}

.product-category {
    font-size: 0.75rem;
    color: var(--grey-500);
}

.section-cta {
    text-align: center;
    margin-top: var(--space-xl);
}

/* ============================================
   6. BENEFITS SECTION
   ============================================ */
.benefits,
.kraftinox-benefits {
    padding: var(--space-2xl) 0;
    background: var(--grey-50);
}

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

.benefit {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.benefit-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--brand);
    stroke-width: 1.5;
    fill: none;
}

.benefit h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 6px;
}

.benefit p {
    font-size: 0.875rem;
    color: var(--grey-500);
    line-height: 1.6;
}

.benefit-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: var(--space-sm);
    padding: 6px 12px;
    background: var(--white);
    border-radius: 100px;
    font-size: 0.7rem;
    color: var(--grey-700);
}

/* Romanian Flag */
.flag {
    display: flex;
    width: 16px;
    height: 11px;
    border-radius: 2px;
    overflow: hidden;
}

.flag span {
    flex: 1;
}

.flag .blue {
    background: #002B7F;
}

.flag .yellow {
    background: #FCD116;
}

.flag .red {
    background: #CE1126;
}

/* ============================================
   7. CTA BANNER
   ============================================ */
.cta-banner,
.kraftinox-cta-banner {
    padding: var(--space-xl) 0;
    background: var(--brand);
    text-align: center;
}

.cta-banner h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.cta-banner p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-md);
}

.cta-banner .btn {
    background: var(--white);
    color: var(--brand);
}

.cta-banner .btn:hover {
    background: var(--grey-100);
    transform: translateY(-2px);
}

/* ============================================
   8. FOOTER
   ============================================ */
.footer,
.kraftinox-footer {
    background: var(--black);
    color: var(--white);
    padding: var(--space-2xl) 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: 'KRAFTINOX';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-serif);
    font-size: clamp(100px, 20vw, 280px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    pointer-events: none;
}

.footer-main {
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    margin-top: var(--space-md);
    max-width: 260px;
}

.footer .logo-text {
    color: var(--white);
}

.footer-col h4 {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: var(--space-md);
}

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

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

.footer-col a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--brand-light);
    stroke-width: 1.5;
    fill: none;
    flex-shrink: 0;
}

.footer-contact-item a,
.footer-contact-item span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-item a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    position: relative;
    z-index: 1;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
}

.footer-legal a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   9. BUTTONS
   ============================================ */
.btn {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--brand);
    border: 1px solid var(--brand);
}

.btn-secondary:hover {
    background: var(--brand);
    color: var(--white);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   10. WOOCOMMERCE OVERRIDES
   ============================================ */

/*
 * NOTE: Single Product Page, Related Products, Product Features,
 * Variations styling, WC Tabs, and Cart Page styles have been
 * migrated to the Kraftinox Quote Request plugin.
 * See: /kraftinox-quote-request/assets/css/woocommerce.css
 */

/* ---- QUOTE BUTTON (triggers popup) ---- */
.kraftinox-quote-button-wrap {
    margin-top: 20px;
}

.kraftinox-quote-btn {
    display: block !important;
    width: 100% !important;
    padding: 16px 24px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    text-align: center !important;
    background: #366d71 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
    text-decoration: none !important;
}

.kraftinox-quote-btn:hover {
    background: #2a5558 !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
}

.kraftinox-quote-button-wrap .quote-hint {
    font-size: 0.8rem;
    color: #737373;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0;
}

/* Quote Form Container (for popup) */
.kraftinox-quote-form {
    background: var(--grey-50);
    border-radius: 12px;
    padding: var(--space-lg);
    /* margin-top: var(--space-lg);*/
}

.kraftinox-quote-form h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    color: var(--black);
}

.kraftinox-quote-form .form-subtitle {
    font-size: 0.875rem;
    color: var(--grey-500);
    margin-bottom: var(--space-md);
}

/* Contact Form 7 în Quote Form */
.kraftinox-quote-form .wpcf7-form {
    display: grid;
    gap: var(--space-sm);
}

/* Form Layout - forțăm grid pe .form-row */
.kraftinox-quote-form .kraftinox-quote-form-html {
    display: block;
}

.kraftinox-quote-form .form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: var(--space-sm) !important;
    margin-bottom: var(--space-sm);
}

/* Override WooCommerce clearfix care strică grid-ul */
.kraftinox-quote-form .form-row::before,
.kraftinox-quote-form .form-row::after {
    display: none !important;
    content: none !important;
}

.kraftinox-quote-form .form-group {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* Fix pentru Blocksy/alte teme care pot interfera */
.kraftinox-quote-form form {
    display: block !important;
}

.kraftinox-quote-form .form-row .form-group {
    flex: none !important;
}

.kraftinox-quote-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--grey-700);
    text-align: left;
}

.kraftinox-quote-form input[type="text"],
.kraftinox-quote-form input[type="email"],
.kraftinox-quote-form input[type="tel"],
.kraftinox-quote-form select,
.kraftinox-quote-form textarea,
.kraftinox-quote-form .wpcf7-text,
.kraftinox-quote-form .wpcf7-email,
.kraftinox-quote-form .wpcf7-tel,
.kraftinox-quote-form .wpcf7-select,
.kraftinox-quote-form .wpcf7-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--grey-300);
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: border-color 0.2s;
    background: var(--white);
}

.kraftinox-quote-form input:focus,
.kraftinox-quote-form select:focus,
.kraftinox-quote-form textarea:focus {
    outline: none;
    border-color: var(--brand);
}

.kraftinox-quote-form textarea {
    min-height: 100px;
    resize: vertical;
}

.kraftinox-quote-form input[type="submit"],
.kraftinox-quote-form .wpcf7-submit {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    font-weight: 500;
    background: var(--brand);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: var(--space-sm);
}

.kraftinox-quote-form input[type="submit"]:hover,
.kraftinox-quote-form .wpcf7-submit:hover {
    background: var(--brand-dark);
}

/* Variation Badge în formular */
.kraftinox-quote-form .variation-badge {
    background: var(--brand);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.kraftinox-quote-form .selected-variation-display {
    margin-bottom: var(--space-md);
}

/* Input number stilizat */
.kraftinox-quote-form input[type="number"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--grey-300);
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    background: var(--white);
}

/* =============================================
   WPFORMS - SINGLE PRODUCT QUOTE FORM
   ============================================= */

/* Ascunde câmpurile hidden (produs, cod, size) */
.kraftinox-quote-form .kx-hide,
.kraftinox-quote-form .wpforms-field.kx-hide,
.kx-hide {
    display: none !important;
}

/* Container formular - mai compact */
.kraftinox-quote-form .wpforms-container {
    margin: 0 !important;
    padding: 0 !important;
}

/* Flexbox pe field-container, NU pe form */
.kraftinox-quote-form .wpforms-field-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

/* Câmpuri pe 2 coloane */
.kraftinox-quote-form .wpforms-field {
    flex: 1 1 calc(50% - 6px) !important;
    min-width: 200px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Câmpuri full-width (mesaj, etc.) */
.kraftinox-quote-form .wpforms-field-textarea,
.kraftinox-quote-form .wpforms-field[data-field-type="textarea"] {
    flex: 1 1 100% !important;
}

/* Labels */
.kraftinox-quote-form .wpforms-field-label {
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    color: #404040 !important;
    margin-bottom: 6px !important;
}

/* Inputs - force 100% width */
.kraftinox-quote-form .wpforms-form input[type="text"],
.kraftinox-quote-form .wpforms-form input[type="email"],
.kraftinox-quote-form .wpforms-form input[type="tel"],
.kraftinox-quote-form .wpforms-form input[type="number"],
.kraftinox-quote-form .wpforms-form select,
.kraftinox-quote-form .wpforms-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 14px !important;
    border: 1px solid #d4d4d4 !important;
    border-radius: 6px !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 0.875rem !important;
    background: #fff !important;
    transition: border-color 0.2s ease !important;
    box-sizing: border-box !important;
}

.kraftinox-quote-form .wpforms-form input:focus,
.kraftinox-quote-form .wpforms-form select:focus,
.kraftinox-quote-form .wpforms-form textarea:focus {
    outline: none !important;
    border-color: #366d71 !important;
}

/* Textarea mai mic */
.kraftinox-quote-form .wpforms-form textarea {
    min-height: 80px !important;
    resize: vertical !important;
}

/* Submit button container - full width */
.kraftinox-quote-form .wpforms-submit-container {
    flex: 1 1 100% !important;
    margin-top: 8px !important;
    padding: 0 !important;
}

/* Submit button */
.kraftinox-quote-form .wpforms-form button[type="submit"],
.kraftinox-quote-form .wpforms-form .wpforms-submit {
    width: 100% !important;
    padding: 14px 24px !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    background: #366d71 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
}

.kraftinox-quote-form .wpforms-form button[type="submit"]:hover,
.kraftinox-quote-form .wpforms-form .wpforms-submit:hover {
    background: #2a5558 !important;
}

/* Ascunde recaptcha badge dacă există */
.kraftinox-quote-form .wpforms-recaptcha-container {
    flex: 1 1 100% !important;
}

/* Required asterisk */
.kraftinox-quote-form .wpforms-required-label {
    color: #dc2626 !important;
}

/* Error messages */
.kraftinox-quote-form .wpforms-error {
    color: #dc2626 !important;
    font-size: 0.75rem !important;
    margin-top: 4px !important;
}

/* Confirmation message */
.kraftinox-quote-form .wpforms-confirmation-container-full {
    background: #f0f7f7 !important;
    border: 1px solid #366d71 !important;
    border-radius: 8px !important;
    padding: 16px !important;
    color: #366d71 !important;
}

/* Mobile - 1 column */
@media (max-width: 500px) {
    .kraftinox-quote-form .wpforms-field {
        flex: 1 1 100% !important;
    }
}

/* Responsive Quote Form */
@media (max-width: 768px) {
    .kraftinox-quote-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ---- HOMEPAGE PRODUCTS GRID (pentru Blocksy) ---- */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

.woocommerce ul.products li.product {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
    clear: none !important;
    position: relative;
}

/* Blocksy Image Container - hover effect */
.woocommerce ul.products li.product figure {
    position: relative !important;
    overflow: hidden !important;
    margin: 0 0 var(--space-sm) 0 !important;
}

.woocommerce ul.products li.product figure .ct-media-container {
    display: block;
    position: relative;
    overflow: hidden;
}

.woocommerce ul.products li.product figure img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* Show full image, don't clip */
    aspect-ratio: 1/1 !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: block !important;
}

/* Teal Overlay on Hover (pe Blocksy figure) */
.woocommerce ul.products li.product figure::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: var(--brand) !important;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.woocommerce ul.products li.product:hover figure::after {
    opacity: 0.85;
}

.woocommerce ul.products li.product:hover figure img {
    transform: scale(1.05);
}

/* CTA "Cere Ofertă" - apare la hover (pe Blocksy figure) */
.woocommerce ul.products li.product figure::before {
    content: 'Cere Ofertă' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 2 !important;
    font-size: 0.8rem;
    font-weight: 500;
    color: #fff !important;
    background: transparent !important;
    letter-spacing: 0.03em;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    white-space: nowrap;
}

.woocommerce ul.products li.product:hover figure::before {
    opacity: 1;
}

/* Product Card - layout flexbox pentru aliniere uniformă */
.woocommerce ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
}

.woocommerce ul.products li.product figure {
    flex-shrink: 0;
}

/* Product Title - înălțime fixă pentru aliniere */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--black);
    text-align: center;
    margin: 0 !important;
    padding: var(--space-xs) 0 !important;
    min-height: 2.8em; /* 2 linii */
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title a {
    color: inherit;
    text-decoration: none;
}

/* Categorii Blocksy - centrate */
.woocommerce ul.products li.product .entry-meta,
.woocommerce ul.products li.product ul.entry-meta {
    text-align: center !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce ul.products li.product .meta-categories {
    display: block !important;
    text-align: center !important;
}

.woocommerce ul.products li.product .meta-categories a {
    font-size: 0.75rem;
    color: var(--grey-500);
    text-decoration: none;
}

.woocommerce ul.products li.product .meta-categories a:hover {
    color: var(--brand);
}

/* NOTE: WooCommerce button hiding is handled in plugin CSS
   See: kraftinox-quote-request/assets/css/woocommerce.css */

/* ---- RESPONSIVE GRID ---- */
@media (max-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* ---- GENERAL WOOCOMMERCE BUTTONS ---- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .cart .button,
.woocommerce .checkout-button {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 12px 24px;
    border-radius: 6px;
    background: var(--brand) !important;
    color: var(--white) !important;
    transition: all 0.3s ease;
    border: none !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .cart .button:hover,
.woocommerce .checkout-button:hover {
    background: var(--brand-dark) !important;
    color: var(--white) !important;
}

/* Alt button style */
.woocommerce a.button.alt,
.woocommerce button.button.alt {
    background: var(--brand) !important;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
    background: var(--brand-dark) !important;
}

/* ============================================
   11. RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-stats {
        display: none;
    }

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

    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }
}

@media (max-width: 640px) {
    .nav-links,
    .nav-phone {
        display: none;
    }

    .hero-headline {
        min-height: 120px;
    }

    .hero-headline h1 {
        font-size: 1.75rem;
    }

    .hero-indicators {
        bottom: var(--space-md);
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer::before {
        font-size: 60px;
        bottom: -10px;
    }

    :root {
        --space-lg: 24px;
        --space-xl: 48px;
        --space-2xl: 80px;
    }

    /* Benefits section - fix text wrapping */
    .benefit p,
    .elementor-widget-text-editor p,
    .elementor-widget-text-editor {
        word-break: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
}

/* General fix pentru text wrapping pe mobile */
@media (max-width: 768px) {
    p, span, .elementor-text-editor {
        word-break: normal;
        overflow-wrap: break-word;
    }

    /* Homepage Hero - Responsive (.kraftinox-hero-section) */

    /* Eyebrow (Din 2009 · Producător Român) - mai mic */
    .kraftinox-hero-section .hero-eyebrow .elementor-heading-title,
    .kraftinox-hero-section .hero-eyebrow h2 {
        font-size: 0.55rem !important;
        letter-spacing: 0.15em !important;
    }

    /* Smart Slider 3 Headlines - mărit cu ~15% */
    .kraftinox-hero-section .n2-ss-slider h1,
    .kraftinox-hero-section .n2-ss-item-content.n2-ss-text {
        font-size: clamp(1.85rem, 9vw, 2.75rem) !important;
        line-height: 1.2 !important;
    }

    /* Descriere (Fabricăm mobilier...) - mai mic */
    .kraftinox-hero-section .elementor-widget-text-editor p {
        font-size: 0.8rem !important;
        line-height: 1.6 !important;
    }

    /* Hero Stats on mobile - ascunde */
    .kraftinox-hero-section .hero-stats {
        display: none !important;
    }
}

@media (max-width: 480px) {
    /* Homepage Hero - Extra small screens */

    /* Eyebrow - și mai mic */
    .kraftinox-hero-section .hero-eyebrow .elementor-heading-title,
    .kraftinox-hero-section .hero-eyebrow h2 {
        font-size: 0.5rem !important;
        letter-spacing: 0.12em !important;
    }

    /* Smart Slider 3 Headlines - ajustat */
    .kraftinox-hero-section .n2-ss-slider h1,
    .kraftinox-hero-section .n2-ss-item-content.n2-ss-text {
        font-size: 1.6rem !important;
        line-height: 1.25 !important;
    }

    /* Descriere - și mai mic */
    .kraftinox-hero-section .elementor-widget-text-editor p {
        font-size: 0.75rem !important;
    }
}

/* ============================================
   ELEMENTOR SPECIFIC OVERRIDES
   ============================================ */
/* Navbar Elementor Header */
.elementor-location-header .elementor-element {
    max-width: 100%;
}

/* Hero Elementor Section */
.elementor-section.kraftinox-hero-section,
.kraftinox-hero-section {
    padding: 0;
    margin: 0;
    position: relative !important;
}

.elementor-section.kraftinox-hero-section > .elementor-container {
    max-width: 100%;
}

/* Hero Stats - poziționare în Elementor */
.hero-stats {
    position: fixed !important;
    bottom: 48px !important;
    left: 48px !important;
    z-index: 100 !important;
    display: flex !important;
    gap: 60px !important;
}

/* Ascunde pe pagini non-homepage sau când nu e hero vizibil */
body:not(.home) .hero-stats {
    display: none !important;
}

/* Hide pe scroll (opțional - decomentează dacă vrei) */
/*
.ct-header-scrolled ~ .hero-stats,
body.scrolled .hero-stats {
    display: none !important;
}
*/

/* ============================================
   12. MOBILE MENU
   ============================================ */
/*.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.navbar.scrolled .mobile-menu-toggle span {
    background: var(--black);
}

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

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

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    z-index: 999;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-inner {
    padding: 100px var(--space-md) var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: var(--space-sm);
}

.mobile-nav-links a {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--black);
    text-decoration: none;
    display: block;
    padding: var(--space-xs) 0;
    transition: color 0.2s ease;
}

.mobile-nav-links a:hover {
    color: var(--brand);
}

.mobile-phone {
    font-size: 1rem;
    color: var(--grey-500);
    text-decoration: none;
    margin-top: var(--space-md);
}

.mobile-menu .btn {
    margin-top: var(--space-sm);
    text-align: center;
}
*/
/* Mobile menu overlay */
body.menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}

/* ============================================
   BLOCKSY OFFCANVAS / MOBILE MENU
   ============================================ */
/* Panel background */
[data-panel].ct-panel .ct-panel-inner {
    background: #1a3d40 !important;
}

/* Mobile menu text - alb pe fundal închis */
.ct-panel .mobile-menu .ct-menu-link,
.ct-panel nav.mobile-menu a,
.ct-panel .menu-item > a,
.ct-panel .menu-item > span > a {
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    padding: 12px 0 !important;
}

.ct-panel .mobile-menu .ct-menu-link:hover,
.ct-panel nav.mobile-menu a:hover {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Submenu items - puțin mai mici */
.ct-panel .mobile-menu .sub-menu .ct-menu-link,
.ct-panel .mobile-menu .sub-menu a {
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    padding: 10px 0 10px 16px !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Dropdown toggle button */
.ct-panel .ct-toggle-dropdown-mobile {
    color: #ffffff !important;
}

.ct-panel .ct-toggle-dropdown-mobile svg {
    fill: #ffffff !important;
}

/* Submenu dots color */
.ct-panel .mobile-menu[data-submenu-dots="yes"] .menu-item-has-children > .ct-sub-menu-parent::before {
    background: rgba(255, 255, 255, 0.5) !important;
}

/* Close button */
.ct-panel .ct-toggle-close {
    color: #ffffff !important;
}

/* Panel content padding */
.ct-panel .ct-panel-content-inner {
    padding: 20px !important;
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .navbar-inner {
        height: 70px;
    }

    .logo-mark {
        height: 40px;
    }
}

/* ============================================
   13. BLOCKSY HEADER STYLING
   ============================================ */
/* Header transparent pe homepage */
.home header[data-id] {
    background: transparent !important;
    position: absolute;
    width: 100%;
}

.home header[data-id].ct-header-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    position: fixed;
}

/* ============================================
   14. SHOP/ARCHIVE PAGE
   ============================================ */

/* --- Page Header (Hero Section) --- */
.kx-quote-list div.hero-section, body.woocommerce-shop div.hero-section[data-type],
body.post-type-archive-product div.hero-section[data-type],
body.tax-product_cat div.hero-section[data-type] {
    background: linear-gradient(135deg, #1a3d40 0%, #366d71 60%, #4a8a8f 100%) !important;
    padding: 0 !important;
    text-align: center !important;
    min-height: 250px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.woocommerce-shop div.hero-section[data-type] header.entry-header.ct-container-narrow,
body.post-type-archive-product div.hero-section[data-type] header.entry-header.ct-container-narrow,
body.tax-product_cat div.hero-section[data-type] header.entry-header.ct-container-narrow {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
    height: auto !important;
}

body.woocommerce-shop .hero-section .page-description p,
body.tax-product_cat .hero-section .page-description p {
    font-size: 1rem;
    opacity: 0.8;
    color: #fff;
}
.kx-quote-list .entry-title,
.kx-quote-list h1,
body.post-type-archive-product .hero-section .page-title,
body.woocommerce-shop .hero-section .page-title,
body.tax-product_cat .hero-section .page-title {
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-size: 2.5rem !important;
    font-weight: 400 !important;
    color: #fff !important;
    margin: 0 !important;
}

/* --- Sidebar --- */
body.post-type-archive-product .ct-sidebar,
body.woocommerce-shop .ct-sidebar,
body.tax-product_cat .ct-sidebar {
    background: #fff !important;
    padding: 24px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
}

body.post-type-archive-product aside,
body.woocommerce-shop aside,
body.tax-product_cat aside {
    position: sticky !important;
    top: 100px !important;
    height: fit-content !important;
}

/* Sidebar title */
body.post-type-archive-product aside h4.wp-block-heading,
body.woocommerce-shop aside h4.wp-block-heading,
body.tax-product_cat aside h4.wp-block-heading {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: #404040 !important;
    margin: 0 0 16px 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #f4f4f4 !important;
}

/* Category list */
body.post-type-archive-product .wc-block-product-categories-list,
body.woocommerce-shop .wc-block-product-categories-list,
body.tax-product_cat .wc-block-product-categories-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Category list items - flex layout */
body.post-type-archive-product .wc-block-product-categories-list-item,
body.woocommerce-shop .wc-block-product-categories-list-item,
body.tax-product_cat .wc-block-product-categories-list-item {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 0 !important;
}

body.post-type-archive-product .wc-block-product-categories-list-item > a,
body.woocommerce-shop .wc-block-product-categories-list-item > a,
body.tax-product_cat .wc-block-product-categories-list-item > a {
    flex: 1 !important;
    color: #737373 !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: color 0.2s !important;
}

body.post-type-archive-product .wc-block-product-categories-list-item > a:hover,
body.woocommerce-shop .wc-block-product-categories-list-item > a:hover,
body.tax-product_cat .wc-block-product-categories-list-item > a:hover {
    color: #366d71 !important;
}

/* Count badge */
body.post-type-archive-product .wc-block-product-categories-list-item-count,
body.woocommerce-shop .wc-block-product-categories-list-item-count,
body.tax-product_cat .wc-block-product-categories-list-item-count {
    font-size: 0.75rem !important;
    background: #f4f4f4 !important;
    padding: 2px 10px !important;
    border-radius: 10px !important;
    color: #737373 !important;
}

/* Hide screen reader text in count */
body.post-type-archive-product .wc-block-product-categories-list-item-count .screen-reader-text,
body.woocommerce-shop .wc-block-product-categories-list-item-count .screen-reader-text,
body.tax-product_cat .wc-block-product-categories-list-item-count .screen-reader-text {
    display: none !important;
}

/* Subcategories - indent and full width */
body.post-type-archive-product .wc-block-product-categories-list-item > ul,
body.woocommerce-shop .wc-block-product-categories-list-item > ul,
body.tax-product_cat .wc-block-product-categories-list-item > ul {
    flex-basis: 100% !important;
    width: 100% !important;
    padding-left: 16px !important;
    margin-top: 4px !important;
}

body.post-type-archive-product .wc-block-product-categories-list--depth-1 .wc-block-product-categories-list-item > a,
body.woocommerce-shop .wc-block-product-categories-list--depth-1 .wc-block-product-categories-list-item > a,
body.tax-product_cat .wc-block-product-categories-list--depth-1 .wc-block-product-categories-list-item > a {
    font-size: 0.85rem !important;
}

/* --- Toolbar (woo-listing-top) --- */
body.post-type-archive-product .woo-listing-top,
body.woocommerce-shop .woo-listing-top,
body.tax-product_cat .woo-listing-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 24px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid #f4f4f4 !important;
}

/* Results count */
body.post-type-archive-product .woocommerce-result-count,
body.woocommerce-shop .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count {
    font-size: 0.875rem !important;
    color: #737373 !important;
    margin: 0 !important;
}

/* Sorting dropdown */
body.post-type-archive-product .woocommerce-ordering select,
body.woocommerce-shop .woocommerce-ordering select,
body.tax-product_cat .woocommerce-ordering select {
    /*padding: 10px 36px 10px 14px !important;*/
    border: 1px solid #d4d4d4 !important;
    border-radius: 6px !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 0.875rem !important;
    color: #404040 !important;
    background-color: #fff !important;
    cursor: pointer !important;
    min-width: 180px !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23737373' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
}

body.post-type-archive-product .woocommerce-ordering select:hover,
body.woocommerce-shop .woocommerce-ordering select:hover,
body.tax-product_cat .woocommerce-ordering select:hover {
    border-color: #366d71 !important;
}

/* --- Products Grid --- */
body.post-type-archive-product ul.products,
body.woocommerce-shop ul.products,
body.tax-product_cat ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Product card */
body.post-type-archive-product ul.products li.product,
body.woocommerce-shop ul.products li.product,
body.tax-product_cat ul.products li.product {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
}

/* Product title */
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: #111 !important;
    text-align: center !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.4 !important;
}

/* Product categories */
body.post-type-archive-product ul.products li.product .entry-meta,
body.woocommerce-shop ul.products li.product .entry-meta,
body.tax-product_cat ul.products li.product .entry-meta {
    font-size: 0.75rem !important;
    color: #737373 !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

/* --- Pagination (Blocksy ct-pagination) --- */
body.post-type-archive-product nav.ct-pagination,
body.woocommerce-shop nav.ct-pagination,
body.tax-product_cat nav.ct-pagination {
    display: flex !important;
    justify-content: center !important;
    margin-top: 48px !important;
    gap: 6px !important;
}

body.post-type-archive-product nav.ct-pagination .page-numbers,
body.woocommerce-shop nav.ct-pagination .page-numbers,
body.tax-product_cat nav.ct-pagination .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 10px !important;
    border-radius: 6px !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    color: #404040 !important;
    background: #fff !important;
    border: 1px solid #e5e5e5 !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
}

body.post-type-archive-product nav.ct-pagination .page-numbers:hover,
body.woocommerce-shop nav.ct-pagination .page-numbers:hover,
body.tax-product_cat nav.ct-pagination .page-numbers:hover {
    border-color: #366d71 !important;
    color: #366d71 !important;
    background: #f8fafa !important;
}

/* Current page */
body.post-type-archive-product nav.ct-pagination .page-numbers.current,
body.woocommerce-shop nav.ct-pagination .page-numbers.current,
body.tax-product_cat nav.ct-pagination .page-numbers.current,
body.post-type-archive-product nav.ct-pagination span.current,
body.woocommerce-shop nav.ct-pagination span.current,
body.tax-product_cat nav.ct-pagination span.current {
    background: #366d71 !important;
    border-color: #366d71 !important;
    color: #fff !important;
}

/* Next button */
body.post-type-archive-product nav.ct-pagination .next,
body.woocommerce-shop nav.ct-pagination .next,
body.tax-product_cat nav.ct-pagination .next {
    padding: 0 14px !important;
}

/* ============================================
   SHOP PAGE - RESPONSIVE STYLES
   ============================================ */

/* Tablet - max 1024px */
@media (max-width: 1024px) {
    body.post-type-archive-product ul.products,
    body.woocommerce-shop ul.products,
    body.tax-product_cat ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile - max 767px */
@media (max-width: 767px) {
    body.post-type-archive-product .hero-section,
    body.woocommerce-shop .hero-section,
    body.tax-product_cat .hero-section {
        padding: 40px 16px !important;
    }

    body.post-type-archive-product .hero-section .page-title,
    body.woocommerce-shop .hero-section .page-title,
    body.tax-product_cat .hero-section .page-title {
        font-size: 1.75rem !important;
    }

    body.post-type-archive-product ul.products,
    body.woocommerce-shop ul.products,
    body.tax-product_cat ul.products {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    body.post-type-archive-product .woo-listing-top,
    body.woocommerce-shop .woo-listing-top,
    body.tax-product_cat .woo-listing-top {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    body.post-type-archive-product nav.woocommerce-pagination ul,
    body.woocommerce-shop nav.woocommerce-pagination ul,
    body.tax-product_cat nav.woocommerce-pagination ul {
        flex-wrap: wrap !important;
    }
}

/* ============================================
   15. CONTACT PAGE
   ============================================ */

/* --- Page Header (Teal gradient) --- */
.page-id-1095 > .elementor > .elementor-section:first-child,
.page-id-1095 .contact-header-section {
    background: linear-gradient(135deg, #1a3d40 0%, #366d71 60%, #4a8a8f 100%) !important;
    min-height: 250px !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.page-id-1095 .contact-header-description p {
 	font-size: 1rem;
    opacity: 0.8;
    color: #fff;
    font-weight: 400;
}

.page-id-1095 > .elementor > .elementor-section:first-child h1,
.page-id-1095 > .elementor > .elementor-section:first-child .elementor-heading-title,
.page-id-1095 .contact-header-section .elementor-heading-title {
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-size: 2.5rem !important;
    font-weight: 400 !important;
    color: #fff !important;
    margin-bottom: 8px !important;
}

/* Header subtitle */
.page-id-1095 > .elementor > .elementor-section:first-child p,
.page-id-1095 > .elementor > .elementor-section:first-child .elementor-text-editor,
.page-id-1095 .contact-header-section .elementor-text-editor {
    color: rgba(255,255,255,0.8) !important;
    font-size: 1rem !important;
}

/* --- Main Content Section (2 columns) --- */
.page-id-1095 .contact-main-section {
    padding: 80px 20px !important;
    background: #fff !important;
}

/* --- Left Column: Contact Info Block (HTML Widget) --- */
.page-id-1095 .contact-info-block {
    max-width: 440px;
}

.page-id-1095 .contact-info-block .contact-info-title {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: #111;
    margin: 0 0 12px 0;
}

.page-id-1095 .contact-info-block .contact-info-subtitle {
    color: #737373;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 32px 0;
}

/* Contact Items */
.page-id-1095 .contact-info-block .contact-items {
    margin-bottom: 32px;
}

.page-id-1095 .contact-info-block .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.page-id-1095 .contact-info-block .contact-item:last-child {
    margin-bottom: 0;
}

/* Icon circle */
.page-id-1095 .contact-info-block .contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #f4f4f4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.page-id-1095 .contact-info-block .contact-icon svg {
    width: 22px;
    height: 22px;
    color: #366d71;
    stroke: #366d71;
}

/* Contact content */
.page-id-1095 .contact-info-block .contact-content h3 {
    font-size: 0.95rem;
    font-weight: 500;
    color: #111;
    margin: 0 0 4px 0;
}

.page-id-1095 .contact-info-block .contact-content p {
    font-size: 0.9rem;
    color: #737373;
    line-height: 1.7;
    margin: 0;
}

.page-id-1095 .contact-info-block .contact-content p span {
    color: #a3a3a3;
    font-size: 0.85rem;
}

.page-id-1095 .contact-info-block .contact-content a {
    color: #737373;
    text-decoration: none;
    transition: color 0.2s;
}

.page-id-1095 .contact-info-block .contact-content a:hover {
    color: #366d71;
}

/* Business Hours Box */
.page-id-1095 .contact-info-block .business-hours {
    background: #f4f4f4;
    border-radius: 12px;
    padding: 24px;
}

.page-id-1095 .contact-info-block .business-hours h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
    margin: 0 0 16px 0;
}

.page-id-1095 .contact-info-block .business-hours .hours-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 0.875rem;
}

.page-id-1095 .contact-info-block .business-hours .hours-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.page-id-1095 .contact-info-block .business-hours .hours-row span:first-child {
    color: #737373;
}

.page-id-1095 .contact-info-block .business-hours .hours-row span:last-child {
    color: #111;
    font-weight: 400;
}

/* --- Right Column: Form Container --- */
.page-id-1095 .contact-form-column,
.page-id-1095 .elementor-column:has(.wpforms-container) {
    background: #fafafa !important;
    border-radius: 16px !important;
    padding: 40px !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06) !important;
}

/* Form title */
.page-id-1095 .contact-form-title,
.page-id-1095 .elementor-column:has(.wpforms-container) h2 {
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-size: 1.5rem !important;
    font-weight: 400 !important;
    color: #111 !important;
    margin-bottom: 8px !important;
}

/* Form subtitle */
.page-id-1095 .contact-form-subtitle {
    color: #737373 !important;
    font-size: 0.9rem !important;
    margin-bottom: 32px !important;
}

/* WPForms styling */
.page-id-1095 .wpforms-container {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.page-id-1095 .wpforms-form .wpforms-field-label {
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    color: #404040 !important;
    margin-bottom: 6px !important;
}

.page-id-1095 .wpforms-form input[type="text"],
.page-id-1095 .wpforms-form input[type="email"],
.page-id-1095 .wpforms-form input[type="tel"],
.page-id-1095 .wpforms-form textarea,
.page-id-1095 .wpforms-form select {
    width: 100% !important;
    padding: 14px 18px !important;
    border: 1px solid #d4d4d4 !important;
    border-radius: 8px !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 0.9rem !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    background: #fff !important;
}

.page-id-1095 .wpforms-form input::placeholder,
.page-id-1095 .wpforms-form textarea::placeholder {
    color: #a3a3a3 !important;
}

.page-id-1095 .wpforms-form input:focus,
.page-id-1095 .wpforms-form textarea:focus,
.page-id-1095 .wpforms-form select:focus {
    border-color: #366d71 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(54,109,113,0.1) !important;
}

.page-id-1095 .wpforms-form textarea {
    min-height: 140px !important;
    resize: vertical !important;
}

/* Form 2-column layout */
.page-id-1095 .wpforms-form .wpforms-field-row {
    display: flex !important;
    gap: 16px !important;
}

.page-id-1095 .wpforms-form .wpforms-field-row .wpforms-field {
    flex: 1 !important;
}

/* Submit button - full width */
.page-id-1095 .wpforms-form button[type="submit"],
.page-id-1095 .wpforms-form .wpforms-submit {
    width: 100% !important;
    background: #366d71 !important;
    color: #fff !important;
    padding: 16px 28px !important;
    border-radius: 8px !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.3s !important;
    margin-top: 8px !important;
}

.page-id-1095 .wpforms-form button[type="submit"]:hover,
.page-id-1095 .wpforms-form .wpforms-submit:hover {
    background: #2a5558 !important;
}

/* Hide hCaptcha badge if needed */
.page-id-1095 .wpforms-recaptcha-container {
    margin-top: 16px !important;
}

/* --- Map Section --- */
.page-id-1095 .contact-map-section {
    background: #1a1a1a !important;
    min-height: 400px !important;
    padding: 0 !important;
}

.page-id-1095 .contact-map-section iframe {
    width: 100% !important;
    height: 400px !important;
    border: none !important;
    filter: grayscale(20%) !important;
}

/* --- Contact Page Responsive --- */
@media (max-width: 1024px) {
    .page-id-1095 .contact-form-column,
    .page-id-1095 .elementor-column:has(.wpforms-container) {
        padding: 32px !important;
    }
}

@media (max-width: 767px) {
    .page-id-1095 > .elementor > .elementor-section:first-child,
    .page-id-1095 .contact-header-section {
        padding: 40px 16px !important;
    }

    .page-id-1095 > .elementor > .elementor-section:first-child h1,
    .page-id-1095 > .elementor > .elementor-section:first-child .elementor-heading-title {
        font-size: 1.75rem !important;
    }

    /* Contact Info Block responsive */
    .page-id-1095 .contact-info-block {
        max-width: 100%;
    }

    .page-id-1095 .contact-info-block .contact-info-title {
        font-size: 1.5rem;
    }

    .page-id-1095 .contact-info-block .contact-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .page-id-1095 .contact-info-block .contact-icon svg {
        width: 20px;
        height: 20px;
    }

    .page-id-1095 .contact-info-block .business-hours {
        padding: 20px;
    }

    /* Form responsive */
    .page-id-1095 .contact-form-column,
    .page-id-1095 .elementor-column:has(.wpforms-container) {
        padding: 24px 20px !important;
        margin-top: 40px !important;
    }

    .page-id-1095 .contact-form-title {
        font-size: 1.25rem !important;
    }

    .page-id-1095 .wpforms-form .wpforms-field-row {
        flex-direction: column !important;
        gap: 0 !important;
    }
}

/* ============================================
   16. ABOUT PAGE
   ============================================ */

/* --- Header Section --- */
.about-header-section {
    background: linear-gradient(135deg, #1a3d40 0%, #366d71 60%, #4a8a8f 100%) !important;
    min-height: 250px !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.about-header-section h1,
.about-header-section .elementor-heading-title {
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-size: 2.5rem !important;
    font-weight: 400 !important;
    color: #fff !important;
    margin-bottom: 8px !important;
}

.about-header-section p,
.about-header-section .elementor-text-editor {
    color: rgba(255,255,255,0.8) !important;
    font-size: 1rem !important;
}

/* --- Intro Section --- */
.about-intro-section {
    padding: 80px 20px !important;
}

.about-intro-section img {
    border-radius: 12px !important;
}

.about-intro-section h2,
.about-intro-section .elementor-heading-title {
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-size: 2rem !important;
    font-weight: 400 !important;
    color: #111 !important;
    line-height: 1.3 !important;
    margin-bottom: 24px !important;
}

.about-intro-section h2 em,
.about-intro-section .elementor-heading-title em {
    color: #366d71 !important;
    font-style: italic !important;
}

.about-intro-section p {
    color: #404040 !important;
    margin-bottom: 16px !important;
    line-height: 1.7 !important;
}

/* Stats Row */
.stats-row {
    display: flex;
    gap: 48px;
    /*margin-top: 48px;*/
    padding-top: 48px;
    border-top: 1px solid #f4f4f4;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 2.5rem;
    color: #366d71;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: #737373;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Values Section --- */
.about-values-section {
    background: #fafafa !important;
    padding: 80px 20px !important;
}

.about-values-section .section-title,
.about-values-section > .elementor-container > .elementor-column > .elementor-widget-wrap > .elementor-widget-heading:first-child {
    text-align: center !important;
    margin-bottom: 16px !important;
}

.about-values-section h2,
.about-values-section .elementor-heading-title {
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-size: 2rem !important;
    font-weight: 400 !important;
    text-align: center !important;
}

.about-values-section h2 em {
    color: #366d71 !important;
    font-style: italic !important;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 48px auto 0;
}

.value-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: 12px;
    text-align: center;
}

.value-icon {
    width: 64px;
    height: 64px;
    background: #f4f4f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon svg {
    width: 28px;
    height: 28px;
    stroke: #366d71;
    stroke-width: 1.5;
    fill: none;
}

.value-card h3 {
    font-size: 1rem;
    font-weight: 500;
    color: #111;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.9rem;
    color: #737373;
    line-height: 1.6;
    margin: 0;
}

/* --- Process Section --- */
.about-process-section {
    padding: 80px 20px !important;
    background: #fff !important;
}

.about-process-section h2,
.about-process-section .elementor-heading-title {
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-size: 2rem !important;
    font-weight: 400 !important;
    text-align: center !important;
}

.about-process-section h2 em {
    color: #366d71 !important;
    font-style: italic !important;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 48px auto 0;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 28px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #e5e5e5;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 56px;
    height: 56px;
    background: #366d71;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
}

.process-step h3 {
    font-size: 0.95rem;
    font-weight: 500;
    color: #111;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.85rem;
    color: #737373;
    line-height: 1.6;
    margin: 0;
    padding: 0 10px;
}

/* --- CTA Section --- */
.about-cta-section {
    background: #366d71 !important;
    padding: 80px 20px !important;
    text-align: center !important;
}

.about-cta-section h2,
.about-cta-section .elementor-heading-title {
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-size: 2rem !important;
    font-weight: 400 !important;
    color: #fff !important;
    margin-bottom: 16px !important;
}

.about-cta-section p,
.about-cta-section .elementor-text-editor {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1rem !important;
    max-width: 600px !important;
    margin: 0 auto 24px !important;
}

.about-cta-section .elementor-button,
.about-cta-section a.btn {
    background: #fff !important;
    color: #366d71 !important;
    padding: 14px 28px !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: background 0.3s !important;
}

.about-cta-section .elementor-button:hover,
.about-cta-section a.btn:hover {
    background: #f4f4f4 !important;
}

/* --- About Page Responsive --- */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .process-step::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .about-header-section h1,
    .about-header-section .elementor-heading-title {
        font-size: 1.75rem !important;
    }

    .about-intro-section,
    .about-values-section,
    .about-process-section,
    .about-cta-section {
        padding: 60px 16px !important;
    }

    .about-intro-section h2 {
        font-size: 1.5rem !important;
    }

    .stats-row {
        flex-direction: column;
        gap: 24px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .values-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .value-card {
        padding: 32px 24px;
    }

    .about-values-section h2,
    .about-process-section h2,
    .about-cta-section h2 {
        font-size: 1.5rem !important;
    }
}

/* ============================================
   17. GALLERY PAGE
   ============================================ */

/* --- Header Section --- */
.page-id-1262 .elementor-section:first-child,
.page-id-1262 .gallery-header-section {
    background: linear-gradient(135deg, #1a3d40 0%, #366d71 60%, #4a8a8f 100%) !important;
    min-height: 250px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.page-id-1262 .elementor-section:first-child .elementor-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Breadcrumbs */
.page-id-1262 .ct-breadcrumbs {
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 16px;
}

.page-id-1262 .ct-breadcrumbs a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-id-1262 .ct-breadcrumbs a:hover {
    color: #fff !important;
}

.page-id-1262 .ct-breadcrumbs svg {
    fill: rgba(255, 255, 255, 0.5);
}

/* Page Title */
.page-id-1262 .elementor-section:first-child h1,
.page-id-1262 .elementor-section:first-child .elementor-heading-title {
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-size: 2.5rem !important;
    font-weight: 400 !important;
    color: #fff !important;
    margin: 0 !important;
}

/* Subtitle */
.page-id-1262 .elementor-section:first-child p,
.page-id-1262 .elementor-section:first-child .elementor-text-editor {
    color: rgba(255,255,255,0.8) !important;
    font-size: 1rem !important;
}

/* --- Gallery Container --- */
.page-id-1262 .gallery {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    padding: 60px 5% !important;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Gallery Items --- */
.page-id-1262 .gallery-item {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: #fff;
}

.page-id-1262 .gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(54, 109, 113, 0.15);
}

/* Image Container */
.page-id-1262 .gallery-icon {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.page-id-1262 .gallery-icon a {
    display: block;
    width: 100%;
    height: 100%;
}

.page-id-1262 .gallery-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-id-1262 .gallery-item:hover .gallery-icon img {
    transform: scale(1.08);
}

/* Hover Overlay */
.page-id-1262 .gallery-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 61, 64, 0.85), rgba(54, 109, 113, 0.75));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.page-id-1262 .gallery-item:hover .gallery-icon::after {
    opacity: 1;
}

/* Hover Icon */
.page-id-1262 .gallery-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 50px;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607zM10.5 7.5v6m3-3h-6'/%3E%3C/svg%3E");
    background-size: contain;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.page-id-1262 .gallery-item:hover .gallery-icon::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Caption/Title */
.page-id-1262 .gallery-caption {
    padding: 16px 20px !important;
    margin: 0 !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: #1a3d40 !important;
    text-align: center;
    background: #fff;
    border-top: 1px solid #f4f4f4;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .page-id-1262 .gallery {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
        padding: 48px 4% !important;
    }
}

@media (max-width: 768px) {
    .page-id-1262 .gallery {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
        padding: 32px 4% !important;
    }

    .page-id-1262 .elementor-section:first-child h1,
    .page-id-1262 .elementor-section:first-child .elementor-heading-title {
        font-size: 2rem !important;
    }

    .page-id-1262 .elementor-section:first-child {
        min-height: 200px !important;
    }
}

@media (max-width: 480px) {
    .page-id-1262 .gallery {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .page-id-1262 .gallery-caption {
        font-size: 0.875rem !important;
        padding: 12px 16px !important;
    }
}

/* ============================================
   18. CATALOG PAGE
   ============================================ */

/* --- Hero/Header Section --- */
.page-id-1256 .catalog-header-section {
    background: linear-gradient(135deg, #1a3d40 0%, #366d71 60%, #4a8a8f 100%) !important;
    min-height: 250px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin-bottom: 40px !important;
}

.page-id-1256 .catalog-header-section .elementor-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-id-1256 .catalog-header-section h1,
.page-id-1256 .catalog-header-section .elementor-heading-title {
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-size: 2.5rem !important;
    font-weight: 400 !important;
    color: #fff !important;
    margin: 0 !important;
}

.page-id-1256 .catalog-header-section p,
.page-id-1256 .catalog-header-section .elementor-text-editor {
    color: rgba(255,255,255,0.8) !important;
    font-size: 1rem !important;
}

/* Breadcrumbs */
.page-id-1256 .ct-breadcrumbs {
    padding-top: 30px !important;
}

.page-id-1256 .ct-breadcrumbs,
.page-id-1256 .ct-breadcrumbs a {
    color: rgba(255, 255, 255, 0.7) !important;
}

.page-id-1256 .ct-breadcrumbs a:hover {
    color: #fff !important;
}

.page-id-1256 .ct-breadcrumbs svg {
    fill: rgba(255, 255, 255, 0.5);
}

/* Page Title (H2) */
.page-id-1256 .entry-content > h2:first-of-type,
.page-id-1256 .entry-content > .wp-block-heading:first-of-type {
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-size: 2.5rem !important;
    font-weight: 400 !important;
    color: #fff !important;
    text-align: center !important;
    margin: 0 0 40px 0 !important;
    padding-top: 20px !important;
}

/* --- Main Catalog (Featured) --- */
.page-id-1256 .entry-content > figure:first-of-type {
    max-width: 500px !important;
    margin: 0 auto 60px auto !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-id-1256 .entry-content > figure:first-of-type:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.page-id-1256 .entry-content > figure:first-of-type img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Content Container --- */
.page-id-1256 .entry-content {
    padding-bottom: 60px !important;
}

/* --- Category Headings (H4) --- */
.page-id-1256 .entry-content h4 {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #366d71 !important;
    margin: 40px 0 16px 0 !important;
}

/* --- All Images Border Radius --- */
.page-id-1256 img {
    border-radius: 12px !important;
}

/* --- Catalog Cards Grid --- */
.page-id-1256 .elementor-widget-image-box {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid #f0f0f0;
}

.page-id-1256 .elementor-widget-image-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(54, 109, 113, 0.12);
    border-color: rgba(54, 109, 113, 0.2);
}

.page-id-1256 .elementor-widget-image-box .elementor-image-box-img {
    margin-bottom: 16px;
}

.page-id-1256 .elementor-widget-image-box img {
    border-radius: 12px !important;
    transition: transform 0.4s ease;
}

.page-id-1256 .elementor-widget-image-box:hover img {
    transform: scale(1.03);
}

.page-id-1256 .elementor-widget-image-box .elementor-image-box-title {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #1a3d40 !important;
    margin: 0 !important;
    transition: color 0.3s ease;
}

.page-id-1256 .elementor-widget-image-box:hover .elementor-image-box-title {
    color: #366d71 !important;
}

/* --- Category Figures/Icons (fallback) --- */
.page-id-1256 .entry-content figure:not(:first-of-type) {
    display: inline-block;
    width: 120px;
    margin: 0 16px 16px 0 !important;
    text-align: center;
    transition: all 0.3s ease;
}

.page-id-1256 .entry-content figure:not(:first-of-type):hover {
    transform: translateY(-4px);
}

.page-id-1256 .entry-content figure:not(:first-of-type) img {
    width: 100px !important;
    height: 100px !important;
    object-fit: contain;
    border-radius: 12px !important;
    background: #f8f8f8;
    padding: 15px;
    transition: all 0.3s ease;
}

.page-id-1256 .entry-content figure:not(:first-of-type):hover img {
    background: #366d71;
    filter: brightness(0) invert(1);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .page-id-1256::before {
        height: 240px;
    }

    .page-id-1256 .entry-content > h2:first-of-type {
        font-size: 2rem !important;
    }

    .page-id-1256 .entry-content > figure:first-of-type {
        max-width: 90% !important;
    }

    .page-id-1256 .entry-content figure:not(:first-of-type) {
        width: 100px;
    }

    .page-id-1256 .entry-content figure:not(:first-of-type) img {
        width: 80px !important;
        height: 80px !important;
    }
}

@media (max-width: 480px) {
    .page-id-1256::before {
        height: 220px;
    }

    .page-id-1256 .entry-content > h2:first-of-type {
        font-size: 1.75rem !important;
    }

    .page-id-1256 .entry-content h4 {
        font-size: 1rem !important;
    }
}


/* =============================================
   POPUP MAKER - QUOTE FORM POPUP
   ============================================= */

/* Overlay */
.pum-overlay {
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(4px) !important;
}

/* Popup Container */
.pum-container {
    border-radius: 16px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    border: none !important;
    overflow: hidden !important;
    max-width: 520px !important;
    width: 90% !important;
}

/* Popup Content */
.pum-content {
    padding: 32px !important;
    background: #fff !important;
}

/* Header - adăugat prin CSS */
.pum-content::before {
    content: 'Cere Ofertă';
    display: block;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #111;
    text-align: center;
    margin-bottom: 8px;
    padding-bottom: 0;
}

/* Subtitle */
.pum-content .wpforms-container::before {
    content: 'Completează datele și te vom contacta în maxim 24 ore';
    display: block;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.875rem;
    color: #737373;
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

/* Close Button */
.pum-close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 36px !important;
    height: 36px !important;
    background: #f4f4f4 !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    color: #737373 !important;
    line-height: 1 !important;
    padding: 0 !important;
}

.pum-close:hover {
    background: #366d71 !important;
    color: #fff !important;
    transform: rotate(90deg) !important;
}

/* Form inside popup */
.pum-content .wpforms-form {
    margin: 0 !important;
}

.pum-content .wpforms-field-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
}

/* All fields - 2 columns */
.pum-content .wpforms-field {
    flex: 1 1 calc(50% - 8px) !important;
    min-width: 180px !important;
    margin: 0 !important;
}

/* Message field - full width */
.pum-content .wpforms-field-textarea {
    flex: 1 1 100% !important;
}

/* Hidden fields */
.pum-content .wpforms-field.kx-hide {
    display: none !important;
}

/* Labels */
.pum-content .wpforms-field-label {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* Inputs */
.pum-content .wpforms-form input[type="text"],
.pum-content .wpforms-form input[type="email"],
.pum-content .wpforms-form input[type="tel"],
.pum-content .wpforms-form select {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 0.9rem !important;
    background: #fafafa !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.pum-content .wpforms-form input:focus,
.pum-content .wpforms-form select:focus,
.pum-content .wpforms-form textarea:focus {
    outline: none !important;
    border-color: #366d71 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(54, 109, 113, 0.1) !important;
}

/* Textarea */
.pum-content .wpforms-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 0.9rem !important;
    background: #fafafa !important;
    min-height: 100px !important;
    resize: vertical !important;
    box-sizing: border-box !important;
}

/* Required asterisk */
.pum-content .wpforms-required-label {
    color: #366d71 !important;
}

/* hCaptcha container */
.pum-content .wpforms-field-hcaptcha,
.pum-content .wpforms-field-recaptcha {
    flex: 1 1 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 8px !important;
}

/* Submit container */
.pum-content .wpforms-submit-container {
    flex: 1 1 100% !important;
    margin-top: 16px !important;
    padding: 0 !important;
}

/* Submit button */
.pum-content .wpforms-form button[type="submit"],
.pum-content .wpforms-form .wpforms-submit {
    width: 100% !important;
    padding: 16px 24px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    background: linear-gradient(135deg, #366d71 0%, #4a8a8f 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.pum-content .wpforms-form button[type="submit"]:hover,
.pum-content .wpforms-form .wpforms-submit:hover {
    background: linear-gradient(135deg, #2a5558 0%, #366d71 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(54, 109, 113, 0.3) !important;
}

/* Confirmation message */
.pum-content .wpforms-confirmation-container-full {
    background: linear-gradient(135deg, #f0f7f7 0%, #e8f4f5 100%) !important;
    border: 1px solid #366d71 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    text-align: center !important;
}

.pum-content .wpforms-confirmation-container-full p {
    color: #366d71 !important;
    font-size: 1rem !important;
    margin: 0 !important;
}

/* Mobile responsive */
@media (max-width: 540px) {
    .pum-container {
        max-width: 95% !important;
        margin: 10px !important;
    }

    .pum-content {
        padding: 24px 20px !important;
    }

    .pum-content::before {
        font-size: 1.25rem !important;
    }

    .pum-content .wpforms-field {
        flex: 1 1 100% !important;
    }

    .pum-close {
        top: 12px !important;
        right: 12px !important;
        width: 32px !important;
        height: 32px !important;
    }
}


/* Hide WPForms error container */
.wpforms-error-container {
    display: none !important;
}


/* =============================================
   LEGAL PAGES - Termeni (post-3), Confidentialitate (post-687)
   ============================================= */

/* Container */
article#post-3 .entry-content,
article#post-687 .entry-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

/* Page title */
article#post-3 .entry-title,
article#post-687 .entry-title,
.page-id-3 .page-title,
.page-id-687 .page-title {
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-size: 1.5rem !important;
    font-weight: 400 !important;
    color: #111 !important;
    text-align: center !important;
    margin-bottom: 24px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #366d71 !important;
}

/* Section headings */
article#post-3 .entry-content h2,
article#post-687 .entry-content h2 {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #366d71 !important;
    margin-top: 32px !important;
    margin-bottom: 16px !important;
}

article#post-3 .entry-content h3,
article#post-687 .entry-content h3 {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin-top: 24px !important;
    margin-bottom: 12px !important;
}

/* Paragraphs */
article#post-3 .entry-content p,
article#post-687 .entry-content p {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    color: #404040 !important;
    margin-bottom: 16px !important;
}

/* Lists */
article#post-3 .entry-content ul,
article#post-3 .entry-content ol,
article#post-687 .entry-content ul,
article#post-687 .entry-content ol {
    margin: 16px 0 24px 0 !important;
    padding-left: 24px !important;
}

article#post-3 .entry-content li,
article#post-687 .entry-content li {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    color: #404040 !important;
    margin-bottom: 8px !important;
}

article#post-3 .entry-content ul li::marker,
article#post-687 .entry-content ul li::marker {
    color: #366d71 !important;
}

article#post-3 .entry-content ol li::marker,
article#post-687 .entry-content ol li::marker {
    color: #366d71 !important;
    font-weight: 600 !important;
}

/* Links */
article#post-3 .entry-content a,
article#post-687 .entry-content a {
    color: #366d71 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
}

article#post-3 .entry-content a:hover,
article#post-687 .entry-content a:hover {
    color: #2a5558 !important;
}

/* Strong/Bold */
article#post-3 .entry-content strong,
article#post-687 .entry-content strong {
    font-weight: 600 !important;
    color: #333 !important;
}


/* ============================================
   18. SINGLE PRODUCT PAGE (Aesthetic Styles)
   ============================================ */

/* --- CSS Variables (fallback if not defined globally) --- */
.single-product {
    --brand: #366d71;
    --brand-light: #4a8a8f;
    --brand-dark: #2a5558;
    --black: #111;
    --white: #fff;
    --grey-50: #fafafa;
    --grey-100: #f4f4f4;
    --grey-300: #d4d4d4;
    --grey-500: #737373;
    --grey-700: #404040;
    --font-serif: 'Libre Baskerville', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 80px;
}

/* --- Container --- */
.single-product .product-container,
.single-product .entry-summary {
    max-width: 100%;
}

/* --- Product Title --- */
.single-product .product_title {
    font-family: var(--font-serif) !important;
    font-size: 2rem !important;
    font-weight: 400 !important;
    color: var(--black) !important;
    margin-bottom: var(--space-md) !important;
    line-height: 1.3;
}

/* --- Product Description --- */
.single-product .woocommerce-product-details__short-description {
    color: var(--grey-500);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

/* --- Specificatii - Attributes Table --- */
.single-product .woocommerce-product-attributes {
    width: 100%;
    margin-bottom: var(--space-lg);
    border: none;
}

.single-product .woocommerce-product-attributes th,
.single-product .woocommerce-product-attributes td {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--grey-100);
    font-size: 0.9rem;
    font-weight: 400;
}

.single-product .woocommerce-product-attributes th {
    color: var(--grey-500);
    text-align: left;
    width: 40%;
}

.single-product .woocommerce-product-attributes td {
    font-weight: 500;
    color: var(--black);
}

.single-product .woocommerce-product-attributes td p {
    margin: 0;
}

/* --- Gallery (Blocksy) --- */
.single-product .ct-product-gallery-container {
    max-width: 450px !important;
    margin: 0 auto !important;
}

.single-product .ct-product-gallery-container img {
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 1/1 !important; /* Override Blocksy 3/4 - show full square image */
    object-fit: contain !important;
}

/* --- Add to cart container spacing --- */
.single-product .ct-product-add-to-cart {
    margin-bottom: unset;
}

/* --- Entry summary items spacing --- */
.product[class*=gallery] .entry-summary-items > * {
    margin-bottom: 10px !important;
}

/* --- Product divider spacing --- */
.ct-product-divider {
    margin-bottom: 10px !important;
}

/* ============================================
   19. SINGLE PRODUCT - VARIATIONS SELECTOR
   ============================================ */

.single-product .variations_form {
    margin-bottom: 0 !important;
}

.single-product .variations_form .variations {
    display: table !important;
    margin-bottom: unset;
    overflow: visible;
    width: 100%;
}

.single-product .variations tr {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--space-sm);
}

.single-product .variations th.label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--grey-700);
    margin-bottom: 6px;
    text-align: left;
}

.single-product .variations td.value {
    width: 100%;
}

.single-product .variations select {
    width: 100%;
    border: 1px solid var(--grey-300);
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    background: var(--white);
    transition: border-color 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23737373' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
    text-overflow: ellipsis;
}

.single-product .variations select:focus {
    outline: none;
    border-color: var(--brand);
}

.single-product .variations select option {
    padding: 8px;
}

/* ============================================
   20. SINGLE PRODUCT - PRODUCT FEATURES
   ============================================ */

.kraftinox-product-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--grey-100);
}

.kraftinox-product-features .feature {
    text-align: center;
    padding: var(--space-sm);
}

.kraftinox-product-features .feature-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto var(--space-xs);
    background: var(--brand);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kraftinox-product-features .feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
    stroke-width: 2;
    fill: none;
}

.kraftinox-product-features .feature span {
    font-size: 0.8rem;
    color: var(--grey-700);
}

/* ============================================
   21. SINGLE PRODUCT - RELATED PRODUCTS
   ============================================ */

/* Container full-width cu background gri */
.single-product .related.products {
    padding: var(--space-xl) 0;
    background: var(--grey-50);
    margin: var(--space-xl) calc(-50vw + 50%) 0;
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

/* Override Blocksy width constraint */
.single-product .related.products.is-width-constrained {
    max-width: none !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

.single-product .related.products,
.single-product section.related {
    background: var(--grey-50) !important;
    margin-top: var(--space-xl) !important;
    padding: var(--space-xl) var(--space-lg) !important;
    position: relative !important;
}

/* Titlu - "Produse similare" */
.single-product .related.products > h2,
.single-product .related.products > h2.ct-module-title {
    text-align: center !important;
    font-family: var(--font-sans) !important;
    font-size: 1.5rem !important;
    font-weight: 500 !important;
    margin-bottom: var(--space-lg) !important;
    color: var(--black) !important;
}

/* Stilizare "similare" cu CSS - ascundem textul si il inlocuim */
.single-product .related.products > h2.ct-module-title {
    font-size: 0 !important;
}

.single-product .related.products > h2.ct-module-title::before {
    content: 'Produse ' !important;
    font-family: var(--font-sans) !important;
    font-size: 1.5rem !important;
    font-weight: 500 !important;
    color: var(--black) !important;
}

.single-product .related.products > h2.ct-module-title::after {
    content: 'similare' !important;
    font-family: var(--font-serif) !important;
    font-size: 1.5rem !important;
    font-style: italic !important;
    font-weight: 400 !important;
    color: var(--brand) !important;
}

/* Grid 4 coloane pentru related products */
.single-product .related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: var(--space-md) !important;
    max-width: 1200px;
    margin: 0 auto !important;
}

/* Product cards in related - container principal */
.single-product .related.products ul.products li.product {
    background: var(--white) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: box-shadow 0.3s !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}

.single-product .related.products ul.products li.product:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1) !important;
}

/* Imagine produs in related */
.single-product .related.products ul.products li.product figure {
    margin: 0 !important;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    position: relative !important;
}

/* Hover effect pe related products */
.single-product .related.products ul.products li.product figure::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--brand);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.single-product .related.products ul.products li.product:hover figure::after {
    opacity: 0.85;
}

.single-product .related.products ul.products li.product figure::before {
    content: 'Cere Oferta';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.single-product .related.products ul.products li.product:hover figure::before {
    opacity: 1;
}

/* Info produs in related - zona de info are padding lateral consistent */
.single-product .related.products ul.products li.product > *:not(figure):not(.ct-media-container):not(.ct-woo-card-extra) {
    background: var(--white) !important;
    padding-left: var(--space-sm) !important;
    padding-right: var(--space-sm) !important;
}

/* Titlul - primul element dupa imagine */
.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
.single-product .related.products ul.products li.product h2.woocommerce-loop-product__title {
    padding: var(--space-sm) var(--space-sm) var(--space-xs) !important;
    text-align: center !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    margin: 0 !important;
    min-height: auto !important;
    background: var(--white) !important;
    text-transform: none !important;
    order: 1 !important;
}

.single-product .related.products ul.products li.product .woocommerce-loop-product__title a,
.single-product .related.products ul.products li.product h2.woocommerce-loop-product__title a {
    color: var(--black) !important;
    text-decoration: none !important;
}

/* Categorii in related products - Blocksy poate folosi diferite clase */
.single-product .related.products ul.products li.product .entry-meta,
.single-product .related.products ul.products li.product .product-categories,
.single-product .related.products ul.products li.product [data-product-categories],
.single-product .related.products ul.products li.product .ct-product-categories {
    background: var(--white) !important;
    padding: 0 var(--space-sm) var(--space-sm) !important;
    margin: 0 !important;
    text-align: center !important;
    order: 2 !important;
}

.single-product .related.products ul.products li.product .entry-meta a,
.single-product .related.products ul.products li.product .product-categories a,
.single-product .related.products ul.products li.product .ct-product-categories a {
    font-size: 0.75rem !important;
    color: var(--grey-500) !important;
    text-decoration: none !important;
}

.single-product .related.products ul.products li.product .entry-meta a:hover,
.single-product .related.products ul.products li.product .product-categories a:hover,
.single-product .related.products ul.products li.product .ct-product-categories a:hover {
    color: var(--brand) !important;
}

/* Padding bottom pe ultimul element din card */
.single-product .related.products ul.products li.product > *:last-child:not(figure) {
    padding-bottom: var(--space-sm) !important;
}

/* Related products - imagini mai mici */
.single-product .related.products ul.products li.product figure img,
.single-product .related.products ul.products li.product .ct-media-container img {
    max-height: 180px !important;
    width: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
}

.single-product .related.products ul.products li.product figure,
.single-product .related.products ul.products li.product .ct-media-container {
    height: 180px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
}

/* ============================================
   22. SINGLE PRODUCT - CART TABLE STYLING
   ============================================ */

/* Stilizare tabel cos fara coloanele de pret */
.woocommerce-cart .shop_table {
    border-collapse: collapse;
}

.woocommerce-cart .shop_table td,
.woocommerce-cart .shop_table th {
    padding: 16px 12px;
    vertical-align: middle;
}

/* ============================================
   23. SINGLE PRODUCT - RESPONSIVE
   ============================================ */

/* Tablet - Related Products */
@media (max-width: 1024px) {
    .single-product .related.products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .kraftinox-product-features {
        grid-template-columns: 1fr;
    }

    .single-product .related.products,
    .single-product section.related.products {
        margin-left: 0;
        margin-right: 0;
        padding-left: var(--space-md);
        padding-right: var(--space-md);
        width: 100%;
    }
}

@media (max-width: 640px) {
    .single-product .related.products ul.products {
        grid-template-columns: 1fr !important;
    }

    .single-product .related.products,
    .single-product section.related {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: var(--space-lg) var(--space-md) !important;
        width: 100% !important;
    }
}

/*
 * NOTE: Functional WooCommerce overrides (display:none, hide elements)
 * are in the Kraftinox Quote Request plugin.
 * See: /kraftinox-quote-request/assets/css/woocommerce.css
 */
