/*SUMMARY*/
.kkw-gift-recipient-fields {
    margin: 20px 0;
    padding: 20px;
    background: #e6f3ff;
    border-radius: 10px;
    border-left: 4px solid #0090F7;
}

.kkw-gift-recipient-fields .wc-block-components-checkout-step__title {
    color: #0E3152;
}

.kkw-gift-info {
    margin-bottom: 20px;
    color: #555;
    font-size: 14px;
}

.kkw-gift-recipient-fields .wc-block-components-address-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.kkw-gift-input-wrap {
    position: relative;
}

.kkw-gift-input-wrap input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ccd6e0;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.3s;
}

.kkw-gift-input-wrap input:focus {
    border-color: #0090F7;
    outline: none;
}

.kkw-gift-input-wrap label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 14px;
    pointer-events: none;
    transition: 0.2s;
    background: #fff;
    padding: 0 4px;
}

.kkw-gift-input-wrap.is-active label,
.kkw-gift-input-wrap input:focus + label,
.kkw-gift-input-wrap input:not(:placeholder-shown) + label {
    top: 0;
    font-size: 12px;
    color: #0090F7;
}

.kkw-gift-input-wrap.has-error input {
    border-color: #e74c3c;
}

.kkw-gift-input-wrap.has-error label {
    color: #e74c3c;
}

@media (max-width: 600px) {
    .kkw-gift-recipient-fields .wc-block-components-address-form {
        grid-template-columns: 1fr;
    }
}
/*SUMMARY*/
.woocommerce-page button[type=submit].single_add_to_cart_button,
body[data-form-submit=regular].woocommerce-page .container-wrap button[type=submit].single_add_to_cart_button{
    border-radius: 10px !important;
	text-transform: inherit !important;
}

body.single-product .container-wrap{
    background-color: #f2f6fa !important;
}

.woocommerce.single-product .nectar-prod-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 280px;
    gap: 30px;
    align-items: start;
}


.woocommerce.single-product .nectar-prod-wrap>.span_5 {
    width: 100% !important;
    float: none !important;
}

.woocommerce.single-product .nectar-prod-wrap>.summary {
    width: 100% !important;
    float: none !important;
}

.kkw-product-summary {
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 30px;
    padding-right: 30px;
}

.kkw-product-cat-top {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0090F7;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.kkw-product-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 10px 0 15px;
}

.kkw-product-price-wrap {
    margin-bottom: 20px;
}

.kkw-product-price {
    font-size: 32px !important;
    font-weight: 600 !important;
    color: #0E3152 !important;
}

.kkw-product-toggles {
    margin-bottom: 20px;
}

.kkw-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.kkw-toggle-row:last-child {
    border-bottom: none;
}

.kkw-toggle-row>label:first-child {
    font-size: 14px;
    color: #333;
    flex: 1;
    cursor: default;
    margin: 0;
}

.kkw-toggle-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
}

.kkw-tooltip-placeholder {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.kkw-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.kkw-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.kkw-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccd6e0;
    transition: 0.3s ease;
    border-radius: 28px;
}

.kkw-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    transition: 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.kkw-switch input:checked+.kkw-slider {
    background-color: #0090F7;
}

.kkw-switch input:checked+.kkw-slider:before {
    transform: translateX(24px);
}

.kkw-switch input:focus+.kkw-slider {
    box-shadow: 0 0 0 3px rgba(0, 144, 247, 0.3);
}

.kkw-tooltip-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kkw-tooltip-trigger {
    width: 22px;
    height: 22px;
    background: #e0e7ee;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    font-style: italic;
    color: #0090F7;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: help;
    transition: 0.2s;
    font-family: Georgia, serif;
}

.kkw-tooltip-trigger:hover {
    background: #0090F7;
    color: #fff;
}

.kkw-tooltip-content {
    position: absolute;
    bottom: calc(100% + 12px);
    right: -10px;
    background: #0E3152;
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.5;
    width: 237px;
    height: 91px;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 100;
    box-sizing: border-box;
    pointer-events: none;
}

.kkw-tooltip-content:after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 15px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #0E3152;
}

.kkw-tooltip-icon:hover .kkw-tooltip-content {
    opacity: 1;
    visibility: visible;
}

.kkw-price-badge {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    background: #e6f3ff;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 12px;
    color: #0090F7;
    display: none !important;
}

.kkw-product-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.kkw-product-excerpt ul {
    margin: 10px 0;
    padding-left: 20px;
}

.kkw-product-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    font-size: 12px;
    color: #0E3152;
    margin-bottom: 20px;
}

.kkw-notice-icon {
    flex-shrink: 0;
}

.kkw-product-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.kkw-product-buttons .cart {
    display: block;
    align-items: center;
    margin-bottom: 0;
}

.kkw-product-buttons .quantity {
    display: none;
}

.kkw-btn-outline {
    padding: 13px 35px;
    border: 1px solid #0090F7;
    border-radius: 10px;
    color: #0090F7;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
    background: transparent;
}

.kkw-btn-outline:hover {
    background: #0090F7;
    color: #fff;
}

.kkw-product-buttons .single_add_to_cart_button {
    padding: 14px 24px !important;
    background: #0090F7 !important;
    border: none !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer;
    transition: 0.3s;
}

.kkw-product-buttons .single_add_to_cart_button:hover {
    background: #0077cc !important;
}

.kkw-product-packages-sidebar {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.kkw-packages-intro {
    text-align: center;
    width: 312px;
    background-color: #fff !important;
    padding: 20px !important;
    border-radius: 10px;
} 

.kkw-packages-intro p {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
}

.kkw-arrow-down {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid #0E3152;
    border-radius: 10px;
    color: #0E3152;
    text-align: center;
}

.kkw-packages-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kkw-package-item {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    text-align: center;;
    height: 188px;
    width: 312px;
    border-radius: 12px;
    padding: 20px 18px;
    text-decoration: none;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    min-height: 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.kkw-package-item:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    transition: 0.3s;
}

.kkw-package-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 144, 247, 0.3);
}

.kkw-package-item:hover:before {
    background: linear-gradient(135deg, rgba(0, 102, 180, 0.75) 0%, rgba(0, 60, 120, 0.8) 100%);
}

.kkw-package-item strong {
    display: block;
    font-size: 32px;
	line-height: 35px;
    color: #fff;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.kkw-package-item span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    display: block;
    position: relative;
    z-index: 2;
}

.kkw-package-standard {
    background-image: url('https://skyforce.kkwdesign.pl/wp-content/uploads/2026/01/486029044_1172291511575786_3635020299355190002_n-1.png');
}

.kkw-package-premium {
    background-image: url('https://skyforce.kkwdesign.pl/wp-content/uploads/2026/01/486029044_1172291511575786_3635020299355190002_n-1.png');
}

.kkw-package-vip {
    background-image: url('https://skyforce.kkwdesign.pl/wp-content/uploads/2026/01/486029044_1172291511575786_3635020299355190002_n-2.png');
}

.woocommerce-tabs .kkw-important-info-content {
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0%;
    padding-bottom: 20px;
}

@media (max-width: 1200px) {
    .woocommerce.single-product .nectar-prod-wrap {
        grid-template-columns: 1fr 1fr 240px;
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    .woocommerce.single-product .nectar-prod-wrap {
        display: block;
    }

    .woocommerce.single-product .nectar-prod-wrap>.span_5,
    .woocommerce.single-product .nectar-prod-wrap>.summary {
        width: 100% !important;
        margin-bottom: 30px;
    }

    .kkw-product-packages-sidebar {
        max-width: 400px;
        margin: 30px auto;
    }
}

@media (max-width: 600px) {
    .kkw-product-buttons {
        flex-direction: column;
    }

    .kkw-package-item, .kkw-packages-intro{
        width: 320px !important;
        min-width: 320px !important;
    }
    .nectar-prod-wrap .kkw-product-packages-sidebar{
        width: 320px !important;
    }


    .kkw-product-buttons .cart,
    .kkw-btn-outline {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .kkw-product-buttons .single_add_to_cart_button {
        width: 100%;
    }
	
    .kkw-tooltip-content {
        right: -10px;
        width: 237px;
    }

    .kkw-tooltip-content:after {
        right: 110px;
    }
}

@media (min-width: 600px) and (max-width: 600px){
    .kkw-product-packages-sidebar {
        width: 600px !important;
        margin: 10px auto !important;
    }
    .kkw-product-packages-sidebar {
        max-width: 350px;
        margin: 30px auto;
    }
}

@media (max-width: 767px) {
    .kkw-product-summary {
        padding-top: 0px;
        padding-bottom: 0px;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    div.product .woocommerce-tabs .full-width-content[data-tab-style*=fullwidth] ul.tabs,
    .woocommerce div.product .woocommerce-tabs .full-width-content[data-tab-style*=fullwidth] ul.tabs li a {
        display: flex;
        gap: 10px !important;
        flex-wrap: wrap !important;
    }

    .kkw-product-packages-sidebar {
        width: 600px !important;
        margin: 10px auto !important;
    }

    .kkw-package-item,
    .kkw-packages-intro {
        width: 90% !important;
    }

    #kkw_payment_type {
        max-width: 100% !important;
    }
}