.woocommerce-cart .aq-page-main { width: min(100% - 32px, 1240px); padding-top: 54px; }
.woocommerce-cart .aq-page-main > article > .entry-title { display: none; }
.woocommerce-cart .aq-page-main .entry-content { margin: 0; }

.aq-cart-page-heading { padding-bottom: 26px; border-bottom: 1px solid #dfe3e8; }
.aq-cart-page-heading p { margin: 0 0 4px; color: #0071dc; font-size: 13px; font-weight: 800; letter-spacing: .06em; }
.aq-cart-page-heading h1 { margin: 0; color: #111; font-size: clamp(38px, 4vw, 54px); line-height: 1.05; letter-spacing: -.04em; }
.aq-cart-page-heading span { display: block; margin-top: 8px; color: #68727d; font-size: 14px; }

.aq-selective-cart { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, .96fr); align-items: start; gap: 30px; margin-top: 30px; color: #111; }
.aq-cart-list { min-width: 0; }
.aq-cart-items { display: grid; gap: 16px; }
.aq-cart-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; min-width: 0; padding: 16px; border: 1px solid #dfe3e8; border-radius: 16px; background: #fff; box-shadow: 0 4px 18px rgba(16, 34, 54, .045); }
.aq-cart-image { display: grid; width: 112px; height: 112px; place-items: center; overflow: hidden; border: 1px solid #e4e7eb; border-radius: 12px; background: #fff; padding: 9px; }
.aq-cart-image img { display: block; width: 100%; height: 100%; margin: 0; object-fit: contain; }
.aq-cart-info { display: flex; min-width: 0; flex-direction: column; }
.aq-cart-info-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.aq-cart-name { display: block; max-width: 520px; color: #111; font-size: 16px; font-weight: 800; line-height: 1.35; text-decoration: none; }
.aq-cart-name:hover { color: #0071dc; }
.aq-cart-item-data, .aq-cart-unit-price, .aq-cart-saved-label { margin-top: 4px; color: #68727d; font-size: 12px; line-height: 1.4; }
.aq-cart-item-data p { margin: 0; }
.aq-cart-saved-label { color: #0071dc; font-weight: 700; }
.aq-cart-line-total { flex: 0 0 auto; color: #111; font-size: 16px; font-weight: 800; white-space: nowrap; }
.aq-cart-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.aq-cart-stepper { display: inline-flex; height: 42px; align-items: stretch; overflow: hidden; border: 2px solid #dfe3e8; border-radius: 999px; background: #fff; }
.aq-qty-button { display: grid; width: 42px; padding: 0; place-items: center; border: 0; background: transparent; color: #111; font: inherit; font-size: 20px; font-weight: 700; cursor: pointer; }
.aq-qty-button:hover { background: #eef6ff; }
.aq-qty-button:disabled { opacity: .35; cursor: not-allowed; }
.aq-cart-qty { width: 44px !important; min-width: 44px !important; height: 38px !important; padding: 0 4px !important; border: 0 !important; border-right: 1px solid #dfe3e8 !important; border-left: 1px solid #dfe3e8 !important; border-radius: 0 !important; box-shadow: none !important; color: #111; background: #fff; font: inherit; font-size: 14px; font-weight: 800; text-align: center; appearance: textfield; }
.aq-cart-qty::-webkit-inner-spin-button, .aq-cart-qty::-webkit-outer-spin-button { margin: 0; appearance: none; }
.aq-cart-remove { display: grid; width: 42px; height: 42px; margin-left: auto; padding: 0 !important; place-items: center; border: 0 !important; border-radius: 50%; background: transparent !important; color: #68727d !important; cursor: pointer; }
.aq-cart-remove:hover { color: #d21c3c !important; background: #fff2f4 !important; }
.aq-cart-remove svg { width: 20px; height: 20px; }
.aq-cart-restore { min-height: 40px; padding: 8px 16px !important; border: 1px solid #0071dc !important; border-radius: 999px; background: #fff !important; color: #0071dc !important; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.aq-cart-row-saved { background: #f8fafc; }
.aq-cart-row-saved .aq-cart-image { opacity: .75; }
.aq-saved-heading { margin: 34px 0 14px; font-size: 24px; }
.aq-cart-updating { opacity: .55; pointer-events: none; }

.aq-cart-summary { position: sticky; top: 116px; min-width: 0; padding: 24px; border: 1px solid #dfe3e8; border-radius: 18px; background: #fff; box-shadow: 0 6px 24px rgba(16, 34, 54, .06); }
.aq-cart-summary h2 { margin: 0 0 14px; font-size: 18px; line-height: 1.3; }
.aq-summary-line { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid #e5e7eb; color: #5f6975; font-size: 14px; }
.aq-summary-line strong { color: #111; white-space: nowrap; }
.aq-shipping-value { color: #198038 !important; }
.aq-summary-total { align-items: center; padding: 18px 0; border-bottom: 0; color: #111; font-size: 18px; font-weight: 800; }
.aq-summary-total strong { font-size: 25px; letter-spacing: -.02em; }
.aq-remove-coupon { padding: 0 2px; border: 0; background: none; color: #68727d; font: inherit; cursor: pointer; }
.aq-cart-checkout, .aq-coupon-form button, .aq-cart-update { display: flex; width: 100%; min-height: 50px; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border: 0; border-radius: 999px; background: #ffc220; color: #111; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; transition: filter .2s ease, transform .2s ease; }
.aq-cart-checkout:hover { filter: brightness(.96); transform: translateY(-1px); }
.aq-cart-checkout:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.aq-cart-benefits { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; color: #657180; font-size: 12px; list-style: none; }
.aq-cart-benefits li::first-letter { color: #0071dc; }
.aq-coupon-details { margin-top: 18px; padding-top: 16px; border-top: 1px solid #e5e7eb; }
.aq-coupon-details summary { color: #111; font-size: 13px; font-weight: 800; cursor: pointer; }
.aq-coupon-form { margin-top: 12px; }
.aq-coupon-form > div { display: flex; gap: 8px; }
.aq-coupon-form input { min-width: 0; flex: 1; padding: 9px 11px; border: 1px solid #bfc7d0; border-radius: 8px; }
.aq-coupon-form button { width: auto; min-height: 40px; padding-inline: 16px; border-radius: 8px; background: #0071dc; color: #fff; }
.aq-cart-empty { padding: 46px; border: 1px dashed #c8d0d9; border-radius: 18px; background: #fff; text-align: center; }
.aq-cart-empty h2 { margin: 0; font-size: 30px; }
.aq-cart-empty p { color: #68727d; }
.aq-cart-empty a { display: inline-flex; min-height: 46px; align-items: center; margin-top: 8px; padding: 10px 22px; border-radius: 999px; background: #ffc220; color: #111; font-weight: 800; text-decoration: none; }

@media (max-width: 900px) {
  .aq-selective-cart { grid-template-columns: 1fr; gap: 22px; }
  .aq-cart-summary { position: static; }
}

@media (max-width: 600px) {
  .woocommerce-cart .aq-page-main { width: min(100% - 24px, 1240px); padding-top: 30px; }
  .aq-cart-page-heading { padding-bottom: 20px; }
  .aq-cart-page-heading h1 { font-size: 38px; }
  .aq-selective-cart { margin-top: 22px; }
  .aq-cart-row { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 12px; border-radius: 14px; }
  .aq-cart-image { width: 88px; height: 88px; padding: 6px; }
  .aq-cart-name, .aq-cart-line-total { font-size: 13px; }
  .aq-cart-info-top { gap: 8px; }
  .aq-cart-unit-price { font-size: 11px; }
  .aq-cart-controls { padding-top: 12px; }
  .aq-cart-stepper { height: 38px; }
  .aq-qty-button { width: 36px; font-size: 18px; }
  .aq-cart-qty { width: 38px !important; min-width: 38px !important; height: 34px !important; }
  .aq-cart-remove { width: 38px; height: 38px; }
  .aq-cart-summary { padding: 20px; border-radius: 16px; }
}
