@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap');
#header{
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
}

@media (min-width: 768px){
  .col-md-2{
    width: 280px !important;
  }
}


.menu{
    display: flex !important;
    justify-content: center;
    align-items: center;
    background-color: #007398;
}

/* Zmiana koloru tekstu w głównym menu */
#_desktop_top_menu .top-menu a {
    transition: color 0.3s ease-in-out;
}
@media (min-width: 768px) {
  
  .js-top-menu{
    height: 50px !important;
  }
  
  .dropdown-item{
    color: white !important;
    font-size:1.4rem !important;
  }
  .top-menu{
    display: flex !important;
    justify-content: center !important;
    gap: 20px;
    width: auto !important;
  }

  .dropdown-submenu {
    color: #121212 !important;
    font-size: 1.3rem !important;
    text-transform: none !important;
  }
  
  .sub-menu{
    margin-left: 0px !important;
    width: calc(100%) !important;
    min-width: calc(100%) !important;
  }

}

@media (max-width: 769px) {
  
}

/* Zmiana koloru tekstu po najechaniu */
#_desktop_top_menu .top-menu a:hover {
    color: #7cb7ca !important; 
}

body{
  font-family: 'Montserrat', sans-serif !important;
}

#custom-text p{
    font-size: 18px;
}



.products-section-title {
    font-weight: 400 !important;
    font-size: 22px;
}



#footer>.container{
    border-bottom: 2px solid #007398;
    padding-bottom: 20px;
}

.current-price-value{
    font-size: 18px;
}

/* Usunięcie białego paska po hoverze */
.product-miniature .highlighted-informations {
    display: none !important;
  }



/* =============  SLIDER DESKTOP (Bootstrap 5)  ============= */
@media (min-width: 991px){
  /* pełna szerokość poza containerem */
  #carousel{
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top:-30px;
  }

  .caption{
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    left: auto !important;
    bottom: auto !important;
    width: 750px !important;
    max-width: 750px !important;
    background-color: #00000069;
    padding: 0px 50px;
    height: 230px;
    border-radius: 15px;
  }

  .carousel-item img {
    width: 100% !important;
    height: 600px !important;
    object-fit: cover;
  }

  .caption-description>h2{
    margin-bottom: 20px
  }

  figure{
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Wysokość całego wrappera (slajd + animacja) */
  #carousel .carousel-inner{
    height: 550px;
  }

  /* JEDYNE  potrzebne rzeczy na każdym etapie animacji */
  #carousel .carousel-item,
  #carousel .carousel-item-next,
  #carousel .carousel-item-prev,
  #carousel .carousel-item.active{
    height: 100%;           /* <— dziedziczy 550 px z .carousel-inner */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  /* Box z tekstem – bez zmian */
  .carousel-caption-wrapper{
    position: absolute;
    top:50%;left:50%;transform:translate(-50%,-50%);
    max-width:800px;padding:2rem 2.5rem;
    background:rgba(0,0,0,.5);color:#fff;text-align:center;
    z-index:10;
  }
  .carousel-caption-wrapper h2{font-size:2.5rem;font-weight:700;margin:0 0 1rem;color:#3db0f7}
  .carousel-caption-wrapper p{font-size:1.2rem;margin:0 0 1rem}
  .carousel-caption-wrapper .btn{font-size:1.1rem;padding:.8rem 1.6rem;background:#007fa3;color:#fff;border-radius:4px;font-weight:700;text-decoration:none;transition:background .3s}
  .carousel-caption-wrapper .btn:hover{background:#005c77;color:#fff;text-decoration:none}
}

@media (max-width: 990px) {
  #carousel {
    width: 100vw;
    margin-left: -50vw !important;
    margin-top: -30px !important;
    overflow: hidden;
  }

  #carousel .carousel-inner {
    height: 400px;
  }

  #carousel .carousel-item,
  #carousel .carousel-item-next,
  #carousel .carousel-item-prev,
  #carousel .carousel-item.active {
    width: 100vw !important;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .caption{
    margin-top: -310px !important;
    background-color: #00000069;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  figure {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .carousel-item img {
    width: 100vw !important;
    height: 400px !important;
    object-fit: cover;
    display: block;
  }
}



.header-top-right #search_widget form {
  max-width: 500px;
  width: 100%;
}

#wrapper{
  background-color: white !important;
}

.product-category {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 5px;
  margin-bottom: 5px;
}

.product-title a {
  font-size: 1.0em !important;
  font-weight: bold !important;
  color: #121212 !important;
  margin-bottom: 10px;
}

.product-title {
  color: #121212
}

.price{
  font-size: 1.0em !important;
}

.product-price-and-shipping {
  font-size: 1.0em !important;
  color: #01a1d7 !important;
  margin-bottom: 10px;
}

.product-miniature .product-actions {
  margin-top: 10px;
}

.product-miniature .product-actions .btn {
  background-color: #007bff;
  color: #fff;
  padding: 10px 15px;
  text-transform: uppercase;
  font-size: 0.9em;
}

.add-to-cart {
  width: 100%;
  border-radius: 5px;
}


.top-contact {
  font-size: 15px;
}

.top-contact>span{
  margin-right: 18px;
}

.top-contact a {
  color: #000;
  text-decoration: none;
}

.top-contact a:hover {
  color: #439FD9 !important;
}

.custom-variant-group {
  margin: 20px 0;
}

.variant-label {
  font-weight: bold;
  margin-right: 10px;
}

.h1{
  text-transform: none;
  font-size: 1.8rem !important;
}

.product-miniature .product-title {
  white-space: nowrap;       /* Nie łam wiersza */
  overflow: hidden;          /* Ukryj nadmiar */
  text-overflow: ellipsis;   /* Dodaj wielokropek */
  display: block;
  max-width: 100%;           /* Można dodać np. 200px jeśli chcesz */
  text-transform: none !important;
}

/* Wspólne style dla wszystkich przycisków wariantów */
.variant-btn,
.product-variants .radio-label {
  padding: 8px 16px;
  border: 1px solid #007398;
  border-radius: 4px;
  margin: 5px;
  font-weight: bold;
  cursor: pointer;
  color: #007398;
  background-color: white;
  transition: all 0.3s ease;
}

/* Hover dla obu */
.variant-btn:hover,
.product-variants .radio-label:hover {
  background-color: #e6f4f7;
  color: #005f74;
  border: 1px solid #007398
}

/* Aktywny przycisk szerokości */
.variant-btn.active {
  background-color: #007398;
  color: white;
  border: 1px solid #007398
}

/* Ukryj inputy radiowe */
.product-variants .input-radio {
  display: none;
}

/* Aktywny przycisk pakietu (zaznaczony input radio) */
.product-variants .input-radio:checked + .radio-label {
  background-color: #007398;
  color: white;
  border: 1px solid #007398;
}

.header-nav > .container > .row > .hidden-sm-down{
  display: flex;
  padding: 0px !important;
  justify-content: space-between;
  align-items: center;
}



.wishlist-button-add i {
  color: #007398 !important;
}

.input-container .radio-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  width: 100%;
  line-height: 1.3;
  font-size: 14px;
}

.input-container .radio-label small {
  font-size: 12px;
  color: #121212 !important;
  margin-top: 2px;
}

label:has(input.input-radio:checked) small {
  color: white !important;
}

.control-label{
  font-weight: 600 !important;
}

.tax-shipping-delivery-label{
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #434343;
  margin-top: -10px;
  margin-bottom: 20px !important;
}

.current-price>.current-price-value{
  font-size: 21px !important;
  font-weight: 700 !important;
}

.unit-price-info {
  display: block;
  font-size: 13px;
  color: #007398;
  font-weight: 600;
}

p, .page-content.page-cms ul{
  color:#121212
}

.custom-tooltip {
  position: absolute;
  background-color: #222;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.custom-tooltip.visible {
  opacity: 1;
}


/* CUSTOM TEXT HOME */
.about-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  text-align: center;
}

.about-section .background-title {
  font-size: 92px;
  font-weight: 900;
  color: #f5c518;;
  opacity: 0.25;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
}

.about-section .headline {
  color: #007398;
  font-weight: bold !important;
  margin-bottom: 20px;
  z-index: 1;
  position: relative;
  text-transform: uppercase;
}

.about-section .intro {
  color: #333;
  max-width: 800px;
  margin: 0 auto 40px;
  z-index: 1;
  position: relative;
}

.about-section .intro strong {
  color: #007398;
}

.about-section .features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  z-index: 1;
  position: relative;
}

.about-section .features div {
  font-size: 20px;
  font-weight: bold;
  color: #007398;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-section .slogan {
  font-size: 17px;
  color: #333;
  margin-top: 40px;
  z-index: 1;
  position: relative;
}

.about-section .slogan strong {
  color: #007398;
}

.about-title {
  font-size: 28px;
  font-weight: 800;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 10px;
}

.title-underline {
  width: 80px;
  height: 4px;
  background-color: #f5c518; /* Twój żółty kolor */
  margin: 0 auto 30px auto;
  border-radius: 2px;
}

.products-section-title {
  position: relative;
  margin-bottom: 20px; /* opcjonalnie zwiększ, jeśli linia nachodzi na tekst */
}

.products-section-title::after {
  content: '';
  position: absolute;
  bottom: -8px; /* odległość linii od tekstu */
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #f5c518; /* Twój żółty kolor */
  border-radius: 2px;
}

@media (min-width: 991px) {

.products-section-title {
  font-size: 32px !important;
}


.about-section .headline {
  font-size: 48px !important;
}
  .about-section .intro {
  font-size: 20px !important;
  }
}

/* PaymentConfirmation – chowamy header, slider i footer */
body#module-przelewy24-paymentConfirmation #header,
body#module-przelewy24-paymentConfirmation #carousel,
body#module-przelewy24-paymentConfirmation #footer            {display:none !important;}


/* ABOUT US - HOMEPAGE*/
.rpack-about-section {
  background-color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.rpack-about-section .about-title {
  font-size: 40px;
  font-weight: 500;
  color: #111;
  margin-bottom: 10px;
}

.rpack-about-section .about-subtitle {
  color: #1ca2e2;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.rpack-about-section .about-desc {
  font-size: 17px;
  max-width: 850px;
  margin: 0 auto 50px auto;
  color: #333;
  line-height: 1.8;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.about-feature-box {
  flex: 1 1 300px;
  max-width: 400px;
  background-color: #f5f9fc;
  padding: 30px 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.03);
}

.about-feature-box h4 {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}

.about-feature-box p {
  font-size: 16px;
  color: #444;
  margin: 0;
}


/* OFFER - HOMEPAGE*/
/* Ogólne marginesy sekcji */
.home-offer-section {
  margin: 60px 0;
}

/* Nagłówek */
.section-title {
  font-size: 35px;
  font-weight: 500;
  line-height: 1.3;
}

.section-title .highlight {
  display: inline-block;
  position: relative;
}

.section-title .highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 60px;
  height: 4px;
  background-color: #f7c600;
}

.section-desc {
  font-size: 18px;
  color: #222;
  margin-top: 20px;
}

/* Kafelki */
.product-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 515px) {
  .product-tiles {
    grid-template-columns: 1fr;
  }
}


.tile {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  aspect-ratio: 1 / 1;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  padding: 50px;
}

/* Tekst na dole (widoczny domyślnie) */
.tile-label {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
  padding: 6px 0;
  font-size: 17px;
  font-weight: 500;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
  transition: 0.3s;
}

/* Overlay (widoczny po najechaniu) */
.tile-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 74, 112, 0.95);
  color: white;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  z-index: 3;
  transition: opacity 0.3s ease;
}

.tile:hover .tile-overlay {
  opacity: 1;
}

.tile:hover .tile-label {
  opacity: 0;
  visibility: hidden;
}

/* Tytuł na overlay */
.tile-overlay h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: white;
}

/* Separator pod tytułem */
.tile-separator {
  width: 40px;
  height: 3px;
  background-color: #f7c600;
  margin: 0 auto 10px auto;
}

/* Opis produktu */
.tile-desc {
  font-size: 14px;
  color: white;
  margin-bottom: 15px;
}

/* Przycisk */
.tile-btn {
  background-color: #f7c600;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  transition: background-color 0.2s ease;
}

.tile-btn:hover {
  background-color: #caa10a;
  color: #fff;
}

/*CONTACT CTA*/
.home-contactcta-section {
  background-color: #f5f9fc;
  padding: 30px 0;
  border-radius: 15px;
}

.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f5f9fc;
  border-radius: 10px;
  padding: 20px 30px;
  flex-wrap: wrap;
}

.cta-content {
  flex: 1 1 auto;
  min-width: 250px;
}

.cta-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111;
}

.cta-text {
  font-size: 1rem;
  margin: 0;
  color: #333;
}

.cta-text a {
  color: #007398;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
}

.cta-text {
  font-size: 18px;
}

.cta-text a:hover {
  text-decoration: underline;
}

.cta-button {
  flex-shrink: 0;
  margin-top: 15px;
}

@media (min-width: 768px) {
  .cta-button {
    margin-top: 0;
    margin-left: 40px;
  }
}

.cta-link {
  background-color: #f7c600;
  color: #000;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.cta-link:hover {
  background-color: #caa10a;
  color: #fff
}
