/*
Theme Name: Overlanding Outpost Custom
Description: Restores hero image, locks height at 550 px, centers text, removes white gap.
Author: Arisen Technologies
*/

/* --- HERO SECTION --- */
.sydney-hero-area,
.header-slider-area {
  position: relative;
  width: 100%;
  max-height: 500px !important;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* restore background image injected by Sydney JS */
.sydney-hero-area .slide-item {
  height: 500px !important;
  max-height: 500px !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  width: 100% !important;
}

/* for setups that also output an <img> tag inside slide-item */
.sydney-hero-area .slide-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

/* lock Sydney’s inline “data-speed” heights */
html body .sydney-hero-area[data-speed],
html body .header-slider[data-speed] {
  height: 550px !important;
  max-height: 550px !important;
}

/* --- TEXT INSIDE HERO --- */
.text-slider {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 100%;
  text-align: center;
  z-index: 10;
}
.text-slider .maintitle {
  font-size: 48px !important;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.text-slider .subtitle {
  font-size: 18px !important;
  color: #f2f2f2;
  margin-top: 10px;
}

/* --- REMOVE WHITE GAP BELOW HERO --- */
.frontpage-main,
.page-wrap {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* --- HEADER AUTH BUTTONS --- */
.header-auth-buttons {
  position: absolute;
  top: 25px;
  right: 40px;
  z-index: 999;
  display: flex;
  gap: 10px;
}
.header-auth-buttons a {
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 5px;
  font-size: 14px;
  text-decoration: none;
}
.header-auth-buttons .signin-btn {
  background: #4c3622;
  color: #fff;
  border: 1.5px solid #4c3622;
}
.header-auth-buttons a:hover {opacity: .9;}
@media(max-width:1024px){.header-auth-buttons{display:none!important;}}

/* --- HIDE UNUSED ELEMENTS --- */
.hero-extra-buttons,
.home-search-wrap {display:none!important;}

/* --- RESPONSIVE HEIGHT --- */
@media (max-width:1024px){
  .sydney-hero-area .slide-item,
  .sydney-hero-area .slide-item img {
    height:450px!important;
    max-height:450px!important;
  }
}
@media (max-width:768px){
  .sydney-hero-area .slide-item,
  .sydney-hero-area .slide-item img {
    height:380px!important;
    max-height:380px!important;
  }
  .text-slider .maintitle{font-size:30px!important;}
  .text-slider .subtitle{font-size:14px!important;}
}

/* --- SMOOTH TRANSITION --- */
button,.btn-search,.btn-hero-filled,.btn-hero-outline{transition:all .3s ease;}

/* ===== HEADER AUTH BUTTONS ===== */
.header-auth-buttons {
  position: absolute;
  top: 25px;
  right: 40px;
  z-index: 999;
  display: flex;
  gap: 10px;
}
.header-auth-buttons a {
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 5px;
  font-size: 14px;
  text-decoration: none;
}
.header-auth-buttons .signin-btn {
  background: #4c3622;
  color: #fff;
  border: 1.5px solid #4c3622;
}
.header-auth-buttons a:hover {
  opacity: 0.9;
}
@media(max-width:1024px){
  .header-auth-buttons{display:none!important;}
}

/* ===== REMOVE UNUSED BUTTONS ===== */
.hero-extra-buttons,
.home-search-wrap {
  display: none !important;
}

/* ===== RESPONSIVE FIX ===== */
@media (max-width:1024px) {
  .sydney-hero-area,
  .header-slider-area,
  .sydney-hero-area .slide-item,
  .sydney-hero-area .slide-item img {
    max-height: 450px !important;
  }
}
@media (max-width:768px) {
  .sydney-hero-area,
  .header-slider-area,
  .sydney-hero-area .slide-item,
  .sydney-hero-area .slide-item img {
    max-height: 380px !important;
  }
  .text-slider .maintitle {
    font-size: 30px !important;
  }
  .text-slider .subtitle {
    font-size: 14px !important;
  }
}






/* Featured ribbon */
.oo-ribbon{
  position:absolute; top:8px; right:8px;
  background:#ff6f3d; color:#fff; font-weight:700;
  font-size:12px; padding:6px 10px; border-radius:6px;
  z-index:3; box-shadow:0 2px 8px rgba(0,0,0,.15);
}
.oo-ribbon--featured{ background:#ff6f3d; }

/* Chip bar */
.oo-chipbar{ position:absolute; top:8px; left:8px; display:flex; gap:6px; z-index:3; flex-wrap:wrap; }
.oo-chip{
  background:#f2f2f2; color:#222; font-weight:600;
  padding:4px 8px; font-size:11px; border-radius:6px;
  border:1px solid rgba(0,0,0,.08);
}
ul.products li.product{ position:relative; }

/* Home section spacing */
.home-featured-products{ margin:40px auto; }
.home-sec-title{ font-weight:800; margin-bottom:18px; }
