
@import 'main.css';


.my-slider {
    height: 70vh; /* 60% wysokości widoku */
    position: relative;
    overflow: hidden;
}

.my-slider img {
      width: 100%;
    height: 100%;
    object-fit: cover;      /* <-- kluczowy efekt cover */
    object-position: center;/* opcjonalnie: środek zdjęcia */
    display: block;
}

.slick-prev,
.slick-next {
    display: block;
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    /* color: #fff;
    background: rgba(0,0,0,0.4);
    padding: 10px;
    border-radius: 50%;
    cursor: pointer; */
}

.slick-prev {
    left: 20px;
}

.slick-next {
    right: 20px;
}


/* Dots na zdjęciu */
.my-slider .slick-dots {
    position: absolute;
    bottom: 20px;      /* odległość od dolnej krawędzi slidera */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex !important;
    justify-content: center;
    gap: 10px;
}

.my-slider .slick-dots li button:before {
    font-size: 12px;
    color: #fff;       /* kolor kropek */
    opacity: 0.7;
}

.my-slider .slick-dots li.slick-active button:before {
    opacity: 1;
    color: #ff4081;    /* kolor aktywnej kropki */
}


.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 50px 0;
}

.category-box {
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: 200px; */
    /* height: 80px; */
    border: 1px solid #d2d2d2ff;
    border-radius: 30px;
    background-color: #fffefeff;
    /* font-weight: bold; */
    font-size: 16px;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s, background-color 0.3s;
	padding: 20px 50px;
	text-align: center;
	font-weight: bold;
}

.category-box:hover {
    transform: scale(1.05);
    background-color: #ff4081;
	color:white
}



.site-header-main{
	display: flex;
	justify-content: center;
	gap: 20px;
	border-top: 1px solid #e0e0e0;
	width:80%;
	margin:0 auto;
	padding:20px
}


.site-header-main a{
	color:black;
	text-decoration: none;
	font-weight: bold;
}

.site-header-main a:hover{
	color:	#ff4081;
 	cursor: pointer;
}

.top-tag{
	display: flex;
	justify-content: center;
	gap: 50px;
	font-size: 20px;
	font-weight: bold;
	margin-top: 40px;
	margin-bottom: 40px;
	text-transform: uppercase;
}


.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.product-item {
    position: relative;
    text-align: center;
}

.product-image {
    position: relative;
}

.product-image img {
    width: 100%;
    display: block;
}

.product-tags {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-tags .tag {
    background-color: rgba(255, 0, 0, 0.8);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 3px;
}

.product-tags .tag.sale { background-color: #ff9900; }
.product-tags .tag.clearance { background-color: #000; }
.product-tags .tag.new { background-color: #e91e63; }

.product-title {
    margin: 10px 0 5px;
    font-size: 16px;
}

.price {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

/* Responsywność */
@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }



    .my-slider {
     height: 300px; /* 60% wysokości widoku */
    }



}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }

}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 80%;
    margin: 0 auto;
}

.promo-item {
    text-align: center;
}

.promo-item img {
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;
    margin:0 20px 0 20px
}

.promo-item img:hover {
    transform: scale(1.05);
}

.promo-item h2 {
    margin-top: 10px;
    font-size: 1.2rem;
}



.top-tag {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;

    /* To sprawia, że elementy przechodzą do nowej linii */
    flex-wrap: wrap; 
    
    /* Wyśrodkowanie elementów, gdy przejdą do nowej linii */
    justify-content: center; 
    
    /* Odstępy między elementami */
    gap: 20px 50px; /* 20px w pionie (między liniami), 50px w poziomie */
    
    font-size: 25px;
    font-weight: bold;
    text-transform: uppercase;

}

.top-tag div {
    cursor: pointer;
    padding: 8px 15px;
    border-bottom: 2px solid transparent;
}

.top-tag div.active {
    border-bottom: 2px solid #ff4081;
    font-weight: bold;
}

#home-tabs-content.loading {
    opacity: 0.5;
    pointer-events: none;
}


.latest-products-grid {
    width: 70%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    /* border: 1px solid #ddd; */
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    background: #fff;
	height: 520px;
}

.product-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transform: translateY(-5px);
}

.product-image-wrapper {
   position: relative;
    flex: 1; /* obrazek zajmuje całą dostępną wysokość */
    overflow: hidden;
}

.product-image-wrapper img {
    width: 300px;
    display: block;
	height: 400px;
	object-fit: contain;
    margin: auto
}



.product-title {
    margin: 10px;
    font-size: 18px;
    text-align: center;
	text-decoration: none;
	color: black;
	
}



.product-price {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-price {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}


/* Stylizacja Siatki */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 równe kolumny */
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
}

/* Stylizacja pojedynczego boksu */
.feature-box {
    position: relative;
    border: 5px solid #5a6472; /* Kolor ciemnej ramki z obrazka */
    padding: 60px 20px 40px;
    text-align: center;
    background-color: #fff;
}

/* Ikona na górnej krawędzi */
.feature-box__icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%); /* Idealne centrowanie na linii */
    background-color: #fff; /* Musi być taki sam jak tło strony */
    padding: 0 15px;
    width: 60px;
}

.feature-box__icon img {
    width: 100%;
    height: auto;
    /* Filtr, jeśli chcesz uzyskać złoty kolor z czarnej ikony */
    filter: sepia(1) saturate(5) hue-rotate(10deg); 
}

/* Teksty */
.feature-box__title {
    font-family: "Playfair Display", serif; /* Elegancki font szeryfowy */
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.feature-box__subtitle {
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    color: #444;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Złota linia na dole */
.feature-box__divider {
    width: 80px;
    height: 1px;
background-color: var(--main-color-hover);  
    margin: 0 auto;
}

.site-header-main.header-search{
    display:none;
}


/* RWD - na telefonach jedna pod drugą */
@media screen and (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 60px; /* Większy odstęp ze względu na ikony */
    }

    .promo-grid{
         max-width: 100vw !important;
        gap:5px !important;
        width:100% !important;  
        margin:0;

    }

   .promo-item img {
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;
    margin: 0;
}

.top-tag {
        gap: 15px 20px; /* Zmniejszamy odstępy na telefonach, żeby więcej się zmieściło */
        font-size: 16px;
    }
.latest-products-grid {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto;
    gap: 20px;
}

.product-card {
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    background: #fff;
   height: auto;
}

.product-image-wrapper{
    height:300px;

}


}