/* ===============================
 * StoreOne Bundle – Frontend
 * =============================== */
.storeone-bundle-frontend {
     margin: 24px 0;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgb(239 239 239 / 50%);
    box-shadow: 0 24px 66px -20px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.storeone-bundle-frontend .s1-bundle-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.storeone-bundle-frontend .s1-bundle-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.storeone-bundle-frontend .s1-bundle-item {
    position: relative;
    display: flex;
    gap: 15px;
    padding: 1rem;
    background: rgba(248, 250, 252, 0.3);
    border: 1px solid #f1f5f9;
    border-radius: 10px;
}


/* ===============================
   STOREONE SVG CHECKBOX
================================= */

.storeone-bundle-frontend .s1-check-wrap {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* RESET DEFAULT */
.storeone-bundle-frontend .s1-bundle-check {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 22px;
    height: 22px;
    margin: 0 !important;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: #ffffff;
    cursor: pointer;
    position: relative;
    box-shadow: none !important;
}

/* CHECKED CIRCLE */
.storeone-bundle-frontend .s1-bundle-check:checked {
    background-color: #111827;
    border-color: #111827;

    /* SVG TICK */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
}

/* UNCHECKED */
.storeone-bundle-frontend .s1-bundle-check:not(:checked) {
    background-image: none;
    background-color: #ffffff;
    border-color: #d1d5db;
}

/* OPTIONAL HOVER */
.storeone-bundle-frontend .s1-bundle-check:hover {
    border-color: #9ca3af;
}
.storeone-bundle-frontend .s1-bundle-check:focus{
    outline:none;
}


.storeone-bundle-frontend .s1-thumb {
    width: 64px;
    height: 64px;
    padding: 6px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 24px 66px -20px rgba(0, 0, 0, 0.1);
}

.storeone-bundle-frontend .s1-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}
.storeone-bundle-frontend a.s1-product-link{
    text-decoration:none;
}

.storeone-bundle-frontend .s1-info {
    flex: 1;
}

.storeone-bundle-frontend .s1-unit-price {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 6px;
}
.storeone-bundle-frontend .s1-header-line {
    display: flex;
    justify-content: space-between;
}

.storeone-bundle-frontend .s1-line-price{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 13px;
    font-weight: 600;
    color:#999;
}

.storeone-bundle-frontend .s1-line-price .s1-line-unit{
    font-size: 15px;
    font-weight: bold;
    color: #111827;
    text-decoration: none;
}

.storeone-bundle-frontend .s1-name {
    font-size: 16px;
    font-weight: bold;
    color: #111827;
}
.storeone-bundle-frontend .s1-line-qty,
.storeone-bundle-frontend .s1-line-multiply{
    font-size: 0.875rem;
    color: #cbd5e1;
}
/* ===============================
 * Qty – WooCommerce Style (Compact)
 * =============================== */
/* QTY */
.storeone-bundle-frontend .s1-qty-wrap {
    display: inline-flex;
    align-items: center;
    height: 26px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 24px 66px -20px rgba(0, 0, 0, 0.1);
    gap: 8px;
    margin-top: 20px;
}
.storeone-bundle-frontend .s1-desc p {
    margin: 0;
    font-size: 14px;
    color: #999;
}
.storeone-bundle-frontend .s1-qty-btn {
    width: 26px;
    height: 26px;
    background: #fff;
    border: none;
    font-size: 14px;
    cursor: pointer;
    
}

.storeone-bundle-frontend .s1-line-qty {
    width: 26px;
    text-align: center;
    font-size: 13px;
}

.s1-qty-wrap {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    overflow: hidden;
    height: 32px;
    background: #fff;
    margin-right: 0.5rem;
}
.s1-qty-wrap .s1-line-qty{
color:#111827;
}
/* + / - buttons */
.s1-qty-btn {
    width: 30px!important;
    height: 30px!important;
    padding:0!important;
    border: none;
    background: #f7f7f7;
    color: #333;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.s1-line-qty{
width: 30px;
text-align: center;
}
.s1-qty-btn:hover {
    background: #ececec;
}
/* Number input */
.s1-qty-input {
    width: 30px!important;
    height: 30px!important;
    border: none;
    border-left: 1px solid #dcdcdc;
    border-right: 1px solid #dcdcdc;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    padding: 0!important;;
    background: #fff;
    color: #111;
}

/* Remove browser arrows */
.s1-qty-input::-webkit-inner-spin-button,
.s1-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.s1-qty-input[type=number] {
    -moz-appearance: textfield;
}

/* Disabled state (optional future use) */
.s1-qty-wrap.disabled {
    opacity: 0.5;
    pointer-events: none;
}
/* LINE PRICE */
.s1-line-price {
    font-weight: 600;
    min-width: 80px;
}
.storeone-bundle-frontend .storeone-bundle-above-text > p{
    margin-bottom:10px;
}

.storeone-bundle-frontend .storeone-bundle-below-text > p{
    margin-bottom:0px;
    margin-top:10px;
    
}
.storeone-bundle-frontend .storeone-bundle-above-text > p,
.storeone-bundle-frontend .storeone-bundle-below-text > p{
font-size:14px;
    font-weight:500;
}
.wc-block-components-product-details__bundle-items,
.wc-block-components-product-details__bundle-price{
    display: flex;
    align-items: start;
    gap:10px;
    margin-bottom:10pxpx;
}
.s1-bundle-cart-list {
    margin: 6px 0;
    padding-left: 18px;
}
.s1-desc p{
   margin:0; 
}
.wc-block-components-product-details li{
    margin-bottom:10px;
}
/** cart page style **/

span.store-one-cart-qty {
    font-weight: 400;
    color: #b9b9b9;
}

/* Hide WooCommerce colon after bundle item name */
dl.variation dt:has(.s1-bundle-item-name) {
    font-size: 0;
    line-height: 0;
}
dl.variation dt:has(.s1-bundle-item-name) > * {
    font-size: 14px;
    line-height: normal;
}
/* Block cart colon hide */
.wc-block-components-product-details li span:has(.s1-bundle-item-name) {
    font-size: 0;
}
.wc-block-components-product-details li span:has(.s1-bundle-item-name) > * {
    font-size: 13px;
}

dl.variation dd{
    margin: 0 !important;
}
a.s1-bundle-link {
    text-decoration: none;
    color: inherit;
}
a.s1-bundle-link:hover {
    text-decoration: underline;
}

/* ===============================
 * VARIATION FIELDS (BUNDLE)
 * =============================== */

.s1-variation-form {
    margin-top: 8px;
}

.s1-variation-field {
    margin-bottom: 10px;
}

.s1-variation-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

/* Select dropdown */
.s1-variation-field select {
    width: 100%;
    padding: 7px 10px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #dcdcdc;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
/* Hover / focus */
.s1-variation-field select:hover {
    border-color: #bbb;
}

.s1-variation-field select:focus {
    border-color: #2271b1; /* WP blue */
    box-shadow: 0 0 0 1px rgba(34,113,177,0.3);
    outline: none;
}
/* Disabled option look */
.s1-variation-field select:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* Mobile friendly */
@media (max-width: 600px) {
    .s1-variation-field select {
        font-size: 16px;
    }
}
/* MOBILE */
@media (max-width: 480px) {
    .s1-bundle-item {
        flex-wrap: wrap;
    }

    .s1-line-price {
        width: 100%;
        text-align: left;
        margin-top: 8px;
    }
}


.storeone-old-price {
    text-decoration:line-through;
    opacity: 0.4;
    margin-right: 6px;
}
.storeone-sale-price,.storeone-main-price {
    font-weight: 500;
}
.s1-qty-btn:focus{
    outline:none;
    border:none;
}
.wc-block-components-product-details li{
    display:flex;
    justify-content: space-between;
}