:root {
  --white: #FFFFFF;
  --off-white: #F5F5F5;
  --light-gray: #E5E7EB;
  --mid-gray: #6B7280;
  --dark: #1A1A1A;
  --darker: #111111;
  --accent: #C8960C;
  --accent-hover: #A67B0A;
  --accent-light: rgba(200, 150, 12, 0.08);
  --font: 'Manrope', system-ui, -apple-system, sans-serif;
  --container: 1200px;
  --section-pad: 100px;
  --radius: 4px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Brand-aligned default for any anchor that doesn't get a more specific rule
   (e.g. links rendered through ACF/WP rich-text fields). :where() keeps the
   selector at specificity 0, so existing component link styles still win. */
:where(a) {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
:where(a):hover { color: var(--accent-hover); }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light-gray);
  transition: var(--transition);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo {
  font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--dark); text-decoration: none; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.logo-icon {
  width: 32px; height: 32px; background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 18px; height: 18px; fill: white; }
/* Constrain admin-uploaded logo (ACF "logo" field rendered by the_custom_logo()).
   Keeps any aspect ratio, displayed at 40px height in the 72px-tall header. */
.logo .custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.logo .custom-logo,
.logo img.custom-logo { max-height: 40px; width: auto; height: auto; display: block; }
nav { display: flex; align-items: center; gap: 4px; }
nav a {
  font-size: 0.875rem; font-weight: 500; color: var(--dark); text-decoration: none;
  padding: 8px 14px; border-radius: var(--radius); transition: var(--transition); letter-spacing: 0.01em;
}
nav a:hover { background: var(--accent-light); color: var(--accent); }
nav a.active { color: var(--accent); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: var(--radius); padding: 8px 0; min-width: 200px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 8px 20px; border-radius: 0; }
.header-phone {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.9rem; color: var(--dark); text-decoration: none;
}
.header-phone svg { width: 18px; height: 18px; stroke: var(--accent); }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; background: none; border: none;
}
.hamburger span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 999; padding: 24px;
  flex-direction: column; gap: 4px; overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block; font-size: 1.1rem; font-weight: 500; color: var(--dark);
  text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--light-gray);
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav .sub { padding-left: 20px; font-size: 0.95rem; color: var(--mid-gray); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px;
  font-family: var(--font); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.02em; border: none; border-radius: var(--radius);
  cursor: pointer; transition: var(--transition); text-decoration: none;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(200,150,12,0.3); }
.btn-outline { background: transparent; color: var(--dark); border: 1.5px solid var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.3); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== SECTION DEFAULTS ===== */
.section { padding: var(--section-pad) 0; }
.section-gray { background: var(--off-white); }
.section-dark { background: var(--darker); color: var(--white); }
/* Collapse vertical padding between adjacent sections that share a background.
   Without this the bottom padding of the first section + the top padding of the
   second produce a doubled gap (e.g. 200px between content_block and
   product_grid on listing pages). The selectors only target same-coloured
   neighbours so the visual separation between e.g. white and gray sections
   is preserved. */
.section:not(.section-gray):not(.section-dark) + .section:not(.section-gray):not(.section-dark),
.section-gray + .section-gray,
.section-dark + .section-dark { padding-top: 0; }
.section-label {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 20px;
}
.section-text { font-size: 1.05rem; color: var(--mid-gray); line-height: 1.7; max-width: 520px; }
.section-text-wide { font-size: 1.05rem; color: var(--mid-gray); line-height: 1.7; max-width: 720px; }
.section-dark .section-text,
.section-dark .section-text-wide { color: rgba(255,255,255,0.6); }
.centered { text-align: center; }
.centered .section-text,
.centered .section-text-wide { margin-left: auto; margin-right: auto; margin-bottom: 32px; }

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  margin-top: 72px; padding: 80px 0 60px;
  background: var(--darker); color: var(--white); position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.25;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .section-title { color: var(--white); margin-bottom: 12px; }
.page-hero .section-text { color: rgba(255,255,255,0.6); }

/* ===== BREADCRUMBS ===== */
.breadcrumb {
  display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
}
.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,0.7); }

/* ===== PRODUCT CATALOG GRID ===== */
.catalog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px;
}
.product-card {
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: 8px; overflow: hidden; transition: var(--transition);
  display: flex; flex-direction: column;
}
.product-card:hover { border-color: var(--accent); box-shadow: 0 8px 30px rgba(0,0,0,0.06); transform: translateY(-3px); }
.product-card-image {
  aspect-ratio: 4/3; background: linear-gradient(145deg, #f8f8f8, #eaeaea);
  display: flex; align-items: center; justify-content: center; padding: 20px; overflow: hidden;
}
.product-card-image img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s ease; }
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product-card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; color: var(--dark); }
.product-card-title a { color: inherit; text-decoration: none; transition: color var(--transition); }
.product-card-title a:hover { color: var(--accent); }
.product-card-desc { font-size: 0.9rem; color: var(--mid-gray); line-height: 1.5; margin-bottom: 16px; }
/* Footer (price + button) sticks to the bottom regardless of description length. */
.product-card-footer { margin-top: auto; }
.product-card-price { font-size: 1rem; font-weight: 700; color: var(--accent); margin-bottom: 16px; }
.product-card .btn { width: 100%; justify-content: center; padding: 12px 24px; font-size: 0.85rem; }

/* ===== PRODUCT DETAIL ===== */
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.detail-gallery { position: relative; }
.detail-gallery-main {
  aspect-ratio: 4/3; border-radius: 8px; overflow: hidden;
  background: linear-gradient(145deg, #f8f8f8, #eaeaea);
  display: flex; align-items: center; justify-content: center; padding: 24px; margin-bottom: 12px;
}
.detail-gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.detail-gallery-thumbs { display: flex; gap: 8px; }
.detail-gallery-thumb {
  width: 80px; height: 60px; border-radius: 4px; overflow: hidden;
  border: 2px solid var(--light-gray); cursor: pointer; transition: var(--transition);
  background: #f8f8f8; display: flex; align-items: center; justify-content: center; padding: 4px;
}
.detail-gallery-thumb:hover,
.detail-gallery-thumb.active { border-color: var(--accent); }
.detail-gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.detail-info { padding-top: 8px; }
.detail-title { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.detail-desc { font-size: 1rem; color: var(--mid-gray); line-height: 1.7; margin-bottom: 32px; }
.detail-specs { margin-bottom: 32px; }
.detail-specs table { width: 100%; border-collapse: collapse; }
.detail-specs td {
  padding: 12px 0; border-bottom: 1px solid var(--light-gray); font-size: 0.95rem; vertical-align: top;
}
.detail-specs td:first-child { font-weight: 600; width: 40%; color: var(--dark); }
.detail-specs td:last-child { color: var(--mid-gray); }

/* ===== INQUIRY FORM (light theme) ===== */
.inquiry-form { background: var(--off-white); border-radius: 8px; padding: 32px; margin-top: 40px; }
.inquiry-form .form-group label { color: var(--mid-gray); }
.inquiry-form .form-group input,
.inquiry-form .form-group textarea {
  background: var(--white); border: 1px solid var(--light-gray); color: var(--dark);
}
.inquiry-form .form-group input:focus,
.inquiry-form .form-group textarea:focus { border-color: var(--accent); }
.inquiry-form .form-group input::placeholder,
.inquiry-form .form-group textarea::placeholder { color: var(--mid-gray); }

/* ===== CONTENT PAGE ===== */
.content-block { max-width: 800px; }
.content-block h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; margin-top: 48px; }
.content-block h2:first-child { margin-top: 0; }
.content-block p { font-size: 1.05rem; color: var(--mid-gray); line-height: 1.7; margin-bottom: 16px; }
.content-block ul {
  list-style: none; padding: 0; margin-bottom: 24px;
}
.content-block ul li {
  padding: 8px 0 8px 28px; position: relative; font-size: 1rem; color: var(--mid-gray); line-height: 1.6;
}
.content-block ul li::before {
  content: ''; position: absolute; left: 0; top: 16px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}

/* Rich-text link affordance — subtle underline so anchors are recognisable in
   body copy (paragraphs, lists, product description, tube brand note, etc.).
   Applied to all containers populated from ACF/WP editors.
   :not(.btn) leaves component buttons (e.g. .btn .btn-primary inside split blocks)
   untouched so they keep their original colour/decoration. */
.content-block a:not(.btn),
.split-content a:not(.btn),
.detail-desc a:not(.btn),
.tube-note a:not(.btn) {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition), text-decoration-thickness var(--transition);
}
.content-block a:not(.btn):hover,
.split-content a:not(.btn):hover,
.detail-desc a:not(.btn):hover,
.tube-note a:not(.btn):hover {
  color: var(--accent-hover);
  text-decoration-thickness: 2px;
}

/* ===== CONTENT WITH SIDEBAR IMAGE ===== */
.content-with-image { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.content-image { border-radius: 8px; overflow: hidden; position: sticky; top: 96px; }
.content-image img { width: 100%; height: auto; object-fit: cover; border-radius: 8px; }

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--darker); padding: 60px 0; text-align: center; color: var(--white);
}
.cta-band .section-title { color: var(--white); margin-bottom: 12px; }
.cta-band .section-text { color: rgba(255,255,255,0.6); margin: 0 auto 32px; }
.cta-band .btn-group { justify-content: center; }

/* ===== CONTACT SECTION ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 8px;
}
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 16px; font-family: var(--font); font-size: 0.95rem;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); color: var(--white); transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); background: rgba(255,255,255,0.08); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.contact-info { padding-top: 8px; }
.contact-info-item { margin-bottom: 28px; }
.contact-info-item .label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 6px; }
.contact-info-item .value { font-size: 1.05rem; font-weight: 500; color: var(--white); }
.contact-info-item .value a { color: var(--white); text-decoration: none; transition: var(--transition); }
.contact-info-item .value a:hover { color: var(--accent); }
.contact-divider { width: 40px; height: 1px; background: rgba(255,255,255,0.12); margin: 32px 0; }

/* ===== CONTACT INFO CARDS (centered grid for /o-nas/ etc.) ===== */
.contact-info-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  max-width: 800px; margin: 40px auto 0; text-align: center;
}
.contact-info-card .label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--mid-gray); margin-bottom: 8px;
}
.contact-info-card .value { font-size: 1.05rem; font-weight: 600; color: var(--dark); }
.contact-info-card .value a { color: var(--dark); text-decoration: none; transition: var(--transition); }
.contact-info-card .value a:hover { color: var(--accent); }
.section-dark .contact-info-card .label { color: rgba(255,255,255,0.4); }
.section-dark .contact-info-card .value,
.section-dark .contact-info-card .value a { color: var(--white); }

/* ===== MAP ===== */
.map-wrap {
  margin-top: 40px;
  border-radius: 8px;
  overflow: hidden;
  height: 400px;
  background: var(--light-gray);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.map-wrap iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-actions { margin-top: 24px; }

/* ===== FOOTER ===== */
.footer { background: var(--darker); border-top: 1px solid rgba(255,255,255,0.06); padding: 32px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-copy { font-size: 0.85rem; color: rgba(255,255,255,0.35); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.35); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--accent); }

/* ===== BRANDS ===== */
.brands-grid { display: flex; align-items: center; justify-content: center; gap: 60px; flex-wrap: wrap; margin-top: 48px; }
.brand-item { display: flex; align-items: center; justify-content: center; height: 48px; opacity: 0.35; filter: grayscale(100%); transition: var(--transition); cursor: default; }
.brand-item:hover { opacity: 1; filter: grayscale(0%); }
.brand-item span { font-size: 1.3rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--dark); }
.brand-item img { height: 40px; width: auto; }

/* ===== USP SECTION ===== */
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.usp-card {
  text-align: center; padding: 40px 24px; border-radius: 8px;
  background: var(--white); border: 1px solid var(--light-gray); transition: var(--transition);
}
.usp-card:hover { border-color: var(--accent); box-shadow: 0 8px 30px rgba(0,0,0,0.04); transform: translateY(-2px); }
.usp-icon {
  width: 56px; height: 56px; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background: var(--accent-light);
}
.usp-icon svg { width: 28px; height: 28px; stroke: var(--accent); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.usp-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.usp-card p { font-size: 0.9rem; color: var(--mid-gray); line-height: 1.6; }

/* ===== SPLIT SECTIONS ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-content { order: 2; }
.split.reverse .split-image { order: 1; }
.split-image {
  position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3;
  background: var(--off-white); display: flex; align-items: center; justify-content: center;
}
.split-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.split-image.contain-img { background: linear-gradient(145deg, #f8f8f8, #eaeaea); padding: 24px; }
.split-image.contain-img img { object-fit: contain; object-position: center; }
.split-image:hover img { transform: scale(1.03); }
.split-content { padding: 20px 0; }
.split-content .section-text { margin-bottom: 32px; }

/* ===== SCROLL ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
/* Catalogue grids are excluded from the scroll-triggered animation: they
   typically sit below the initial fold and waiting for IntersectionObserver
   meant the cards stayed invisible until the user scrolled. Markup keeps the
   `.fade-up` class for consistency; we just neutralise its effect here. */
.catalog-grid.fade-up,
.catalog-grid.fade-up.visible { opacity: 1; transform: none; transition: none; }

/* ===== INPUT PREFIX (e.g. +420) ===== */
.input-prefix {
  display: flex; align-items: stretch;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); transition: var(--transition); overflow: hidden;
}
.input-prefix:focus-within { border-color: var(--accent); background: rgba(255,255,255,0.08); }
.input-prefix-label {
  display: flex; align-items: center; padding: 0 14px;
  font-size: 0.95rem; font-weight: 500; color: rgba(255,255,255,0.6);
  border-right: 1px solid rgba(255,255,255,0.12); user-select: none;
}
.input-prefix input {
  flex: 1; min-width: 0; padding: 14px 16px; font-family: var(--font); font-size: 0.95rem;
  background: transparent; border: none; color: var(--white); outline: none;
}
.input-prefix input::placeholder { color: rgba(255,255,255,0.25); }
.inquiry-form .input-prefix { background: var(--white); border-color: var(--light-gray); }
.inquiry-form .input-prefix:focus-within { border-color: var(--accent); }
.inquiry-form .input-prefix-label { color: var(--mid-gray); border-right-color: var(--light-gray); background: var(--off-white); }
.inquiry-form .input-prefix input { color: var(--dark); }
.inquiry-form .input-prefix input::placeholder { color: var(--mid-gray); }

/* ===== TUBE CATALOG ===== */
.tube-brand { margin-top: 56px; }
.tube-brand:first-of-type { margin-top: 48px; }
.tube-brand-title {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid var(--accent); display: inline-block;
}
.tube-note {
  margin-top: 16px; padding: 16px 20px; font-size: 0.9rem;
  color: var(--mid-gray); line-height: 1.7; max-width: 820px;
  background: var(--white); border-left: 3px solid var(--accent); border-radius: var(--radius);
}
.tube-note strong { color: var(--dark); font-weight: 700; }
.tube-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.tube-table {
  width: 100%; min-width: 520px; border-collapse: collapse; background: var(--white);
  border: 1px solid var(--light-gray); border-radius: var(--radius); overflow: hidden;
  font-size: 0.95rem;
}
.tube-table thead { background: var(--off-white); }
.tube-table th {
  text-align: left; padding: 14px 16px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mid-gray); border-bottom: 1px solid var(--light-gray); white-space: nowrap;
}
.tube-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--light-gray); color: var(--dark); vertical-align: top;
}
.tube-table tbody tr:last-child td { border-bottom: none; }
.tube-table tbody tr:hover { background: var(--accent-light); }
.tube-table td:first-child { font-weight: 600; }

/* ===== SOCIALS ===== */
.socials { display: flex; align-items: center; gap: 10px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75); text-decoration: none; transition: var(--transition);
}
.socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); transform: translateY(-1px); }
.socials svg { width: 18px; height: 18px; }
.contact-info .socials { margin-top: 4px; }
.contact-info .socials a { background: rgba(255,255,255,0.06); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
  :root { --section-pad: 80px; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .map-wrap { height: 360px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px; }
  nav { display: none; }
  .hamburger { display: flex; }
  .header-inner { height: 64px; }
  .page-hero { margin-top: 64px; padding: 60px 0 40px; }
  .usp-grid { grid-template-columns: 1fr; gap: 16px; }
  .usp-card { padding: 28px 20px; text-align: left; display: flex; gap: 20px; align-items: flex-start; }
  .usp-icon { margin: 0; flex-shrink: 0; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-content, .split.reverse .split-image { order: unset; }
  .split-image { order: -1 !important; }
  .catalog-grid { grid-template-columns: 1fr; gap: 20px; }
  .detail-layout { grid-template-columns: 1fr; gap: 32px; }
  .content-with-image { grid-template-columns: 1fr; gap: 32px; }
  .content-image { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-info-cards { grid-template-columns: 1fr; gap: 28px; }
  .brands-grid { gap: 32px; }
  .brand-item span { font-size: 1rem; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .mobile-nav { top: 64px; }
  .map-wrap { height: 320px; margin-top: 32px; }
  .map-actions { margin-top: 20px; }
}

@media (max-width: 480px) {
  .map-wrap { height: 280px; }
}

/* ===== HOMEPAGE HERO SLIDER (moved from inline) ===== */
.hero {
  margin-top: 72px; position: relative; height: 70vh;
  min-height: 500px; max-height: 800px; overflow: hidden; background: var(--darker);
}
.slider { display: flex; width: 300%; height: 100%; animation: slide 18s ease-in-out infinite; }
@keyframes slide {
  0%, 28% { transform: translateX(0); }
  33%, 61% { transform: translateX(-33.333%); }
  66%, 94% { transform: translateX(-66.666%); }
  100% { transform: translateX(0); }
}
.slide { width: 33.333%; height: 100%; position: relative; display: flex; align-items: center; flex-shrink: 0; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(17,17,17,0.88) 0%, rgba(17,17,17,0.6) 50%, rgba(17,17,17,0.3) 100%); }
.slide-overlay.from-right { background: linear-gradient(255deg, rgba(17,17,17,0.9) 0%, rgba(17,17,17,0.65) 45%, rgba(17,17,17,0.15) 100%); }
.slide-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 48px; width: 100%; }
.slide-content.align-right { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.slide-content.align-right .slide-title,
.slide-content.align-right .slide-desc { max-width: 520px; }
.slide-label { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; padding: 6px 14px; border: 1px solid rgba(200,150,12,0.3); border-radius: var(--radius); }
.slide-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 16px; max-width: 560px; letter-spacing: -0.02em; }
.slide-desc { font-size: 1.1rem; font-weight: 400; color: rgba(255,255,255,0.7); max-width: 480px; margin-bottom: 32px; line-height: 1.6; }
.slider-dots { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); border: 1.5px solid rgba(255,255,255,0.5); transition: var(--transition); cursor: pointer; }
.slider-dot.active { background: var(--accent); border-color: var(--accent); width: 28px; border-radius: 5px; }

@media (max-width: 768px) {
  .hero { margin-top: 64px; height: 55vh; min-height: 400px; }
  .slide-overlay { background: linear-gradient(180deg, rgba(17,17,17,0.85) 0%, rgba(17,17,17,0.6) 100%); }
  .slide-content, .slide-content.align-right { text-align: center; align-items: center; }
  .slide-content.align-right .slide-overlay.from-right { background: linear-gradient(180deg, rgba(17,17,17,0.85) 0%, rgba(17,17,17,0.6) 100%); }
  .slide-title, .slide-desc { max-width: 100%; }
  .slide-desc { margin-left: auto; margin-right: auto; }
  .slider-dots { bottom: 20px; }
}

/* ===== INQUIRY FORM EXTENSIONS (AJAX feedback, honeypot, GDPR) ===== */
.solaria-honeypot { position: absolute !important; left: -9999px !important; top: -9999px !important; width: 1px; height: 1px; }
/* Top-of-form summary banner (network errors, server errors, success). */
.form-message { margin: 0 0 18px; padding: 14px 18px; border-radius: var(--radius); font-size: 0.95rem; display: none; line-height: 1.45; }
.form-message.is-success { display: block; background: rgba(34,197,94,0.12); color: #16a34a; border: 1px solid rgba(34,197,94,0.25); }
.form-message.is-error { display: block; background: rgba(239,68,68,0.12); color: #dc2626; border: 1px solid rgba(239,68,68,0.25); }

/* Helper text shown under an input (e.g. phone format hint). */
.form-field-hint {
  margin: 6px 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.45);
}
.inquiry-form .form-field-hint { color: var(--mid-gray); }
[data-field].has-error .form-field-hint { display: none; }

/* Per-field inline errors (rendered inside each .form-group / .form-gdpr-wrap) */
.form-field-error {
  display: none;
  margin: 8px 0 0;
  font-size: 0.825rem;
  line-height: 1.4;
  color: #dc2626;
}
.form-field-error::before {
  content: '';
  display: inline-block; width: 14px; height: 14px;
  margin-right: 6px; vertical-align: -3px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><line x1='12' y1='8' x2='12' y2='12'/><line x1='12' y1='16' x2='12.01' y2='16'/></svg>");
  background-repeat: no-repeat; background-position: center; background-size: 14px 14px;
}
[data-field].has-error .form-field-error,
[data-field].has-error > .form-field-error,
.form-gdpr-wrap.has-error .form-field-error { display: block; }

/* Error border on inputs / textarea / phone-prefix */
[data-field].has-error input,
[data-field].has-error textarea,
[data-field].has-error .input-prefix,
.inquiry-form [data-field].has-error input,
.inquiry-form [data-field].has-error textarea,
.inquiry-form [data-field].has-error .input-prefix {
  border-color: #dc2626;
  background: rgba(239,68,68,0.04);
}
[data-field].has-error input:focus,
[data-field].has-error textarea:focus,
[data-field].has-error .input-prefix:focus-within {
  box-shadow: 0 0 0 3px rgba(239,68,68,0.12);
}

/* GDPR error visual hint — turn the consent label red so it's noticeable. */
.form-gdpr-wrap.has-error .form-gdpr { color: #dc2626; }
.form-gdpr-wrap.has-error .form-gdpr input { outline: 2px solid #dc2626; outline-offset: 2px; }
.form-gdpr-wrap { margin: 4px 0 20px; }
.form-gdpr-wrap .form-gdpr { margin: 0; }
.form-gdpr { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.5; }
.form-gdpr input { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; accent-color: var(--accent); }
.form-gdpr a { color: rgba(255,255,255,0.85); text-decoration: underline; }
.form-gdpr a:hover { color: var(--accent); }
.inquiry-form .form-gdpr { color: var(--mid-gray); }
.inquiry-form .form-gdpr a { color: var(--dark); }
.btn[disabled], .btn.is-loading { opacity: 0.6; cursor: wait; }

/* ===== BRAND BADGE (on product card) ===== */
.product-card-brand { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(255,255,255,0.95); padding: 6px 10px; border-radius: var(--radius); display: flex; align-items: center; max-height: 28px; }
.product-card-brand img { max-height: 16px; width: auto; }
.product-card-image { position: relative; }


/* ============================================================
   Cookie Consent (Solaria — forked from befitstudio)
   ============================================================ */
body.solaria-cookie-locked { overflow: hidden; }
.solaria-cookie-root[hidden] { display: none !important; }

/* Bar */
.solaria-cookie-bar {
  position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 0);
  width: calc(100% - 40px); max-width: 720px; z-index: 9998; padding: 22px 26px;
  background: rgba(255, 255, 255, 0.97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--light-gray); border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  font-family: var(--font); color: var(--dark);
  animation: solaria-cookie-slide-up 0.35s ease-out;
}
.solaria-cookie-bar[hidden] { display: none; }

@keyframes solaria-cookie-slide-up {
  from { transform: translate(-50%, 120%); opacity: 0; }
  to   { transform: translate(-50%, 0);    opacity: 1; }
}

.solaria-cookie-bar-body { margin-bottom: 16px; }
.solaria-cookie-bar-title { font-size: 18px; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.solaria-cookie-bar-text { font-size: 14px; line-height: 1.55; color: var(--mid-gray); margin: 0; }
.solaria-cookie-bar-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.solaria-cookie-bar-text a:hover { color: var(--accent-hover); }

.solaria-cookie-bar-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.solaria-cookie-bar-actions .btn { padding: 10px 22px; font-size: 14px; }

.solaria-cookie-btn-ghost {
  background: none; border: none; padding: 10px 8px; margin-left: auto;
  font-family: var(--font); font-size: 14px; font-weight: 500; color: var(--dark);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
  transition: color 0.2s ease;
}
.solaria-cookie-btn-ghost:hover { color: var(--accent); }

/* Modal */
.solaria-cookie-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.solaria-cookie-modal[hidden] { display: none; }

.solaria-cookie-modal-overlay {
  position: absolute; inset: 0; background: rgba(17,17,17,0.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  animation: solaria-cookie-fade-in 0.25s ease-out;
}
@keyframes solaria-cookie-fade-in { from { opacity: 0; } to { opacity: 1; } }

.solaria-cookie-modal-card {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 40px);
  display: flex; flex-direction: column;
  background: rgba(255,255,255,0.98); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid var(--light-gray); border-radius: 8px; box-shadow: 0 24px 60px rgba(0,0,0,0.2);
  font-family: var(--font); color: var(--dark); outline: none;
  animation: solaria-cookie-modal-pop 0.28s ease-out;
}
@keyframes solaria-cookie-modal-pop { from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.solaria-cookie-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px 14px; border-bottom: 1px solid var(--light-gray); }
.solaria-cookie-modal-header h2 { font-size: 22px; font-weight: 800; margin: 0; color: var(--dark); letter-spacing: -0.02em; }
.solaria-cookie-modal-close {
  background: none; border: none; padding: 4px; color: var(--mid-gray);
  cursor: pointer; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.solaria-cookie-modal-close:hover { background: var(--off-white); color: var(--dark); }

.solaria-cookie-modal-body { padding: 18px 26px 8px; overflow-y: auto; flex: 1 1 auto; }
.solaria-cookie-modal-intro { font-size: 14px; line-height: 1.6; color: var(--mid-gray); margin: 0 0 18px; }

.solaria-cookie-categories { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 14px; }
.solaria-cookie-category { padding: 16px 18px; background: var(--off-white); border: 1px solid var(--light-gray); border-radius: 6px; }
.solaria-cookie-category-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.solaria-cookie-category-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.solaria-cookie-category-title h3 { font-size: 15px; font-weight: 700; margin: 0; color: var(--dark); }
.solaria-cookie-category-badge {
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px; background: var(--accent-light); color: var(--accent);
}
.solaria-cookie-category-desc { font-size: 13px; line-height: 1.55; color: var(--mid-gray); margin: 10px 0 0; }

/* Switch */
.solaria-cookie-switch { position: relative; display: inline-block; flex-shrink: 0; width: 38px; height: 22px; cursor: pointer; }
.solaria-cookie-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.solaria-cookie-switch input:disabled { cursor: not-allowed; }
.solaria-cookie-switch-track { position: absolute; inset: 0; background: rgba(17,17,17,0.22); border-radius: 999px; transition: background 0.2s ease; }
.solaria-cookie-switch-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,0.18); transition: transform 0.2s ease; }
.solaria-cookie-switch input:checked ~ .solaria-cookie-switch-track { background: var(--accent); }
.solaria-cookie-switch input:checked ~ .solaria-cookie-switch-track::after { transform: translateX(16px); }
.solaria-cookie-switch input:focus-visible ~ .solaria-cookie-switch-track { outline: 2px solid var(--accent); outline-offset: 2px; }
.solaria-cookie-switch input:disabled ~ .solaria-cookie-switch-track { opacity: 0.7; }

/* Details */
.solaria-cookie-category-details { margin-top: 12px; border-top: 1px dashed var(--light-gray); padding-top: 10px; }
.solaria-cookie-category-details summary {
  list-style: none; cursor: pointer; font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent);
  padding: 4px 0; display: inline-flex; align-items: center; gap: 6px;
}
.solaria-cookie-category-details summary::-webkit-details-marker { display: none; }
.solaria-cookie-category-details summary::after {
  content: ''; width: 8px; height: 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform 0.2s; margin-top: -3px;
}
.solaria-cookie-category-details[open] summary::after { transform: rotate(-135deg); margin-top: 2px; }

.solaria-cookie-items { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.solaria-cookie-item {
  display: grid; grid-template-columns: 110px 1fr; gap: 4px 12px; margin: 0;
  padding: 10px 12px; background: #fff; border: 1px solid var(--light-gray); border-radius: 6px;
  font-size: 12.5px; line-height: 1.5;
}
.solaria-cookie-item dt { font-weight: 600; color: var(--dark); }
.solaria-cookie-item dd { margin: 0; color: var(--mid-gray); word-break: break-word; }
.solaria-cookie-item code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 12px; background: var(--accent-light); padding: 1px 6px; border-radius: 4px; color: var(--accent); }

.solaria-cookie-modal-footnote { font-size: 12.5px; line-height: 1.55; color: var(--mid-gray); margin: 0 0 12px; }
.solaria-cookie-modal-footnote a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.solaria-cookie-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 26px 22px; border-top: 1px solid var(--light-gray); justify-content: flex-end; }
.solaria-cookie-modal-actions .btn { padding: 10px 20px; font-size: 14px; }

/* Footer link */
.solaria-cookie-settings-link { background: none; border: none; padding: 0; font: inherit; color: inherit; cursor: pointer; }

@media (max-width: 640px) {
  .solaria-cookie-bar { left: 10px; right: 10px; bottom: 10px; width: auto; transform: none; padding: 18px 20px; }
  @keyframes solaria-cookie-slide-up {
    from { transform: translateY(120%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
  }
  .solaria-cookie-bar-actions { flex-direction: column; align-items: stretch; }
  .solaria-cookie-bar-actions .btn { width: 100%; }
  .solaria-cookie-btn-ghost { margin-left: 0; text-align: center; }
  .solaria-cookie-modal { padding: 10px; }
  .solaria-cookie-modal-card { max-height: calc(100vh - 20px); }
  .solaria-cookie-modal-header { padding: 18px 20px 12px; }
  .solaria-cookie-modal-body { padding: 14px 20px 8px; }
  .solaria-cookie-modal-actions { padding: 14px 20px 18px; flex-direction: column-reverse; }
  .solaria-cookie-modal-actions .btn { width: 100%; }
  .solaria-cookie-item { grid-template-columns: 1fr; gap: 2px; }
  .solaria-cookie-item dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(17,17,17,0.55); }
}

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); -webkit-clip-path: inset(50%); clip-path: inset(50%);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ===== WP ADMIN BAR OFFSET =====
   WordPress applies html { margin-top: 32px !important } via _admin_bar_bump_cb
   for logged-in users, which shifts in-flow body content but not our position:fixed
   header / mobile-nav. Push them down explicitly so the admin bar does not overlap
   the site header. Breakpoint mirrors WP core: 32px above 782px, 46px below. */
body.admin-bar .header { top: 32px; }
body.admin-bar .mobile-nav { top: 104px; } /* 72px header + 32px admin bar */

@media screen and (max-width: 782px) {
  body.admin-bar .header { top: 46px; }
  body.admin-bar .mobile-nav { top: 110px; } /* 64px header + 46px admin bar */
}
