/* ========== OZO PADANGOS - CUSTOM STYLES ========== */
/* Designed for Avada + WooCommerce environment */

:root {
  --red: #FF6B35;
  --red-dark: #E55A2B;
  --red-light: #FF4D8D;
  --black: #1B0A2E;
  --black-light: #2D1B4E;
  --white: #FFFFFF;
  --gray-100: #F5F3F8;
  --gray-200: #E4DFEC;
  --gray-300: #C8BFD6;
  --gray-600: #7B6F8E;
  --gray-800: #3A2660;
  --shadow: 0 2px 12px rgba(27,10,46,.08);
  --shadow-md: 0 4px 20px rgba(27,10,46,.12);
  --shadow-lg: 0 8px 30px rgba(27,10,46,.18);
  --radius: 12px;
  --radius-lg: 16px;
  --transition: .2s ease;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--gray-100);
  color: var(--gray-800);
  -webkit-font-smoothing: antialiased;
}

/* Hide default Avada elements we replace */
.fusion-page-title-bar,
.avada-page-titlebar-wrapper { display: none !important; }

/* ========== OZO TOP BAR ========== */
.ozo-topbar {
  padding: 8px 0;
}
.ozo-topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: #C8BFD6;
  font-family: 'Inter', sans-serif;
}
.ozo-topbar a { color: #C8BFD6; text-decoration: none; transition: color .2s ease; }
.ozo-topbar a:hover { color: #FF6B35; }
.ozo-topbar-phones { display: flex; gap: 20px; }

/* ========== OZO HEADER ========== */
.ozo-header { padding: 0; }
.ozo-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.ozo-logo img { height: 44px; }
.ozo-logo {
  display: flex;
  align-items: center;
}
.ozo-nav {
  display: flex;
  gap: 0;
}
.ozo-nav a {
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: 68px;
  color: rgba(255,255,255,.75);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .3px;
  text-decoration: none;
  transition: all .2s ease;
  position: relative;
}
.ozo-nav a:hover {
  color: #ffffff;
  background: rgba(255,255,255,.06);
}
.ozo-nav a.active { color: #ffffff; }
.ozo-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: #FF6B35;
  border-radius: 3px 3px 0 0;
}
.ozo-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Mobile responsive */
@media (max-width: 900px) {
  .ozo-menu-toggle { display: block; }
  .ozo-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #1B0A2E;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    z-index: 1000;
  }
  .ozo-nav.open { display: flex; }
  .ozo-nav a {
    height: auto;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .ozo-topbar-inner { font-size: .72rem; }
  .ozo-topbar-phones { gap: 12px; }
}

/* ========== SECTION TITLES ========== */
.ozo-section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ozo-section-title::before {
  content: '';
  width: 4px;
  height: 26px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ========== BUTTONS ========== */
.ozo-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
}
.ozo-btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,.35);
  color: var(--white);
}

/* ========== HERO SEARCH BOX ========== */
.ozo-search-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  overflow: hidden;
  text-align: left;
}
.ozo-search-tabs {
  display: flex;
  background: var(--gray-800);
}
.ozo-search-tab {
  flex: 1;
  padding: 13px 20px;
  color: rgba(255,255,255,.6);
  font-weight: 700;
  font-size: .82rem;
  text-align: center;
  cursor: pointer;
  border: none;
  background: transparent;
  transition: all var(--transition);
  letter-spacing: .3px;
}
.ozo-search-tab:hover { color: var(--white); background: rgba(255,255,255,.05); }
.ozo-search-tab.active {
  color: var(--white);
  background: var(--black-light);
  border-bottom: 3px solid var(--red);
}
.ozo-search-body { padding: 24px 28px 28px; }
.ozo-search-row {
  display: flex;
  gap: 12px;
  align-items: end;
}
.ozo-search-group { flex: 1; min-width: 120px; }
.ozo-search-group label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.ozo-search-group select {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: .88rem;
  background: var(--white);
  color: var(--gray-800);
  transition: border-color var(--transition);
  appearance: auto;
  cursor: pointer;
}
.ozo-search-group select:focus { outline: none; border-color: var(--red); }
.ozo-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 28px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  min-width: 140px;
  height: 44px;
}
.ozo-search-btn:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,107,53,.35);
}
.ozo-search-btn svg { width: 18px; height: 18px; }

/* ========== HERO STATS ========== */
.ozo-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 28px;
}
.ozo-stat {
  text-align: center;
  color: rgba(255,255,255,.5);
  font-size: .78rem;
}
.ozo-stat strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

/* ========== CATEGORY CARDS ========== */
.ozo-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.ozo-cat-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid rgba(0,0,0,.04);
  text-decoration: none;
  color: inherit;
  display: block;
}
.ozo-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.ozo-cat-card-img {
  height: 150px;
  overflow: hidden;
  background: var(--gray-100);
}
.ozo-cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.ozo-cat-card:hover .ozo-cat-card-img img { transform: scale(1.06); }
.ozo-cat-card-body { padding: 16px 14px; }
.ozo-cat-card-body h3 { font-size: .95rem; font-weight: 700; margin-bottom: 3px; }
.ozo-cat-card-body p { font-size: .8rem; color: var(--gray-600); margin: 0; }

/* ========== MOUNTING SECTION ========== */
.ozo-mounting-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.ozo-mounting-text .ozo-section-title { color: var(--black); }
.ozo-mounting-text p {
  color: var(--gray-600);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.ozo-mounting-list {
  margin-bottom: 28px;
  list-style: none;
  padding: 0;
}
.ozo-mounting-list li {
  color: var(--gray-800);
  font-size: .92rem;
  padding: 8px 0 8px 28px;
  position: relative;
}
.ozo-mounting-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(255,107,53,.15);
  border: 2px solid var(--red);
}
.ozo-mounting-list li::after {
  content: '';
  position: absolute;
  left: 5px; top: 19px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.ozo-mounting-features {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.ozo-mounting-feature {
  background: rgba(58,38,96,.06);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  flex: 1;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.ozo-mounting-feature:hover {
  background: rgba(58,38,96,.1);
  border-color: rgba(255,107,53,.2);
}
.ozo-mounting-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}
.ozo-mounting-label {
  font-size: .78rem;
  color: var(--gray-600);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ========== FEATURES ========== */
.ozo-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.ozo-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ozo-feature-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  background: var(--gray-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}
.ozo-feature-icon svg { width: 22px; height: 22px; }
.ozo-feature-item h4 { font-size: .88rem; font-weight: 700; margin-bottom: 2px; }
.ozo-feature-item p { font-size: .8rem; color: var(--gray-600); line-height: 1.5; margin: 0; }

/* ========== BREADCRUMB ========== */
.ozo-breadcrumb {
  background: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
}
.ozo-breadcrumb-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.ozo-breadcrumb ul,
.ozo-breadcrumb .woocommerce-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .84rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.ozo-breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--gray-300); font-size: .75rem; }
.ozo-breadcrumb a { color: var(--gray-800); text-decoration: none; }
.ozo-breadcrumb a:hover { color: var(--red); }
.ozo-breadcrumb .current { color: var(--red); font-weight: 600; }

/* ========== PRODUCT DETAIL ========== */
.ozo-pd-gallery-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 440px;
}
.ozo-pd-gallery-main img { max-width: 100%; max-height: 380px; object-fit: contain; }
.ozo-pd-info { display: flex; flex-direction: column; }
.ozo-pd-price-block { margin-bottom: 8px; }
.ozo-pd-price-block .price {
  font-size: 2.4rem !important;
  font-weight: 900 !important;
  color: var(--black) !important;
}
.ozo-pd-stock { margin-bottom: 24px; }
.ozo-pd-actions { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--gray-200); }
.ozo-pd-perks { display: flex; flex-direction: column; gap: 14px; }
.ozo-pd-perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .88rem;
  color: var(--gray-800);
  font-weight: 500;
}
.ozo-pd-perk svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gray-600); }
.ozo-pd-specs { padding: 0; }
.ozo-pd-specs-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gray-200);
}

/* ========== SIDEBAR CATEGORY PAGE ========== */
.ozo-page-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
}
.ozo-sidebar { display: flex; flex-direction: column; gap: 18px; }
.ozo-sidebar-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.04);
}
.ozo-sidebar-box-header {
  background: var(--gray-800);
  color: var(--white);
  font-weight: 700;
  font-size: .85rem;
  padding: 13px 16px;
}
.ozo-sidebar-box-body { padding: 16px; }
.ozo-sidebar-box-body .ozo-filter-group { margin-bottom: 12px; }
.ozo-sidebar-box-body label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.ozo-sidebar-box-body select,
.ozo-sidebar-box-body input {
  width: 100%;
  padding: 9px 12px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: .86rem;
  background: var(--white);
  color: var(--gray-800);
  transition: border-color var(--transition);
}
.ozo-sidebar-box-body select:focus,
.ozo-sidebar-box-body input:focus { outline: none; border-color: var(--red); }
.ozo-sidebar-box-body .btn {
  width: 100%;
  margin-top: 12px;
  justify-content: center;
  text-align: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  background: var(--red);
  color: var(--white);
}
.ozo-sidebar-box-body .btn:hover { background: var(--red-dark); }

/* ========== CONTACT PAGE ========== */
.ozo-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 1280px;
  margin: 0 auto;
}
.ozo-contact-info {
  background: var(--gray-100);
  color: var(--black);
  padding: 44px 40px;
}
.ozo-contact-info h1 { font-size: 1.7rem; font-weight: 900; margin-bottom: 12px; }
.ozo-contact-intro {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 36px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--gray-200);
}
.ozo-contact-items { display: flex; flex-direction: column; gap: 24px; }
.ozo-contact-item { display: flex; align-items: flex-start; gap: 14px; }
.ozo-contact-item-icon {
  width: 40px; height: 40px;
  background: var(--gray-800);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.ozo-contact-item-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--gray-600);
  margin-bottom: 4px;
}
.ozo-contact-item-value {
  display: block;
  font-size: .92rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1.6;
  transition: color var(--transition);
  text-decoration: none;
}
a.ozo-contact-item-value:hover { color: var(--red); }
.ozo-contact-form-panel {
  background: var(--white);
  padding: 44px 40px;
}
.ozo-contact-form-panel h2 { font-size: 1.3rem; font-weight: 800; color: var(--black); margin-bottom: 24px; }
.ozo-contact-form { display: flex; flex-direction: column; gap: 16px; }
.ozo-contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ozo-contact-form-group label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.ozo-contact-form-group input,
.ozo-contact-form-group textarea,
.ozo-contact-form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: .9rem;
  font-family: inherit;
  transition: border-color var(--transition);
  resize: vertical;
  background: var(--white);
  color: var(--gray-800);
}
.ozo-contact-form-group input:focus,
.ozo-contact-form-group textarea:focus,
.ozo-contact-form-group select:focus { outline: none; border-color: var(--red); }

/* ========== WOOCOMMERCE OVERRIDES ========== */

/* Product specs tags */
.product-specs { font-size: .78rem; color: var(--gray-600); margin-bottom: 8px; }
.product-specs span {
  display: inline-block;
  background: var(--gray-100);
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 4px;
  font-weight: 500;
}

/* Old price */
.ozo-old-price {
  text-decoration: line-through;
  color: var(--gray-600) !important;
  font-size: .85rem !important;
  font-weight: 500 !important;
}

/* WooCommerce pagination */
.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  justify-content: center;
  gap: 6px;
  border: none !important;
}
.woocommerce nav.woocommerce-pagination ul li { border: none !important; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px !important;
  font-weight: 600;
  background: var(--white);
  box-shadow: var(--shadow);
  border: none !important;
  color: var(--gray-800);
}
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--gray-800) !important;
  color: var(--white) !important;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--red) !important;
  color: var(--white) !important;
}

/* WooCommerce product cards in shop */
.woocommerce ul.products li.product {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid rgba(0,0,0,.04);
  padding: 0 !important;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.woocommerce ul.products li.product a img {
  margin: 0 !important;
  border-radius: 0;
}
.woocommerce ul.products li.product .price {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: var(--red) !important;
}
.woocommerce ul.products li.product .button {
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: 8px !important;
  font-weight: 700;
  padding: 10px 20px;
}
.woocommerce ul.products li.product .button:hover {
  background: var(--red-dark) !important;
}

/* WooCommerce single product add to cart */
.woocommerce div.product form.cart .button {
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: 8px !important;
  font-weight: 700;
  padding: 13px 28px;
  font-size: .95rem;
}
.woocommerce div.product form.cart .button:hover {
  background: var(--red-dark) !important;
}
.woocommerce div.product form.cart .quantity input {
  border: 2px solid var(--gray-200);
  border-radius: 8px;
}

/* WooCommerce additional info table */
.woocommerce-product-attributes {
  width: 100%;
}
.woocommerce-product-attributes tr {
  border-bottom: 1px solid var(--gray-200);
}
.woocommerce-product-attributes th {
  font-size: .88rem;
  color: var(--gray-600);
  font-weight: 600;
  padding: 13px 20px;
  background: var(--gray-100);
}
.woocommerce-product-attributes td {
  font-size: .88rem;
  font-weight: 700;
  color: var(--black);
  padding: 13px 20px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .ozo-mounting-content { grid-template-columns: 1fr; }
  .ozo-contact-grid { grid-template-columns: 1fr; }
  .ozo-page-layout { grid-template-columns: 1fr; }
  .ozo-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Hero search mobile */
  .ozo-search-box { border-radius: var(--radius); }
  .ozo-search-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .ozo-search-tab { font-size: .72rem; padding: 11px 10px; white-space: nowrap; min-width: 0; }
  .ozo-search-body { padding: 16px 16px 20px; }
  .ozo-search-row { flex-direction: column; gap: 10px; }
  .ozo-search-group { min-width: 100%; }
  .ozo-search-group label { font-size: .7rem; margin-bottom: 4px; }
  .ozo-search-group select { padding: 10px 12px; font-size: .86rem; }
  .ozo-search-btn { width: 100%; min-width: unset; height: 46px; font-size: .88rem; margin-top: 4px; }

  /* Hero stats mobile */
  .ozo-stats { flex-direction: row; gap: 16px; margin-top: 20px; }
  .ozo-stat { font-size: .7rem; }
  .ozo-stat strong { font-size: 1rem; }

  /* Sections mobile */
  .ozo-section-title { font-size: 1.2rem; margin-bottom: 20px; }

  .ozo-mounting-content { gap: 30px; }
  .ozo-mounting-features { flex-direction: column; gap: 12px; }
  .ozo-mounting-feature { padding: 20px 18px; }
  .ozo-mounting-number { font-size: 1.8rem; }

  .ozo-contact-form-row { grid-template-columns: 1fr; }
  .ozo-contact-info, .ozo-contact-form-panel { padding: 28px 24px; }

  .ozo-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ozo-features-grid { grid-template-columns: 1fr; gap: 20px; }

  .ozo-pd-gallery-main { min-height: 300px; padding: 24px; }
}

@media (max-width: 480px) {
  .ozo-stats { flex-direction: column; gap: 8px; }
  .ozo-stat { display: flex; align-items: center; gap: 6px; }
  .ozo-stat strong { display: inline; font-size: .95rem; }
  .ozo-cat-grid { grid-template-columns: 1fr 1fr; }
}
