/* White Clothing Drawers · Mobile first, sin fuentes ni icon fonts externos. */
:root {
  --wcd-loaded: 1;
  --wcd-bg: #0b0b0b;
  --wcd-surface: #171717;
  --wcd-text: #f5f5ef;
  --wcd-muted: #b7b7af;
  --wcd-border: #383838;
  --wcd-accent: #c8ff00;
  --wcd-accent-text: #0b0b0b;
  --wcd-duration: 280ms;
}
html.wcd-locked { overflow: hidden; }
html { scrollbar-gutter: stable; }
.wcd-panel, .wcd-panel *, .wcd-triggers, .wcd-trigger { box-sizing: border-box; }
.wcd-panel {
  position: fixed;
  inset: 0 auto 0 0;
  margin: 0;
  width: min(91vw, 380px);
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: var(--wcd-bg);
  color: var(--wcd-text);
  font: 400 15px/1.45 Arial, Helvetica, sans-serif;
  color-scheme: dark;
  overflow: hidden;
  overscroll-behavior: contain;
  transform: translateX(-100%);
  transition: transform var(--wcd-duration) cubic-bezier(.2,.7,.2,1);
}
/* Nunca sobrescribir display:none del dialog cerrado. */
.wcd-panel[open] { display: flex; flex-direction: column; }
.wcd-panel--right { inset: 0 0 0 auto; margin-left: auto; width: min(100vw, 430px); transform: translateX(100%); }
.wcd-panel.wcd-visible { transform: translateX(0); }
.wcd-panel::backdrop {
  background: rgb(0 0 0 / .62);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity var(--wcd-duration) ease;
}
.wcd-panel.wcd-visible::backdrop { opacity: 1; }
.wcd-panel a { color: var(--wcd-text); text-decoration: none; }
.wcd-panel button, .wcd-panel input {
  font: inherit;
  color: var(--wcd-text);
  border: 1px solid var(--wcd-border);
  border-radius: 8px;
  background: var(--wcd-surface);
}
.wcd-panel button { cursor: pointer; min-height: 44px; padding: 8px 12px; }
.wcd-panel button:disabled { opacity: .5; cursor: wait; }
.wcd-panel :is(a,button,input,summary):focus-visible, .wcd-trigger:focus-visible {
  outline: 2px solid var(--wcd-accent); outline-offset: 3px;
}
.wcd-panel h2, .wcd-panel h3 { color: var(--wcd-text); font: 900 20px/1.1 Arial, Helvetica, sans-serif; margin: 0; letter-spacing: -.4px; }
.wcd-panel h3 { font-size: 16px; }
.wcd-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
  min-height: 76px;
  padding: max(16px, env(safe-area-inset-top)) 18px 16px;
  border-bottom: 1px solid var(--wcd-border);
}
.wcd-head [data-wcd-close] { width: 44px; height: 44px; flex: 0 0 44px; font-size: 24px; line-height: 1; }
.wcd-logo, .wcd-brand { font-size: 16px; font-weight: 900; letter-spacing: -.7px; }
.wcd-logo img, .wcd-head .custom-logo { display: block; max-width: 145px; max-height: 38px; width: auto; height: auto; }
.wcd-brand b { color: var(--wcd-accent); }
.wcd-nav-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px 18px; }
.wcd-search { display: flex; gap: 8px; margin: 0 0 24px; }
.wcd-search input { width: 100%; min-width: 0; padding: 12px; font-size: 16px; }
.wcd-search button { flex-shrink: 0; }
.wcd-menu, .wcd-menu ul { list-style: none; padding: 0; margin: 0; }
.wcd-menu > li { border-bottom: 1px solid var(--wcd-border); }
.wcd-menu a, .wcd-menu summary { min-height: 48px; display: flex; align-items: center; padding: 12px 0; font-weight: 800; }
.wcd-menu summary { cursor: pointer; list-style: none; justify-content: space-between; gap: 12px; }
.wcd-menu summary::-webkit-details-marker { display: none; }
.wcd-menu summary::after { content: '+'; color: var(--wcd-accent); font-size: 22px; }
.wcd-menu details[open] > summary::after { content: '−'; }
.wcd-menu ul { padding: 0 0 12px 14px; }
.wcd-menu ul a { color: var(--wcd-muted); font-weight: 400; }
.wcd-nav-footer { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 4px 20px; border-top: 1px solid var(--wcd-border); padding: 12px 18px max(16px, env(safe-area-inset-bottom)); }
.wcd-nav-footer a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; }
.wcd-region { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.wcd-cart-body { flex: 1 1 auto; min-height: 0; padding: 18px; overflow-y: auto; overscroll-behavior: contain; }
.wcd-shipping { background: var(--wcd-surface); padding: 14px; border-radius: 10px; margin-bottom: 18px; }
.wcd-shipping p { margin: 0 0 8px; font-size: 13px; }
.wcd-shipping progress { display: block; appearance: none; -webkit-appearance: none; width: 100%; height: 6px; border: 0; border-radius: 8px; background: var(--wcd-border); accent-color: var(--wcd-accent); }
.wcd-shipping progress::-webkit-progress-bar { background: var(--wcd-border); border-radius: 8px; }
.wcd-shipping progress::-webkit-progress-value { background: var(--wcd-accent); border-radius: 8px; }
.wcd-shipping progress::-moz-progress-bar { background: var(--wcd-accent); border-radius: 8px; }
.wcd-item { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--wcd-border); }
.wcd-item img { display: block; flex-shrink: 0; width: 72px; height: 90px; object-fit: cover; border-radius: 6px; background: var(--wcd-surface); }
.wcd-item > a { flex: 0 0 72px; }
.wcd-item-info, .wcd-item-content { flex: 1 1 auto; min-width: 0; }
.wcd-item a, .wcd-item-name { font-weight: 700; overflow-wrap: anywhere; }
.wcd-item .variation { font-size: 12px; color: var(--wcd-muted); margin: 6px 0; }
.wcd-item .variation dt { float: left; margin-right: 4px; font-weight: 400; }
.wcd-item .variation dd { margin: 0; }
.wcd-item .variation dd p { margin: 0; }
.wcd-item-price, .wcd-price { margin: 8px 0; font-weight: 700; }
.wcd-quantity { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; }
.wcd-quantity button { width: 44px; padding: 0; font-size: 20px; }
.wcd-quantity span { display: inline-block; min-width: 28px; text-align: center; }
.wcd-panel [data-wcd-op='remove'] { margin-left: 6px; font-size: 12px; background: transparent; padding: 8px; }
.wcd-upsells { margin-top: 24px; }
.wcd-upsells h3 { margin-bottom: 12px; }
.wcd-upsell { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--wcd-border); }
.wcd-upsell img { display: block; width: 48px; height: 60px; object-fit: cover; border-radius: 4px; }
.wcd-upsell > a { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; font-size: 13px; }
.wcd-upsell > a > span { min-width: 0; overflow-wrap: anywhere; }
.wcd-upsell-price { flex: 0 0 auto; font-size: 12px; }
.wcd-upsell button { padding: 8px; font-size: 12px; flex-shrink: 0; }
.wcd-cart-footer { flex: 0 0 auto; padding: 14px 18px max(18px, env(safe-area-inset-bottom)); background: var(--wcd-bg); border-top: 1px solid var(--wcd-border); max-height: 47dvh; overflow-y: auto; overscroll-behavior: contain; }
.wcd-subtotal, .wcd-total, .wcd-discount { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.wcd-subtotal { font-size: 14px; }
.wcd-coupon { margin: 12px 0; font-size: 13px; }
.wcd-coupon > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.wcd-coupon form { display: flex; flex-wrap: wrap; gap: 8px; }
.wcd-coupon label { width: 100%; }
.wcd-coupon input { flex: 1 1 140px; min-width: 0; padding: 10px; font-size: 16px; }
.wcd-panel [data-wcd-op='remove_coupon'] { font-size: 12px; margin: 8px 6px 0 0; }
.wcd-panel .wcd-checkout, .wcd-panel .wcd-shop {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 52px; padding: 12px;
  border-radius: 8px; background: var(--wcd-accent); color: var(--wcd-accent-text);
  font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .4px;
}
.wcd-cart-footer small, .wcd-hint { display: block; margin: 10px 0 0; color: var(--wcd-muted); font-size: 12px; }
.wcd-empty { padding: 24px 0; text-align: center; }
.wcd-empty p { margin: 0 0 18px; }
.wcd-status { flex: 0 0 auto; padding: 0 18px; font-size: 13px; color: var(--wcd-muted); max-height: 20dvh; overflow-y: auto; }
.wcd-status:not(:empty) { padding-top: 10px; padding-bottom: 10px; border-top: 1px solid var(--wcd-border); }
.wcd-status [class*='woocommerce-'] { margin: 0; padding: 8px; border: 0; background: transparent; color: inherit; }
.wcd-triggers { display: flex; align-items: center; gap: 8px; }
.wcd-trigger, .wc2026 .n .wcd-trigger {
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; width: 44px; min-width: 44px; height: 44px;
  border-radius: 8px; color: var(--wcd-text); text-decoration: none;
}
.wcd-trigger svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.wcd-badge { position: absolute; top: 1px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 10px; color: var(--wcd-accent-text); background: var(--wcd-accent); font: 800 10px/18px Arial, sans-serif; }
.wcd-badge:empty { display: none; }
.wcd-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* Clase opcional en el contenedor del disparador móvil. */
@media (min-width: 1025px) { .wcd-mobile-only { display: none !important; } }
@media (max-width: 360px) {
  .wcd-head, .wcd-cart-body, .wcd-cart-footer { padding-left: 12px; padding-right: 12px; }
  .wcd-item { gap: 10px; }
  .wcd-item img { width: 60px; height: 75px; }
  .wcd-item > a { flex-basis: 60px; }
  .wcd-panel [data-wcd-op='remove'] { margin-left: 0; }
}
@media (max-height: 540px) { .wcd-head { min-height: 60px; padding-top: 8px; padding-bottom: 8px; } .wcd-cart-footer { max-height: 55dvh; } }
@media (prefers-reduced-motion: reduce) {
  :root { --wcd-duration: 0ms; }
  .wcd-panel, .wcd-panel::backdrop { transition: none; }
  .wcd-panel::backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
