@font-face { font-family: 'bastian'; src: url('../css/Bastian-ZVZzq.otf');}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.titles{
	font-family:bastian;
	color: #b60202;
  text-shadow: 2px 2px #E7B5B5;
font-size: 23px;
  font-weight: bold;
}
.btn-whatsapp, .btn-phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 15px;
	background-color: #25D366;
	color: white;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	transition: transform 1s ease, box-shadow 1s ease;
	
  overflow: hidden;
  cursor:pointer;
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 
    -2px -2px 6px rgba(255, 223, 212, 0.7),
    6px 6px 12px rgba(0, 0, 0, 0.35);
}
 .btn-phone:hover {
  transform: translateY(-2px);
  box-shadow: 
    -2px -2px 6px rgba(255, 223, 212, 0.7),
    6px 6px 12px rgba(0, 0, 0, 0.35);
}

body {
    font-family: Arial, sans-serif;
	font-size:14px;
	color:rgba(255, 255, 255, 0.5);
}
.logout a{color:#fff;}
a {text-decoration:none;
color:#f0768b;}
li{list-style-type: none;
padding-top: 5px;
  margin-top: 5px;}
li a {margin-top:10px;margin-left:10px;}
header {
    background-color: #f0768b;
    color: white;
    padding: 10px 20px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu ul {
    list-style: none;
    display: flex;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
}

.content-container {
    display: flex;
    margin: 20px;
}

.sidebar {
    width: 25%;
   /* background-color: #f0768b;*/
    padding: 20px;
	border: 2px solid #f0768b; /* Grubość i kolor ramki */
    border-radius: 8px; /* Zaokrąglenie rogów (opcjonalnie) */
    padding: 20px; /* Wewnętrzne wcięcie */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Cień: przesunięcie w poziomie, przesunięcie w pionie, rozmycie, kolor */
    background-color: white;/*  Kolor tła*/ 
	margin:1%;
}
.line {
	width: 90%;
	height: 1px;
	background-color: #f0768b;
	margin: 1rem auto;
}
.sidebar ul li {
  transition: transform 1s ease, box-shadow 1s ease;
  box-shadow: 
    -3px -3px 6px rgba(255, 223, 212, 0.6),
    3px 3px 6px rgba(0, 0, 0, 0.25);
  overflow: hidden; 
}

.sidebar ul li:hover {
  transform: translateY(-2px);
  box-shadow: 
    -2px -2px 6px rgba(255, 223, 212, 0.7),
    6px 6px 12px rgba(0, 0, 0, 0.35);
}

.sidebar ul li:active {
  transform: translateY(2px);
  box-shadow: 
    -1px -1px 3px rgba(255, 223, 212, 0.5),
    2px 2px 5px rgba(0, 0, 0, 0.2);
}

.main-content {
    width: 70%;
    padding: 20px;
	color:#f0768b;
	border: 2px solid #f0768b; /* Grubość i kolor ramki */
    border-radius: 8px; /* Zaokrąglenie rogów (opcjonalnie) */
    padding: 20px; /* Wewnętrzne wcięcie */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Cień: przesunięcie w poziomie, przesunięcie w pionie, rozmycie, kolor */
    background-color: white;/*  Kolor tła*/ 
	margin:1%;
}

footer {
    background-color: #f0768b;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
	color:#fffbfb;
}
footer a{color:#fffbfb;}
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin: 10px;
}

.hamburger .bar {
    height: 3px;
    width: 25px;
    background-color: #f0768b;
    margin: 3px 0;
}

/* Responsive Styles */
@media (max-width: 650px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu ul {
        flex-direction: column;
        width: 100%;
    }

    .nav-menu li {
        margin: 5px 0;
    }

    .content-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .main-content {
        width: 100%;
    }

    .hamburger {
        display: flex;
    }
}
.logo img{width:40px;}


.dodaj {
    width: 80%;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

input[type="text"], textarea, input[type="file"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
}

.dodaj button {
	padding: 10px;
	width: 152px;
	background-color: #f0768b;
	color: white;
	border: none;
	border-radius: 5px;
	transition: transform 1s ease, box-shadow 1s ease;
  box-shadow: 
    -3px -3px 6px rgba(255, 223, 212, 0.6),
    3px 3px 6px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  cursor:pointer;
}
.dodaj button:hover {
  transform: translateY(-2px);
  box-shadow: 
    -2px -2px 6px rgba(255, 223, 212, 0.7),
    6px 6px 12px rgba(0, 0, 0, 0.35);
}
.dodaj button:active {
  transform: translateY(+2px);
  box-shadow: 
    -2px -2px 6px rgba(255, 223, 212, 0.7),
    6px 6px 12px rgba(0, 0, 0, 0.35);
}

#file-preview {
    display: flex;
    flex-wrap: wrap;
}

#file-preview div {
    margin: 5px;
}
.product {
    /*display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));*/
    /*gap: 12px;*/
    border: 1px solid #ddd;
    padding: 15px;
    margin: 15px auto;
    border-radius: 10px;
    background: #fafafa;
    max-width: 150px;
	transition: transform 1s ease, box-shadow 1s ease;
 
  overflow: hidden; 
}
.product:hover {
  transform: translateY(-2px);
  box-shadow: 
    -2px -2px 6px rgba(255, 223, 212, 0.7),
    6px 6px 12px rgba(0, 0, 0, 0.35);
}

/* Tytuł i telefon mają się rozciągać na całą szerokość */
.producta, .phone {
    grid-column: 1 / -1; /* czyli od pierwszej do ostatniej kolumny */
}

.producta {
    font-size: 14px;
    font-weight: bold;
}

.phone {
    font-size: 14px;
    color: #333;
}

/* Media w gridzie */
.media {
    display: contents; /* wrzuca dzieci (img/video) bez dodatkowego kontenera */
}

.product img,
.product video {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}
/* Kontener dla wszystkich produktów */
.products-container {
    display: flex;
    flex-wrap: wrap; /* pozwala zawijać do nowego wiersza */
    gap: 12px; /* odstęp między produktami */
    justify-content: flex-start; /* wyrównanie w poziomie */
}

@media (max-width: 400px) {
	.product {
    /*display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));*/
    /*gap: 12px;*/
    border: 1px solid #ddd;
    padding: 15px;
    margin: 15px auto;
    border-radius: 10px;
    background: #fafafa;
    max-width: 130px;
	transition: transform 1s ease, box-shadow 1s ease;
 
  overflow: hidden; 
}
.product:hover {
  transform: translateY(-2px);
  box-shadow: 
    -2px -2px 6px rgba(255, 223, 212, 0.7),
    6px 6px 12px rgba(0, 0, 0, 0.35);
}
.product:active {
  transform: translateY(-2px);
  box-shadow: 
    -2px -2px 6px rgba(255, 223, 212, 0.7),
    6px 6px 12px rgba(0, 0, 0, 0.35);
}
}
.product video {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
    pointer-events: none; /* wyłącza kliknięcia */
}
.main-content h1 {
	text-align: center;
	width: 100%;
}
.product-page {
    display: flex;
    gap: 20px;
    max-width: 1000px;
    margin: 20px 10px;
}
.thumbnails {
    width: 100px;
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
	border: 1px solid #ddd;
    padding: 15px;
    margin: 15px auto;
    border-radius: 10px;
    background: #fafafa;
    max-width: 130px;
	transition: transform 1s ease, box-shadow 1s ease;
	transform: translateY(-2px);
  box-shadow: 
    -2px -2px 6px rgba(255, 223, 212, 0.7),
    6px 6px 12px rgba(0, 0, 0, 0.35);
}
.thumbnails img,
.thumbnails video {
    width: 100%;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 5px;
}
.thumbnails img:hover,
.thumbnails video:hover {
    border-color: #007bff;
}
.main-media {
    flex: 1;
    text-align: center;
	border: 1px solid #ddd;
    padding: 15px;
    margin: 15px auto;
    border-radius: 10px;
    background: #fafafa;
    
	transition: transform 1s ease, box-shadow 1s ease;
	transform: translateY(-2px);
  box-shadow: 
    -2px -2px 6px rgba(255, 223, 212, 0.7),
    6px 6px 12px rgba(0, 0, 0, 0.35);
}
.main-media img,
.main-media video {
    max-width: 100%;
    max-height: 500px;
    border-radius: 10px;
}
.product-info {
    max-width: 465px;
	border: 1px solid #ddd;
    padding: 15px;
    margin: 15px auto;
    border-radius: 10px;
    background: #fafafa;
    color:#f0768b;
	transition: transform 1s ease, box-shadow 1s ease;
	transform: translateY(-2px);
  box-shadow: 
    -2px -2px 6px rgba(255, 223, 212, 0.7),
    6px 6px 12px rgba(0, 0, 0, 0.35);
}
.product-info p{margin:10px 0;}

@media (max-width: 700px) {
    .product-page {
        flex-direction: column; /* kolumnowo zamiast w rzędzie */
        align-items: center;
    }
   .thumbnails {
    display: flex;
    flex-direction: row;
    justify-content: center; /* wyśrodkowanie w poziomie */
    min-width: 100%; /* lub usuń 100% */
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 10px;
    gap: 10px; /* odstępy między miniaturkami */
    padding: 0 5px; /* opcjonalnie, żeby nie przyklejało do krawędzi */
	transform: translateY(-2px);
  box-shadow: 
    -2px -2px 6px rgba(255, 223, 212, 0.7),
    6px 6px 12px rgba(0, 0, 0, 0.35);
}
    .thumbnails img,
    .thumbnails video {
        width: 80px; /* mniejsze miniaturki w poziomie */
    }
    .main-media {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    .product-info {
        width: 100%;
        text-align: center;
    }
}

