/* phoneP6.css - Style specyficzne dla telefonów w orientacji pionowej */
:root {
  --displayHeight: 100vh;
  --displayWidth: 100vw;
  --headerHeight: calc((var(--displayWidth) * 0.9) / 4.757);
  --itemHeight: calc(var(--displayHeight) * 0.5);
  --saleButtonColor: rgb(255, 0, 0);
  --socialHeight: calc(var(--headerHeight) * 0.3);
}

body {
  font-family: "Cabin", sans-serif;
  height: var(--displayHeight);
  min-width: 200px;
  min-height: 250px;
  max-height: calc(var(--displayWidth) * 2);
  background: #ffffff;
}

h1,
h2,
h3,
h4,
p {
  font-family: "Audiowide", cursive;
}

header {
  border-radius: 6px;
  display: block;
  position: fixed;
  top: calc(var(--displayHeight) * 0.01);
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: var(--headerHeight);
}

header img {
  position: relative;
  max-height: 100%;
  max-width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

nav {
  top: calc(var(--headerHeight) + var(--socialHeight) + 2%);
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  position: fixed;
}

.ddButton {
  padding: 1.4% 0;
  margin: 2% 0;
  font-size: calc(var(--displayHeight) * 0.022);
}

.dropDown {
  display: none;
}

.dropDown.active {
  display: flex;
  height: var(--itemHeight);
  overflow: auto;
  flex-wrap: wrap;
  justify-content: center;
}

.item {
  position: relative;
  height: var(--itemHeight);
  flex-basis: var(--itemHeight);
  border: 1px solid rgb(50, 130, 184);
  border-radius: 6px;
  box-sizing: border-box;
  overflow: hidden;
}

.itemImages {
  position: relative;
}

.leftArrow {
  left: 1px;
}

.rightArrow {
  right: 1px;
}

.arrowIcon {
  font-size: calc(var(--displayHeight) * 0.03);
}

.itemProducerLogo {
  position: absolute; /* DODANE */
  left: 50%;
  top: 2%;
  transform: translateX(-50%);
  width: 50%;
  height: auto;
  z-index: 2;
}

.itemProductNameLogo {
  position: absolute; /* DODANE */
  left: 50%;
  top: 11%;
  transform: translateX(-50%);
  width: 50%;
  height: 4%;
  z-index: 2;
}

.itemProducerLogo img,
.itemProductNameLogo img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.itemProductNameLogo img {
  position: absolute;
  right: 0;
}

.desLabel {
  display: flex;
  justify-content: space-around;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 3;
  width: 80%;
  height: auto;
  text-align: center;
}

.pricebutton {
  border: 2px solid rgb(50, 130, 184);
  background-color: rgb(255, 255, 255);
  color: rgb(50, 130, 184);
  padding: 1% 2%;
  font-size: calc(var(--displayHeight) * 0.025);
  margin-bottom: 2%;
  width: 17%;
}

.pricebutton.promo {
  border: 2px solid var(--saleButtonColor);
  color: var(--saleButtonColor);
}

.pricebutton.promo:hover {
  color: rgb(255, 255, 255);
  background-color: var(--saleButtonColor);
}

.pricebutton.promo:active {
  border: 2px solid var(--saleButtonColor);
}

.priceLabel {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 65%;
  width: 80%;
  text-align: right;
  height: auto;
  z-index: 3;
  color: rgb(50, 130, 184);
}

.priceLabel.promo {
  color: var(--saleButtonColor);
}

.priceLabel h2 {
  font-size: calc(var(--displayHeight) * 0.031);
}

.priceLabel h3 {
  font-size: calc(var(--displayHeight) * 0.022);
}

.priceLabel.promo h3:last-of-type {
  color: var(--saleButtonColor);
  position: absolute;
  left: -5;
  top: 40%;
  transform: rotate(13deg);
}

.price {
  display: none;
}

.price.active {
  display: inline-block;
}

.serviceDes,
.contact {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  color: rgb(0, 0, 0);
}

.serviceDes {
  overflow: auto;
}

.serviceDes article {
  text-align: left;
  padding: 1% 4%;
  margin: 0 auto;
}

article h4 {
  font-size: calc(var(--displayHeight) * 0.021);
}

article p {
  font-size: calc(var(--displayHeight) * 0.019);
}

.contact {
  text-align: center;
  overflow: auto;
}

.contact h2 {
  font-size: calc(var(--displayHeight) * 0.032);
  padding: 1.5% 0;
}

.contact h1 {
  font-size: calc(var(--displayHeight) * 0.032);
  padding: 1.5% 0;
}

.contact h3 {
  font-size: calc(var(--displayHeight) * 0.023);
  padding: 1% 0;
}

.contact p {
  font-size: calc(var(--displayHeight) * 0.015);
}

.color1 {
  color: rgb(187, 225, 250);
}

.cookies {
  display: none;
}

.cookies.active {
  display: block;
  position: fixed;
  bottom: 0;
  width: var(--displayWidth);
  height: calc(var(--displayHeight) * 0.14);
  background-color: rgba(211, 211, 211, 0.7);
  z-index: 100;
}

.desCookies {
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 60%;
  font-size: calc(var(--displayHeight) * 0.017);
  color: rgb(15, 76, 117);
}

.closeCookies {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgb(15, 76, 117);
  font-size: calc(var(--displayHeight) * 0.017);
  color: rgb(15, 76, 117);
  border-radius: 3px;
  background-color: rgb(255, 255, 255);
  padding: 0.3%;
}

.closeCookies:hover {
  color: rgb(255, 255, 255);
  background-color: rgb(15, 76, 117);
}

.galleryWindow {
  position: fixed;
  top: 50%;
  left: 50%;
  height: calc(var(--displayWidth) - 5%);
  transform: translate(-50%, -50%);
  border: 1px solid rgb(50, 130, 184);
  border-radius: 6px;
  box-sizing: border-box;
  overflow: hidden;
}

.displayedSlide {
  position: relative;
  height: calc(var(--displayWidth) - 5%);
}

.nextSlideButton,
.prevSlideButton {
  height: 60%;
  width: 5%;
}

.nextSlideButton {
  right: 1px;
}

.prevSlideButton {
  left: 1px;
}

.nextSlideButton i,
.prevSlideButton i {
  font-size: calc(var(--displayHeight) * 0.025);
}

.social-links {
  position: fixed;
  top: calc(var(--headerHeight) + var(--displayHeight) * 0.01);
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: var(--socialHeight);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(3px);
}

.social-links span {
  font-family: "Audiowide", cursive;
  color: rgb(50, 130, 184);
  font-size: clamp(12px, calc(var(--headerHeight) * 0.15), 24px);
}

.social-links a {
  color: var(--saleButtonColor);
  text-decoration: none;
  font-family: "Cabin", sans-serif;
  font-weight: 700;
  font-size: clamp(14px, calc(var(--headerHeight) * 0.18), 28px);
  padding: 5px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: rgba(50, 130, 184, 0.1);
  transform: translateY(-2px);
}

.social-links a:active {
  transform: translateY(0);
}

.footer-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 5%;
  z-index: 3;
  border-top: 1px solid #3282b8;
  backdrop-filter: blur(2px);
}

.footer-notice p {
  font-family: "Cabin", sans-serif;
  font-size: calc(var(--headerHeight) * 0.1);
  color: #3282b8;
  text-align: center;
  margin: 0;
}
.btn-to-call,
.btn-to-blog {
  border: none;
  width: 80%;
  padding: 8px 18px;
  cursor: pointer;
 font-size: calc(var(--displayHeight) * 0.022);
  margin-top: 8px;
  display: inline-block;
  text-decoration: none;
  transition: background 0.2s ease;
  user-select: none;
}
.btn-to-call:hover,
.btn-to-blog:hover,
.btn-to-blog:focus {
  background: rgb(15, 76, 117);
  outline: none;
  
}
.btn-to-call {
  font-size: calc(var(--displayHeight) * 0.028);
  padding: 6px 16px;
}
.sms {
  padding: 5px 15px;
  
}
.sync-item {
  position: relative;
  height: var(--itemHeight);
  flex-basis: var(--itemHeight);
  border: 1px solid rgb(50, 130, 184);
  border-radius: 6px;
  box-sizing: border-box;
  overflow: hidden;
}

.sync-arrow.leftArrow {
  left: 1px;
}

.sync-arrow.rightArrow {
  right: 1px;
}

.sync-button {
  border: 2px solid rgb(50, 130, 184);
  background-color: rgb(255, 255, 255);
  color: rgb(50, 130, 184);
  padding: 1% 2%;
  font-size: calc(var(--displayHeight) * 0.025);
  margin-bottom: 2%;
  width: 17%;
}

.sync-button.active {
  background-color: rgb(15, 76, 117);
  color: white;
}

.sync-price {
  display: none;
}

.sync-price.active {
  display: inline-block;
}

.sync-item .priceLabel {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 65%;
  width: 80%;
  text-align: right;
  height: auto;
  z-index: 3;
  color: var(--saleButtonColor);
}

.sync-item .priceLabel h3 {
  font-size: calc(var(--displayHeight) * 0.022);
}

.sync-item .priceLabel h3 span.sync-price {
  font-size: calc(var(--displayHeight) * 0.031);
}

.sync-item .priceLabel.promo h3 {
  position: static;
  transform: none;
  left: auto;
  top: auto;
  color: var(--saleButtonColor);
}

/* .smsOrder {
font-size: calc(var(--displayHeight) * 0.015);
  background-color: rgb(50, 130, 184);
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 6px 4px;
  border-radius: 10px;
  transition: background 0.3s;
  display: flex;
  justify-content: space-around;
  position: absolute;
  left: 17%;
  top: 58%;
  transform: translateX(-50%);
  z-index: 10;
  height: auto;
  text-align: center;
  cursor: pointer
}

.smsOrder:hover {
  background-color: #1565c0;
} */
