/* 
================================================
PRODUCT PAGE - DESIGN 
================================================ 
*/
.type-product:has( .alu-cuts-configurator) .advanced-order .h1, .type-product:has( .alu-cuts-configurator) .advanced-order .h2{
    display: none !important;
}
.type-product .p-code {
    margin-bottom: 19px;
}
.type-product .p-detail-inner-header .p-code {
    display: block !important;
}
.type-product .p-short-description p {
    font-size: 16px;
}

.type-product .detail-parameters .delivery-time-label,
.type-product .delivery-time,
.type-product .shipping-options {
    font-size: 16px;
    line-height: 20px;
}

.type-product .p-info-wrapper .price-final {
    font-size: 40px;
    line-height: 1;
}

.type-product .p-info-wrapper .pr-list-unit {
    font-size: 20px !important;
}

.type-product .p-info-wrapper .price-additional {
    font-size: 16px;
}

.type-product .price-measure {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.wt-product-contact-button {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    margin: 20px 0px;
    gap: 15px;
}

.wt-product-contact-button.has-row {
    flex-direction: row;
}

.wt-product-contact-button.has-border {
    border: none;
}

.wt-product-contact-button.has-bg {
    background-color: #dedfdf;
}
.wt-product-contact-button__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.wt-product-contact-button__icon.contact-form-ico {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
}

.wt-product-contact-button__icon.bubble-1::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background-color: #ff6b6b;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    right: 2px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.wt-product-contact-button__text-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
     border-left: 1px solid #333;
    padding-left: 20px;
}

.wt-product-contact-button__title {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    line-height: 1.4;
}

.wt-product-contact-button__text {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.wt-product-contact-button__phone,
.wt-product-contact-button__email {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.wt-product-contact-button__phone {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.wt-product-contact-button__phone a.project-contacts {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
    padding-left: 25px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.wt-product-contact-button__phone a.project-contacts:hover {
    color: #0052a3;
    text-decoration: underline;
}

.wt-product-contact-button__phone a.project-contacts:before {
    content: "i";
    speak: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border: 1px solid #333;
    background-color: transparent;
    color: #333;
    border-radius: 50%;
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: 900;
    font-size: 10px;
    line-height: 1;
    text-decoration: none;
    text-transform: none;
    vertical-align: middle;
    position: absolute;
    left: 0;
}

.wt-product-contact-button__email a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
    padding-left: 25px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.wt-product-contact-button__email a:hover {
    color: #0052a3;
    text-decoration: underline;
}

.wt-product-contact-button__email a.project-email:before {
    content: "\e924";
    speak: none;
    display: inline-block;
    font-family: shoptet;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 21px;
    text-decoration: none;
    text-transform: none;
    vertical-align: middle;
    position: absolute;
    left: 0;
}

/* 
================================================ 
CONFIGURATOR PRODUCT PAGE - DESIGN 
================================================
*/
.p-info-wrapper:has(.alu-cuts-configurator) .quantity,
.p-info-wrapper:has(.alu-cuts-configurator) .btn.add-to-cart-button:before,
.p-info-wrapper:has(.alu-cuts-configurator) #dkLabNoteMainWrapper {
    display: none;
}

.p-info-wrapper:has(.alu-cuts-configurator) .add-to-cart-button {
    width: 100%;
}

.alu-cuts-configurator {
    margin: 1.5rem 0;
}

.alu-cuts-title {
    margin: 0 0 1rem 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.alu-cuts-placeholder {
    padding: 0.75rem;
    background-color: #dedfdf;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0px;
}

.alu-cuts-cut-price-info {
    padding: 0.75rem;
    background-color: #dedfdf;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0px;
    border-top: 1px solid #ccc;
}

.alu-cuts-cut-price-info:empty {
    display: none;
}

.alu-cuts-table-wrapper {
    margin: 0 0 1rem 0;
    overflow-x: auto;
}

.alu-cuts-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
}

.alu-cuts-table thead {
    background-color: #f5f5f5;
}

.alu-cuts-table th {
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    ;
    color: #333;
}

.alu-cuts-table td {
    padding: 0.75rem 0.40rem;
}

.alu-cuts-table tr:last-child td {
    border-bottom: none;
}

.alu-cuts-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    font-size: 14px;
    ;
    transition: border-color 0.2s;
}

.alu-cuts-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.alu-cuts-input.alu-cuts-invalid {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.alu-cuts-input.alu-cuts-invalid:focus {
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
}

.alu-cuts-remove {
    padding: 0.5rem 1rem;
    background-color: #dc3545;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
    width: 100%;
}

.alu-cuts-remove:hover {
    background-color: #ce1c2e;
}

.alu-cuts-remove:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
}

.alu-cuts-add-row {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #28a745;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.alu-cuts-add-row:hover {
    background-color: #218838;
}

.alu-cuts-add-row:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.25);
}

.alu-cuts-add-row:active {
    transform: translateY(1px);
}

.alu-cuts-summary {
    margin-top: 1.5rem;
}

.alu-cuts-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}
.alu-cuts-summary-item:last-child {
    border-bottom: none;
}
.alu-cuts-summary-total {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 2px solid #333;
    font-weight: 600;
    font-size: 18px;
}
.alu-cuts-summary-label {
    color: #000000;
}

.alu-cuts-summary-value {
    color: #333;
    font-weight: 500;
}
.alu-cuts-summary-total .alu-cuts-summary-value {
    font-size: 18px;
    color: #e75211;
}
@media (max-width: 768px) {
    .alu-cuts-table {
        font-size: 14px;
    }

    .alu-cuts-table th,
    .alu-cuts-table td {
        padding: 0.5rem;
    }

    .alu-cuts-summary-item {
        flex-direction: column;
        gap: 0.25rem;
    }
}
.alu-cuts-configurator *:focus-visible {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.alu-cuts-configurator[data-loading="true"] {
    opacity: 0.6;
    pointer-events: none;
}
.alu-cuts-error {
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: #fff5f5;
    border: 1px solid #dc3545;
    border-radius: 3px;
    color: #721c24;
    font-size: 0.9rem;
}
/* 
================================================ 
CART - DESIGN 
================================================
*/
.removeable .p-name .main-link, .removeable .p-name .main-link .product-appendix, #cart-widget .product-appendix, .cart-widget-product-name a{
    color: #333;
    font-weight: 700;
}
/* DK Lab Cart Note Detail */
.in-koszyk .dkLabCartNoteDetails {
    padding: 5px 0px;
}
.in-koszyk .dkLabCartAmount,
.in-koszyk .dkLabNoteTextDetailTitle,
.in-koszyk .dkLabCartAttachments {
    display: none;
}
.in-koszyk .dkLabCartNoteDetailHeader {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}
.in-koszyk .dkLabNoteTextDetailNote {
    font-size: 16px;
    line-height: 20px;
}
.in-koszyk .dkLabNoteDetailRemovePart,
.in-koszyk .dkLabNoteAttachDelete {
    margin: 0px 8px;
}
.in-koszyk .dkLabNoteDetailRemovePart:before,
.in-koszyk .dkLabNoteDetailRemovePart:after,
.in-koszyk .dkLabNoteAttachDelete:before,
.in-koszyk .dkLabNoteAttachDelete:after {
    width: 16px;
}
/* DK Lab Cart Note Detail CART WIDGET */
#cart-widget .dkLabCartNoteDetails {
    padding: 5px 0px;
}
#cart-widget .dkLabCartAmount,
#cart-widget .dkLabNoteTextDetailTitle {
    display: none;
}
#cart-widget .dkLabNoteTextDetailNote {
    font-size: 14px;
    line-height: 18px;
}
#cart-widget .dkLabNoteDetailRemovePart,
#cart-widget .dkLabNoteAttachDelete {
    margin-left: 0px;
}
#cart-widget .dkLabNoteDetailRemovePart:before,
#cart-widget .dkLabNoteDetailRemovePart:after,
#cart-widget .dkLabNoteAttachDelete:before,
#cart-widget .dkLabNoteAttachDelete:after {
    width: 14px;
}

/* Tlačítko "Vyprazdnit košík" */
.wt-cart-clear-all-wrapper {
    text-align: right;
    margin-top: 20px;
    margin-bottom: 20px;
}

.wt-cart-clear-all-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #dc3545;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wt-cart-clear-all-btn:hover:not(:disabled) {
    background-color: #c82333;
}

.wt-cart-clear-all-btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.7;
}

.wt-cart-clear-all-btn:focus {
    outline: 2px solid #dc3545;
    outline-offset: 2px;
}

.wt-custom-order-note {
    margin-bottom: 20px;
}

/* Vlastní custom poznámka k objednávce */
.co-box.co-box-additional:has(.wt-custom-order-note) .form-group:has(#add-note) {
    display: none !important;
}

.co-box.co-box-additional:has(.wt-custom-order-note) #note {
    display: none !important;
}
.wt-custom-order-note {
    margin-bottom: 20px;
}
.wt-custom-order-note .form-group {
    margin-bottom: 0px;
}

.wt-custom-order-note label {
    font-weight: 400;
    color: #4D4D4D;
    font-size: 14px;
    cursor: default;
}

.wt-custom-note-content {
    margin-top: 10px;
}

.wt-custom-note-content textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #919191;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.wt-custom-note-content textarea:focus {
    outline: none;
    border-color: #ff6600;
    box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.1);
}

 
