 /*Weight Selector Styles - Production Ready */
.weight-selector-wrapper {
    margin: 20px 0;
    padding: 0;
}

.weight-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.weight-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.weight-btn {
    position: relative;
    flex: 0 0 calc(20% - 8px);
    min-width: 70px;
    margin: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.weight-btn input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.weight-btn span {
    display: block;
    padding: 10px 16px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.weight-btn:hover span {
    border-color: #B8956A;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(184, 149, 106, 0.15);
}

.weight-btn.active span,
.weight-btn input[type="radio"]:checked + span {
    background: #B8956A;
    border-color: #B8956A;
    color: #fff;
    font-weight: 600;
}

.custom-weight-input {
    margin-top: 15px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-weight-input input[type="number"] {
    width: 100%;
    max-width: 250px;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.custom-weight-input input[type="number"]:focus {
    outline: none;
    border-color: #B8956A;
    box-shadow: 0 0 0 3px rgba(184, 149, 106, 0.1);
}

 /*Remove spinner arrows for cleaner look */
.custom-weight-input input[type="number"]::-webkit-inner-spin-button,
.custom-weight-input input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
}

 /*Responsive Design */
@media (max-width: 768px) {
    .weight-btn {
        flex: 0 0 calc(33.333% - 7px);
    }
}

@media (max-width: 480px) {
    .weight-btn {
        flex: 0 0 calc(50% - 5px);
        min-width: 60px;
    }
    
    .weight-btn span {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .custom-weight-input input[type="number"] {
        max-width: 100%;
    }
}

 /*Cart page styling */
.woocommerce-cart-form dl.variation dt,
.woocommerce-cart-form dl.variation dd {
    font-size: 13px;
}

.woocommerce-cart-form dl.variation dd p {
    margin: 0;
    font-weight: 600;
    color: #B8956A;
}

