/* =========================================================
   Obour Wood — Main Stylesheet
   Written RTL-first using logical CSS properties.
   ========================================================= */

:root {
  --ow-navy: #283090;
  --ow-navy-dark: #1b2166;
  --ow-navy-light: #3d47b3;
  --ow-orange: #f15a28;
  --ow-orange-dark: #d1481b;
  --ow-orange-light: #ff7a4d;

  --ow-ink: #14162b;
  --ow-body: #4a4d63;
  --ow-muted: #75778c;
  --ow-line: #e7e8f1;
  --ow-bg: #ffffff;
  --ow-bg-soft: #f6f7fb;
  --ow-bg-navy-soft: #eef0fa;
  --ow-white: #ffffff;

  --ow-radius-sm: 8px;
  --ow-radius: 14px;
  --ow-radius-lg: 22px;
  --ow-shadow-sm: 0 2px 10px rgba(20, 22, 43, 0.06);
  --ow-shadow: 0 10px 30px rgba(20, 22, 43, 0.09);
  --ow-shadow-lg: 0 20px 50px rgba(20, 22, 43, 0.14);

  --ow-container: 1240px;
  --ow-font: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--ow-font);
  color: var(--ow-body);
  background: var(--ow-bg);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* Safety net: any inline SVG icon without a more specific size rule
   below falls back to a small text-sized glyph instead of its
   unconstrained intrinsic size (which browsers render disastrously large). */
svg {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  flex-shrink: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ow-ink);
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 0.6em;
}
p {
  margin: 0 0 1.2em;
}
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link {
  position: absolute;
  inset-inline-start: 8px;
  top: -60px;
  background: var(--ow-navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--ow-radius-sm);
  z-index: 10000;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 8px;
}

/* ---------- Layout helpers ---------- */
.ow-container {
  width: 100%;
  max-width: var(--ow-container);
  margin-inline: auto;
  padding-inline: 24px;
}
.ow-section {
  padding-block: 88px;
}
.ow-section--sm {
  padding-block: 56px;
}
.ow-section--soft {
  background: var(--ow-bg-soft);
}
.ow-section--navy {
  background: linear-gradient(
    135deg,
    var(--ow-navy) 0%,
    var(--ow-navy-dark) 100%
  );
  color: rgba(255, 255, 255, 0.88);
}
.ow-section--navy h2,
.ow-section--navy h3 {
  color: #fff;
}
.ow-grid {
  display: grid;
  gap: 32px;
}
.ow-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.ow-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.ow-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 980px) {
  .ow-grid--3,
  .ow-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .ow-grid--2,
  .ow-grid--3,
  .ow-grid--4 {
    grid-template-columns: 1fr;
  }
}

.ow-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ow-orange);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
}
.ow-eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--ow-orange);
  border-radius: 3px;
  display: inline-block;
}
.ow-section-head {
  max-width: 700px;
  margin-bottom: 48px;
}
.ow-section-head.is-center {
  margin-inline: auto;
  text-align: center;
}
.ow-section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}
.ow-section-head p {
  color: var(--ow-muted);
  font-size: 1.08rem;
  margin: 0;
}

/* ---------- Buttons ---------- */
.ow-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.ow-btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.ow-btn--primary {
  background: var(--ow-orange);
  color: #fff;
}
.ow-btn--primary:hover {
  background: var(--ow-orange-dark);
  transform: translateY(-2px);
  box-shadow: var(--ow-shadow);
  color: #fff;
}
.ow-btn--navy {
  background: var(--ow-navy);
  color: #fff;
}
.ow-btn--navy:hover {
  background: var(--ow-navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--ow-shadow);
  color: #fff;
}
.ow-btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.ow-btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.ow-btn--outline-navy {
  background: transparent;
  border-color: var(--ow-navy);
  color: var(--ow-navy);
}
.ow-btn--outline-navy:hover {
  background: var(--ow-navy);
  color: #fff;
}
.ow-btn--ghost {
  background: var(--ow-bg-navy-soft);
  color: var(--ow-navy);
}
.ow-btn--ghost:hover {
  background: var(--ow-navy);
  color: #fff;
}
.ow-btn--sm {
  padding: 9px 18px;
  font-size: 0.9rem;
}
.ow-btn--wa {
  background: #25d366;
  color: #fff;
}
.ow-btn--wa:hover {
  background: #1eb658;
  color: #fff;
  transform: translateY(-2px);
}
.ow-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Top bar ---------- */
.ow-topbar {
  background: var(--ow-navy-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.86rem;
}
.ow-topbar .ow-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 9px;
}
.ow-topbar-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.ow-topbar-links a,
.ow-topbar-links span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ow-topbar-links svg {
  width: 14px;
  height: 14px;
}
.ow-topbar-links a:hover {
  color: var(--ow-orange-light);
}
.ow-topbar-social {
  display: flex;
  gap: 12px;
}
.ow-topbar-social a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ow-topbar-social a:hover {
  background: var(--ow-orange);
}
.ow-topbar-social svg {
  width: 13px;
  height: 13px;
}

/* ---------- Header ---------- */
.ow-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #fff;
  border-bottom: 1px solid var(--ow-line);
}
.ow-header .ow-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}
.ow-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ow-brand img {
  height: 40px;
  width: auto;
  max-width: 42vw;
}
@media (min-width: 981px) {
  .ow-brand img {
    height: 77px;
  }
}
@media (max-width: 480px) {
  .ow-brand img {
    height: 55px;
  }
}
.ow-brand-text {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ow-navy);
}
.ow-brand-text span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ow-orange);
}

.ow-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ow-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ow-nav a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--ow-ink);
  transition: all 0.18s ease;
}
.ow-nav a:hover,
.ow-nav .current-menu-item > a,
.ow-nav .current_page_item > a {
  background: var(--ow-bg-navy-soft);
  color: var(--ow-navy);
}
.ow-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ow-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ow-line);
  background: #fff;
  align-items: center;
  justify-content: center;
}
.ow-menu-toggle svg {
  width: 20px;
  height: 20px;
}

.ow-nav__head,
.ow-nav__foot {
  display: none;
}

@media (max-width: 980px) {
  .ow-nav {
    position: fixed;
    inset-block: 0;
    inset-inline-end: 0;
    width: min(340px, 86vw);
    background: #fff;
    box-shadow: var(--ow-shadow-lg);
    transform: translateX(110%);
    transition: transform 0.3s ease;
    padding: 0;
    overflow-y: auto;
    z-index: 600;
    display: flex;
    flex-direction: column;
  }
  [dir="rtl"] .ow-nav {
    transform: translateX(-110%);
  }
  .ow-nav.is-open {
    transform: translateX(0);
  }

  .ow-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 22px;
    background: linear-gradient(
      120deg,
      var(--ow-navy) 0%,
      var(--ow-navy-dark) 100%
    );
    flex: none;
    width: 100%;
  }
  .ow-nav__head-title {
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
  }
  .ow-nav__close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
  }
  .ow-nav__close svg {
    width: 16px;
    height: 16px;
  }
  .ow-nav__close:hover {
    background: var(--ow-orange);
  }

  .ow-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 10px 14px;
  }
  .ow-nav li {
    border-bottom: 1px solid var(--ow-line);
  }
  .ow-nav li:last-child {
    border-bottom: none;
  }
  .ow-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 10px;
    border-radius: 0;
    border-inline-start: 3px solid transparent;
  }
  .ow-nav a::after {
    content: "";
    width: 7px;
    height: 7px;
    border-inline-start: 2px solid var(--ow-muted);
    border-bottom: 2px solid var(--ow-muted);
    transform: rotate(135deg);
    flex: none;
    opacity: 0.6;
  }
  .ow-nav a:hover,
  .ow-nav .current-menu-item > a,
  .ow-nav .current_page_item > a {
    background: var(--ow-bg-navy-soft);
    border-inline-start-color: var(--ow-orange);
    padding-inline-start: 16px;
  }

  .ow-nav__foot {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px 22px;
    border-top: 1px solid var(--ow-line);
    background: var(--ow-bg-soft);
    flex: none;
    margin-top: auto;
    width: 100%;
  }
  .ow-nav__foot .ow-btn {
    justify-content: center;
    width: 100%;
  }
  .ow-nav__foot-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    color: var(--ow-navy);
  }

  .ow-menu-toggle {
    display: inline-flex;
  }
  .ow-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 17, 40, 0.45);
    z-index: 590;
  }
  .ow-nav-backdrop.is-open {
    display: block;
  }
  .ow-header .ow-btn span {
    display: none;
  }
}

/* ---------- Hero ---------- */
.ow-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(
    120deg,
    var(--ow-navy) 0%,
    var(--ow-navy-dark) 65%
  );
}
.ow-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}
.ow-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(27, 33, 102, 0.97) 20%,
    rgba(27, 33, 102, 0.55) 60%,
    rgba(241, 90, 40, 0.35) 100%
  );
}
.ow-hero .ow-container {
  position: relative;
  padding-block: 120px 100px;
}
.ow-hero__content {
  max-width: 680px;
}
.ow-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 22px;
}
.ow-hero__eyebrow svg {
  width: 16px;
  height: 16px;
}
.ow-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin-bottom: 0.45em;
}
.ow-hero h1 em {
  color: var(--ow-orange-light);
  font-style: normal;
}
.ow-hero p.ow-lead {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
}
.ow-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 48px;
}
.ow-hero__stat b {
  display: block;
  font-size: 2rem;
  color: #fff;
  font-weight: 800;
}
.ow-hero__stat span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Stats strip ---------- */
.ow-stats-strip {
  background: var(--ow-navy);
  color: #fff;
}
.ow-stats-strip .ow-grid {
  padding-block: 44px;
  text-align: center;
}
.ow-stats-strip b {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
}
.ow-stats-strip span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

/* ---------- Feature / icon cards ---------- */
.ow-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--ow-bg-navy-soft);
  color: var(--ow-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.ow-icon-badge svg {
  width: 28px;
  height: 28px;
}
.ow-feature-card {
  background: #fff;
  border: 1px solid var(--ow-line);
  border-radius: var(--ow-radius);
  padding: 30px;
  transition: all 0.2s ease;
}
.ow-feature-card:hover {
  box-shadow: var(--ow-shadow);
  transform: translateY(-4px);
  border-color: transparent;
}
.ow-feature-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.5em;
}
.ow-feature-card p {
  color: var(--ow-muted);
  margin: 0;
  font-size: 0.96rem;
}

/* ---------- About / split section ---------- */
.ow-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .ow-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
.ow-split--rev {
  direction: rtl;
}
.ow-media-frame {
  position: relative;
  border-radius: var(--ow-radius-lg);
  overflow: hidden;
  box-shadow: var(--ow-shadow-lg);
}
.ow-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.ow-media-badge {
  position: absolute;
  bottom: 20px;
  inset-inline-start: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-radius: var(--ow-radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--ow-shadow);
}
.ow-media-badge > svg {
  width: 32px;
  height: 32px;
  color: var(--ow-navy);
  flex: none;
}
.ow-media-badge b {
  display: block;
  color: var(--ow-navy);
  font-size: 1.4rem;
}
.ow-media-badge span {
  font-size: 0.8rem;
  color: var(--ow-muted);
}
.ow-check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0;
}
.ow-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.ow-check-list svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--ow-orange);
  margin-top: 2px;
}

/* ---------- Product cards ---------- */
.ow-card {
  background: #fff;
  border: 1px solid var(--ow-line);
  border-radius: var(--ow-radius);
  overflow: hidden;
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ow-card:hover {
  box-shadow: var(--ow-shadow-lg);
  transform: translateY(-5px);
  border-color: transparent;
}
.ow-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--ow-bg-soft);
  position: relative;
}
.ow-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ow-card:hover .ow-card__img img {
  transform: scale(1.06);
}
.ow-card__tag {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  background: var(--ow-orange);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
}
.ow-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.ow-card__cat {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ow-orange);
}
.ow-card__body h3 {
  font-size: 1.15rem;
  margin: 0;
}
.ow-card__body h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.ow-card__body p {
  color: var(--ow-muted);
  font-size: 0.92rem;
  margin: 0;
  flex: 1;
}
.ow-card {
  position: relative;
}
.ow-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.ow-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--ow-bg-soft);
  color: var(--ow-body);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--ow-line);
}
.ow-chip svg {
  width: 13px;
  height: 13px;
}
.ow-chip--yes {
  background: #e8f7ee;
  color: #1c8a4c;
  border-color: #cdeedb;
}
.ow-chip--no {
  background: #fbeceb;
  color: #b23b32;
  border-color: #f5d9d6;
}
.ow-card__footer {
  padding: 0 22px 22px;
}

/* ---------- Filters ---------- */
.ow-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.ow-filter-btn {
  background: #fff;
  border: 1px solid var(--ow-line);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ow-body);
  transition: all 0.18s ease;
}
.ow-filter-btn:hover {
  border-color: var(--ow-navy);
  color: var(--ow-navy);
}
.ow-filter-btn.is-active {
  background: var(--ow-navy);
  border-color: var(--ow-navy);
  color: #fff;
}

/* ---------- Single product ---------- */
.ow-breadcrumb {
  font-size: 0.88rem;
  color: var(--ow-muted);
  margin-bottom: 22px;
}
.ow-breadcrumb a:hover {
  color: var(--ow-navy);
}
.ow-breadcrumb span {
  margin: 0 8px;
}
.ow-product-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
}
@media (max-width: 940px) {
  .ow-product-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.ow-gallery__main {
  border-radius: var(--ow-radius-lg);
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--ow-bg-soft);
  box-shadow: var(--ow-shadow);
  margin-bottom: 14px;
  cursor: zoom-in;
}
.ow-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ow-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.ow-gallery__thumbs button {
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--ow-bg-soft);
  padding: 0;
}
.ow-gallery__thumbs button.is-active {
  border-color: var(--ow-orange);
}
.ow-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ow-product-cat-badge {
  display: inline-block;
  background: var(--ow-bg-navy-soft);
  color: var(--ow-navy);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.ow-product-hero h1 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}
.ow-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
}
.ow-spec-table tr {
  border-bottom: 1px solid var(--ow-line);
}
.ow-spec-table td {
  padding: 13px 4px;
  font-size: 0.96rem;
}
.ow-spec-table td:first-child {
  color: var(--ow-muted);
  font-weight: 700;
  width: 42%;
}
.ow-spec-table td:last-child {
  color: var(--ow-ink);
  font-weight: 700;
}
.ow-spec-table td svg {
  width: 16px;
  height: 16px;
  margin-inline-end: 6px;
  vertical-align: -3px;
  color: var(--ow-orange);
}
.ow-product-desc {
  margin: 34px 0;
}
.ow-product-desc h2,
.ow-product-desc h3 {
  font-size: 1.3rem;
}

.ow-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 11, 26, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.ow-lightbox.is-open {
  display: flex;
}
.ow-lightbox img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 10px;
}
.ow-lightbox__close {
  position: absolute;
  top: 24px;
  inset-inline-end: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ow-lightbox__close svg {
  width: 22px;
  height: 22px;
}

/* ---------- CTA banner ---------- */
.ow-cta-banner {
  background: linear-gradient(
    120deg,
    var(--ow-orange) 0%,
    var(--ow-orange-dark) 100%
  );
  border-radius: var(--ow-radius-lg);
  padding: 52px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.ow-cta-banner h2 {
  color: #fff;
  margin-bottom: 0.3em;
  font-size: 1.7rem;
}
.ow-cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}
.ow-cta-banner .ow-btn--primary {
  background: #fff;
  color: var(--ow-orange-dark);
}
.ow-cta-banner .ow-btn--primary:hover {
  background: var(--ow-navy-dark);
  color: #fff;
}

/* ---------- Certifications ---------- */
.ow-cert-card {
  background: #fff;
  border: 1px solid var(--ow-line);
  border-radius: var(--ow-radius);
  padding: 26px;
  text-align: center;
}
.ow-cert-card img {
  max-height: 90px;
  margin-inline: auto;
  margin-bottom: 16px;
  object-fit: contain;
}
.ow-cert-card > svg {
  width: 44px;
  height: 44px;
  color: var(--ow-navy);
  display: block;
  margin: 0 auto 16px;
}
.ow-cert-card h4 {
  margin-bottom: 0.3em;
  font-size: 1.02rem;
}
.ow-cert-card p {
  color: var(--ow-muted);
  font-size: 0.86rem;
  margin: 0;
}

/* ---------- Gallery grid (masonry-ish) ---------- */
.ow-photo-grid {
  columns: 4 220px;
  column-gap: 16px;
}
.ow-photo-grid figure {
  margin: 0 0 16px;
  break-inside: avoid;
  border-radius: var(--ow-radius);
  overflow: hidden;
  box-shadow: var(--ow-shadow-sm);
}
.ow-photo-grid img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}
.ow-photo-grid a:hover img {
  transform: scale(1.04);
}

/* ---------- Distributors ---------- */
.ow-dist-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  background: var(--ow-bg-soft);
  border-radius: var(--ow-radius);
  padding: 18px 22px;
  margin-bottom: 34px;
}
.ow-dist-toolbar select,
.ow-dist-toolbar input {
  border: 1px solid var(--ow-line);
  border-radius: var(--ow-radius-sm);
  padding: 10px 14px;
  background: #fff;
  min-width: 180px;
}
.ow-dist-card {
  background: #fff;
  border: 1px solid var(--ow-line);
  border-radius: var(--ow-radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ow-dist-card h3 {
  font-size: 1.08rem;
  margin: 0;
}
.ow-dist-card .ow-dist-loc {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ow-muted);
  font-size: 0.9rem;
}
.ow-dist-card .ow-dist-loc svg {
  width: 16px;
  height: 16px;
  color: var(--ow-orange);
  flex: none;
}
.ow-dist-card .ow-dist-country {
  align-self: flex-start;
  background: var(--ow-bg-navy-soft);
  color: var(--ow-navy);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}
.ow-empty-state {
  text-align: center;
  padding: 70px 20px;
  color: var(--ow-muted);
}
.ow-empty-state svg {
  width: 24px;
  height: 24px;
  color: var(--ow-line);
}

/* ---------- Contact ---------- */
.ow-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
}
@media (max-width: 940px) {
  .ow-contact-grid {
    grid-template-columns: 1fr;
  }
}
.ow-contact-info-card {
  background: var(--ow-navy);
  color: #fff;
  border-radius: var(--ow-radius-lg);
  padding: 40px 32px;
}
.ow-contact-info-card h3 {
  color: #fff;
}
.ow-contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.ow-contact-row:first-of-type {
  border-top: none;
}
.ow-contact-row .ow-icon-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  margin: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex: none;
}
.ow-contact-row .ow-icon-badge svg {
  width: 22px;
  height: 22px;
}
.ow-contact-row b {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  margin-bottom: 2px;
}
.ow-contact-row a,
.ow-contact-row span.value {
  font-weight: 700;
}
.ow-form {
  background: #fff;
  border: 1px solid var(--ow-line);
  border-radius: var(--ow-radius-lg);
  padding: 40px;
}
.ow-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
@media (max-width: 560px) {
  .ow-form-row {
    grid-template-columns: 1fr;
  }
}
.ow-field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 7px;
  color: var(--ow-ink);
}
.ow-field input,
.ow-field textarea {
  width: 100%;
  border: 1.5px solid var(--ow-line);
  border-radius: var(--ow-radius-sm);
  padding: 13px 16px;
  background: var(--ow-bg-soft);
  transition: all 0.15s ease;
}
.ow-field input:focus,
.ow-field textarea:focus {
  outline: none;
  border-color: var(--ow-navy);
  background: #fff;
}
.ow-form-notice {
  padding: 14px 18px;
  border-radius: var(--ow-radius-sm);
  margin-bottom: 20px;
  font-weight: 700;
}
.ow-form-notice--success {
  background: #e8f7ee;
  color: #1c8a4c;
}
.ow-form-notice--error {
  background: #fbeceb;
  color: #b23b32;
}
.ow-hp-field {
  position: absolute;
  inset-inline-start: -9999px;
}
.ow-map-frame {
  border-radius: var(--ow-radius-lg);
  overflow: hidden;
  box-shadow: var(--ow-shadow);
  margin-top: 40px;
}

/* ---------- Footer ---------- */
.ow-footer {
  background: #101226;
  color: rgba(255, 255, 255, 0.68);
}
.ow-footer-top {
  padding-block: 70px 40px;
}
.ow-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}
@media (max-width: 900px) {
  .ow-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .ow-footer-grid {
    grid-template-columns: 1fr;
  }
}
.ow-footer-brand img {
  height: 36px;
  width: auto;
  max-width: 60%;
  margin-bottom: 18px;
}
.ow-footer-brand p {
  font-size: 0.92rem;
  line-height: 1.9;
}
.ow-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
}
.ow-footer ul {
  display: grid;
  gap: 12px;
}
.ow-footer a:hover {
  color: var(--ow-orange-light);
}
.ow-footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
}
.ow-footer-contact svg {
  width: 17px;
  height: 17px;
  color: var(--ow-orange);
  flex: none;
  margin-top: 3px;
}
.ow-footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.ow-footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ow-footer-social a:hover {
  background: var(--ow-orange);
  color: #fff;
}
.ow-footer-social svg {
  width: 16px;
  height: 16px;
}
.ow-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.84rem;
}

/* ---------- WhatsApp float ---------- */
.ow-wa-float {
  position: fixed;
  bottom: 26px;
  inset-inline-end: 26px;
  z-index: 400;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  animation: ow-pulse 2.4s infinite;
}
.ow-wa-float svg {
  width: 30px;
  height: 30px;
}
@keyframes ow-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ---------- Generic page / content ---------- */
.ow-page-header {
  background: linear-gradient(
    120deg,
    var(--ow-navy) 0%,
    var(--ow-navy-dark) 100%
  );
  color: #fff;
  padding-block: 64px;
}
.ow-page-header h1 {
  color: #fff;
  margin-bottom: 0.3em;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}
.ow-page-header p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 680px;
}
.ow-entry-content {
  font-size: 1.02rem;
}
.ow-entry-content h2 {
  font-size: 1.5rem;
  margin-top: 1.6em;
}
.ow-entry-content h3 {
  font-size: 1.2rem;
  margin-top: 1.4em;
}
.ow-entry-content img {
  border-radius: var(--ow-radius);
}
.ow-entry-content ul {
  list-style: disc;
  margin-inline-start: 1.4em;
  margin-bottom: 1.2em;
}
.ow-entry-content ul li {
  margin-bottom: 0.4em;
}
.ow-entry-content a {
  color: var(--ow-navy);
  text-decoration: underline;
}
.ow-entry-content .wp-block-image {
  margin-bottom: 1.6em;
}

.ow-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 50px;
  flex-wrap: wrap;
}
.ow-pagination a,
.ow-pagination span {
  min-width: 42px;
  height: 42px;
  padding-inline: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--ow-line);
  font-weight: 700;
}
.ow-pagination .current {
  background: var(--ow-navy);
  color: #fff;
  border-color: var(--ow-navy);
}
.ow-pagination a:hover {
  border-color: var(--ow-navy);
  color: var(--ow-navy);
}

.ow-404 {
  text-align: center;
  padding-block: 110px;
}
.ow-404 .ow-404-code {
  font-size: 6rem;
  font-weight: 800;
  color: var(--ow-bg-navy-soft);
  line-height: 1;
}

/* Admin bar spacing fix for sticky header */
body.admin-bar .ow-header {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar .ow-header {
    top: 46px;
  }
}

/* Utility */
.ow-mt-0 {
  margin-top: 0 !important;
}
.ow-text-center {
  text-align: center;
}
.ow-only-mobile {
  display: none;
}
@media (max-width: 620px) {
  .ow-only-mobile {
    display: block;
  }
  .ow-hide-mobile {
    display: none;
  }
}
