/* Koszulki */
#koszulki, #wybur{
    box-shadow: 0px 0px 45px #0a79e0;
}
.ilosc-kontrola{
    box-shadow: #0a79e0 2px 2px 10px;
}
/* INFORMACJE */
/* Sekcja informacji - NOWY WYGLĄD */
#informacje {
    color: white;
    display: flex;
    justify-content: center;
    min-width: 70%;
    margin-top: 1%;
    min-height: 20px;
    padding: 2%;
    background: linear-gradient(135deg, #0a79e0 0%, #1c2833 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(10, 121, 224, 0.3);
}

.informacje-container {
    width: 100%;
    max-width: 1000px;
}

/* Nagłówek sekcji */
.informacje-header {
    text-align: center;
    margin-bottom: 40px;
}

.informacje-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.informacje-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    color: #e0e0e0;
}

/* Karty z informacjami */
.info-karty {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.info-karta {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.info-karta:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.karta-ikona {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.karta-tresc h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: white;
}

.karta-tresc p {
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

/* Sekcje informacji */
.sekcja-informacji {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sekcja-informacji h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.4rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

/* Specyfikacja produktu */
.specyfikacja {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-ikona {
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
}

.spec-tresc {
    flex: 1;
}

/* Tabela rozmiarów */
.tabela-container {
    overflow-x: auto;
    margin-bottom: 15px;
}

.tabela-rozmiarow {
    text-align: center;
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.tabela-rozmiarow th {
    background: rgba(10, 121, 224, 0.3);
    padding: 15px 10px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tabela-rozmiarow td {
    padding: 12px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.tabela-rozmiarow tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
}

.tabela-rozmiarow tbody tr:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tabela-uwaga {
    font-style: italic;
    opacity: 0.8;
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
}

/* Informacje o dostawie */
.dostawa-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dostawa-option {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid #0a79e0;
}

.dostawa-ikona {
    font-size: 2rem;
    margin-top: 5px;
}

.dostawa-tresc h4 {
    margin-bottom: 8px;
    color: white;
    font-size: 1.1rem;
}

.dostawa-tresc p {
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}
.autorska_grafika{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.autorska_grafika>div{
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.autorska_grafika>div>p{
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    text-align: center;
}
.autorska_grafika>div>img{
    width: 70%;
    border-radius: 500px;
}
.autorska_grafika>figure{
    width: 45%;
    margin: 15px 0 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}
.autorska_grafika figure>img{
    width: 100%;
    border-radius: 4px;
}
.autorska_grafika figure figcaption{
    font-size: clamp(0.75rem, 2vw, 0.9rem);
}
main{
    padding-bottom: 30px;
}

/* Galeria zdjęć */
.galeria-kontener {
    margin-top: 20px;
    margin-bottom: 20px;
}
#losuj{
    margin: auto;
}
/* Responsywność */
@media (max-width: 768px) {
    #informacje {
        padding: 5%;
        margin: 3% 2%;
        min-width: auto;
    }
    
    .info-karty {
        grid-template-columns: 1fr;
    }
    
    .sekcja-informacji {
        padding: 20px;
    }
    
    .informacje-header h2 {
        font-size: 1.8rem;
    }
    
    .dostawa-option {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .spec-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .tabela-rozmiarow {
        font-size: 0.9rem;
    }
    
    .tabela-rozmiarow th,
    .tabela-rozmiarow td {
        padding: 8px 5px;
    }
}

@media (max-width: 480px) {
    .informacje-header h2 {
        font-size: 1.5rem;
    }
    
    .sekcja-informacji {
        padding: 15px;
    }
    
    .info-karta {
        padding: 20px 15px;
    }
}



/* Przycisk zoom POD koszulką */
.przycisk-zoom {
    display: block;
    margin: 20px auto;
    padding: 12px 24px;
    background: #325dd3;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(50, 93, 211, 0.3);
    text-align: center;
    max-width: 200px;
}

.przycisk-zoom:hover {
    background: #2a4fb5;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(50, 93, 211, 0.4);
}

/* Modal zoom */
.modal-zoom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-zoom-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    max-height: 90vh;
    background: #2d2d2d;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.powiększona-koszulka:focus {
    cursor: grab; /* Wizualna wskazówka, że element jest aktywny */
}
.powiększona-koszulka {
    
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 40px;
    background: #1a1a1a;
    cursor: grab;
    user-select: none;
}

.powiększona-koszulka:active {
    cursor: grabbing;
}

.koszulka-content {
    transform-origin: 0 0;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: min-content;
    min-height: min-content;
}

/* Styl dla sklonowanej koszulki w modal-u */
.modal-zoom .koszulka-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.modal-zoom .koszulka-wrapper svg {
    width: 100%;
    height: auto;
    max-height: 70vh;
}

.modal-zoom #wzor_koszulki {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
#wzor{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 5px;
    background-color: #007bff;
    color: white;
}
label[for='wzor']{
    text-align: center;
    
}

.modal-zoom #wzor_koszulki svg {
    width: 100%;
    height: 100%;
}
select{
    height: 35px;
    font-size: medium;
    border-radius: 6px;
    background-color: #007bff;
    color: white;
}

/* Przycisk zamknięcia */
.zamknij-zoom {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fff;
    border: 1px solid black;
    border-radius: 50%;
    width: 43px;
    height: 41px;
    padding-bottom: 2px;
    cursor: pointer;
    font-size: 22px;
    color: #000;
    font-weight: bold;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.zamknij-zoom:hover {
    background: #007bff;
    color: rgb(0, 0, 0);
    transform: scale(1.1);
}

/* Kontrolki zoom */
.kontrolki-zoom {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 10001;
}

.kontrolki-zoom button {
    background: #325dd3;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kontrolki-zoom button:hover {
    background: #2a4fb5;
    transform: scale(1.1);
}

.kontrolki-zoom button.aktywny {
    background: #27ae60;
    box-shadow: 0 0 0 2px white, 0 0 0 4px #27ae60;
}

.skala-zoom {
    font-weight: bold;
    min-width: 60px;
    text-align: center;
    font-size: 14px;
    color: #333;
    font-family: Arial, sans-serif;
}
/* mała galeria */

/* Galeria zdjęć */
#zdjecia_koszulki {
    margin-top: 20px;
}

#zdjecia_koszulki h3 {
    text-align: center;
    margin-bottom: 15px;
    color: #ffffff;
    font-size: 1.2em;
}

.galeria-kontener {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.miniaturki {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.miniatura {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #f5f5f5;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.miniatura:hover {
    border-color: #3b82f6;
    transform: scale(1.05);
}

.miniatura.aktywna {
    border-color: #3b82f6;
    border-width: 3px;
}

.podglad-glowny {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

#glowne-zdjecie {
    width: 100%;
    height: 450px;
    
    object-fit: cover;
    display: block;
}

.przycisk-galeria {
    position: absolute;
    top: 90%;
    transform: translateY(-50%);
    background: rgba(248, 244, 244, 0.534);
    color: #2a4fb5;
    padding-bottom: 2px;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.przycisk-galeria:hover {
    background: rgba(255,255,255,1);
    transform: translateY(-50%) scale(1.1);
}

.przycisk-galeria.poprzedni {
    left: 10px;
}

.przycisk-galeria.nastepny {
    right: 10px;
}

/* Modal powiększonych zdjęć */
.modal {
    padding-top: 40px;
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#powiekszone-zdjecie {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.zamknij-modal {
    position: absolute;
    top: 1px;
    right: 1px;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    width: 37px;
    height: 37px;
    border-radius: 50%;
    border: 2px solid rgb(255, 255, 255);
    background: rgba(196, 196, 196, 0.678);
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
    padding: 0 0 5px 0;
    
}

.zamknij-modal:hover {
    color: #000000;
    background-color: #007bff;
    border:#007bff2f;
    
}

.przycisk-modal {
    position: absolute;
    top: 95%;
    transform: translateY(-50%);
    color: #fff;
    background: rgba(196, 196, 196, 0.411);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 5px 0;
}

.przycisk-modal:hover {
    background: rgba(255,255,255,1);
    transform: translateY(-50%) scale(1.1);
    color: #000;
}

.przycisk-modal.poprzedni {
    left: 20px;
}

.przycisk-modal.nastepny {
    right: 20px;
}
.modal-koszyk {
  display: none; /* ukryty domyślnie */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content-koszyk {
  background: white;
  padding: 20px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
  animation: fadeIn 0.3s ease;
}

.modal-content-koszyk p {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: #000;
}

.modal-content-koszyk button {
  background: #007bff;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 6px;
  cursor: pointer;
  margin: 5px;
}


#zamknij-modal-koszyk{
    background: white;
    border-radius: 30px;
    width: 30px;
    height: 30px;
    color: #3b82f6;
    font-size: 1.5em;
    position: absolute;
    top: 5px;
    right: 10px;
    padding: 0 3px 3px 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease-in-out;
}
#zamknij-modal-koszyk:hover{
    color: rgb(0, 0, 0);
    background-color: #007bff;
    transition: 0.3s ease-in-out;
}
/* Responsywność */
@media (max-width: 768px) {
    .miniatura {
        width: 60px;
        height: 60px;
    }
    
    .podglad-glowny {
        max-width: 100%;
    }
    
    #glowne-zdjecie {
        height: 400px;
    }
    
    .przycisk-galeria {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .modal-content {
        width: 95%;
        height: 70vh;
        padding-top: 80px;
    }
    
    .przycisk-modal {
        width: 40px;
        height: 40px;
        font-size: 20px;
        display: inline;
        padding-bottom: 6px;

    }
    
    .zamknij-modal {
        top: 10px;
        width: 36px;
        height: 36px;
        right: 0px;
        padding: 0;

    }
        .przycisk-zoom {
        padding: 10px 20px;
        font-size: 14px;
        max-width: 180px;
        margin: 15px auto;
    }
    
    .modal-zoom {
        padding: 10px;
    }
    
    .modal-zoom-content {
        max-height: 95vh;
        border-radius: 10px;
    }
    
    .powiększona-koszulka {
        padding: 20px;
    }
    
    .kontrolki-zoom {
        bottom: 45px;
        padding: 10px 15px;
    }
    
    .kontrolki-zoom button {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .zamknij-zoom {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .modal-zoom .koszulka-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .miniaturki {
        gap: 5px;
    }
    
    .miniatura {
        width: 50px;
        height: 50px;
    }
    
    #glowne-zdjecie {
        height: 300px;
    }
}
@media only screen and (max-width: 420px){
    #koszulki{
        min-height: 350px;
    }
}
