/*
Theme Name: Octovia Home & Lifestyle
Theme URI: https://home.octovianexus.com
Description: Standalone WooCommerce storefront for Octovia Nexus Home & Lifestyle.
Author: Octovia Nexus
Version: 1.0.0
Text Domain: octovia-home-lifestyle
*/

:root {
  --bg: #f7f8f6;
  --surface: #ffffff;
  --surface-soft: #eef4f2;
  --ink: #15212d;
  --muted: #64737f;
  --line: #dce5e1;
  --accent: #0c7c68;
  --accent-strong: #075e50;
  --blue: #1c63ad;
  --gold: #c9912f;
  --radius: 8px;
  --shadow: 0 14px 34px rgba(21, 33, 45, 0.10);
  --font-head: "Plus Jakarta Sans", "Inter", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.ohl-container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.ohl-topbar {
  background: #102030;
  color: #eef7f5;
  font-size: 13px;
}
.ohl-topbar .ohl-container {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ohl-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.ohl-header__inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.ohl-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
}
.ohl-logo__mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
}
.ohl-logo__text { display: grid; gap: 1px; }
.ohl-logo__main { font-size: 20px; font-weight: 700; letter-spacing: 0; line-height: 1; }
.ohl-logo__main strong { font-weight: 900; }
.ohl-logo__sub { font-size: 12px; color: var(--accent); font-weight: 700; }
.ohl-search form { display: grid; grid-template-columns: 1fr auto; }
.ohl-search input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 0 16px;
  font: inherit;
  background: #fff;
}
.ohl-search button,
.ohl-btn,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  min-height: 42px;
  border: 0;
  border-radius: var(--radius);
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}
.ohl-search button { height: 46px; border-radius: 0 var(--radius) var(--radius) 0; }
.ohl-btn--secondary { background: #102030; }
.ohl-btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.ohl-actions { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 14px; }
.ohl-cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--gold);
  color: #101820;
  margin-left: 4px;
}
.ohl-nav {
  border-top: 1px solid var(--line);
}
.ohl-nav .ohl-container {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 22px;
  overflow-x: auto;
}
.ohl-nav a { color: #344450; font-size: 14px; font-weight: 800; white-space: nowrap; }

.ohl-hero {
  background: linear-gradient(90deg, #e9f3ef 0%, #f8faf8 48%, #d9e8f7 100%);
  border-bottom: 1px solid var(--line);
}
.ohl-hero__grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
  padding: 46px 0;
}
.ohl-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  margin: 0 0 20px;
  letter-spacing: 0;
}
.ohl-hero p { max-width: 620px; color: var(--muted); font-size: 18px; margin: 0 0 28px; }
.ohl-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ohl-hero__media {
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ohl-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.ohl-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.ohl-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.ohl-strip__item {
  padding: 22px 18px;
  border-right: 1px solid var(--line);
}
.ohl-strip__item:last-child { border-right: 0; }
.ohl-strip strong { display: block; font-family: var(--font-head); }
.ohl-strip span { display: block; color: var(--muted); font-size: 14px; }

.ohl-section { padding: 58px 0; }
.ohl-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.ohl-section h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  margin: 0;
}
.ohl-section__head p { margin: 8px 0 0; color: var(--muted); }

.ohl-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ohl-category-card {
  min-height: 190px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #203447;
  color: #fff;
  box-shadow: var(--shadow);
}
.ohl-category-card img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  opacity: .74;
  transition: transform .2s ease;
}
.ohl-category-card:hover img { transform: scale(1.04); }
.ohl-category-card__body {
  position: absolute;
  inset: auto 0 0;
  padding: 18px;
  background: linear-gradient(180deg, transparent, rgba(10, 23, 34, .9));
}
.ohl-category-card h3 { margin: 0; font-family: var(--font-head); font-size: 20px; }
.ohl-category-card span { font-size: 13px; opacity: .86; }

.ohl-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0;
}
.woocommerce ul.products li.product,
.ohl-product-card {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(21,33,45,.06);
}
.woocommerce ul.products li.product a img,
.ohl-product-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f2f5f4;
  margin: 0 !important;
}
.ohl-product-card__body,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price {
  padding-left: 14px;
  padding-right: 14px;
}
.ohl-product-card__body { padding: 14px; }
.ohl-product-card h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 48px;
  margin: 0 0 8px !important;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 15px !important;
  line-height: 1.35;
}
.price,
.woocommerce ul.products li.product .price {
  color: var(--accent-strong) !important;
  font-weight: 900 !important;
  font-size: 16px !important;
}
.woocommerce ul.products li.product .button { margin: 12px 14px 14px !important; width: calc(100% - 28px); }

.ohl-band {
  background: #102030;
  color: #fff;
}
.ohl-band__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.ohl-band p { color: #c7d3dc; }

.ohl-footer {
  background: #091521;
  color: #dbe7ee;
  padding: 46px 0 18px;
}
.ohl-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}
.ohl-footer h3,
.ohl-footer h4 { margin: 0 0 14px; font-family: var(--font-head); color: #fff; }
.ohl-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.ohl-footer__brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
}
.ohl-footer__brand h3 { margin: 0; }
.ohl-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ohl-footer a, .ohl-footer p, .ohl-footer li { color: #b9c7d1; }
.ohl-footer__bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
  color: #9cadb8;
}

.woocommerce div.product {
  width: min(1180px, calc(100% - 32px));
  margin: 44px auto;
}
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
  width: min(1180px, calc(100% - 32px));
  margin: 44px auto;
}

@media (max-width: 900px) {
  .ohl-header__inner { grid-template-columns: 1fr; gap: 14px; padding: 14px 0; }
  .ohl-actions { justify-content: space-between; }
  .ohl-hero__grid, .ohl-band__grid { grid-template-columns: 1fr; min-height: auto; }
  .ohl-category-grid, .ohl-products, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
  .ohl-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .ohl-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .ohl-topbar .ohl-container { display: grid; justify-content: start; padding: 8px 0; }
  .ohl-category-grid, .ohl-products, .woocommerce ul.products, .ohl-strip__grid, .ohl-footer__grid { grid-template-columns: 1fr; }
  .ohl-section__head { display: block; }
  .ohl-hero__media, .ohl-hero__media img { min-height: 300px; }
}
