/* WooCommerce Product Measurements Styles */

.product-measurements {
    margin: 20px 0;
    padding: 20px;
    background: white;
}

.measurements-title {
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 10px;
    text-align: center;
    position: relative;
}

.measurements-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #333;
}

/* Grid Style */
.measurements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
}

.measurements-grid .measurement-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 15px;
    background: white;
    position: relative;
}

.measurements-grid .measurement-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #ddd;
}

.measurement-icon {
    margin-bottom: 15px;
    flex-shrink: 0;
}

.measurement-icon img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    display: block;
}

.measurement-info {
    display: flex;
    flex-direction: column;
}

.measurement-label {
    font-weight: 700;
    color: #000;
    font-size: 10px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.measurement-value {
    color: #333;
    font-weight: 700;
    font-size: 24px;
}

/* List Style */
.measurements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.measurements-list .measurement-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.measurements-list .measurement-item:last-child {
    border-bottom: none;
}

.measurements-list .measurement-icon {
    width: 30px;
    height: 30px;
    margin-right: 12px;
    object-fit: contain;
}

.measurements-list .measurement-label {
    font-weight: 600;
    color: #333;
    margin-right: 8px;
    min-width: 120px;
}

.measurements-list .measurement-value {
    color: #0073aa;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .measurements-grid {
        grid-template-columns: 1fr;
    }
    
    .measurements-grid .measurement-item:not(:last-child)::after {
        right: auto;
        top: auto;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 1px;
    }
    
    .measurement-icon img {
        width: 120px;
        height: 120px;
    }
    
    .measurements-list .measurement-icon {
        width: 25px;
        height: 25px;
    }
    
    .measurement-value {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .product-measurements {
        padding: 15px;
    }
    
    .measurements-grid .measurement-item {
        padding: 15px 10px;
    }
    
    .measurement-icon img {
        width: 120px;
        height: 120px;
    }
    
    .measurement-value {
        font-size: 18px;
    }
}