/**
* 2007-2025 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2025 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

.orblock-new-products-section {
  margin: 40px 0;
  padding: 0 15px;
}


.orblock-new-products-section .orblock-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  background: none;
  padding: 0;
  width: 100%;
}

.orblock-new-products-section .orblock-title {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
}

.orblock-new-products-section .orblock-see-all {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  line-height: 24px;
  font-size: 16px;
}

.orblock-new-products-section .orblock-content {
  display: flex;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  width: 100%;
}

.orblock-new-products-section .orblock-image-section {
  position: relative;
  border-radius: 16px;
  padding: 20px 0 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  max-width: 40%;
  height: 100%;
}

.orblock-new-products-section .orblock-image-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orblock-new-products-section .orblock-main-image {
  /* min-width: 566px; */
  height: auto;
  min-width: 100%;
  height: 650px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.orblock-new-products-section .orblock-no-image {
  text-align: center;
  color: #666;
}

.orblock-new-products-section .orblock-no-image p {
  margin: 0;
  font-size: 16px;
}

.orblock-new-products-section .orblock-text-container {
  display: flex;
  position: absolute;
  bottom: 36px;
  left: 36px;
  width: 381px;
  padding: 16px 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex-shrink: 0;
  border-radius: 12px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px) saturate(150%);
  -webkit-backdrop-filter: blur(5px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  max-width: 80%;
}

.orblock-new-products-section .orblock-container-subtitle {
  font-family: "Ciron Classic";
  color: #191818;
  font-size: 28px;
  font-style: normal;
  font-weight: 650;
  line-height: 36px;
  margin: 0;
}

.orblock-new-products-section .orblock-description p {
  font-family: "Ciron Text";
  color: #191818;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
  margin: 0;
}

.orblock-new-products-section .orblock-carousel {
  position: relative;
  border-radius: 16px;
  height: 650px;
  max-width: 60%;
}

.orblock-new-products-section .orblock-products-slider, .orblock-new-products-section .orblock-products-slider .owl-stage-outer, .orblock-new-products-section .orblock-products-slider .owl-stage, .orblock-new-products-section .orblock-products-slider .owl-item {
  height: 100%;
}

.orblock-new-products-section .owl-stage {
  padding-left: 0 !important;
}

.orblock-new-products-section .orblock-products-slider .owl-stage {
  display: flex;
}

.orblock-new-products-section .orblock-products-wrapper {
  overflow: hidden;
}

.orblock-new-products-section .orblock-product-card {
  background: white;
  border-radius: 12px;
  margin: 0 20px 0 0;
  height: 100%;
}

.orblock-new-products-section .orblock-product-card > .product-miniature {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 100%;
  margin-top: 0;
  width: 100%;
}

.orblock-new-products-section .orblock-no-products {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.orblock-new-products-section .orblock-no-products p {
  margin: 0;
  font-size: 16px;
}

.orblock-new-products-section .orblock-carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.orblock-new-products-section .orblock-carousel .owl-prev,
.orblock-new-products-section .orblock-carousel .owl-next {
  position: absolute;
  background: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  pointer-events: all;
}

.orblock-new-products-section .orblock-carousel .owl-prev {
  left: 10px;
}

.orblock-new-products-section .orblock-carousel .owl-next {
  right: 10px;
}

.orblock-new-products-section .orblock-carousel .owl-prev:hover,
.orblock-new-products-section .orblock-carousel .owl-next:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.orblock-new-products-section .orblock-products-slider .owl-prev {
  display: none !important;
}

@media (max-width: 991px) {
  .orblock-new-products-section {
    padding: 0;
  }

  .orblock-new-products-section .orblock-content {
    gap: 20px;
    flex-direction: column;
    width: 100%;
  }

  .orblock-new-products-section .orblock-header {
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 0 16px;
  }

  .orblock-new-products-section .orblock-see-all {
    align-self: flex-end;
    padding-top: 8px;
    width: fit-content;
  }

  .orblock-new-products-section .orblock-carousel {
    max-width: 100%;
    height: auto;
    padding: 0;
  }
  
  .orblock-new-products-section .orblock-title {
    font-size: 28px;
    line-height: 36px;
  }
  
  .orblock-new-products-section .orblock-image-section {
    padding: 16px;
    max-width: 100%;
    min-height: unset;
  }

  .orblock-new-products-section .orblock-main-image {
    width: auto;
    height: auto;
    max-height: 600px;
    aspect-ratio: 1;
  }
  
  .orblock-new-products-section .orblock-products-slider {
    flex-direction: column;
    gap: 4px;
  }

  .orblock-new-products-section .orblock-products-slider .owl-item {
    padding-bottom: 0;
    height: auto;
    min-width: 66vw;
  }
  
  .orblock-new-products-section .orblock-product-card {
    flex: 1;
    max-width: 100%;
    justify-items: center;
    margin: 0 2px;
  }

  .orblock-new-products-section .orblock-product-card .product-thumbnail img {
    height: auto;
    width: 100%;
  }

  .orblock-new-products-section .orblock-text-container {
    left: auto;
    bottom: 32px;
    max-width: 100%;
    gap: 8px;
    width: calc(100% - 64px);
  }
  .orblock-new-products-section .orblock-text-container .btn.btn-primary {
    width: fit-content;
    padding: 14px 24px;
  }

  .orblock-new-products-section .orblock-container-subtitle {
    font-size: 20px;
    line-height: 28px;
  }

  .orblock-new-products-section .orblock-description p {
    font-size: 16px;
    line-height: 24px;
  }

  .orblock-new-products-section .orblock-products-slider .owl-dots {
    width: 100%;
    margin-top: 35px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 4px;
  }

  .orblock-new-products-section .orblock-products-slider .owl-dots .owl-dot {
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 25%;
    background-color: #D9D9D9;
    overflow: hidden;
  }

  .orblock-new-products-section .orblock-products-slider .owl-dots .owl-dot.active {
    background-color: #191818;
  }
}
