/*!
 * Roll Pro Configurator 0.13.0 — the store's side cart in the configurator's look (RPC_Mini_Cart).
 *
 * The side cart is another plugin's ("Side Cart Woocommerce (Ajax)", xoo); this only re-dresses it, inside
 * .xoo-wsc-modal, so the rest of the store is untouched. What it is dressed in is the configurator's own look
 * (assets/css/rpc.css): Inter, ink #0F1111, link #007185, go-on yellow #FFD814, lines #D5D9D9, 8px corners, type steps
 * of φ^¼ and Fibonacci spacing.
 *
 * The floating basket icon (.xoo-wsc-basket) is NOT touched — the owner asked for it to stay exactly as it is
 * (2026-11-23). Everything here is scoped to the open panel.
 *
 * A built shutter is one line with one price here; its choices come from RPC_Mini_Cart through WooCommerce's own
 * filters and arrive as the usual <dl class="variation">, styled below.
 */

@font-face{font-family:"RPC Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/inter-latin-wght.woff2) format("woff2-variations"),url(../fonts/inter-latin-wght.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

.xoo-wsc-modal{
  --rpcs-font:"RPC Inter",Inter,"Helvetica Neue",Arial,sans-serif;
  --rpcs-ink:#0F1111;--rpcs-ink-2:#333838;--rpcs-muted:#565959;
  --rpcs-link:#007185;--rpcs-line:#D5D9D9;--rpcs-divider:#E7E7E7;
  --rpcs-card:#FFFFFF;--rpcs-soft:#F0F2F2;--rpcs-page:#F7F8F8;
  --rpcs-cta:#FFD814;--rpcs-cta-bd:#FCD200;--rpcs-cta-hover:#F7CA00;
  --rpcs-r:8px;
  --rpcs-s2:5px;--rpcs-s3:8px;--rpcs-s4:13px;--rpcs-s5:21px;--rpcs-s6:34px;
}
.xoo-wsc-modal,.xoo-wsc-modal .xoo-wsc-container{font-family:var(--rpcs-font);color:var(--rpcs-ink)}
.xoo-wsc-modal .xoo-wsc-container{background:var(--rpcs-card);box-shadow:-8px 0 34px rgba(15,17,17,.16);border:0}

/* ---------- header ---------- */
.xoo-wsc-modal .xoo-wsch-top{padding:var(--rpcs-s4);border-bottom:1px solid var(--rpcs-line);background:var(--rpcs-card)}
.xoo-wsc-modal .xoo-wsch-text{font-size:18px;font-weight:700;line-height:1.272;color:var(--rpcs-ink);letter-spacing:-.01em}
.xoo-wsc-modal .xoo-wscb-count,.xoo-wsc-modal .xoo-wsch-items-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:var(--rpcs-ink);color:#FFFFFF;font-size:12.6px;font-weight:700;line-height:1}
.xoo-wsc-modal .xoo-wsch-basket{display:inline-flex;align-items:center;gap:var(--rpcs-s2);color:var(--rpcs-ink)}
.xoo-wsc-modal .xoo-wsch-close{min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;color:var(--rpcs-muted);border-radius:var(--rpcs-r)}
.xoo-wsc-modal .xoo-wsch-close:hover{color:var(--rpcs-ink);background:var(--rpcs-soft)}

/* ---------- body ---------- */
.xoo-wsc-modal .xoo-wsc-body{background:var(--rpcs-page)}
.xoo-wsc-modal .xoo-wsc-products{padding:0}
/*
 * The panel is about 320px wide, so a line is one column: the picture on the left, and beside it the name, the choices
 * and then the price with the bin. 0.13.0 tried two columns (the price in a column of its own) and on a shutter the
 * name was left a few pixels wide and ran down the page one letter per line.
 */
.xoo-wsc-modal .xoo-wsc-product{
  display:flex;align-items:flex-start;gap:var(--rpcs-s4);
  margin:0;padding:var(--rpcs-s5) var(--rpcs-s4);border:0;border-bottom:1px solid var(--rpcs-divider);background:var(--rpcs-card)
}
.xoo-wsc-modal .xoo-wsc-product:last-child{border-bottom:0}
/* the side cart gives the picture a share of the width in percent, which left it a 22px sliver: a fixed square instead */
.xoo-wsc-modal .xoo-wsc-img-col{flex:0 0 56px;align-self:flex-start;width:56px !important;max-width:56px !important;margin:0;padding:0}
.xoo-wsc-modal .xoo-wsc-img-col a{display:block;line-height:0}
.xoo-wsc-modal .xoo-wsc-img-col img{display:block;width:56px !important;height:56px !important;max-width:56px !important;object-fit:cover;border:1px solid var(--rpcs-line);border-radius:var(--rpcs-r);background:var(--rpcs-soft)}
.xoo-wsc-modal .xoo-wsc-sum-col{flex:1 1 auto;min-width:0;margin:0;padding:0}
.xoo-wsc-modal .xoo-wsc-sm-info{display:block;min-width:0}
.xoo-wsc-modal .xoo-wsc-sm-left{display:block;min-width:0}
/* the price and the bin on one line under the choices (the bin is first in the markup, so the row is reversed) */
.xoo-wsc-modal .xoo-wsc-sm-right{display:flex;flex-direction:row-reverse;align-items:center;justify-content:space-between;gap:var(--rpcs-s4);min-width:0;margin:var(--rpcs-s3) 0 0;text-align:left}
.xoo-wsc-modal .xoo-wsc-pname,.xoo-wsc-modal .xoo-wsc-pname a{
  display:block;margin:0;font-size:16px;font-weight:600;line-height:1.272;color:var(--rpcs-ink);text-decoration:none;
  overflow-wrap:break-word;word-break:normal;hyphens:none
}
.xoo-wsc-modal .xoo-wsc-pname a:hover{color:var(--rpcs-link)}
.xoo-wsc-modal .xoo-wsc-smr-ptotal{font-size:16px;font-weight:700;line-height:1.272;color:var(--rpcs-ink);white-space:nowrap}
.xoo-wsc-modal .xoo-wsc-pprice,.xoo-wsc-modal .xoo-wsc-sml-qty{font-size:14.2px;color:var(--rpcs-muted)}
/* The side cart's setting *Quantity and price* = "Show in one line" writes the price as "1 X <price> = <total>" in this
   box instead of .xoo-wsc-smr-ptotal; a shutter, being a composite line, uses the other one. Both are dressed here.
   RPC_Mini_Cart::item_price makes <price> the whole shutter, so the line adds up. */
.xoo-wsc-modal .xoo-wsc-qty-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--rpcs-s2);margin:var(--rpcs-s3) 0 0;font-size:14.2px;line-height:1.4;color:var(--rpcs-muted)}
.xoo-wsc-modal .xoo-wsc-qty-price span:last-child{font-size:16px;font-weight:700;color:var(--rpcs-ink);white-space:nowrap}

/* the choices of a shutter (and any product's variation lines): label and value on one line, wrapping */
.xoo-wsc-modal .xoo-wsc-sm-left .variation{display:block;margin:var(--rpcs-s3) 0 0;padding:0;font-size:14.2px;line-height:1.5;color:var(--rpcs-ink);font-style:normal}
.xoo-wsc-modal .xoo-wsc-sm-left .variation dt{clear:both;float:left;margin:0 .35em 0 0;padding:0;font-weight:400;font-style:normal;color:var(--rpcs-muted)}
.xoo-wsc-modal .xoo-wsc-sm-left .variation dd{margin:0;padding:0;font-style:normal;overflow-wrap:break-word}
.xoo-wsc-modal .xoo-wsc-sm-left .variation dd p{margin:0;font-style:normal}
.xoo-wsc-modal .xoo-wsc-sm-left .variation::after{content:"";display:block;clear:both}

/* quantity: the side cart's own box (minus, field, plus), sized so the three parts fit inside its border */
/* the side cart's own stylesheet gives this box a width of its own, so the three parts have to be let out of it */
.xoo-wsc-modal .xoo-wsc-qty-box{display:inline-flex;align-items:center;margin:var(--rpcs-s4) 0 0;border:1px solid var(--rpcs-line);border-radius:var(--rpcs-r);overflow:hidden;background:var(--rpcs-card);width:auto !important;max-width:none !important;height:auto !important}
.xoo-wsc-modal .xoo-wsc-qty-box .xoo-wsc-chng{display:flex;align-items:center;justify-content:center;width:36px;min-width:36px;height:36px;margin:0;padding:0;border:0;background:none;color:var(--rpcs-ink);font:400 17px/1 var(--rpcs-font);cursor:pointer;-webkit-user-select:none;user-select:none}
.xoo-wsc-modal .xoo-wsc-qty-box .xoo-wsc-chng:hover{background:var(--rpcs-soft)}
.xoo-wsc-modal .xoo-wsc-qty-box input.xoo-wsc-qty{width:42px;min-width:42px;height:36px;margin:0;padding:0;border:0;border-left:1px solid var(--rpcs-line);border-right:1px solid var(--rpcs-line);border-radius:0;background:none;text-align:center;font:400 15px/1 var(--rpcs-font);color:var(--rpcs-ink);-moz-appearance:textfield}
.xoo-wsc-modal .xoo-wsc-qty-box input.xoo-wsc-qty::-webkit-outer-spin-button,.xoo-wsc-modal .xoo-wsc-qty-box input.xoo-wsc-qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.xoo-wsc-modal .xoo-wsc-smr-del{min-width:34px;min-height:34px;display:flex;align-items:center;justify-content:center;color:var(--rpcs-muted);border-radius:var(--rpcs-r);font-size:15px}
.xoo-wsc-modal .xoo-wsc-smr-del:hover{color:#CC0C39;background:var(--rpcs-soft)}
.xoo-wsc-modal .xoo-wsc-del-txt{font-size:12.6px}

/* ---------- empty ---------- */
.xoo-wsc-modal .xoo-wsc-empty-cart{padding:var(--rpcs-s6) var(--rpcs-s5);text-align:center;color:var(--rpcs-muted);font-size:16px}
.xoo-wsc-modal .xoo-wsc-empty-cart .xoo-wsc-emp-txt{display:block;margin-bottom:var(--rpcs-s5);font-size:18px;color:var(--rpcs-ink)}

/* ---------- footer ---------- */
.xoo-wsc-modal .xoo-wsc-footer{padding:var(--rpcs-s5) var(--rpcs-s4);border-top:1px solid var(--rpcs-line);background:var(--rpcs-card)}
.xoo-wsc-modal .xoo-wsc-ft-totals{margin:0 0 var(--rpcs-s4);padding:0;border:0;font-size:16px}
.xoo-wsc-modal .xoo-wsc-ft-amt{display:flex;align-items:baseline;justify-content:space-between;gap:var(--rpcs-s4);padding:var(--rpcs-s2) 0;color:var(--rpcs-ink-2)}
.xoo-wsc-modal .xoo-wsc-ft-amt-label{font-weight:400}
.xoo-wsc-modal .xoo-wsc-ft-amt-value{font-weight:700;color:var(--rpcs-ink);white-space:nowrap}
.xoo-wsc-modal .xoo-wsc-ft-amt-subtotal .xoo-wsc-ft-amt-value,.xoo-wsc-modal .xoo-wsc-ft-amt-total .xoo-wsc-ft-amt-value{font-size:20.4px}
.xoo-wsc-modal .xoo-wsc-footer-txt{display:block;margin:0 0 var(--rpcs-s4);color:var(--rpcs-muted);font-size:12.6px;line-height:1.4}
.xoo-wsc-modal .xoo-wsc-ft-buttons-cont{display:grid;gap:var(--rpcs-s3)}
.xoo-wsc-modal .xoo-wsc-ft-buttons-cont a,.xoo-wsc-modal .xoo-wsc-ft-buttons-cont .button{
  display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin:0;padding:0 var(--rpcs-s5);
  border:1px solid var(--rpcs-line);border-radius:var(--rpcs-r);background:var(--rpcs-card);
  color:var(--rpcs-ink);font-family:var(--rpcs-font);font-size:16px;font-weight:600;line-height:1.272;text-align:center;text-decoration:none;text-transform:none;letter-spacing:0;box-shadow:none
}
.xoo-wsc-modal .xoo-wsc-ft-buttons-cont a:hover{background:var(--rpcs-soft)}
/* the last button is the one that takes the customer on: the configurator's go-on yellow */
.xoo-wsc-modal .xoo-wsc-ft-buttons-cont a:last-child{min-height:55px;background:var(--rpcs-cta);border-color:var(--rpcs-cta-bd);font-weight:700;font-size:16px}
.xoo-wsc-modal .xoo-wsc-ft-buttons-cont a:last-child:hover{background:var(--rpcs-cta-hover)}
.xoo-wsc-modal .xoo-wsc-ft-buttons-cont a:focus-visible{outline:2px solid var(--rpcs-link);outline-offset:2px}

@media (prefers-reduced-motion:reduce){.xoo-wsc-modal *{transition:none!important;animation:none!important}}
