/**
 * Style dla shortcode wariantów produktu
 * 
 * Umieść w: /wp-content/plugins/sk-shortcodes/assets/css/sk-product-variants.css
 */
 .sk-product-variants-container {
    margin: 0;
    font-family: inherit;
}
/* Style dla nagłówka atrybutu */
.sk-attribute-container {
    margin-bottom: 20px;
}
.sk-attribute-header {
    margin-bottom: 10px;
    padding-bottom: 5px;
    font-size: 16px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.sk-attribute-label {
    font-weight: 600;
    color: #333;
}
.sk-selected-option {
    font-weight: 400;
    margin-left: 5px;
}
/* Link do informacji o materiale */
.sk-material-info-container {
    margin-left: 10px;
}
.sk-material-info-link {
    text-decoration: underline;
    color: #b19361;
    cursor: pointer;
    font-size: 14px;
}
.sk-material-info-link:hover {
    color: #99805b;
}
/* Style dla opcji atrybutów */
.sk-attribute-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 5px;
}
.sk-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e0e0e0;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden; /* Zapobiega wystawaniu obrazków poza kółko */
}
.sk-option:hover {
    border-color: #b19361;
}
.sk-option.selected {
    border-color: #b19361;
    border-width: 2px;
}
/* Style dla opcji koloru */
.sk-color-option {
    background-size: cover;
    background-position: center;
}
/* Style dla opcji obrazka */
.sk-image-option {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Style dla opcji tekstowej */
.sk-text-option {
    font-size: 12px;
    background-color: #f5f5f5;
}
/* Separator po wszystkich atrybutach */
.sk-attribute-container:not(:last-child) {
    
}
/* Style dla przycisku dodania do koszyka */
.sk-add-to-cart-container {
    margin-top: 25px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
/* Usunięto style dla pola ilości */
.sk-add-to-cart-button {
    background-color: #CE8946;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size:14px;
    transition: background-color 0.2s ease;
}
.sk-add-to-cart-button:hover {
    background-color: #99805b;
}
.sk-add-to-cart-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}
/* Styl dla powiadomień */
.sk-notice {
    margin: 10px 0;
    padding: 10px 15px;
    border-radius: 4px;
    display: none;
}

/* Modal z informacjami o materiale */
.sk-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.sk-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 5px;
    position: relative;
}

.sk-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 15px;
    top: 10px;
}

.sk-modal-close:hover,
.sk-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#sk-material-modal-title {
    margin-top: 5px;
    margin-bottom: 15px;
    color: #333;
}

#sk-material-modal-description {
    line-height: 1.5;
    color: #555;
}
/* Dodaj te style na końcu pliku sk-product-variants.css */

/* Style dla przycisku "Przejdź do koszyka" */
.sk-view-cart-button {
    background-color: #CE8946;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.sk-view-cart-button:hover {
    background-color: #e5e5e5;
    color: white;
}

/* Styl dla przycisku po dodaniu do koszyka */
.sk-add-to-cart-button.added {
    background-color: white;
    border:1px solid #A0A0A0;
    color: #A0A0A0;
}

/* Responsywność dla mobilnych urządzeń */
@media (max-width: 767px) {
    .sk-add-to-cart-container {
        flex-direction: column;
    }
    
    .sk-view-cart-button {
        width: 100%;
        text-align: center;
    }
}