/* ===== ARCHIVE PAGE - KARTICE + SEKCIJE ISPOD (DESTINACIJE, TOP OFFERS)  */

/* grid – min-width kartica, jednake visine, responsive */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
  margin-bottom: 30px !important;
}

.products li.ova-product {
  border: 1px solid rgba(19, 23, 43, 0.08) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: #fff !important;
  transition: transform 0.4s ease, box-shadow 0.4s ease !important;
  display: flex !important;
  flex-direction: column !important;
  width: auto !important;
  margin: 0 !important;
}
.products li.ova-product:hover {
  box-shadow: 0 8px 24px rgba(50, 86, 198, 0.15) !important;
  transform: translateY(-4px) !important;
}

/* slika kartice – tamnija kao Top Offers */
.products li.ova-product .yachbat-product-thumbnail img {
  height: 200px !important;
  object-fit: cover !important;
  width: 100% !important;
  display: block !important;
  filter: brightness(0.8) !important;
}

/* ===== DAILY BADGE (samo .is-daily kartice) ===== */
.products li.ova-product.is-daily .yachbat_head_product {
  position: relative !important;
}
.products li.ova-product.is-daily .yachbat_head_product::before {
  content: "Daily charter";
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  transition: background 0.4s ease;
}
.products li.ova-product.is-daily:hover .yachbat_head_product::before {
  background: rgba(255, 255, 255, 0.3);
}

/* foot – gurni cijenu/gumb na dno, jednaka visina */
.products li.ova-product .yachbat_foot_product {
  padding: 6px 0 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  flex: 1 1 auto !important;
  border: none !important;
}

/* naslov – padding na h2, a unutarnji a samo font */
.ova-product .yachbat_foot_product .yachbat-product-title {
  padding: 14px 20px 8px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}
.ova-product .yachbat_foot_product .yachbat-product-title a {
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Playfair Display', serif !important;
  font-weight: 600 !important;
  font-size: 20px !important;
  line-height: 24px !important;
  color: #1A2B4A !important;
  display: block !important;
}

/* cijena + gumb red */
.products li.ova-product .yachbat-product-wrapper-price {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  gap: 10px !important;
  padding: 14px 20px 0 !important;
  margin: 0 !important;
  border-top: 1px solid rgba(19, 23, 43, 0.1) !important;
  min-width: 0 !important;
}

/* cijena container – From gore, iznos+/Day u redu */
.products li.ova-product .yachbat-product-price {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  column-gap: 4px !important;
}
.products li.ova-product .yachbat-product-price .from-price {
  flex: 0 0 100% !important;
  width: 100% !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  margin-bottom: 6px !important;
  color: #6B7280 !important;
}
.products li.ova-product .yachbat-product-price .product-amount {
  flex: 0 0 auto !important;
  width: auto !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #13172B !important;
  white-space: nowrap !important;
  display: inline-flex !important;
}
.products li.ova-product .yachbat-product-price .define_1_day {
  flex: 0 0 auto !important;
  width: auto !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #6B7280 !important;
  white-space: nowrap !important;
  display: inline-flex !important;
}

/* specs preko slike */
.ova-product .yachbat_head_product .yachbat-product-features li.yachbat-product-features-item {
    font-family: 'Work sans'!important;
    font-size: 14px!important;
}

/* gumb */
.products li.ova-product .yachbat_foot_product .yachbat-product-wrapper-price .product-btn-book-now {
  flex: 0 0 auto !important;
  align-self: flex-end !important;
  border: 1px solid #1A2B4A !important;
  border-radius: 7px !important;
  padding: 9px 14px !important;
  margin: 0 !important;
  font-family: 'Inter' !important;
  font-size: 13px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  background-color: transparent !important;
  color: #1A2B4A !important;
  white-space: nowrap !important;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease !important;
}
.ova-product .yachbat_foot_product .yachbat-product-wrapper-price .product-btn-book-now i {
    display: none !important;
}
.products li.ova-product:hover .yachbat_foot_product .yachbat-product-wrapper-price .product-btn-book-now {
  background-color: #3256C6 !important;
  border-color: #3256C6 !important;
  color: #fff !important;
}

/* ===== PAGINACIJA ===== */
.woocommerce-pagination {
    margin: 0 0 30px !important;
}
.woocommerce.woocommerce-pagination ul.page-numbers li .page-numbers, .woocommerce .page-numbers li .page-numbers, nav.woocommerce-pagination ul.page-numbers li .page-numbers, nav .page-numbers li .page-numbers {
    font-size: 14px !important;
    background-color: #F4F6FA !important;
}
.woocommerce.woocommerce-pagination ul.page-numbers li .page-numbers:hover, .woocommerce.woocommerce-pagination ul.page-numbers li .page-numbers:focus, .woocommerce.woocommerce-pagination ul.page-numbers li .page-numbers.current, .woocommerce .page-numbers li .page-numbers:hover, .woocommerce .page-numbers li .page-numbers:focus, .woocommerce .page-numbers li .page-numbers.current, nav.woocommerce-pagination ul.page-numbers li .page-numbers:hover, nav.woocommerce-pagination ul.page-numbers li .page-numbers:focus, nav.woocommerce-pagination ul.page-numbers li .page-numbers.current, nav .page-numbers li .page-numbers:hover, nav .page-numbers li .page-numbers:focus, nav .page-numbers li .page-numbers.current {
    background-color: #3256C6 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}


/* Destinations sekcija – plava, full width */
.archive-extra-section.archive-destinations {
  background: #26429B;
  padding: 60px 0 0 !important;          
  margin-top: 50px;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* unutarnji wrapper – boxed, centriran */
.archive-extra-section.archive-destinations .archive-extra-inner {
  max-width: 1200px;        /* ista širina kao ostali content */
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* tekst bijel */
.archive-extra-section.archive-destinations .archive-section-title, .archive-extra-section.archive-top-offers .archive-section-title {
    font-family: 'Playfair Display' !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0 0 30px !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;

}

.archive-extra-section.archive-destinations .archive-section-title {
    color: #ffffff !important;
}

.archive-extra-section.archive-top-offers .archive-section-title {
    color: #1A2B4A !important;
}

.archive-extra-section.archive-destinations .archive-extra-eyebrow, .archive-extra-section.archive-top-offers .archive-extra-eyebrow {
    display: flex !important;
    justify-content: center !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    margin: 0 !important;
    margin-bottom: 5px !important;
    text-align: center !important;
}
.archive-extra-section.archive-destinations .archive-extra-eyebrow {
    color: #AEBEF0 !important;
}

.archive-extra-section.archive-top-offers .archive-extra-eyebrow {
        color: #3256C6 !important;
}

.archive-extra-section.archive-top-offers {
    padding-top: 60px !important;
}


/* Destinations sekcija – full width */
.archive-extra-section.archive-our-fleet-cards-section {
    margin-top: 50px;
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* ===== COLLAPSIBLE DESTINATION DESCRIPTION ===== */
.archive-description {
    position: relative;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin: 40px 0 20px;
}

.archive-description.is-open {
    max-height: 5000px;
}

.archive-description-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid #1A2B4A!important;
    border-radius: 999px;
    padding: 10px 22px;
    font-family: 'Inter', sans-serif!important;
    font-size: 14px;
    font-weight: 600;
    color: #1A2B4A;
    cursor: pointer;
    margin: 20px auto 40px;
    display: flex;
    transition: background 0.2s, color 0.2s;
}

.archive-description-toggle:hover {
    background: #1A2B4A;
    color: #fff;
    border-color: #1A2B4A;
}

.archive-description-toggle .toggle-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.archive-description-toggle.is-open .toggle-arrow {
    transform: rotate(180deg);
}

.archive-description-close {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none!important;
    border: 1px solid #1A2B4A!important;
    border-radius: 999px!important;
    padding: 10px 22px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1A2B4A;
    cursor: pointer;
    margin: 30px auto 0px;
    transition: background 0.2s, color 0.2s;
}

.archive-description-close:hover {
    background: #1A2B4A!important;
    color: #fff!important;
    border-color: #1A2B4A!important;
}
