/* Custom Variation Layout UI */

/* Container */
#custom-variation-bundles-container {
    width: 100%;
    margin-bottom: 30px;
    font-family: inherit;
}

.custom-bundles-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #1a202c;
}

/* Bundle Cards */
.custom-bundle-card {
    position: relative;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.custom-bundle-card:hover {
    border-color: #cbd5e1;
}

.custom-bundle-card.selected {
    border-color: #21b8c2;
    background-color: #f7feff;
    box-shadow: 0px 10px 15px -3px #0000001A;
}

/* Sale Tag */
.custom-bundle-sale-tag {
    position: absolute;
    top: -12px;
    left: 20px;
    background-color: #21b8c2;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 12px;
    border-radius: 20px;
    line-height: 1;
}

/* Label Layout */
.custom-bundle-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    width: 100%;
}

/* Custom Radio Button */
.custom-bundle-radio {
    position: relative;
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.custom-bundle-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-radio-mark {
    height: 24px;
    width: 24px;
    background-color: #fff;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    display: inline-block;
}

.custom-bundle-card.selected .custom-radio-mark {
    border-color: #21b8c2;
}

.custom-radio-mark:after {
    content: "";
    display: none;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #21b8c2;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkiIGhlaWdodD0iMTQuNzc4IiB2aWV3Qm94PSIwIDAgMTkgMTQuNzc4IiBmaWxsPSIjZmZmIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGZpbGw9Im5vbmUiIGQ9Ik0xNy45NDQgMS4wNTYgNi4zMzMgMTIuNjY3IDEuMDU2IDcuMzg5IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyLjExMSIvPjwvc3ZnPg==);
    background-position: center;
    background-size: 10px;
    background-repeat: no-repeat;
    transform: scale(1.2);
}

.custom-bundle-card.selected .custom-radio-mark:after {
    display: block;
}

/* Text Content */
.custom-bundle-content {
    flex-grow: 1;
    padding-right: 15px;
}

.custom-bundle-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px;
    color: #1a202c;
}

.custom-bundle-subdesc {
    color: #21b8c2;
    font-size: 14px;
    margin: 0 0 4px;
    line-height: 1.3;
}

.custom-bundle-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}
.custom-bundle-desc p {
    margin: 0;
}

/* Price Box */
.custom-bundle-price-box {
    text-align: right;
    min-width: 90px;
}

.custom-bundle-regular-price {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.custom-bundle-sale-price {
    font-size: 24px;
    font-weight: 600;
    color: #1a202c;
    line-height: 1;
    margin-bottom: 4px;
}

.custom-bundle-price-label {
    font-size: 12px;
    color: #64748b;
}

/* Hide Default WooCommerce Table */
form.variations_form .variations {
    display: none !important;
}

/* Hide exact WooCommerce standard variation display sections used generally below dropdowns */
.woocommerce-variation-price,
.woocommerce-variation-description {
   display: none !important;
}
