body.rf-pack-v1-ui-active .rf-pack-v1-fields{display:none!important}
.rfpack-r4{width:100%;margin:0 0 18px}
.rfpack-r4-help{display:flex;align-items:center;gap:8px;box-sizing:border-box;width:100%;margin:0 0 16px;padding:9px 12px;border:1px solid #e2c88f;border-radius:8px;background:#fffaf3;color:#716557;font-size:12px;line-height:1.4}
.rfpack-r4-help-i{display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px;border:1px solid #c99b44;border-radius:50%;color:#b8872f;font-weight:700}
.rfpack-r4-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.rfpack-r4-slot{position:relative;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:178px;padding:30px 18px 24px;border:2px dashed #e0d7ce;border-radius:14px;background:#fff;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}
.rfpack-r4-slot:first-child{background:#fbf7f1;border-color:#c99b44}
.rfpack-r4-slot:hover,.rfpack-r4-slot.is-selected{border-color:#c99b44;box-shadow:0 7px 22px rgba(0,0,0,.05)}
.rfpack-r4-slot.is-selected{background:#fffaf3;border-style:solid}
.rfpack-r4-num{position:absolute;top:10px;left:11px;display:flex;align-items:center;justify-content:center;width:23px;height:23px;border-radius:50%;background:#eee6dd;color:#998b7d;font-size:12px;font-weight:700}
.rfpack-r4-name{max-width:100%;margin:0 0 10px;overflow:hidden;color:#111;font-size:14px;font-weight:600;line-height:1.35;text-align:center;text-overflow:ellipsis}
.rfpack-r4-slot.is-selected .rfpack-r4-name{font-weight:700}
.rfpack-r4-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:36px!important;padding:0 16px!important;margin:0!important;border:0!important;border-radius:999px!important;background:#0c0c0c!important;color:#fff!important;font-size:12px!important;font-weight:600!important;line-height:36px!important;cursor:pointer!important;box-shadow:none!important}
.rfpack-r4-btn svg{width:14px;height:14px}
.rfpack-r4-remove{display:none;position:absolute;top:8px;right:9px;align-items:center;justify-content:center;width:27px;height:27px;padding:0;border:0;border-radius:50%;background:#111;color:#fff;font-size:18px;cursor:pointer}
.rfpack-r4-slot.is-selected .rfpack-r4-remove{display:flex}
.rfpack-r4-error{display:none;margin:12px 0 0;padding:9px 12px;border-radius:8px;background:#fff0ec;color:#8c2f1e;font-size:12px}
.rfpack-r4-error.is-visible{display:block}
.rfpack-modal-overlay{display:none;position:fixed;inset:0;z-index:2147483000;box-sizing:border-box;align-items:center;justify-content:center;padding:18px;background:rgba(12,10,8,.7);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.rfpack-modal-overlay.is-open{display:flex}
.rfpack-modal{display:flex;flex-direction:column;width:min(900px,calc(100vw - 36px));max-height:min(84vh,760px);overflow:hidden;border-radius:16px;background:#f8f5f0;box-shadow:0 24px 80px rgba(0,0,0,.27)}
.rfpack-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px 16px;border-bottom:1px solid #e3dad0}
.rfpack-modal-title{margin:0;color:#111;font-size:20px;font-weight:700}
.rfpack-modal-close{display:flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:#111;color:#fff;font-size:22px;cursor:pointer}
.rfpack-modal-search{padding:14px 20px;border-bottom:1px solid #e3dad0}
.rfpack-modal-search input{box-sizing:border-box;width:100%;height:42px;padding:0 14px;border:1px solid #d8cec2;border-radius:10px;background:#fff;color:#111;font-size:14px;outline:none}
.rfpack-modal-search input:focus{border-color:#c99b44;box-shadow:0 0 0 2px rgba(201,155,68,.12)}
.rfpack-modal-message{display:none;margin:12px 20px 0;padding:8px 10px;border-radius:8px;background:#fff0ec;color:#8c2f1e;font-size:12px}
.rfpack-modal-message.is-visible{display:block}
.rfpack-modal-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;overflow:auto;padding:16px 20px 20px}
.rfpack-option{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:10px 13px;border:1px solid #e0d7ce;border-radius:10px;background:#fff;color:#111;text-align:left;cursor:pointer}
.rfpack-option:hover,.rfpack-option:focus{border-color:#c99b44;box-shadow:0 5px 16px rgba(0,0,0,.05);outline:none}
.rfpack-option-label{font-size:13px;font-weight:600;line-height:1.35}
.rfpack-option-sku{flex:0 0 auto;color:#948677;font-size:11px}
.rfpack-option.is-hidden{display:none}
@media(max-width:560px){
 .rfpack-r4-slots{gap:8px}
 .rfpack-r4-slot{min-height:146px;padding:28px 8px 18px}
 .rfpack-r4-name{font-size:12px}
 .rfpack-r4-btn{min-height:34px!important;padding:0 10px!important;font-size:11px!important;line-height:34px!important}
 .rfpack-modal-list{grid-template-columns:1fr}
 .rfpack-modal{width:calc(100vw - 20px);max-height:88vh}
 .rfpack-modal-head{padding:16px}
 .rfpack-modal-search{padding:12px 14px}
 .rfpack-modal-list{padding:12px 14px 16px}
}

/* RF_PACK_V1_UI_R2_FORM_LAYOUT */
html body.single-product div.product form.cart {
    display:flex!important;
    flex-flow:row wrap!important;
    align-items:stretch!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    gap:12px!important;
    margin:0 0 26px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    overflow:visible!important;
}
html body.single-product div.product form.cart .rfpack-r4 {
    display:block!important;
    position:relative!important;
    flex:0 0 100%!important;
    order:-100!important;
    box-sizing:border-box!important;
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0 0 10px!important;
    padding:0!important;
    overflow:visible!important;
    background:transparent!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
}
html body.single-product div.product form.cart .rfpack-r4-slots {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:16px!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
}
html body.single-product div.product form.cart .rfpack-r4-slot {
    display:flex!important;
    position:relative!important;
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    min-height:178px!important;
    margin:0!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
}
html body.single-product div.product form.cart .rf-pack-v1-fields {
    display:block!important;
    position:absolute!important;
    left:-100000px!important;
    right:auto!important;
    width:1px!important;
    min-width:1px!important;
    max-width:1px!important;
    height:1px!important;
    min-height:1px!important;
    max-height:1px!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    opacity:0!important;
    visibility:visible!important;
    clip:rect(0 0 0 0)!important;
    clip-path:inset(50%)!important;
    pointer-events:none!important;
    background:transparent!important;
    border:0!important;
    z-index:-1!important;
}
html body.single-product div.product form.cart .quantity {
    order:10!important;
    flex:0 0 84px!important;
    width:84px!important;
    min-width:84px!important;
}
html body.single-product div.product form.cart .rf-single-cart-price {
    order:11!important;
    flex:0 0 120px!important;
    width:120px!important;
}
html body.single-product div.product form.cart .single_add_to_cart_button {
    order:12!important;
    flex:1 1 220px!important;
    width:auto!important;
    min-width:180px!important;
}
@media(max-width:680px){
    html body.single-product div.product form.cart .rfpack-r4-slots{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:8px!important;
    }
    html body.single-product div.product form.cart .rfpack-r4-slot{
        min-height:146px!important;
    }
    html body.single-product div.product form.cart .quantity{
        flex:0 0 72px!important;
        width:72px!important;
        min-width:72px!important;
    }
    html body.single-product div.product form.cart .rf-single-cart-price{
        flex:0 0 108px!important;
        width:108px!important;
    }
}
/* /RF_PACK_V1_UI_R2_FORM_LAYOUT */
