/* Custom Product Page Styles */
.mpu-custom-product-summary {
    max-width: 600px;
}

.mpu-price-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
    border: 2px solid #d4af37;
}

.mpu-price-main {
    font-size: 36px;
    font-weight: bold;
    color: #2d4a3e;
}

.mpu-price-notice {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

/* Attributes Table */
.mpu-attributes-table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.mpu-attributes-table tr {
    border-bottom: 1px solid #e5e7eb;
}

.mpu-attributes-table td {
    padding: 12px 0;
}

.mpu-attributes-table .attr-label {
    font-weight: 600;
    color: #333;
    width: 40%;
}

.mpu-attributes-table .attr-value {
    color: #666;
    text-align: right;
}

/* Stock Status */
.mpu-stock-status {
    margin: 20px 0;
    padding: 12px;
    background: #f0fdf4;
    border-radius: 6px;
    border-left: 4px solid #22c55e;
}

.mpu-stock-status .in-stock {
    color: #22c55e;
    font-weight: 600;
}

.mpu-stock-status .out-of-stock {
    color: #ef4444;
    font-weight: 600;
}

/* Delivery Options */
.mpu-delivery-options {
    margin: 30px 0;
}

.mpu-delivery-option {
    border: 2px solid #00264D;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    overflow: hidden;
}

.mpu-delivery-option-content {
    padding-left: 40px;
}

.mpu-delivery-option:hover {
    border-color: #d4af37;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.mpu-delivery-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.mpu-delivery-option label {
    cursor: pointer;
    display: block;
    padding: 0 20px;
    margin: 0;
}

.delivery-header {
    padding-top: 20px;
    margin-bottom: 15px;
}

.delivery-icon-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    margin-bottom: 10px;
}

.delivery-title {
    font-weight: 700;
    font-size: 18px;
    color: #000;
}

.mpu-delivery-option.selected {
    background-color: #EFEFEF;
}

/* Custom Radio Button Circle */
.mpu-delivery-option::before {
    content: '';
    position: absolute;
    left: 20px;
    width: 24px;
    height: 24px;
    border: 2px solid #144835;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    top: 22px;
}

/* Inner dot for selected state */
.mpu-delivery-option input[type="radio"]:checked ~ .mpu-delivery-option::before,
.mpu-delivery-option.selected::before {
    border-width: 8px;
}

.delivery-price-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.delivery-price {
    font-size: 20px;
    font-weight: bold;
    color: #2d4a3e;
}

.delivery-info {
    color: #8093A6;
    font-size: 12px;
    align-self: start;
}

.delivery-info.delivery-slovenija {
    background: transparent;
    font-size: 20px;
    width: 115px;
}

.delivery-savings {
    /* background: #22c55e;
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block; */
    color: #8093A6;
    margin-top: -10px;
}

.delivery-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    color: #8093A6;
}

.delivery-features li {
    font-size: 14px;
    color: #000;
    margin: 8px 0;
    padding-left: 5px;
}

.delivery-note {
    font-size: 13px;
    color: #000;
    margin-left: -20px;
    margin-bottom: -20px;
    margin-right: -20px;
    padding: 10px;
    background: #D3FFCA;
    width: calc(100% + 40px);
    border-top: 2px solid #00264D;
    text-align: center;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: 0.4s ease-in-out;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

.delivery-note.show {
    max-height: 100px;
    opacity: 1;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Stock Notice Bottom */
.mpu-stock-notice-bottom {
    color: #00915B;
    font-size: 14px;
}

/* Cart Wrapper */
.mpu-cart-wrapper {
    display: flex;
    gap: 15px;
    align-items: stretch;
    margin: 25px 0;
}

.mpu-cart-wrapper .quantity {
    display: flex;
    overflow: hidden;
    height: 50px;
    align-items: center;
}

.mpu-cart-wrapper .quantity .qty {
    width: 60px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #144835;
    background: transparent;
}

.mpu-cart-wrapper .quantity .btn {
    width: 45px;
    background: #fff;
    border: 1px solid #898989;
    border-radius: 7px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #144835;
    transition: background 0.3s;
}

.mpu-cart-wrapper .quantity button:hover {
    background: #e5e7eb;
}

.single_add_to_cart_button {
    flex: 1 !important;
    background: #144835 !important;
    color: white !important;
    padding: 0 30px !important;
    border: none !important;
    font-weight: bold !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    height: 50px !important;
}

.single_add_to_cart_button:hover {
    background: #206b50 !important;
}

.single-product .wd-content-layout .single-product-content {
    background-color: #F4F1EB; 
}

.single-product .wd-content-layout .single-product-content {
    padding: 40px 50px;
}

.wd-product.wd-hover-standard .wd-add-btn .add-to-cart-loop span {
    text-transform: none;
        padding: 5px 12px;
}

/* Product Meta */
.product_meta {
    padding: 20px 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

/* SINGLE PRODUCT TABS NAVIGATION */
.product-tabs-wrapper {
    border: none !important;
}

.product-tabs-wrapper .tabs-layout-tabs>.wd-nav-tabs-wrapper {
    margin-bottom: 0 !important;
}

.product-tabs-wrapper .wd-accordion-item {
    background-color: #fff;
}

.product-tabs-wrapper .wd-accordion-item .entry-content {
    padding: 20px;
}

.product-tabs-wrapper .wd-nav>li>a {
    padding: 15px 20px !important;
    background-color: #979797 !important;
    color: #fff !important;
}

.product-tabs-wrapper .wd-nav:where(:not(.wd-dis-act))>li:where(.current-menu-item,.wd-active,.active)>a {
    background-color: #144835 !important;
    color: #fff !important;
}

.product-tabs-wrapper .wd-nav[class*="wd-style-underline"] .nav-link-text:after {
    display: none !important;
}

.product-tabs-wrapper .wd-nav-tabs {
    gap: 0 !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mpu-custom-product-summary {
        max-width: 100%;
    }
    
    .mpu-price-main {
        font-size: 28px;
    }
    
    .delivery-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .delivery-price-badge {
        align-self: flex-start;
    }
    
    .mpu-cart-wrapper {
        flex-direction: column;
    }
    
    .mpu-cart-wrapper .quantity {
        justify-content: center;
    }
}