/* ===== CASE: Блок "Общая информация и параметры" ===== */

.single-product table.woocommerce-product-attributes{
    width:100%;
    position:relative;
    background:#fff;
    border:1px solid rgba(0,0,0,.06);
    border-radius:16px;
    box-shadow:0 8px 24px rgba(0,0,0,.06), 0 2px 6px rgba(0,0,0,.03);
    overflow:hidden;
    margin:0 0 18px;
}

/* Шапка */
.single-product table.woocommerce-product-attributes::before{
    content:"Общая информация и параметры";
    display:block;
    height:40px;
    padding:9px 14px 0 44px;
    background:linear-gradient(180deg, rgba(131,183,53,.08), rgba(131,183,53,.03));
    border-bottom:1px solid rgba(0,0,0,.06);
    font-size:13px;
    line-height:22px;
    font-weight:700;
    color:#222;
}
/* Кружок */
.single-product table.woocommerce-product-attributes::after{
    content:"1";
    position:absolute;
    top:8px;
    left:12px;
    width:20px;
    height:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#83b735;
    color:#fff;
    font-size:10px;
    font-weight:700;
}


/* Строки */
.single-product table.woocommerce-product-attributes tr{
    border-bottom:1px dashed rgba(0,0,0,.10);
}

.single-product table.woocommerce-product-attributes tr:last-child{
    border-bottom:none;
}

.single-product table.woocommerce-product-attributes th{
    width:48%;
    padding:7px 16px;
    font-size:12px;
    font-weight:700;
    color:#222;
}

.single-product table.woocommerce-product-attributes td{
    padding:7px 16px;
	font-weight:500;
    text-align:right;
    font-size:12px;
    color:#666;
}

.single-product table.woocommerce-product-attributes td p{
    margin:0;
}

.single-product table.woocommerce-product-attributes tr:hover{
    background:rgba(131,183,53,.03);
}

@media (max-width:768px){
    .single-product table.woocommerce-product-attributes::before{
        height:54px;
        padding:15px 12px 0 52px;
        font-size:15px;
    }

    .single-product table.woocommerce-product-attributes::after{
        left:12px;
        width:26px;
        height:26px;
    }

    .single-product table.woocommerce-product-attributes th,
    .single-product table.woocommerce-product-attributes td{
        font-size:13px;
        padding:8px 12px;
    }
}

/* Доставка в таблице характеристик товара */
.woocommerce-product-attributes-item--case_delivery_price,
.woocommerce-product-attributes-item--case_delivery_date{
    background:#f8fbf2 !important;
}

/* Названия строк доставки */
.woocommerce-product-attributes-item--case_delivery_price th,
.woocommerce-product-attributes-item--case_delivery_date th{
    color:#333 !important;
}

/* Значения строк доставки */
.woocommerce-product-attributes-item--case_delivery_price td,
.woocommerce-product-attributes-item--case_delivery_date td{
    font-weight:700 !important;
    color:#222 !important;
}

/* Бесплатная доставка — зелёным */
.woocommerce-product-attributes-item--case_delivery_price td{
    color:#83b735 !important;
}

/* Иконка доставки */
.woocommerce-product-attributes-item--case_delivery_price .wd-attr-name-label::before{
    content:"🚚 ";
}

/* Иконка даты */
.woocommerce-product-attributes-item--case_delivery_date .wd-attr-name-label::before{
    content:"📅 ";
}

/* Немного отделяем блок доставки от обычных характеристик */
.woocommerce-product-attributes-item--case_delivery_price th,
.woocommerce-product-attributes-item--case_delivery_price td{
    border-top:1px solid rgba(131,183,53,.18) !important;
}

/* Мобильная адаптация */
@media(max-width:768px){
    .woocommerce-product-attributes-item--case_delivery_price th,
    .woocommerce-product-attributes-item--case_delivery_price td,
    .woocommerce-product-attributes-item--case_delivery_date th,
    .woocommerce-product-attributes-item--case_delivery_date td{
        font-size:12px !important;
    }
}