/*
Theme Name: Qili Kitchen & Bath
Theme URI: https://example.com
Author: Qili Kitchen & Bath
Author URI: https://example.com
Description: A professional WordPress block theme for Ningbo Qili Kitchen & Bath — B2B manufacturing and export.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: qili-kitchen-bath
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    --color-charcoal: #0A2E23;
    --color-concrete: #1A4D3A;
    --color-white: #FFFFFF;
    --color-warm-grey: #8BC4A8;
    --color-concrete-light: #2D6A4F;
    --color-accent: #007A5E;
    --color-accent-dark: #005a45;

    --font-display: 'Outfit', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;

    --content-size: 800px;
    --wide-size: 1280px;

    --ease-dramatic: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   BASE RESETS
   ============================================ */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================
   FOOTER MARGIN RESET
   ============================================ */
.wp-site-blocks > footer {
    margin-block-start: 0;
}

/* ============================================
   HEADER STYLES
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: background-color 0.4s var(--ease-smooth), backdrop-filter 0.4s var(--ease-smooth);
}

.site-header.scrolled {
    background-color: rgba(10, 46, 35, 0.92);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand */
.brand-mark {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-icon {
    width: 32px;
    height: 32px;
    border: 2px solid var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-icon span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--color-white);
}

.brand-logo {
    margin: 0;
}

.brand-logo img {
    max-height: 40px;
    width: auto;
    display: block;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    color: var(--color-white);
    text-transform: uppercase;
}

/* Navigation */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    position: relative;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-warm-grey);
    padding: 0.25rem 0;
    transition: color 0.3s var(--ease-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--color-white);
    transition: width 0.4s var(--ease-dramatic), left 0.4s var(--ease-dramatic);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--color-white);
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
    left: 0;
}

/* CTA in nav */
.nav-cta {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-white);
    background-color: var(--color-accent);
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--color-accent);
    transition: background-color 0.35s var(--ease-smooth), border-color 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.nav-cta:hover,
.nav-cta:focus {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--color-white);
    transform: translateY(-1px);
}

/* ============================================
   HERO SECTION — SPLIT SCREEN
   ============================================ */
.hero-split {
    position: relative;
    min-height: 100vh;
    display: flex;
    overflow: hidden;
}

.hero-left {
    position: relative;
    width: 45%;
    background-color: var(--color-charcoal);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 4rem 4rem 4rem;
    z-index: 2;
}

.hero-right {
    position: relative;
    width: 55%;
    background-color: var(--color-concrete);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 4rem 4rem 4rem;
    z-index: 1;
}

.hero-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(45,106,79,0.4) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(10,46,35,0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero-right::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-divider {
    position: absolute;
    top: 0;
    left: 45%;
    width: 2px;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255,255,255,0.15) 20%,
        rgba(255,255,255,0.35) 50%,
        rgba(255,255,255,0.15) 80%,
        transparent 100%
    );
    z-index: 3;
}

.hero-tagline {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-warm-grey);
    margin-bottom: 2rem;
}

.hero-left h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--color-white);
    letter-spacing: 0.02em;
    max-width: 320px;
}

.hero-left h2 strong {
    font-weight: 600;
    color: var(--color-white);
}

.hero-divider-horizontal {
    width: 48px;
    height: 1px;
    background-color: var(--color-warm-grey);
    margin: 2.5rem 0;
}

.hero-credentials {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.credential-item {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.credential-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--color-white);
    line-height: 1;
    min-width: 3.5rem;
}

.credential-label {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-warm-grey);
}

.hero-right-inner {
    position: relative;
    z-index: 2;
    max-width: 520px;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-warm-grey);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--color-white);
    margin-bottom: 1.75rem;
}

.hero-subhead {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    max-width: 440px;
    margin-bottom: 2.5rem;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
    background-color: var(--color-accent);
    padding: 1rem 2rem;
    border: 1px solid var(--color-accent);
    transition: background-color 0.4s var(--ease-smooth), border-color 0.4s var(--ease-smooth), color 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
    cursor: pointer;
    text-decoration: none;
}

.hero-cta-primary:hover,
.hero-cta-primary:focus {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 122, 94, 0.35);
}

.hero-cta-primary .cta-arrow {
    transition: transform 0.35s var(--ease-dramatic);
}

.hero-cta-primary:hover .cta-arrow,
.hero-cta-primary:focus .cta-arrow {
    transform: translateX(4px);
}

.hero-cta-secondary {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.3s var(--ease-smooth);
    text-decoration: none;
}

.hero-cta-secondary::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.4s var(--ease-dramatic), left 0.4s var(--ease-dramatic);
}

.hero-cta-secondary:hover,
.hero-cta-secondary:focus {
    color: var(--color-accent-dark);
}

.hero-cta-secondary:hover::after,
.hero-cta-secondary:focus::after {
    width: 100%;
    left: 0;
}

.hero-deco-line {
    position: absolute;
    bottom: 3rem;
    right: 4rem;
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
    z-index: 2;
}

.hero-deco-text {
    position: absolute;
    bottom: 3.4rem;
    right: calc(4rem + 130px);
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    z-index: 2;
}

/* ============================================
   ABOUT / COMPANY SECTION
   ============================================ */
.about-section {
    position: relative;
    padding: 6rem 0;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.about-eyebrow {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-warm-grey);
    margin-bottom: 1.5rem;
}

.about-heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.about-body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.about-stat-number {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--color-white);
    line-height: 1;
}

.about-stat-label {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-warm-grey);
    margin-top: 0.5rem;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-section {
    position: relative;
    padding: 6rem 0;
    background-color: var(--color-concrete);
}

.products-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
}

.product-sort-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sort-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-warm-grey);
    margin-right: 0.5rem;
}

.sort-btn {
    font-family: var(--font-body);
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6);
    background: transparent;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.sort-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-white);
}

.sort-btn.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

.product-card {
    background-color: var(--color-charcoal);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0 0 2rem 0;
    transition: border-color 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    overflow: hidden;
}

.product-card:hover {
    border-color: rgba(255,255,255,0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.product-card-image-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

.product-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease-smooth);
}

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

.product-card-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 0.75rem;
    padding: 0 1.5rem;
}

.product-card-desc {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
    padding: 0 1.5rem;
}

/* ============================================
   MANUFACTURING SECTION
   ============================================ */
.manufacturing-section {
    position: relative;
    padding: 6rem 0;
    background-color: var(--color-charcoal);
}

.manufacturing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.manufacturing-visual {
    position: relative;
    background-color: var(--color-concrete);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.manufacturing-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(45,106,79,0.5) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(10,46,35,0.4) 0%, transparent 50%);
}

.manufacturing-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
}

.manufacturing-visual-text {
    position: relative;
    z-index: 2;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: -0.03em;
    color: rgba(255,255,255,0.12);
    text-transform: uppercase;
    user-select: none;
}

.manufacturing-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.manufacturing-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
}

.manufacturing-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--color-white);
    margin-top: 0.5rem;
    flex-shrink: 0;
}

/* ============================================
   WHY CHOOSE US / SERVICES SECTION
   ============================================ */
.services-section {
    position: relative;
    padding: 6rem 0;
    background-color: var(--color-concrete);
}

.service-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.service-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    color: var(--color-warm-grey);
    min-width: 2rem;
}

.service-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.service-desc {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
}

/* ============================================
   CONTACT / CTA SECTION
   ============================================ */
.contact-section {
    position: relative;
    padding: 6rem 0;
    background-color: var(--color-charcoal);
    text-align: center;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.contact-heading {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.contact-body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

.contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
    background-color: var(--color-accent);
    padding: 1rem 2.5rem;
    border: 1px solid var(--color-accent);
    transition: background-color 0.4s var(--ease-smooth), border-color 0.4s var(--ease-smooth), color 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
    cursor: pointer;
    text-decoration: none;
}

.contact-cta:hover,
.contact-cta:focus {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 122, 94, 0.35);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: var(--color-charcoal);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-brand-icon {
    width: 28px;
    height: 28px;
    border: 1.5px solid var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-brand-icon span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--color-white);
}

.footer-brand-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: var(--color-white);
    text-transform: uppercase;
}

.footer-tagline {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.9rem;
    color: var(--color-warm-grey);
    margin-bottom: 2rem;
}

.footer-heading {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 1.25rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--color-warm-grey);
    transition: color 0.3s var(--ease-smooth);
    text-decoration: none;
}

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

.footer-contact-item {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.9rem;
    color: var(--color-warm-grey);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.02em;
}

.footer-beian {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.02em;
}

.footer-beian a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.3s var(--ease-smooth);
}

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

/* ============================================
   PAGE TITLE SECTION
   ============================================ */
.page-title-section {
    position: relative;
    padding: 10rem 0 4rem;
    background-color: var(--color-concrete);
    text-align: center;
}

.page-title-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(45,106,79,0.4) 0%, transparent 60%);
    pointer-events: none;
}

.page-title-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.page-title-eyebrow {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-warm-grey);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-title-heading {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--color-white);
    position: relative;
    z-index: 2;
}

.page-title-divider {
    width: 48px;
    height: 1px;
    background-color: var(--color-warm-grey);
    margin: 1.5rem auto 0;
    position: relative;
    z-index: 2;
}

/* ============================================
   EQUAL CARDS
   ============================================ */
.equal-cards > .wp-block-column {
    display: flex;
    flex-direction: column;
    flex-grow: 0;
}

.equal-cards > .wp-block-column > .wp-block-group {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.equal-cards .cta-bottom {
    margin-top: auto;
    justify-content: center;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-dramatic), transform 0.6s var(--ease-dramatic);
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.6s var(--ease-dramatic);
}

.fade-in.is-visible {
    opacity: 1;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s var(--ease-dramatic), transform 0.7s var(--ease-dramatic);
}

.slide-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s var(--ease-dramatic), transform 0.7s var(--ease-dramatic);
}

.slide-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-up {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s var(--ease-dramatic), transform 0.6s var(--ease-dramatic);
}

.scale-up.is-visible {
    opacity: 1;
    transform: scale(1);
}

.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease-dramatic), transform 0.5s var(--ease-dramatic);
}

.stagger-children.is-visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.stagger-children.is-visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.stagger-children.is-visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.stagger-children.is-visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.stagger-children.is-visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
.stagger-children.is-visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }

.hover-lift {
    transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

/* ============================================
   PREFERS-REDUCED-MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll,
    .fade-up,
    .fade-in,
    .slide-in-left,
    .slide-in-right,
    .scale-up,
    .stagger-children > * {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================
   EDITOR VISIBILITY
   ============================================ */
.editor-styles-wrapper .fade-up,
.editor-styles-wrapper .fade-in,
.editor-styles-wrapper .slide-in-left,
.editor-styles-wrapper .slide-in-right,
.editor-styles-wrapper .scale-up,
.editor-styles-wrapper .animate-on-scroll,
.editor-styles-wrapper .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .hero-split {
        flex-direction: column;
    }

    .hero-left,
    .hero-right {
        width: 100%;
        padding: 6rem 2rem 3rem 2rem;
    }

    .hero-left {
        min-height: auto;
        padding-top: 7rem;
    }

    .hero-right {
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-divider {
        display: none;
    }

    .main-nav ul {
        gap: 1.25rem;
    }

    .nav-link {
        font-size: 0.75rem;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .hero-deco-line,
    .hero-deco-text {
        display: none;
    }

    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .service-item {
        flex-direction: column;
        gap: 0.75rem;
    }

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

@media (max-width: 600px) {
    .hero-left,
    .hero-right {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .hero-left h2 {
        font-size: 1.25rem;
    }

    .credential-number {
        font-size: 1.5rem;
    }

    .product-card {
        padding: 1.5rem;
    }
}

/* ============================================
   LOGO LINK
   ============================================ */
.brand-logo-link {
    display: inline-flex;
    text-decoration: none;
    color: inherit;
}

.brand-logo-link:hover,
.brand-logo-link:focus {
    opacity: 0.85;
    transition: opacity 0.3s var(--ease-smooth);
}

/* ============================================
   PRODUCT LAYOUT (sidebar + main)
   ============================================ */
.product-layout {
    gap: 2.5rem;
}

.product-sidebar {
    padding-top: 0.5rem;
}

.sidebar-heading {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-warm-grey);
    margin-bottom: 0.75rem;
    opacity: 0.6;
}

.product-sidebar .filter-link {
    margin: 0 0 0.35rem 0;
}

.product-sidebar .filter-link a {
    display: block;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: none;
    color: rgba(255,255,255,0.65);
    padding: 0.45rem 0.75rem;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.25s var(--ease-smooth);
    text-decoration: none;
    white-space: nowrap;
}

.product-sidebar .filter-link a:hover,
.product-sidebar .filter-link a:focus {
    color: var(--color-white);
    background-color: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
    padding-left: 1rem;
}

.product-sidebar .filter-link.is-active a {
    color: var(--color-white);
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.product-sidebar .tag-link a {
    display: block;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: none;
    color: rgba(255,255,255,0.65);
    padding: 0.4rem 0.75rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
    transition: all 0.25s var(--ease-smooth);
    text-decoration: none;
    white-space: nowrap;
    background-color: rgba(255,255,255,0.02);
}

.product-sidebar .tag-link a:hover,
.product-sidebar .tag-link a:focus {
    color: var(--color-white);
    border-color: rgba(255,255,255,0.2);
    background-color: rgba(255,255,255,0.05);
}

.product-sidebar .tag-link.is-active a {
    color: var(--color-white);
    border-color: var(--color-warm-grey);
    background-color: rgba(139,196,168,0.15);
}

/* ============================================
   VIEW TOGGLE (Grid / List)
   ============================================ */
.view-toggle {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
}

.view-toggle button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    padding: 0.35rem 0.7rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.25s var(--ease-smooth);
}

.view-toggle button:hover {
    border-color: rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.85);
}

.view-toggle button.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

/* ============================================
   QUERY PAGINATION
   ============================================ */
.wp-block-query-pagination {
    margin-top: 2.5rem;
    gap: 0.5rem;
}

.wp-block-query-pagination a,
.wp-block-query-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.6rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-warm-grey);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.25s var(--ease-smooth);
}

.wp-block-query-pagination a:hover,
.wp-block-query-pagination .page-numbers:hover {
    color: var(--color-white);
    border-color: rgba(255,255,255,0.25);
    background-color: rgba(255,255,255,0.04);
}

.wp-block-query-pagination .page-numbers.current {
    color: var(--color-white);
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.wp-block-query-pagination .wp-block-query-pagination-previous,
.wp-block-query-pagination .wp-block-query-pagination-next {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-warm-grey);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 0.4rem 0.9rem;
    text-decoration: none;
    transition: all 0.25s var(--ease-smooth);
}

.wp-block-query-pagination .wp-block-query-pagination-previous:hover,
.wp-block-query-pagination .wp-block-query-pagination-next:hover {
    color: var(--color-white);
    border-color: rgba(255,255,255,0.25);
    background-color: rgba(255,255,255,0.04);
}

/* ============================================
   LIST VIEW OVERRIDES
   ============================================ */
.view-list .wp-block-post-template {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}

.view-list .product-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1.25rem !important;
    padding: 1.25rem 1.5rem !important;
    text-align: left !important;
}

.view-list .product-card-icon {
    margin: 0 !important;
    flex-shrink: 0;
}

.view-list .product-card-title {
    margin-top: 0 !important;
    margin-bottom: 0.25rem !important;
}

.view-list .product-card-title a {
    font-size: 1.1rem !important;
}

.view-list .wp-block-post-excerpt {
    margin: 0 !important;
}

.view-list .wp-block-post-excerpt__more-text {
    display: none;
}

@media (max-width: 900px) {
    .product-layout {
        flex-direction: column !important;
    }
    .product-sidebar {
        width: 100% !important;
        flex-basis: auto !important;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding-top: 0;
    }
    .product-sidebar .sidebar-heading {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .product-sidebar .filter-link {
        margin: 0;
    }
    .product-sidebar .filter-link a,
    .product-sidebar .tag-link a {
        display: inline-block;
        font-size: 0.8rem;
        padding: 0.35rem 0.75rem;
    }
    .product-sidebar .wp-block-spacer {
        display: none !important;
    }
}

/* ============================================
   LANGUAGE DROPDOWN
   ============================================ */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--color-warm-grey);
    transition: border-color 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth);
}

.lang-dropdown-toggle:hover {
    border-color: rgba(255,255,255,0.35);
    color: var(--color-white);
}

.lang-dropdown-toggle .lang-flag {
    width: 20px;
    height: 14px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.lang-dropdown-toggle .lang-name {
    white-space: nowrap;
}

.lang-dropdown-toggle .lang-chevron {
    transition: transform 0.3s var(--ease-smooth);
    opacity: 0.6;
}

.lang-dropdown.open .lang-dropdown-toggle .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 140px;
    background-color: var(--color-charcoal);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.25rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.25s var(--ease-smooth), transform 0.25s var(--ease-smooth), visibility 0.25s;
    z-index: 200;
}

.lang-dropdown.open .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--color-warm-grey);
    transition: background-color 0.2s var(--ease-smooth), color 0.2s var(--ease-smooth);
    white-space: nowrap;
}

.lang-dropdown-item:hover,
.lang-dropdown-item:focus {
    background-color: rgba(255,255,255,0.06);
    color: var(--color-white);
}

.lang-dropdown-item.active {
    color: var(--color-white);
    font-weight: 600;
}

.lang-dropdown-item .lang-flag {
    width: 20px;
    height: 14px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

/* See More link in Manufacturing section */
.see-more-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: 1px solid #8BC4A8;
    color: #8BC4A8;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.see-more-link:hover {
    background-color: #8BC4A8;
    color: #0A2E23;
}

/* ============================================
   MANUFACTURING PAGE
   ============================================ */

.manufacturing-image-placeholder {
    border-bottom: 1px solid rgba(139, 196, 168, 0.15);
}

.manufacturing-page .wp-block-column > .wp-block-group.has-concrete-background-color {
    border: 1px solid rgba(139, 196, 168, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

/* ============================================
   CONTACT FORM 7
   ============================================ */

.wpcf7-form {
    font-family: var(--font-body);
}

.wpcf7-form fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.wpcf7-form fieldset br {
    display: none;
}

.wpcf7-form p {
    margin: 0 0 1.25rem;
}

.wpcf7-form label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-warm-grey);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--color-charcoal);
    border: 1px solid rgba(139, 196, 168, 0.2);
    border-radius: 4px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="number"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border-color: var(--color-warm-grey);
    box-shadow: 0 0 0 2px rgba(139, 196, 168, 0.15);
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.wpcf7-form select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.wpcf7-form select option {
    background-color: var(--color-charcoal);
    color: var(--color-white);
}

.wpcf7-form textarea {
    resize: vertical;
    min-height: 120px;
}

.wpcf7-form input[type="submit"] {
    display: inline-block;
    padding: 0.85rem 2rem;
    background-color: var(--color-accent);
    border: none;
    border-radius: 4px;
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: var(--color-accent-dark);
}

.wpcf7-form input[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.wpcf7-form .wpcf7-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 0.75rem;
    border: 2px solid rgba(139, 196, 168, 0.3);
    border-top-color: var(--color-warm-grey);
    border-radius: 50%;
    vertical-align: middle;
}

.wpcf7-form .wpcf7-response-output {
    margin: 1.5rem 0 0;
    padding: 1rem 1.25rem;
    border: 1px solid;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.5;
}

.wpcf7-form .wpcf7-response-output.wpcf7-validation-errors,
.wpcf7-form .wpcf7-response-output.wpcf7-acceptance-missing {
    border-color: #c97a7a;
    background-color: rgba(201, 122, 122, 0.1);
    color: #c97a7a;
}

.wpcf7-form .wpcf7-response-output.wpcf7-mail-sent-ok {
    border-color: var(--color-warm-grey);
    background-color: rgba(139, 196, 168, 0.1);
    color: var(--color-warm-grey);
}

.wpcf7-form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 0.35rem;
    color: #c97a7a;
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

.wpcf7-form .wpcf7-not-valid {
    border-color: #c97a7a !important;
}

.wpcf7-form .wpcf7-list-item-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 300;
    text-transform: none;
    letter-spacing: normal;
}

.manufacturing-page .manufacturing-image-placeholder {
    border-bottom: 1px solid rgba(139, 196, 168, 0.15);
}
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */

/* Breadcrumb */
.product-breadcrumb-wrapper {
    /* Inherits background from parent .product-detail-main */
}

.product-breadcrumb {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-warm-grey);
}

.product-breadcrumb a {
    color: var(--color-warm-grey);
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-breadcrumb a:hover {
    color: var(--color-white);
}

.breadcrumb-sep {
    margin: 0 0.5rem;
    opacity: 0.5;
}

.breadcrumb-current {
    color: var(--color-white);
}

/* Product Detail Main Layout */
.product-detail-main {
    background-color: var(--color-charcoal);
}

.product-detail-columns {
    gap: 3rem;
    align-items: flex-start;
}

/* Left Column: Image */
.product-detail-image-column {
    position: relative;
}

.product-detail-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.product-detail-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
}

.product-detail-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s var(--ease-smooth);
}

.product-detail-image:hover img {
    transform: scale(1.02);
}

/* Right Column: Info */
.product-detail-info-column {
    display: flex;
    flex-direction: column;
}

.product-detail-title {
    font-family: var(--font-display);
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.product-detail-divider {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

/* Specifications Table */
.product-specs-wrapper {
    margin-bottom: 2.5rem;
}

.product-specs-heading {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-warm-grey);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.product-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body);
}

.product-specs-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-specs-table tr:last-child {
    border-bottom: none;
}

.product-specs-table th,
.product-specs-table td {
    padding: 0.85rem 0;
    text-align: left;
    vertical-align: top;
}

.product-specs-table th {
    width: 35%;
    color: var(--color-warm-grey);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-right: 1.5rem;
}

.product-specs-table td {
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 400;
}

/* Product Description */
.product-detail-description {
    margin-top: 2.5rem;
    margin-bottom: 2rem;
}

.product-detail-description p {
    margin-bottom: 1.25rem;
}

.product-detail-description p:last-child {
    margin-bottom: 0;
}

.product-detail-description ul,
.product-detail-description ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.product-detail-description li {
    margin-bottom: 0.5rem;
}

.product-detail-description strong {
    color: var(--color-white);
    font-weight: 600;
}

/* CTA Button */
.product-detail-info-column .contact-cta .wp-block-button__link {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s var(--ease-smooth);
    cursor: pointer;
}

.product-detail-info-column .contact-cta .wp-block-button__link:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-2px);
}

/* Related Products */
.related-products-outer {
    background-color: var(--color-concrete);
}

.related-products-section {
    text-align: center;
}

.related-products-heading {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 2.5rem;
    text-align: center;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
}

.related-product-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(139, 196, 168, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.related-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.related-product-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-smooth);
}

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

.related-product-content {
    padding: 1.25rem;
}

.related-product-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.related-product-title a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-product-title a:hover {
    color: var(--color-warm-grey);
}

.related-product-excerpt {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.5;
}

/* Post Navigation */
.product-nav-wrapper {
    background-color: var(--color-charcoal);
}

/* Lightbox */
.product-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.lightbox-img {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    transform: scale(0.95);
    transition: transform 0.3s var(--ease-dramatic);
}

.product-lightbox.is-open .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 2;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    opacity: 1;
}

/* Product Gallery */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.product-gallery-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: zoom-in;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.product-gallery-item:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.product-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Lightbox Navigation */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.25);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.875rem;
    opacity: 0.7;
    background: rgba(0,0,0,0.5);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
}

@media (max-width: 600px) {
    .product-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }
}

/* Scroll Animations for Product Detail Page */
.product-detail-title.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-dramatic), transform 0.6s var(--ease-dramatic);
}

.product-detail-title.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.product-detail-image.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-dramatic), transform 0.7s var(--ease-dramatic);
}

.product-detail-image.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.product-specs-wrapper.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease-dramatic) 0.1s, transform 0.5s var(--ease-dramatic) 0.1s;
}

.product-specs-wrapper.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.product-detail-description.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease-dramatic) 0.2s, transform 0.5s var(--ease-dramatic) 0.2s;
}

.product-detail-description.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.related-products-section.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-dramatic), transform 0.6s var(--ease-dramatic);
}

.related-products-section.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.related-product-card.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease-dramatic), transform 0.5s var(--ease-dramatic);
}

.related-product-card.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children in related products grid */
.related-products-grid .related-product-card.animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.related-products-grid .related-product-card.animate-on-scroll:nth-child(2) { transition-delay: 100ms; }
.related-products-grid .related-product-card.animate-on-scroll:nth-child(3) { transition-delay: 200ms; }
.related-products-grid .related-product-card.animate-on-scroll:nth-child(4) { transition-delay: 300ms; }

/* ============================================
   RESPONSIVE: Product Detail Page
   ============================================ */

@media (max-width: 900px) {
    .product-detail-columns {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .product-detail-image-column,
    .product-detail-info-column {
        flex-basis: 100% !important;
    }

    .product-detail-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .product-specs-table th {
        width: 40%;
    }

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

@media (max-width: 600px) {
    .product-breadcrumb-wrapper {
        padding-top: 5rem !important;
    }

    .product-detail-main {
        padding-top: 2rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .product-detail-title {
        font-size: 1.6rem !important;
    }

    .product-specs-table th,
    .product-specs-table td {
        display: block;
        width: 100%;
        padding: 0.5rem 0;
    }

    .product-specs-table th {
        padding-bottom: 0.25rem;
        font-size: 0.75rem;
    }

    .product-specs-table td {
        padding-top: 0.25rem;
        padding-bottom: 0.75rem;
    }

    .product-specs-table tr {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

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

    .product-detail-info-column .contact-cta .wp-block-button__link {
        width: 100%;
        text-align: center;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .product-detail-title.animate-on-scroll,
    .product-detail-image.animate-on-scroll,
    .product-specs-wrapper.animate-on-scroll,
    .product-detail-description.animate-on-scroll,
    .related-products-section.animate-on-scroll,
    .related-product-card.animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .product-detail-image:hover,
    .product-detail-image:hover img,
    .related-product-card:hover,
    .related-product-card:hover .related-product-image img {
        transform: none;
    }
}

/* ============================================
   HOMEPAGE PRODUCT CARD IMAGES
   ============================================ */

.product-card-image-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.product-card-image-wrap .product-card-img {
    margin: 0;
    width: 100%;
    height: 100%;
}

.product-card-image-wrap .product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease-smooth);
}

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

/* ============================================
   HOMEPAGE CATEGORY CARDS
   ============================================ */

.category-card {
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(139, 196, 168, 0.1);
    transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.category-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    border-bottom: 1px solid rgba(139, 196, 168, 0.1);
}

.category-card-image p {
    margin: 0;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.category-card-image.cat-faucets {
    background: linear-gradient(135deg, #007A5E 0%, #1A4D3A 100%);
}

.category-card-image.cat-shower {
    background: linear-gradient(135deg, #2D6A4F 0%, #0A2E23 100%);
}

.category-card-image.cat-drainage {
    background: linear-gradient(135deg, #1A4D3A 0%, #004d40 100%);
}

.category-card-image.cat-accessories {
    background: linear-gradient(135deg, #0A2E23 0%, #007A5E 100%);
}

.category-card-link {
    margin: 0;
}

.category-card-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-warm-grey);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.category-card-link a:hover {
    color: var(--color-white);
    gap: 0.5rem;
}

/* Responsive: homepage category cards */
@media (max-width: 900px) {
    .category-card-image {
        height: 100px;
    }
    .category-card-image p {
        font-size: 2.5rem !important;
    }
}
