/* WESLIVA mobile product configurator */
.wl-mobile-config-sheet{display:none}
.wl-gallery-actions{display:none}
@media(max-width:720px){
  .wl-gallery-actions{display:block}
  body.single-product .wl-product-buybar{
    grid-template-columns:minmax(0,1fr) 92px minmax(118px,1fr)!important;
    gap:6px!important;
    min-height:72px!important;
    padding:8px!important;
  }
  body.single-product .wl-product-buybar-pricebox{padding-left:2px!important}
  body.single-product .wl-product-buybar-btn{
    min-height:52px!important;height:52px!important;padding:0 8px!important;
    border-radius:14px!important;font-size:10.5px!important;font-weight:900!important;
    line-height:1.12!important;white-space:normal!important;text-align:center!important;
  }
  body.single-product .wl-product-buybar-now{
    display:block!important;border:1.5px solid #8d314d!important;
    background:#fff!important;color:#8d314d!important;box-shadow:none!important;
  }
  body.single-product .wl-product-buybar-cart{
    display:block!important;border:1px solid #7a2944!important;
    background:linear-gradient(135deg,#8d314d,#70243d)!important;color:#fff!important;
    box-shadow:0 9px 20px rgba(112,36,61,.18)!important;
  }
  body.single-product .wl-product-buybar-btn:disabled{opacity:.55!important;cursor:not-allowed!important}

  .wl-mobile-config-sheet[hidden]{display:none!important}
  .wl-mobile-config-sheet{
    position:fixed;inset:0;z-index:100100;display:block;
  }
  .wl-config-backdrop{
    position:absolute;inset:0;width:100%;height:100%;border:0;
    background:rgba(24,19,21,.55);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);
  }
  .wl-config-panel{
    position:absolute;left:0;right:0;bottom:0;max-height:min(86svh,760px);
    overflow-y:auto;overscroll-behavior:contain;background:#fff;
    border-radius:24px 24px 0 0;padding:12px 16px calc(18px + env(safe-area-inset-bottom));
    box-shadow:0 -18px 55px rgba(38,24,29,.24);
  }
  .wl-config-handle{width:38px;height:4px;margin:0 auto 10px;border-radius:999px;background:#ddd5d7}
  .wl-config-close{
    position:absolute;right:13px;top:14px;width:36px;height:36px;border:0;border-radius:50%;
    background:#f6f2f3;color:#51474a;font-size:26px;line-height:1;display:grid;place-items:center;
  }
  .wl-config-product{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;padding:7px 42px 14px 0;border-bottom:1px solid #eee6e8}
  .wl-config-thumb{width:76px;height:96px;border-radius:12px;overflow:hidden;background:#f7f3f1}
  .wl-config-thumb img{display:block;width:100%;height:100%;object-fit:cover}
  .wl-config-product-copy{min-width:0;align-self:center}
  .wl-config-product-copy>span{display:block;margin-bottom:3px;font-size:8px;font-weight:900;letter-spacing:.13em;color:#9a3858}
  .wl-config-product-copy h2{margin:0 0 6px;font-size:14px;line-height:1.25;font-weight:850;color:#2f272a}
  .wl-config-product-copy strong{display:block;font-size:17px;line-height:1.1;color:#8d314d;font-weight:950}
  .wl-config-product-copy strong .price,.wl-config-product-copy strong .amount{font-size:inherit!important}
  .wl-config-product-copy small{display:block;margin-top:5px;font-size:9px;line-height:1.35;color:#64706a}

  .wl-config-size,.wl-config-personal{padding:16px 0 0}
  .wl-config-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
  .wl-config-section-head strong{font-size:14px;color:#332a2d}
  .wl-config-section-head span{font-size:9px;color:#8a8083}
  .wl-config-size-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .wl-config-size-btn{
    min-height:46px;border:1px solid #d9ced1;border-radius:11px;background:#fff;color:#3e3437;
    font-size:12px;font-weight:800;padding:8px;text-align:center;
  }
  .wl-config-size-btn.is-selected{
    border:2px solid #8d314d;background:#fff3f6;color:#8d314d;
  }
  .wl-config-personal{margin-top:4px;border-top:1px solid #eee6e8}
  .wl-config-personal label{display:block;margin:0 0 10px;font-size:10px;font-weight:800;color:#4b4044}
  .wl-config-personal label em{font-style:normal;color:#b11f3e}
  .wl-config-personal label small{float:right;font-size:8px;font-weight:600;color:#999094}
  .wl-config-personal input{
    width:100%!important;height:46px!important;margin-top:6px!important;padding:0 12px!important;
    border:1px solid #ded3d6!important;border-radius:11px!important;background:#fbf9f8!important;
    font-size:16px!important;color:#30272a!important;box-shadow:none!important;
  }
  .wl-config-row{display:grid;grid-template-columns:92px minmax(0,1fr);gap:9px}
  .wl-config-message{min-height:18px;margin:7px 0 2px;font-size:9.5px;font-weight:750;color:#a12d4f}
  .wl-config-actions{
    position:sticky;bottom:calc(-18px - env(safe-area-inset-bottom));z-index:2;
    display:grid;grid-template-columns:.85fr 1.15fr;gap:8px;margin:4px -16px calc(-18px - env(safe-area-inset-bottom));
    padding:10px 16px calc(12px + env(safe-area-inset-bottom));
    border-top:1px solid #eee5e7;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);
  }
  .wl-config-actions button{height:52px;border-radius:13px;font-size:13px;font-weight:900}
  .wl-config-buy{border:1.5px solid #8d314d;background:#fff;color:#8d314d}
  .wl-config-cart{border:1px solid #7a2944;background:linear-gradient(135deg,#8d314d,#70243d);color:#fff}
  .wl-config-product-copy strong .price,.wl-config-product-copy strong .wl-campaign-price,.wl-config-product-copy strong .wl-campaign-card-price{display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;gap:2px 6px!important;line-height:1.05!important}
  .wl-config-product-copy strong ins{order:1!important;text-decoration:none!important;color:#8d314d!important}
  .wl-config-product-copy strong del{order:2!important;font-size:10px!important;color:#a09699!important;opacity:1!important}

  body.single-product .woocommerce-product-gallery{position:relative!important}
  .wl-gallery-badges,.wl-gallery-details{display:none!important}
  .wl-gallery-actions{position:absolute;inset:0;z-index:7;pointer-events:none}
  .wl-gallery-benefits{position:absolute;left:10px;top:54px;display:grid;gap:5px}
  .wl-gallery-benefits span{display:inline-flex;align-items:center;width:max-content;max-width:132px;min-height:28px;padding:0 9px;border:1px solid rgba(255,255,255,.74);border-radius:9px;background:rgba(255,255,255,.91);box-shadow:0 6px 18px rgba(44,29,34,.09);backdrop-filter:blur(8px);font-size:7.5px;font-weight:900;letter-spacing:.02em;color:#4a3c41}
  .wl-gallery-benefits span:nth-child(1){color:#21664f}
  .wl-gallery-benefits span:nth-child(2){color:#8d314d}
  .wl-gallery-benefits span:nth-child(3){color:#65562b}
  .wl-gallery-features{pointer-events:auto;position:absolute;right:56px;bottom:58px;min-height:36px;padding:0 13px;border:1px solid rgba(115,74,88,.18);border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 8px 24px rgba(44,29,34,.13);color:#8d314d;font-size:9px;font-weight:900;backdrop-filter:blur(10px)}
  .wl-gallery-features b{margin-left:5px;font-size:15px;line-height:1}
  html.wl-sheet-open,html.wl-sheet-open body{overflow:hidden!important}
}
