.bgr-root{font-family:inherit;color:#263044;max-width:100%;margin:18px 0}.bgr-root *,.bgr-modal *{box-sizing:border-box}.bgr-panel{border:1px solid #f4c7dc;border-radius:14px;padding:18px;background:#fff;box-shadow:0 3px 14px rgba(40,25,50,.035)}.bgr-heading{display:flex;align-items:center;gap:10px;font-size:15px;line-height:1.35}.bgr-heading strong{flex:1;color:#1d2939}.bgr-icon{width:31px;height:31px;flex:none;border-radius:9px;background:#fff0f7;color:#e32389;display:grid;place-items:center;font-size:23px;font-weight:700}.bgr-icon:before{content:'🎁';font-size:20px}.bgr-icon{font-size:0}.bgr-amount{white-space:nowrap;font-size:12px;color:#667085}.bgr-track{height:7px;border-radius:50px;overflow:hidden;background:#f8d9e8;margin:15px 0 11px}.bgr-track>span{display:block;height:100%;background:#e32389;border-radius:50px;transition:width .25s}.bgr-panel p{font-size:14px;line-height:1.5;margin:10px 0 0;color:#475467}.bgr-panel p strong{color:#1d2939}.bgr-button{background:#e32389!important;border:1px solid #e32389!important;color:#fff!important;border-radius:9px!important;padding:12px 18px!important;min-height:44px;font-weight:700!important;cursor:pointer;box-shadow:none!important;line-height:1.25}.bgr-button:hover{background:#c81972!important}.bgr-panel>.bgr-button{margin-top:15px;width:100%}.bgr-button span{margin-left:6px}.bgr-selected{display:flex;align-items:center;gap:12px;margin-top:12px}.bgr-thumb{width:60px;height:60px;flex:none;border:1px solid #f2f2f2;border-radius:8px;overflow:hidden}.bgr-thumb img{width:100%;height:100%;object-fit:contain}.bgr-selected-text{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0;font-size:13px}.bgr-selected-text strong{line-height:1.3}.bgr-selected-text span{font-size:12px;color:#667085}.bgr-link{background:none!important;border:0!important;padding:5px!important;box-shadow:none!important;color:#e32389!important;font-weight:700;cursor:pointer;font-size:12px;white-space:nowrap}.bgr-cart-tag{color:#e32389;font-weight:600;display:inline-block;margin-left:6px}.bgr-modal{position:fixed;inset:0;z-index:999999;display:none;font-family:inherit;color:#1d2939}.bgr-modal.bgr-visible{display:flex;align-items:center;justify-content:center}.bgr-overlay{position:absolute;inset:0;background:rgba(17,24,39,.54)}.bgr-dialog{position:relative;width:min(760px,calc(100vw - 36px));max-height:calc(100dvh - 36px);overflow-y:auto;background:white;border-radius:20px;padding:28px;box-shadow:0 20px 80px rgba(0,0,0,.22);outline:none}.bgr-close{position:absolute;right:15px;top:13px;background:none!important;border:0!important;color:#475467!important;box-shadow:none!important;font-size:30px!important;cursor:pointer;padding:4px 10px!important}.bgr-modal-title{display:flex;align-items:center;gap:15px;padding-right:25px;margin-bottom:23px}.bgr-gift-icon{font-size:32px;background:#fff0f7;border-radius:12px;width:56px;height:56px;display:grid;place-items:center;flex:none}.bgr-modal-title h2{font-size:22px!important;margin:0 0 5px!important;line-height:1.25!important;color:#1d2939!important}.bgr-modal-title p{font-size:14px;margin:0;color:#667085}.bgr-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.bgr-option{position:relative;border:1.5px solid #e4e7ec;border-radius:13px;cursor:pointer;display:flex;flex-direction:column;align-items:center;text-align:center;padding:15px 12px 14px;gap:10px;min-width:0;transition:border-color .15s,background .15s}.bgr-option:has(input:checked){border-color:#e32389;background:#fff9fc}.bgr-option input{position:absolute;opacity:0;width:1px;height:1px}.bgr-option:focus-within{outline:2px solid #e32389;outline-offset:2px}.bgr-option-img{height:112px;width:100%;display:flex;align-items:center;justify-content:center}.bgr-option-img img{height:100%;max-width:100%;width:auto;object-fit:contain}.bgr-option-name{font-size:13px;line-height:1.4;font-weight:600;flex:1}.bgr-option-name small{display:block;font-size:11px;color:#e32389;margin-top:7px}.bgr-radio-dot{height:18px;width:18px;border:1.5px solid #98a2b3;border-radius:50%;display:block;position:relative}.bgr-option:has(input:checked) .bgr-radio-dot{border-color:#e32389}.bgr-option:has(input:checked) .bgr-radio-dot:after{content:'';position:absolute;inset:3px;border-radius:50%;background:#e32389}.bgr-modal-actions{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:22px}.bgr-modal-actions .bgr-button{min-width:245px}.bgr-cancel{border:1px solid #e4e7ec!important;border-radius:9px!important;padding:12px 20px!important;background:white!important;color:#475467!important;box-shadow:none!important;cursor:pointer}.bgr-error{color:#b42318;font-size:13px;margin-top:12px}.bgr-modal-open{overflow:hidden}@media(max-width:640px){.bgr-root{margin:14px 0}.bgr-panel{padding:14px;border-radius:12px}.bgr-heading{font-size:14px;flex-wrap:wrap}.bgr-amount{font-size:11px}.bgr-panel p{font-size:13px}.bgr-modal.bgr-visible{align-items:flex-end}.bgr-dialog{width:100%;max-height:calc(100dvh - 12px);border-radius:22px 22px 0 0;padding:23px 18px max(20px,env(safe-area-inset-bottom));}.bgr-dialog:before{content:'';display:block;background:#d0d5dd;width:38px;height:4px;border-radius:10px;margin:-10px auto 18px}.bgr-modal-title{gap:10px;margin-bottom:17px}.bgr-modal-title h2{font-size:18px!important}.bgr-modal-title p{font-size:12px}.bgr-gift-icon{width:43px;height:43px;font-size:24px}.bgr-options{display:flex;flex-direction:column;gap:9px}.bgr-option{flex-direction:row;text-align:left;padding:10px;gap:12px;min-height:94px}.bgr-option-img{height:70px;width:76px;flex:none}.bgr-option-name{font-size:13px}.bgr-radio-dot{flex:none}.bgr-modal-actions{flex-direction:column;gap:8px}.bgr-modal-actions .bgr-button{width:100%;min-width:0}.bgr-cancel{border:0!important;padding:9px!important}.bgr-selected{flex-wrap:wrap}.bgr-link{margin-left:auto}}
/* v1.0.1: isolate gift thumbnails from BeTheme/WooCommerce global image rules */
.bgr-modal .bgr-option-img{height:112px!important;min-height:112px!important;max-height:112px!important;width:100%!important;min-width:0;overflow:hidden;position:relative;flex:0 0 112px!important}
.bgr-modal .bgr-option-img img,.bgr-modal .bgr-option-img img.attachment-woocommerce_thumbnail{display:block!important;position:static!important;float:none!important;margin:0 auto!important;padding:0!important;width:auto!important;max-width:100%!important;height:100%!important;max-height:112px!important;object-fit:contain!important;transform:none!important;aspect-ratio:auto!important}
.bgr-modal .bgr-option-name{display:block;width:100%;min-width:0;overflow-wrap:anywhere;flex:1 1 auto}
@media(max-width:640px){.bgr-modal .bgr-option-img{height:70px!important;min-height:70px!important;max-height:70px!important;width:76px!important;flex:0 0 76px!important}.bgr-modal .bgr-option-img img,.bgr-modal .bgr-option-img img.attachment-woocommerce_thumbnail{max-height:70px!important}}

/* v1.0.2: selected gift layout, including narrow cart sidebar */
.bgr-root .bgr-selected{display:flex;flex-direction:column;align-items:stretch;gap:9px;margin-top:12px;min-width:0}
.bgr-root .bgr-selected-product{display:flex;align-items:center;gap:12px;width:100%;min-width:0}
.bgr-root .bgr-selected-product .bgr-thumb{width:60px;height:60px;flex:0 0 60px}
.bgr-root .bgr-selected-product .bgr-selected-text{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
.bgr-root .bgr-selected .bgr-link{align-self:flex-start;margin:0 0 0 72px!important;padding:4px 0!important;text-align:left;white-space:normal;line-height:1.35}
@media(max-width:380px){.bgr-root .bgr-selected .bgr-link{margin-left:0!important}}

/* v1.0.3: compact selected-gift header and cart placement */
.bgr-root .bgr-heading{display:flex;align-items:center;flex-wrap:nowrap;gap:9px}
.bgr-root .bgr-heading strong{min-width:0;flex:1 1 auto}
.bgr-root .bgr-heading .bgr-heading-change{margin:0 0 0 auto!important;padding:4px 0!important;flex:0 0 auto;white-space:nowrap;text-align:right;font-size:12px;line-height:1.3}
.bgr-root .bgr-selected{margin-top:9px;gap:0}
.bgr-root .bgr-selected-product{align-items:center}
.bgr-root[data-context="cart"]{clear:both;width:100%;margin:18px 0 0}
@media(max-width:480px){.bgr-root .bgr-heading{flex-wrap:wrap}.bgr-root .bgr-heading .bgr-heading-change{margin-left:auto!important}}

/* v1.0.4: align the reward card with its WooCommerce content column */
.bgr-root,
.bgr-root[data-context="product"],
.bgr-root[data-context="cart"],
.bgr-root[data-context="checkout"]{
  display:block;
  box-sizing:border-box;
  width:100%!important;
  max-width:none!important;
  min-width:0;
  margin-left:0;
  margin-right:0;
  padding-left:0!important;
  padding-right:0!important;
  float:none;
}

/* Stil general */
.bgr-root > .bgr-panel {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: none !important;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
}

/* Desktop - peste 1024px */
@media screen and (min-width: 1024px) {
    .bgr-root > .bgr-panel {
        width: 100% !important;
    }
}

/* Tableta - 768px pana la 1023px */
/*@media screen and (min-width: 768px) and (max-width: 1023px) {*/
/*    .bgr-root > .bgr-panel {*/
/*        width: calc(100% - 58px) !important;*/
/*        margin-left: 29px !important;*/
/*        margin-right: 29px !important;*/
/*    }*/
/*}*/

/* Mobil - sub 768px */
@media screen and (max-width: 767px) {
    body:not(.woocommerce-cart) .bgr-root > .bgr-panel {
        width: calc(100% - 40px) !important;
        margin-left: 19px !important;
        margin-right: 19px !important;
    }
}




@media screen and (max-width: 767px) {
    .woocommerce-cart .bgr-root > .bgr-panel {
        width: calc(100% - 2px) !important;
        /*margin-left: 19px!important;*/
        /*margin-right: 19px!important;*/
    }
}