 /* Hide the default spinner in WebKit browsers (Chrome, Safari) */
        input[type="number"]::-webkit-inner-spin-button,
        input[type="number"]::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
        
        /* Hide the default spinner in Firefox */
        input[type="number"] {
            -moz-appearance: textfield;
        }
        
        .custom-variation-buttons .attribute-button.out-of-stock {
            text-decoration: line-through;
            cursor: not-allowed;
            opacity: 0.2;
        }

        .spinner {
            border: 2px solid #f3f3f3;
            border-top: 2px solid #3498db;
            border-radius: 50%;
            width: 12px;
            height: 12px;
            animation: spin 1s linear infinite;
            display: inline-block;
            margin-right: 5px;
        }
    
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .custom-variation-buttons h3 {
            margin-bottom: 10px;
            font-size: 18px;
            color: #333;
            text-transform: capitalize;
        }
        .custom-variation-buttons .attribute-button {
            border: 2px solid black;
            border-radius: 100px;
            padding: 10px 20px;
            margin-right: 10px;
            cursor: pointer;
            transition: background-color 0.3s ease;
            color:black;
        }
        .custom-variation-buttons .attribute-button:hover,
        .custom-variation-buttons .attribute-button.active {
            background-color: black;
            color: white;
        }
        .custom-variation-buttons .add-to-cart-button {
            width: 100%;
            border: 0;
            border-radius: 5px;
            padding: 20px 20px;
            margin: 5px 0;
            cursor: not-allowed;
            background-color: lightgrey;
            color: white;
            display: inline-block;
            transition: background-color 0.3s ease, cursor 0.3s ease;
        }
        .custom-variation-buttons .add-to-cart-button.enabled {
            cursor: pointer;
            background-color: #D9B758;
            color: white;
        }
        .stock-indicator {
            display: flex;
            align-items: center;
            margin-top: 10px;
        }
        .stock-circle {
            width: 10px;
            height: 10px;
            background-color: #28a745; /* Green for in stock */
            border: 2px solid #28a745;
            border-radius: 50%;
            margin-right: 5px;
        }
        .stock-circle.out-of-stock {
            background-color: #dc3545; /* Red for out of stock */
            border-color: #dc3545;
        }
        .stock-text {
            font-size: 14px;
            color: #28a745; /* Green for in stock */
        }
        .stock-text.out-of-stock {
            color: #dc3545; /* Red for out of stock */
        }
.dynamic-boxes {
    display: flex;
    justify-content: space-between;
    gap: rem;
    margin: 1rem 0;
    width: 100%;
    flex-direction: column;
}

@media (min-width: 768px) {
  .dynamic-boxes {
 
    flex-direction: row;
}
}


.dynamic-boxes .box {
    display: flex;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    flex-direction: column;
    flex: 1 1 calc(33.333% - 2rem); /* Adjusts width to 1/3 minus the gap */
}