:root{
  --oyk-fc-primary:#4b0b59;
  --oyk-fc-accent:#ed0b3f;
  --oyk-fc-position:52%;
  --oyk-fc-mobile-bottom:24px;
}

.oyk-floating-cart{position:relative;z-index:999999}
.oyk-floating-cart *{box-sizing:border-box}

.oyk-floating-cart-button{
  position:fixed;
  top:var(--oyk-fc-position);
  transform:translateY(-50%);
  min-width:174px;
  height:64px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 14px 8px 10px;
  border:0;
  color:#fff;
  background:linear-gradient(135deg,var(--oyk-fc-primary) 0%,#6b167a 100%);
  box-shadow:0 14px 38px rgba(36,5,43,.28),0 3px 10px rgba(0,0,0,.12);
  cursor:pointer;
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
  font-family:inherit;
}
.oyk-fc-side-right .oyk-floating-cart-button{right:0;border-radius:18px 0 0 18px}
.oyk-fc-side-left .oyk-floating-cart-button{left:0;border-radius:0 18px 18px 0}
.oyk-floating-cart-button:hover{filter:brightness(1.06);box-shadow:0 18px 46px rgba(36,5,43,.36);transform:translateY(-50%) translateX(0)}
.oyk-fc-side-right .oyk-floating-cart-button:hover{transform:translateY(-50%) translateX(-4px)}
.oyk-fc-side-left .oyk-floating-cart-button:hover{transform:translateY(-50%) translateX(4px)}
.oyk-fc-is-empty-hidden{display:none!important}

.oyk-fc-icon{
  width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);flex:0 0 44px
}
.oyk-fc-icon svg{width:26px;height:26px}
.oyk-fc-copy{display:flex;flex-direction:column;align-items:flex-start;line-height:1.1;min-width:72px}
.oyk-fc-copy strong{font-size:15px;font-weight:800;letter-spacing:.1px;color:#fff}
.oyk-fc-copy small{font-size:12px;margin-top:6px;color:rgba(255,255,255,.8);white-space:nowrap}
.oyk-fc-count{
  position:absolute;top:-10px;right:10px;min-width:28px;height:28px;padding:0 8px;border-radius:999px;
  display:flex;align-items:center;justify-content:center;background:var(--oyk-fc-accent);color:#fff;
  font-size:12px;font-weight:900;border:3px solid #fff;box-shadow:0 5px 14px rgba(237,11,63,.35)
}
.oyk-fc-side-left .oyk-fc-count{right:auto;left:10px}

.oyk-fc-overlay{position:fixed;inset:0;background:rgba(15,10,17,.42);backdrop-filter:blur(2px);opacity:0;visibility:hidden;transition:.25s ease;z-index:999997}
.oyk-fc-drawer{
  position:fixed;top:0;bottom:0;width:min(420px,92vw);background:#fff;z-index:999998;
  box-shadow:0 0 60px rgba(25,0,29,.28);transition:transform .32s cubic-bezier(.2,.8,.2,1);
  display:flex;flex-direction:column;overflow:hidden
}
.oyk-fc-side-right .oyk-fc-drawer{right:0;transform:translateX(105%)}
.oyk-fc-side-left .oyk-fc-drawer{left:0;transform:translateX(-105%)}
.oyk-floating-cart.oyk-fc-open .oyk-fc-overlay{opacity:1;visibility:visible}
.oyk-floating-cart.oyk-fc-open .oyk-fc-drawer{transform:translateX(0)}

.oyk-fc-drawer-head{
  min-height:102px;padding:22px 22px 18px;display:flex;align-items:center;justify-content:space-between;
  color:#fff;background:linear-gradient(135deg,var(--oyk-fc-primary),#6b167a);position:relative;overflow:hidden
}
.oyk-fc-drawer-head:after{content:"";position:absolute;width:120px;height:120px;border:26px solid rgba(255,255,255,.05);border-radius:50%;right:-38px;top:-48px}
.oyk-fc-drawer-head span{display:block;font-size:10px;font-weight:800;letter-spacing:1.8px;opacity:.65;margin-bottom:4px}
.oyk-fc-drawer-head h3{margin:0;color:#fff;font-size:28px;line-height:1.1;font-weight:900}
.oyk-fc-close{position:relative;z-index:2;width:40px;height:40px;border-radius:12px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.1);color:#fff;font-size:29px;line-height:1;cursor:pointer}
.oyk-fc-close:hover{background:rgba(255,255,255,.18)}

.oyk-floating-cart-drawer-body{padding:18px 20px 22px;overflow:auto;flex:1;background:#fff}
.oyk-floating-cart-drawer-body .woocommerce-mini-cart{list-style:none;padding:0;margin:0}
.oyk-floating-cart-drawer-body .woocommerce-mini-cart-item{position:relative;padding:12px 24px 12px 0!important;min-height:92px;border-bottom:1px solid #f1edf2;display:block}
.oyk-floating-cart-drawer-body .woocommerce-mini-cart-item a:not(.remove){display:block;color:#261d28;font-weight:750;text-decoration:none;line-height:1.35}
.oyk-floating-cart-drawer-body .woocommerce-mini-cart-item img{width:72px!important;height:72px!important;object-fit:contain;border-radius:12px;background:#f8f6f8;float:left!important;margin:0 12px 0 0!important}
.oyk-floating-cart-drawer-body .woocommerce-mini-cart-item .quantity{display:block;margin-top:8px;color:#766b79;font-size:13px}
.oyk-floating-cart-drawer-body .remove_from_cart_button{position:absolute;right:0;top:14px;width:24px;height:24px;border-radius:50%;display:flex!important;align-items:center;justify-content:center;background:#f7eef1!important;color:var(--oyk-fc-accent)!important;text-decoration:none!important;font-size:18px!important}
.oyk-floating-cart-drawer-body .woocommerce-mini-cart__total{margin:18px 0 12px;padding:16px 0 0;border-top:1px solid #ebe5ec;display:flex;justify-content:space-between;font-size:16px}
.oyk-floating-cart-drawer-body .woocommerce-mini-cart__buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}
.oyk-floating-cart-drawer-body .woocommerce-mini-cart__buttons a{margin:0!important;text-align:center!important;border-radius:13px!important;padding:13px 12px!important;font-size:13px!important;font-weight:800!important;text-decoration:none!important;border:2px solid var(--oyk-fc-primary)!important;background:#fff!important;color:var(--oyk-fc-primary)!important}
.oyk-floating-cart-drawer-body .woocommerce-mini-cart__buttons a.checkout{background:var(--oyk-fc-accent)!important;border-color:var(--oyk-fc-accent)!important;color:#fff!important}

.oyk-fc-empty{text-align:center;padding:54px 16px 26px}
.oyk-fc-empty-icon{width:76px;height:76px;border-radius:24px;display:flex;align-items:center;justify-content:center;margin:0 auto 18px;background:#f7f0f8;font-size:35px}
.oyk-fc-empty h4{margin:0 0 9px;font-size:21px;color:#2b202d}
.oyk-fc-empty p{margin:0 auto 20px;max-width:280px;color:#817584;line-height:1.55;font-size:14px}
.oyk-fc-shop-btn{display:inline-block;background:var(--oyk-fc-accent);color:#fff!important;text-decoration:none!important;padding:13px 20px;border-radius:13px;font-weight:800}

body.oyk-fc-lock{overflow:hidden}

@media(max-width:767px){
  .oyk-floating-cart-button{
    top:auto!important;right:18px!important;left:auto!important;bottom:var(--oyk-fc-mobile-bottom)!important;
    width:58px;min-width:58px;height:58px;padding:7px;border-radius:18px!important;transform:none!important
  }
  .oyk-floating-cart-button:hover{transform:translateY(-2px)!important}
  .oyk-fc-icon{width:44px;height:44px;flex:0 0 44px;background:transparent;border:0}
  .oyk-fc-copy{display:none}
  .oyk-fc-count{top:-8px;right:-7px!important;left:auto!important}
  .oyk-fc-drawer{width:min(390px,94vw)}
}
@keyframes oykBump{0%{scale:1}45%{scale:1.08}100%{scale:1}}
.oyk-fc-bump{animation:oykBump .35s ease}

/* v1.1 - custom editable mini-cart */
.oyk-fc-items{display:flex;flex-direction:column}
.oyk-fc-item{
  position:relative;display:grid;grid-template-columns:76px minmax(0,1fr) 32px;gap:12px;
  padding:14px 0;border-bottom:1px solid #f0ebf1;transition:opacity .2s ease,filter .2s ease
}
.oyk-fc-item-thumb a{display:block;text-decoration:none}
.oyk-fc-item-thumb img{display:block;width:76px!important;height:76px!important;object-fit:contain;border-radius:14px;background:#f8f6f8;margin:0!important}
.oyk-fc-item-main{min-width:0;padding-top:1px}
.oyk-fc-item-title{padding-right:4px;line-height:1.35}
.oyk-fc-item-title a,.oyk-fc-item-title{color:#261d28;font-size:14px;font-weight:800;text-decoration:none}
.oyk-fc-item-title a:hover{color:var(--oyk-fc-primary)}
.oyk-fc-item .variation{margin:4px 0 0;font-size:11px;color:#857a88}
.oyk-fc-item .variation dt,.oyk-fc-item .variation dd{display:inline;margin:0 3px 0 0}
.oyk-fc-item-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px}
.oyk-fc-qty{display:inline-grid;grid-template-columns:30px 38px 30px;align-items:center;height:34px;border:1px solid #e3dbe5;border-radius:10px;overflow:hidden;background:#fff}
.oyk-fc-qty-btn{height:32px;border:0;background:#f8f5f8;color:#4b0b59;font-size:20px;line-height:1;cursor:pointer;font-weight:700;padding:0}
.oyk-fc-qty-btn:hover{background:#efe7f1}
.oyk-fc-qty-input{width:38px!important;height:32px!important;min-height:0!important;border:0!important;border-left:1px solid #eee7ef!important;border-right:1px solid #eee7ef!important;border-radius:0!important;box-shadow:none!important;text-align:center!important;padding:0!important;font-size:13px!important;font-weight:800!important;color:#2f2531!important;-moz-appearance:textfield}
.oyk-fc-qty-input::-webkit-outer-spin-button,.oyk-fc-qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.oyk-fc-line-price{font-size:13px;color:#3b303d;font-weight:850;white-space:nowrap}
.oyk-fc-remove{width:30px;height:30px;border:0;border-radius:9px;display:flex;align-items:center;justify-content:center;background:#f8eff2;color:var(--oyk-fc-accent);cursor:pointer;padding:6px;margin-top:1px}
.oyk-fc-remove svg{width:17px;height:17px}
.oyk-fc-remove:hover{background:var(--oyk-fc-accent);color:#fff}
.oyk-fc-item-loading{opacity:.55;filter:grayscale(.1);pointer-events:none}
.oyk-fc-item-loading:after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.3)}
.oyk-fc-summary{padding:17px 0 2px;margin-top:2px}
.oyk-fc-summary-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;padding:14px 15px;background:#faf7fa;border:1px solid #efe8f0;border-radius:14px;color:#5d5260;font-size:14px}
.oyk-fc-summary-row strong{color:#261d28;font-size:16px}
.oyk-fc-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.oyk-fc-actions a{display:flex;align-items:center;justify-content:center;min-height:46px;padding:11px 12px;border-radius:13px;text-align:center;text-decoration:none!important;font-size:13px;font-weight:850;transition:transform .18s ease,filter .18s ease}
.oyk-fc-actions a:hover{transform:translateY(-1px);filter:brightness(.98)}
.oyk-fc-cart-link{border:2px solid var(--oyk-fc-primary);background:#fff;color:var(--oyk-fc-primary)!important}
.oyk-fc-checkout-link{border:2px solid var(--oyk-fc-accent);background:var(--oyk-fc-accent);color:#fff!important}
.oyk-fc-notice{margin:0 0 12px;padding:11px 12px;border-radius:10px;background:#fff1f3;color:#9b1735;border:1px solid #ffd5df;font-size:12px;font-weight:700;line-height:1.45}

@media(max-width:480px){
  .oyk-floating-cart-drawer-body{padding:14px 15px 18px}
  .oyk-fc-item{grid-template-columns:66px minmax(0,1fr) 30px;gap:10px}
  .oyk-fc-item-thumb img{width:66px!important;height:66px!important}
  .oyk-fc-item-bottom{align-items:flex-end;flex-direction:column;gap:6px}
  .oyk-fc-line-price{align-self:flex-start}
  .oyk-fc-actions{grid-template-columns:1fr}
}
