/*-------------MAIN GRID--(DESKTOP)---------*/
.info-banner {
    background-color: #ebebeb;
    margin: 3rem;
    font-family: 'CormorantGaramond', Georgia, serif;
    font-weight: 400;
    font-style: italic;
    font-size: 1.58rem;
    color: #848484;
    padding-top: 1.3rem;
    padding-bottom: 1.3rem;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    }

.info-banner::before,
.info-banner::after {
    content: "";
    display: block;
    height: 1px;
    background-color: #c9c9c9;
    flex-grow: 1;
    margin: 0 1rem;
}

.banner-link {
    color: #887a40;
    text-decoration: none;
    }

.banner-link:hover {
    color: #af9d5a;
    }

.section-title {
    font-family: 'CormorantGaramond', Georgia, serif;
    font-weight: 400;
    font-style: italic;
    font-size: 2.7rem;
    text-align: left; 
    color: #74662f;
    margin-bottom: 0.8rem;
    margin-top: 1rem;
    padding-left: 3rem;
    }

.expandable-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 1.5rem;
    overflow: hidden;
    padding-top: 1px;
    padding-bottom: 0.5rem;
    padding-left: 3rem;
    padding-right: 3rem;
    margin-bottom: 0.5rem;
    }

.button-line {
    height: 1px;
    background: #d4d4d4;
    margin-left: 3rem;
    margin-right: 3rem;
    }

.expandable-grid .expandable-grid-item:nth-child(n+5) {
    display: none;
    }

.expandable-grid.expanded .expandable-grid-item:nth-child(n+5) {
    display: block;
    }

.expandable-grid-item {
    outline: 1px solid #cccccc;
    display: flex;
    flex-direction: column;
    height: 100%;
    }

.souvenir {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0;
    width: 100%;
    height: 100%;
    }

.souvenir-spacer {
  flex-grow: 1;
}

.souvenir-container {
    aspect-ratio: 9/7.2;
    width: 100%;
    overflow: hidden;
    cursor: zoom-in;
    touch-action: manipulation;
    }


.souvenir-container-second {
    aspect-ratio: 8/11;
    width: 100%;
    overflow: hidden;
    }

.souvenir-container.is-zoomed {
    cursor: zoom-out;
    }

.souvenir-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease-in-out;
    transform-origin: center center;
    pointer-events: none;
    }

.mug-origin img {
  transform-origin: 39% 50%; 
    }


.souvenir-container-second img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    }

.souvenir-container.is-zoomed img {
    transform: scale(2);
    }

.souvenir-caption {
    font-family: 'CormorantGaramond', Georgia, serif;
    font-weight: 400;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.3;
    margin-top: 0.7rem;
    margin-bottom: 0;
    color: #6c6c6c;
    padding: 0 1rem;
    flex-grow: 1; 
    }

.souvenir-price {
    font-family: 'CormorantGaramond', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 1.9rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: #7e6d29;
    }

.size-selection {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    margin: 0 0 0.6rem 0;
    width: 95%;
    }

.size-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.3rem 0.4rem;
    }

.size-option input {
    display: none;
    }

.size-option .size-label {
    font-family: 'CormorantGaramond', Georgia, serif;
    font-size: 0.9rem;
    font-style: italic;
    color: #555;
    margin-right: 0.6rem;
    }

.size-option .radio-circle {
    width: 0.7rem;
    height: 0.7rem;
    border: 1px solid #e6e6e6;
    background-color: #e6e6e6;
    transition: all 0.2s;
    border-radius: 50%;
    }

.size-option input:checked ~ .radio-circle {
    background-color: #a2a2a2;
    border-color: #a2a2a2;
    }

.add-to-cart-btn {
    font-family: 'CormorantGaramond', Georgia, serif;
    font-weight: 400;
    font-style: italic;
    font-size: 1.25rem;
    background-color: #e6e6e6;
    color: #555;
    border: none;
    padding: 0.9rem 0;
    width: 100%;
    display: block;
    cursor: pointer;
    }

.add-to-cart-btn:hover {
    background-color: #bebdbd;
    color: #2a2a2a;
    transition: 0.3s;
    }

.grid-expander-btn {
    font-family: 'CormorantGaramond', Georgia, serif;
    font-weight: 400;
    font-style: italic;
    font-size: 1.5rem;
    color: #74662f;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: block;
    margin-left: auto;
    margin-right: 3rem;
    margin-top: 0;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s ease;
    }


.button-koszulki-anioly { visibility: hidden;}
.button-kubki { visibility: hidden;}
.button-plakaty { visibility: hidden;}


.spacer {
    height: 5rem;
    }



.order-modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.91); 
    }

.order-modal-content {
    background-color: #fff;
    margin: 5% auto; 
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 550px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    font-family: sans-serif;
    color: #333;
    box-sizing: border-box; 
    }

.order-modal-close {
    color: #aaa;
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    }

.order-modal-close:hover {
    color: #000;
    }

.modal-logos {
    display: flex;
    align-items: center;
    gap: 30px; 
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    max-width: 100%;
    }

.logo-suppi {
    height: 40px;
    width: auto;
    display: block;
    margin-right: 10px;
    }

.logo-ps-container {
    display: flex;
    align-items: center;
    gap: 10px;
    }

.logo-ps-circle {
    width: 50px;
    height: 50px;
    background-color: #806b2b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-ps-circle img {
    width: 27px;
    height: auto;
    }

.text-ps {
    font-weight: bold;
    font-size:24px;
    color: #000;
    line-height: 1;
    }

#modalDynamicHeader {
    margin-top: 0;
    font-size: 20px;
    line-height: 1.6; 
    font-weight: 600;
    }

.highlight-price {
    color: #6d49fd;
    font-weight: bold;
    }

.modal-product-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    }

#modalProductImg {
    width: 90px;
    height: 75px;
    object-fit: cover;
    border-radius: 6px;
    }

.modal-product-info h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    }

.modal-product-info p {
    margin: 0;
    font-size: 14px;
    }

.form-group {
    margin-bottom: 15px;
    }

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
    }

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
    }

.form-group textarea {
    resize: vertical;
    }

.submit-order-btn {
    background-color: #6d49fd; 
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.2s;
    }

.submit-order-btn:hover {
    background-color: #5b29c6; 
    }

.submit-order-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    }

.success-checkmark {
    color: #6d49fd;
    }

.modal-tier-divider {
    border-top: 1px solid #e0e0e0;
    margin: 15px 0 10px 0;
    }

.modal-tiers-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap; 
    gap: 9px 10px; 
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: normal;
    }

.tier-item {
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    width: max-content;
    }

.tier-dot {
    display: inline-block;
    width: 7px; 
    height: 7px;
    background-color: #6d49fd;
    border-radius: 50%;
    flex-shrink: 0;
    }



.modal-privacy-note {
    background-color: #f4fdf8;
    border: 1px solid #c7ebd4;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 13.5px;
    color: #2e6543;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    }

/*=======MEDIA QUERIES TABLET=======*/
/*=======MEDIA QUERIES TABLET=======*/


@media (max-width: 991px) and (min-width: 768px) {

.expandable-grid {
    grid-template-columns: 1fr 1fr 1fr;
    padding-left: 3vw;
    padding-right: 3vw;
    }
    
.expandable-grid .expandable-grid-item:nth-child(n+4) {
    display: none;
    }

.expandable-grid.expanded .expandable-grid-item:nth-child(n+4) {
    display: block;
    }
    
.button-koszulki-anioly { visibility: visible;}
.button-kubki { visibility: visible;}
.button-plakaty { visibility: visible;}
    
.button-line {
    margin: 0 3vw;
    }
    
.souvenir-caption {
    font-size: 1.45vw;
    margin-top: 1vw;
    padding: 0 1.3vw;
    }
    
.souvenir-price {
    font-size: 2.9vw;
    margin-top: 1.5vw;
    margin-bottom: 1.5vw;
    }
    
.size-option .size-label {
    font-size: 1.3vw;
    margin-right: 1vw;
    }

.size-option .radio-circle {
    width: 0.9vw;
    height: 0.9vw;
    }
    
.grid-expander-btn {
    font-size: 1.9vw;
    margin-right: 3vw;
    }
    
/*---------MAIN GRID END--(TABLET)-------*/
}

/* ===============MEDIA QUERIES MOBILE============== */
/* ===============MEDIA QUERIES MOBILE============== */
        
@media (max-width: 768px) {
        
/*----------------MAIN GRID--(MOBILE)--------------*/
.info-banner {
    margin-top: 15vw;
    margin-bottom: 10vw;
    margin-left: 5vw;
    margin-right: 5vw;
    font-size: 6vw;
    line-height: 1.5;
    padding: 7vw 4vw;
    min-height: 15vw;
    }

.info-banner::before,
.info-banner::after {
    display: none;
    }
           
.section-title {
    font-size: 8vw;
    margin-bottom: 0.8vw;
    margin-top: 5vw;
    padding-left: 5vw;
    }
           
.expandable-grid {
    grid-template-columns: 1fr;
    gap: 4vw;
    padding-left: 5vw;
    padding-right: 5vw;
    margin-bottom: 2vw;
    }
           
.button-line {
    margin-left: 5vw;
    margin-right: 5vw;
    }

.souvenir-caption {
    font-size: 4.3vw;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding:0 6vw;
    }

.souvenir-price {
    font-size: 7rem;
    margin-top: 2rem;
    margin-bottom: 5rem;
    color: #7e6d29;
    }

.size-selection {
    margin: 0 0 4rem 0;
    width: 95%;
    }

.size-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0 2.5vw;
    }

.size-option .size-label {
    font-size: 4vw;
    margin-right: 1.5rem;
}

.size-option .radio-circle {
    width: 2.8vw;
    height: 2.8vw;
    border: 1px solid #e6e6e6;
    }

.add-to-cart-btn {
    font-size: 4.5rem;
    background-color: #e6e6e6;
    color: #555;
    border: none;
    padding: 3rem 0;
    width: 100%;
    display: block;
    cursor: pointer;
    }

.grid-expander-btn {
    font-size: 4.6vw;
    margin-right: 5vw;
    }
    
    
.modal-logos {
    display: flex;
    flex-wrap: wrap; 
    align-items: center;
    gap: 30px;
    margin-top: 4vw;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    max-width: 100%;
    }
       
    
    
.modal-tiers-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 10px 15px;
    text-align: left;
    }
    
.tier-item {
    white-space: normal; 
    }

@media (hover: hover) {
    .grid-expander-btn:hover {
        border-bottom: 1px solid #74662f;
    }
}
           
.button-koszulki-anioly { visibility: hidden;}
.button-kubki { visibility: hidden;}
.button-plakaty { visibility: hidden;}

.spacer {
    height: 5vw;
    }

/*-------------MAIN GRID END--(MOBILE)-----------*/

           