/* CGM-SITE-SIDE-CART — Side Cart WooCommerce gourmet (mantém plugin + AJAX) */

:root {
  --cgm-cart-bg: #fefae1;
  --cgm-cart-border: rgba(136, 115, 98, 0.18);
  --cgm-cart-text: #3d342f;
  --cgm-cart-muted: #887362;
  --cgm-cart-vinho: #8d384b;
  --cgm-cart-creme: #fefae1;
}

.xoo-wsc-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.xoo-wsc-header {
  background: var(--cgm-cart-bg) !important;
  border-bottom: 1px solid var(--cgm-cart-border) !important;
  padding: 18px 20px !important;
}

.xoo-wsc-header .xoo-wsch-top {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 !important;
}

.xoo-wsc-header .xoo-wsch-sec-left {
  grid-column: 1 !important;
  justify-self: start !important;
}

.xoo-wsc-header .xoo-wsch-sec-center {
  grid-column: 2 !important;
  justify-self: center !important;
  min-width: 0 !important;
  width: 100% !important;
  text-align: center !important;
}

.xoo-wsc-header .xoo-wsch-sec-right {
  grid-column: 3 !important;
  justify-self: end !important;
}

.xoo-wsc-header .xoo-wsch-text,
.xoo-wsc-header .xoo-wsch-basket {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--cgm-cart-text) !important;
}

.xoo-wsc-header .xoo-wsch-text {
  display: block !important;
  margin: 0 !important;
  padding: 0 4px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.xoo-wsc-header .xoo-wsch-close {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--cgm-cart-border) !important;
  border-radius: 0 !important;
  background: var(--cgm-cart-creme) !important;
  color: var(--cgm-cart-text) !important;
  width: 36px !important;
  height: 36px !important;
  font-size: 16px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.xoo-wsc-header .xoo-wsch-close::before {
  display: block !important;
  line-height: 1 !important;
}

.xoo-wsc-header .xoo-wsch-close:hover {
  background: var(--cgm-cart-muted) !important;
  border-color: var(--cgm-cart-muted) !important;
  color: var(--cgm-cart-creme) !important;
}

.xoo-wsc-body {
  background: var(--cgm-cart-creme) !important;
}

.xoo-wsc-products .xoo-wsc-product {
  border-bottom: 1px solid var(--cgm-cart-border) !important;
  padding: 16px 20px !important;
}

.xoo-wsc-products .xoo-wsc-product-name,
.xoo-wsc-products .xoo-wsc-product-name a {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--cgm-cart-text) !important;
  text-decoration: none !important;
}

.xoo-wsc-products .xoo-wsc-product-name a:hover {
  color: var(--cgm-cart-vinho) !important;
}

.xoo-wsc-products .amount,
.xoo-wsc-products .woocommerce-Price-amount {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--cgm-cart-vinho) !important;
}

.xoo-wsc-footer {
  background: var(--cgm-cart-bg) !important;
  border-top: 1px solid var(--cgm-cart-border) !important;
  padding: 18px 20px 22px !important;
}

.xoo-wsc-ft-amt .xoo-wsc-ft-amt-label,
.xoo-wsc-ft-amt .xoo-wsc-ft-amt-value {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--cgm-cart-muted) !important;
}

.xoo-wsc-ft-amt .xoo-wsc-ft-amt-value .amount {
  color: var(--cgm-cart-vinho) !important;
  font-size: 16px !important;
}

.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn,
.xoo-wsc-container .xoo-wsc-btn {
  border-radius: 0 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  min-height: 48px !important;
  padding: 0 20px !important;
  border: 0 !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

.xoo-wsc-ft-btn-cart,
.xoo-wsc-ft-btn-checkout {
  background: var(--cgm-cart-vinho) !important;
  color: var(--cgm-cart-creme) !important;
}

.xoo-wsc-ft-btn-cart:hover,
.xoo-wsc-ft-btn-checkout:hover {
  background: #4d7d66 !important;
  color: #fff !important;
}

.xoo-wsc-ft-btn-continue,
.xoo-wsc-ft-btn.xoo-wsc-cart-close {
  background: transparent !important;
  color: var(--cgm-cart-muted) !important;
  border: 1px solid var(--cgm-cart-border) !important;
}

.xoo-wsc-ft-btn-continue:hover,
.xoo-wsc-ft-btn.xoo-wsc-cart-close:hover {
  border-color: rgba(141, 56, 75, 0.35) !important;
  color: var(--cgm-cart-vinho) !important;
}

.xoo-wsc-empty-cart {
  padding: 40px 24px !important;
  color: var(--cgm-cart-muted) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-align: center !important;
}

.xoo-wsc-qty-box {
  border: 1px solid var(--cgm-cart-border) !important;
  border-radius: 0 !important;
}

.xoo-wsc-qty-box input {
  font-weight: 600 !important;
  color: var(--cgm-cart-text) !important;
}

/* CGM-SIDE-CART-LOCK */
