/* WooCommerce cart (/cart/): site look. Markup: novamira-sandbox/atl-wc/cart*.php */
.atl-cart-page .page-header { display: none !important; }
.atl-cart-page .site-main { max-width: 72rem !important; padding: 3.5rem 1.5rem 5rem !important; }
.woocommerce-cart .woocommerce { display: block !important; max-width: none !important; }

.atl-cart { --c-card: #10141E; --c-line: #161B2A; --c-soft: #CBD5E1; --c-muted: #94A3B8; --c-dim: #64748B; color: var(--c-soft); }
.atl-cart *, .atl-cart *::before, .atl-cart *::after { box-sizing: border-box; }
.atl-cart .material-symbols-outlined { font-size: 18px; line-height: 1; }

/* heading */
.atl-cart-head { margin: 0 0 32px; }
.atl-cart-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--c-muted); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.atl-cart-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .6); }
.atl-cart .atl-cart-title { margin: 0 0 12px; color: #fff; font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; }
.atl-cart-sub { margin: 0; max-width: 34rem; color: var(--c-muted); font-size: 16px; line-height: 1.6; }

/* two columns */
.atl-cart-cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.atl-cart .atl-cart-card { background: var(--c-card) !important; border: 1px solid var(--c-line) !important; border-radius: 20px !important; box-shadow: 0 10px 40px -12px rgba(0, 0, 0, .6) !important; padding: 28px !important; margin: 0 !important; width: auto !important; float: none !important; }
.atl-cart .atl-cart-card h2 { margin: 0; color: #fff; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.atl-cart-card-h { display: flex; align-items: center; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid var(--c-line); }
.atl-cart-pill { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 99px; background: var(--c-line); color: #fff; font-size: 12px; font-weight: 700; }

/* course rows */
.atl-cart-items { list-style: none; margin: 0; padding: 0; }
.atl-cart-item { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto 36px; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--c-line); }
.atl-cart-thumb { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #0B0E14; border: 1px solid var(--c-line); }
.atl-cart-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.atl-cart-item:hover .atl-cart-thumb img { transform: scale(1.05); }
.atl-cart-info { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-width: 0; }
.atl-cart-tag { padding: 4px 9px; border-radius: 6px; background: var(--c-line); color: var(--c-soft); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.atl-cart .atl-cart-name { color: #fff !important; font-size: 16px; font-weight: 600; line-height: 1.35; text-decoration: none !important; }
.atl-cart .atl-cart-name:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.atl-cart-meta { color: var(--c-dim); font-size: 13px; }
.atl-cart-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; white-space: nowrap; }
.atl-cart-price strong { color: #fff; font-size: 18px; font-weight: 700; }
.atl-cart-price del { color: var(--c-dim); font-size: 13px; }
.atl-cart .product-remove { display: flex; justify-content: flex-end; }
.atl-cart a.atl-cart-remove { display: inline-grid !important; place-items: center; width: 36px !important; height: 36px !important; border-radius: 10px !important; border: 1px solid var(--c-line); background: transparent !important; color: var(--c-muted) !important; font-size: 0 !important; line-height: 1 !important; transition: background .15s, color .15s, border-color .15s; }
.atl-cart a.atl-cart-remove:hover { background: #fff !important; border-color: #fff; color: #0B0E17 !important; }

/* coupon */
.atl-cart-coupon { padding: 22px 0 6px; }
.atl-cart-coupon label { display: block; margin: 0 0 10px; color: #fff; font-size: 14px; font-weight: 600; }
.atl-cart-coupon-row { display: flex; gap: 10px; }
.atl-cart .atl-cart-coupon input#coupon_code { flex: 1; width: auto !important; min-width: 0; height: 46px; margin: 0 !important; padding: 0 16px !important; border-radius: 12px !important; border: 1px solid var(--c-line) !important; background: #0B0E14 !important; color: #fff !important; font-size: 14px; outline: none; box-shadow: none !important; }
.atl-cart .atl-cart-coupon input#coupon_code::placeholder { color: var(--c-dim); }
.atl-cart .atl-cart-coupon input#coupon_code:focus { border-color: rgba(255, 255, 255, .45) !important; }

/* buttons */
.atl-cart .atl-cart-btn, .atl-cart a.atl-cart-btn-ghost, .atl-cart button.atl-cart-btn-ghost { display: inline-flex !important; width: auto; text-transform: none !important; box-shadow: none !important; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px !important; border-radius: 12px !important; font-size: 14px !important; font-weight: 600 !important; letter-spacing: .01em !important; line-height: 1 !important; text-decoration: none !important; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.atl-cart .atl-cart-btn { background: #fff !important; color: #0B0E17 !important; border: 1px solid #fff !important; }
.atl-cart .atl-cart-btn:hover { background: #E2E8F0 !important; transform: translateY(-1px); }
.atl-cart a.atl-cart-btn-ghost, .atl-cart button.atl-cart-btn-ghost { background: transparent !important; color: #fff !important; border: 1px solid #2A3247 !important; }
.atl-cart a.atl-cart-btn-ghost:hover, .atl-cart button.atl-cart-btn-ghost:hover { border-color: #fff !important; }
.atl-cart .atl-cart-btn-block { display: flex !important; width: 100%; height: 54px; margin: 0 !important; font-size: 15px !important; }
.atl-cart .atl-cart-btn .material-symbols-outlined { transition: transform .15s; }
.atl-cart .atl-cart-btn:hover .material-symbols-outlined { transform: translateX(3px); }

.atl-cart .atl-cart-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--c-muted) !important; font-size: 14px; text-decoration: none !important; }
.atl-cart .atl-cart-back:hover { color: #fff !important; }

/* summary */
.atl-cart-side { position: sticky; top: 96px; width: auto !important; float: none !important; }
.atl-cart-summary h2 { padding-bottom: 20px; border-bottom: 1px solid var(--c-line); }
.atl-cart-rows { margin: 0; padding: 18px 0 22px; }
.atl-cart-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; }
.atl-cart-row dt { color: var(--c-muted); font-size: 14px; font-weight: 400; }
.atl-cart-row dd { margin: 0; color: #fff; font-size: 14px; font-weight: 600; text-align: right; }
.atl-cart-row dd a { color: var(--c-muted) !important; font-size: 12px; font-weight: 400; margin-left: 6px; }
.atl-cart-row.cart-discount dd { color: #fff; }
.atl-cart-total { margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--c-line); }
.atl-cart-total dt { color: #fff; font-size: 16px; font-weight: 600; }
.atl-cart-total dd, .atl-cart-total dd strong { font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.atl-cart-total small { display: block; color: var(--c-dim); font-size: 12px; font-weight: 400; letter-spacing: 0; }
.atl-cart .wc-proceed-to-checkout { padding: 0 !important; }
.atl-cart-perks { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--c-line); display: grid; gap: 12px; }
.atl-cart-perks li { display: flex; align-items: center; gap: 10px; color: var(--c-soft); font-size: 14px; }
.atl-cart-perks .material-symbols-outlined { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--c-line); color: #fff; font-size: 16px; }
.atl-cart-pay { margin: 16px 0 0; color: var(--c-dim); font-size: 12px; line-height: 1.6; }

/* empty */
.atl-cart-is-empty { display: flex; justify-content: center; }
.atl-cart .atl-cart-empty { max-width: 560px; width: 100% !important; padding: 56px 32px !important; text-align: center; font-size: 16px !important; font-weight: 400 !important; line-height: 1.6; }
.atl-cart .atl-cart-empty::before { display: none !important; content: none !important; }
.atl-cart-empty .atl-cart-eyebrow { justify-content: center; }
.atl-cart-empty .atl-cart-sub { margin: 0 auto; }
.atl-cart .atl-cart-empty-icon { display: grid; margin-left: auto; margin-right: auto; place-items: center; width: 68px; height: 68px; margin-bottom: 22px; border-radius: 18px; background: var(--c-line); border: 1px solid #222A3D; color: #fff; font-size: 30px; }
.atl-cart-empty-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* WooCommerce notices on this page */
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message, .woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info, .woocommerce-cart .woocommerce-notices-wrapper .woocommerce-error { margin: 0 0 20px; padding: 14px 18px 14px 46px; border: 1px solid #161B2A; border-radius: 12px; background: #10141E; color: #CBD5E1; }
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message::before, .woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info::before, .woocommerce-cart .woocommerce-notices-wrapper .woocommerce-error::before { color: #fff; top: 14px; left: 18px; }
.woocommerce-cart .woocommerce-notices-wrapper a { color: #fff; }
.woocommerce-cart .blockUI.blockOverlay { background: rgba(11, 14, 20, .6) !important; border-radius: 20px; }

/* tablet and phone */
@media (max-width: 960px) {
  .atl-cart-cols { grid-template-columns: minmax(0, 1fr); }
  .atl-cart-side { position: static; }
}
@media (max-width: 600px) {
  .atl-cart-page .site-main { padding: 2.25rem 1rem 4rem !important; }
  .atl-cart .atl-cart-card { padding: 20px !important; border-radius: 16px !important; }
  .atl-cart-item { grid-template-columns: 84px minmax(0, 1fr) 36px; grid-template-areas: 'thumb info remove' 'thumb price remove'; gap: 6px 14px; align-items: start; padding: 18px 0; }
  .atl-cart-thumb { grid-area: thumb; }
  .atl-cart-info { grid-area: info; }
  .atl-cart-price { grid-area: price; flex-direction: row; align-items: baseline; gap: 8px; }
  .atl-cart .product-remove { grid-area: remove; }
  .atl-cart .atl-cart-name { font-size: 15px; }
  .atl-cart-meta { font-size: 12px; }
  .atl-cart-coupon-row { flex-direction: column; }
  .atl-cart .atl-cart-coupon input#coupon_code { flex: none; width: 100% !important; }
  .atl-cart .atl-cart-coupon button.atl-cart-btn-ghost { width: 100%; }
  .atl-cart .atl-cart-empty { padding: 40px 22px !important; }
}
