/* FloatCommerce RC2.9.0.1 — Menu, Basket & Admin UX Stabilisation */

/* ---------- Public menu: use the available desktop canvas ---------- */
.fw-wave-menu > .container{
  width:100%;
  max-width:1540px;
  padding-left:24px;
  padding-right:24px;
}
.fw-wave-shell{
  max-width:1492px;
  grid-template-columns:180px minmax(0,1fr) 300px;
  gap:22px;
}
.fw-wave-card-image{height:180px}
.fw-wave-card-title-row h3{font-size:14px}
.fw-wave-card-title-row strong{font-size:10px}
.fw-wave-card-body>p{font-size:10px;min-height:34px}
.fw-wave-add{min-width:68px;min-height:32px;font-size:9px}
.fw-wave-basket{padding:16px;border-radius:18px;box-shadow:0 12px 34px rgba(11,31,59,.10)}
.fw-wave-basket-body{max-height:430px}
.fw-wave-panel-title{font-size:15px}
.fw-wave-inline-item{padding:11px 0;gap:8px}
.fw-wave-inline-item h5{font-size:11px}
.fw-wave-inline-item p{font-size:8.5px}
.fw-wave-inline-item strong{font-size:11px}
.fw-wave-inline-qty{gap:7px;margin-top:5px}
.fw-wave-inline-qty button:not(.fw-wave-remove){
  width:28px;height:28px;border:1px solid #d8ddea;border-radius:50%;
  background:#fff;color:#0B1F3B;font-weight:950;line-height:1;
}
.fw-wave-inline-qty button:not(.fw-wave-remove):hover{background:#0B1F3B;color:#fff;border-color:#0B1F3B}
.fw-wave-inline-qty span{min-width:20px;text-align:center;font-weight:950;color:#0B1F3B}
.fw-wave-remove{
  margin-left:auto;border:0;background:#fff0f2;color:#A61E2A;
  border-radius:999px;padding:5px 9px;font-size:8px;font-weight:950;
}
.fw-wave-remove:hover{background:#A61E2A;color:#fff}
.fw-wave-basket-total{font-size:12px}
.fw-wave-basket-total strong{font-size:17px;color:#A61E2A}
.fw-wave-view-basket{min-height:42px;font-size:10px;border-radius:11px}

/* ---------- Slide-out basket: clear destructive/close affordances ---------- */
.tw-mini-cart-head button#closeCart{
  background:#A61E2A!important;
  color:#fff!important;
  border:2px solid #A61E2A!important;
  box-shadow:0 7px 18px rgba(166,30,42,.22);
  transition:transform .15s ease,background .15s ease,box-shadow .15s ease;
}
.tw-mini-cart-head button#closeCart:hover,
.tw-mini-cart-head button#closeCart:focus-visible{
  background:#7f1320!important;
  border-color:#7f1320!important;
  transform:scale(1.04);
  box-shadow:0 9px 24px rgba(166,30,42,.32);
  outline:3px solid rgba(166,30,42,.16);
  outline-offset:2px;
}
.tw-mini-cart-controls{grid-column:1/-1;flex-wrap:wrap}
.tw-mini-cart-controls button:not(.tw-mini-remove){
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.tw-mini-cart-controls button:not(.tw-mini-remove):hover{background:var(--tw-navy);color:#fff;border-color:var(--tw-navy)}
.tw-mini-remove{
  width:auto!important;height:30px!important;border:0!important;border-radius:999px!important;
  background:#fff0f2!important;color:var(--tw-red)!important;padding:0 10px!important;
  font-size:11px;font-weight:950;
}
.tw-mini-remove:hover{background:var(--tw-red)!important;color:#fff!important}
.tw-mini-cart-controls button:disabled,.fw-wave-inline-qty button:disabled{opacity:.5;cursor:wait}

/* ---------- Commercial admin surface ---------- */
body.fc-dashboard-page{
  background:
    radial-gradient(circle at 10% 0%,rgba(198,162,58,.10),transparent 28%),
    radial-gradient(circle at 100% 15%,rgba(11,31,59,.08),transparent 32%),
    linear-gradient(180deg,#f8fafc 0%,#f4f7fb 54%,#fbf8f0 100%)!important;
}
body.fc-dashboard-page .fc-admin-nav-wrap{
  position:sticky;
  top:68px;
  z-index:1015;
  border-bottom:1px solid #dfe5ed;
  box-shadow:0 8px 24px rgba(11,31,59,.07);
}
body.fc-dashboard-page .fc-admin-tabs a{
  border:1px solid #dfe5ed;
  border-radius:10px;
  padding:8px 12px;
  background:#fff;
  color:#26364d;
  font-weight:850;
  text-decoration:none;
  transition:transform .14s ease,box-shadow .14s ease,background .14s ease,color .14s ease,border-color .14s ease;
}
body.fc-dashboard-page .fc-admin-tabs a:hover{
  transform:translateY(-1px);
  border-color:#c8d2df;
  box-shadow:0 7px 16px rgba(11,31,59,.08);
}
body.fc-dashboard-page .fc-admin-tabs a.active{
  background:#0B1F3B;
  color:#fff;
  border-color:#0B1F3B;
  box-shadow:0 8px 18px rgba(11,31,59,.18);
}
body.fc-dashboard-page .fc-admin-tabs a.live{border-color:rgba(166,30,42,.28)}
body.fc-dashboard-page .fc-admin-tabs a.live.active{background:#A61E2A;border-color:#A61E2A}

/* Give operational pages colour without turning the back office into a poster. */
body.fc-dashboard-page main section{
  position:relative;
}
body.fc-dashboard-page .fc-admin-page-container,
body.fc-dashboard-page .fc-cms>.container-fluid,
body.fc-dashboard-page .fc-site-settings-page>.container-fluid,
body.fc-dashboard-page .fc-delivery-settings-page>.container-fluid{
  padding-top:22px;
  padding-bottom:34px;
}
body.fc-dashboard-page .card,
body.fc-dashboard-page .fc-card,
body.fc-dashboard-page .table-responsive{
  border-color:#e2e8f0!important;
  box-shadow:0 10px 28px rgba(11,31,59,.07)!important;
}
body.fc-dashboard-page .card{
  border-radius:16px!important;
  overflow:hidden;
}
body.fc-dashboard-page .card-header{
  background:linear-gradient(90deg,#f7f9fc,#fff7e4)!important;
  border-bottom-color:#e5eaf0!important;
}
body.fc-dashboard-page .table thead th{
  background:#eef3f8!important;
  color:#0B1F3B!important;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.025em;
  border-bottom-color:#d9e2ec!important;
}
body.fc-dashboard-page .table tbody tr:hover{background:#fbfcfe}

/* ---------- Professional admin button contract ---------- */
body.fc-dashboard-page .btn{
  min-height:38px;
  border-radius:10px!important;
  padding:8px 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font-weight:850!important;
  box-shadow:none;
  transition:transform .14s ease,box-shadow .14s ease,background .14s ease,border-color .14s ease,color .14s ease;
}
body.fc-dashboard-page .btn:hover{transform:translateY(-1px);box-shadow:0 7px 16px rgba(11,31,59,.10)}
body.fc-dashboard-page .btn:focus-visible{outline:3px solid rgba(11,31,59,.15);outline-offset:2px}
body.fc-dashboard-page .btn-dark,
body.fc-dashboard-page .btn-primary{background:#0B1F3B!important;border-color:#0B1F3B!important;color:#fff!important}
body.fc-dashboard-page .btn-dark:hover,
body.fc-dashboard-page .btn-primary:hover{background:#153B68!important;border-color:#153B68!important}
body.fc-dashboard-page .btn-danger{background:#A61E2A!important;border-color:#A61E2A!important;color:#fff!important}
body.fc-dashboard-page .btn-danger:hover{background:#7f1320!important;border-color:#7f1320!important}
body.fc-dashboard-page .btn-success{background:#18794e!important;border-color:#18794e!important;color:#fff!important}
body.fc-dashboard-page .btn-warning{background:#C6A23A!important;border-color:#C6A23A!important;color:#0B1F3B!important}
body.fc-dashboard-page .btn-outline-secondary{
  background:#fff!important;border-color:#cfd8e3!important;color:#344054!important;
}
body.fc-dashboard-page .btn-outline-secondary:hover{background:#eef3f8!important;border-color:#b8c5d4!important;color:#0B1F3B!important}
body.fc-dashboard-page .btn-sm{min-height:32px;padding:5px 10px;border-radius:8px!important;font-size:12px}
body.fc-dashboard-page .btn:disabled{transform:none;box-shadow:none;opacity:.58}

@media(max-width:1199.98px){
  .fw-wave-menu > .container{max-width:100%}
  .fw-wave-shell{grid-template-columns:150px minmax(0,1fr) 250px;gap:16px}
  .fw-wave-card-image{height:150px}
}
@media(max-width:991.98px){
  .fw-wave-shell{grid-template-columns:1fr}
  .fw-wave-menu > .container{padding-left:18px;padding-right:18px}
  body.fc-dashboard-page .fc-admin-nav-wrap{top:64px}
}
@media(max-width:575.98px){
  .fw-wave-menu > .container{padding-left:12px;padding-right:12px}
  body.fc-dashboard-page .fc-admin-nav-wrap{top:58px}
}


/* ============================================================
   RC2.9.7.3 — basket destructive action + currency readability
   ============================================================ */
.fw-wave-remove,
.fw-wave-remove:hover,
.fw-wave-remove:focus,
.fw-wave-remove:active{
  min-width:72px!important;
  min-height:34px!important;
  padding:7px 12px!important;
  opacity:1!important;
  visibility:visible!important;
  text-indent:0!important;
  font-size:12px!important;
  line-height:1.15!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.fw-wave-remove{
  background:#fff0f2!important;
  color:#A61E2A!important;
  border:1px solid #f2c7cd!important;
}
.fw-wave-remove:hover,
.fw-wave-remove:focus{
  background:#A61E2A!important;
  color:#fff!important;
  border-color:#A61E2A!important;
}
.tw-cart-line-remove button:hover,
.tw-cart-line-remove button:focus{
  background:#A61E2A!important;
  color:#fff!important;
}
.fc-currency{
  display:inline-block;
  margin-right:.28em;
}
