* {margin:0px; padding: 0px;}

body{
  background-color: #f9f9f9;
  font-weight: 400;
  font-size: 14px;
  font-family: "Afacad";
}

html {
  scroll-behavior: smooth;
}

:root {
  --dark: #1d1d1d;
  --darklight: #575757;
  --black: #000000;
  --white: #fff;
  --redlight: #ec7d7d;
  --red: #e05353;
  --darker: #cc3636;
}

.bg-header{
  width: 100%;
  height: 80px;
  background-color: var(--dark);
  box-shadow: 0px 0px 10px #e9e9e9;
}

header{
  margin-left: auto;
  margin-right: auto;
  width: 1300px;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo{
  margin-top: 4px;
}

nav ul{
  display: flex;
}

nav li{
  list-style-type: none;
  padding-left: 25px;
  padding-right: 25px;
}

nav a{
  text-decoration: none;
  color: var(--white);
  font-weight: 400;
}

nav a:hover{
  color: var(--red);
}

.panel-button{
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: var(--white);
  border: 1px solid var(--darklight);
  padding: 9px 14px;
  transition: 0.2s;
  border-radius: 99px;
}

.panel-button:hover{
  border: 1px solid var(--red)
}

#search{
  margin-top: 100px;
  width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

.search-container{
  background: var(--white);
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 0px 10px #e9e9e9;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.search-header{
  display: flex;
}

.search-header-category-select {
  position: relative;
  display: inline-block;
}

.search-header-category-select-button {
  height: 50px;
  padding-left: 22px;
  padding-right: 22px;
  display: flex;
  justify-content: center;
  font-size: 13px;
  align-items: center;
  background-color: var(--red);
  color: #ffffff;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0px 0px 10px #e9e9e9;
  transition: 0.2s;
}

.search-header-category-select-button::after {
    content: '\25BE'; /* Unicode dla strzałki w dół (▾) */
    margin-left: 8px;
    color: white;
}

.search-header-category-select-button:hover {
  background-color: var(--redlight); /* Ciemniejszy odcień dla efektu hover */
}

.search-header-category-select-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 210px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  top: 100%;
  left: 0;
  border-radius: 4px;
}

.search-header-category-select-menu a {
  color: #333;
  padding: 12px 12px;
  text-decoration: none;
  display: block;
}

.search-header-category-select-menu a:hover {
  background-color: #f1f1f1;
}

.search-header-category-select:hover .search-header-category-select-menu {
  display: block;
}

.search-form{
  width: 1250px;
  display: flex;
  margin-top: 35px;
  margin-left: auto;
  margin-right: auto;
}

.search-form-left{
  display: flex;
}

.search-div{
  width: 175px;
  display: flex;
  flex-direction: column;
  padding-right: 10px;
}

.search-select{
  height: 40px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  padding-left: 8px;
  font-size: 13px;
  margin-top: 5px;
  color: #535353;
  border: 1px solid #c5c5c5;
  background-color: #ffffff;
}

.search-submit{
  width: 140px;
  height: 40px;
  background-color: var(--red);
  border: 0;
  border-radius: 6px;
  margin-top: 24px;
  color: var(--white);
  transition: 0.2s;
  cursor: pointer;
}

.search-submit:hover{
  background-color: var(--redlight);
}

.search-more{
  margin-left: 25px;
  margin-top: 20px;
}

#category{
  margin-top: 100px;
}

.category-container{
  
  width: 1300px;
  min-height: 200px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 10px;
  padding-bottom: 30px;
}

.category-title{
  padding-bottom: 15px;
}

.category-item{
  width: 1300px;
  height: 200px;
  background-color: #ffffff;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  text-decoration: none;
  box-shadow: 0px 0px 10px #e9e9e9;
  transition: 0.2s;
}

.category-item-image{
  width: 320px;
  height: 200px;
  background-color: #eeeeee;
}

.category-item-image img{
  object-fit: cover;
}

.category-item-text{
  width: 980px;
}

.category-item-text-up{
  display: flex;
  justify-content: space-between;
  margin-left: 20px;
  margin-right: 20px;
  margin-top: 10px; 
}

.category-item-text-up-left{
  font-size: 18px;
  color: #1d1d1d;
  font-weight: 600;
}

.category-item-text-up-right{
  font-size: 17px;
  color: #313131;
}

.category-item-text-mid{
  margin-top: 20px;
  margin-left: 20px;
  margin-right: 20px;
  display: flex;
}

.category-item-text-mid-item{
  border-radius: 15px;
  margin-right: 30px;
  color: #494949;
  display: flex;
  align-items: center;
}

.category-item-text-mid-item img{
  margin-right: 5px;
}

.category-item-text-down{
  display: flex;
  justify-content: space-between;
  margin-left: 20px;
  margin-right: 20px;
  margin-top: 79px;
  color: #494949;
}

.pagination{
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}

.pagination a {
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 3px;
  color: var(--black);
}
.pagination a:hover {
  background-color: #eeeeee;
}

#offer{
  width: 1300px;
  margin-top: 80px;
  margin-left: auto;
  margin-right: auto;
}

.offer-header{
  height: 60px;
  display: flex;
  align-items: center;
}

.offer-header a{
  text-decoration: none;
  color: var(--black);
}

.offer-container{
  box-shadow: 0px 0px 10px #e9e9e9;
  background-color: var(--white);
  padding: 25px;
  display: flex;
  flex-direction: column;
}

.offer-up{
  display: flex;
}

.offer-down{
  width: 800px;
}

.offer-down-title-description{
  font-size: 24px;
  font-weight: 600;
  margin-top: 70px;
}

.offer-down-description-item{
  width: 30%;
  display: flex;
  flex-direction: column;
  margin-right: 50px;
  text-decoration: none;
  color: var(--dark)
}

.offer-down-description{
  margin-top: 25px;
  display: flex;
}

.offer-down-info{
  margin-top: 25px;
}

.offer-down-info-item{
  display: flex;
  padding: 5px 0px;
}

.offer-down-info-left{
  width: 400px;
}

.offer-down-info-right{
  width: 400px;
}

.offer-right{
  padding-left: 25px;
  width: 100%;
}

.offer-right-title{
  font-size: 22px;
  font-weight: 600;
}

.offer-right-price{
  font-size: 24px;
  margin-top: 20px;
  border-bottom: 1px solid #cecece;
  padding-bottom: 30px;
}

.offer-gallery-container {
  width: 800px;
  margin-bottom: 50px;
}

.offer-main-image-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* Proporcje 16:9 */
  background-color: #f5f5f5;
  overflow: hidden;
}

.offer-main-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Zachowuje proporcje obrazu */
  display: block; /* Upewnia się, że obraz jest blokiem */
}

.offer-arrow {
  position: absolute;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 14px;
  z-index: 10;
}

.offer-main-arrow {
  top: 50%;
}

.offer-arrow-left {
  left: 10px;
}

.offer-arrow-right {
  right: 10px;
}

.offer-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.offer-thumbnails-container {
  position: relative;
  margin-top: 10px;
}

.offer-thumbnails {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-sizing: content-box;
}

.offer-thumbnails::-webkit-scrollbar {
  display: none;
}

.offer-thumbnail {
  flex: 0 0 100px;
  height: 75px;
  margin-right: 10px;
  scroll-snap-align: start;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
  box-sizing: border-box;
}

.offer-thumbnail.active {
  opacity: 1;
}

.offer-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-arrow-left.thumb-arrow {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.offer-arrow-right.thumb-arrow {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.offer-info-header{
  width: 800px;
  display: flex;
  justify-content: space-between;
}

.offer-info-header-item{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.offer-info-header-item-image{
  margin-bottom: 20px;
}

footer{
  width: 100%;
  height: 300px;
  background-color: #ffffff;
  margin-top: 150px;
  box-shadow: 0px 0px 10px #e9e9e9;
}

select:disabled {
  cursor: not-allowed;
}

@media only screen and (max-width: 1300px) and (min-width: 1024px) {



}

@media only screen and (max-width: 1024px) and (min-width: 768px) {



}

@media only screen and (max-width: 768px) and (min-width: 520px){



}

@media only screen and (max-width: 520px) and (min-width: 0px){



}
