/* ==========================================================================
   GOKU MUSIC - CART PAGE STYLESHEET (UI/UX 2026 Pro Edition)
   Strictly Scoped: Only applies inside body.woocommerce-cart
   Brand Tokens: Goku Gold (#eab308 / #f5dc32), Obsidian (#0b0f19), Clean Slate (#0f172a)
   Aligned 100% with Goku Music Header/Footer at max-width: 1425px
   ========================================================================== */

/* 1. Neutralize Default XStore Page Heading & English Navigation on Cart */
.cart-checkout-nav,
body.woocommerce-cart .cart-checkout-nav,
.special-cart-breadcrumbs.woocommerce-cart .page-heading,
body.woocommerce-cart .page-heading,
body.woocommerce-cart .etheme-before-cart-form,
.cart-order-details #custom_html-13,
.cart-order-details .widget_custom_html {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Hide Redundant Theme Headings & Duplicate Return Buttons inside Collaterals */
.cart-collaterals .cart_totals > h2,
.cart-collaterals h2,
.goku-cart-collaterals-wrap .cart_totals > h2,
.goku-cart-collaterals-wrap h2,
.wc-proceed-to-checkout .return-shop {
  display: none !important;
}

body.woocommerce-cart .content-page {
  padding-top: 25px !important;
  padding-bottom: 60px !important;
  background-color: #f8fafc;
}

body.woocommerce-cart .container {
  width: 100% !important;
  max-width: 1425px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* 2. Step Progress Bar */
.goku-cart-page-wrapper .goku-checkout-steps-bar,
.goku-checkout-steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto 28px auto;
  padding: 8px 0;
}
.goku-checkout-steps-bar .goku-step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #94a3b8;
}
.goku-checkout-steps-bar .goku-step-item .step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  color: #64748b;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s ease;
}
.goku-checkout-steps-bar .goku-step-item.active {
  color: #0f172a;
  font-weight: 700;
}
.goku-checkout-steps-bar .goku-step-item.active .step-num {
  background: #eab308;
  color: #0b0f19;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.35);
}
.goku-checkout-steps-bar .goku-step-item.completed {
  color: #a16207;
}
.goku-checkout-steps-bar .goku-step-item.completed .step-num {
  background: #fef9c3;
  color: #a16207;
}
.goku-checkout-steps-bar .step-divider {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  max-width: 80px;
}
.goku-checkout-steps-bar .step-divider.active {
  background: #eab308;
}

/* 3. Trust Highlight Strip */
.goku-cart-page-wrapper .goku-checkout-highlights,
.goku-checkout-highlights {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  background: #fefce8;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 14px 24px;
  margin-bottom: 30px;
}
.goku-checkout-highlights .highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #854d0e;
}
.goku-checkout-highlights .highlight-item svg {
  flex-shrink: 0;
  fill: #ca8a04;
}
.goku-checkout-highlights .highlight-item strong {
  color: #713f12;
  font-weight: 700;
}

/* 4. 2-Column Grid Layout */
.goku-cart-grid {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 32px;
  align-items: start;
}

/* 5. Left Column - Cart Card */
.goku-cart-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.goku-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}
.goku-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fef9c3;
  color: #a16207;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.goku-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2px 0;
  line-height: 1.3;
}
.goku-card-subtitle {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* 6. Cart Table Styling */
.goku-cart-table-wrap {
  width: 100%;
  overflow-x: auto;
}
.goku-cart-table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin-bottom: 0 !important;
  border: none !important;
}
.goku-cart-table thead th {
  background: #f8fafc !important;
  color: #475569 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 14px 18px !important;
  border: none !important;
  border-bottom: 1px solid #e2e8f0 !important;
  text-align: left;
}
.goku-cart-table thead th.product-thumbnail-col {
  width: 90px;
}
.goku-cart-table thead th.product-name-col {
  min-width: 200px;
}
.goku-cart-table thead th.product-price-col {
  width: 130px;
  text-align: center;
}
.goku-cart-table thead th.product-quantity-col {
  width: 140px;
  text-align: center;
}
.goku-cart-table thead th.product-subtotal-col {
  width: 140px;
  text-align: right;
}
.goku-cart-table thead th.product-remove-col {
  width: 50px;
  text-align: center;
}

.goku-cart-table tbody tr {
  border-bottom: 1px solid #f1f5f9 !important;
  transition: background 0.15s ease;
}
.goku-cart-table tbody tr:hover {
  background: #fafafa;
}
.goku-cart-table tbody td {
  padding: 20px 18px !important;
  border: none !important;
  vertical-align: middle !important;
}

/* Thumbnail */
.goku-cart-table td.product-thumbnail {
  width: 90px;
  padding-right: 0 !important;
}
.goku-cart-table .goku-thumb-link {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.goku-cart-table .goku-thumb-link:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.goku-cart-table .goku-thumb-link img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

/* Product Name & Details */
.goku-product-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.goku-product-details .product-title {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}
.goku-product-details .product-title:hover {
  color: #ca8a04 !important;
}
.goku-product-details .variation {
  font-size: 12.5px;
  color: #64748b;
  margin: 4px 0 0 0;
}
.goku-mobile-price-row {
  display: none;
}

/* Product Price */
.goku-cart-table td.product-price {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  text-align: center;
  white-space: nowrap;
}
.goku-cart-table td.product-price .woocommerce-Price-amount {
  color: #334155 !important;
  font-weight: 600 !important;
}

/* Product Quantity */
.goku-cart-table td.product-quantity {
  text-align: center;
}
.goku-cart-table td.product-quantity .quantity {
  display: inline-flex !important;
  align-items: center !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  overflow: hidden !important;
  height: 38px !important;
}
.goku-cart-table td.product-quantity .quantity input.qty {
  width: 48px !important;
  height: 38px !important;
  border: none !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.goku-cart-table td.product-quantity .quantity .btn-qty,
.goku-cart-table td.product-quantity .quantity .plus,
.goku-cart-table td.product-quantity .quantity .minus {
  width: 32px !important;
  height: 38px !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: none !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.15s ease, color 0.15s ease;
  line-height: 1 !important;
  padding: 0 !important;
}
.goku-cart-table td.product-quantity .quantity .btn-qty:hover,
.goku-cart-table td.product-quantity .quantity .plus:hover,
.goku-cart-table td.product-quantity .quantity .minus:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

/* Product Subtotal */
.goku-cart-table td.product-subtotal {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  text-align: right;
  white-space: nowrap;
}
.goku-cart-table td.product-subtotal .woocommerce-Price-amount {
  color: #0f172a !important;
  font-weight: 700 !important;
}

/* Remove Button */
.goku-cart-table td.product-remove {
  text-align: center;
  width: 48px;
  padding-left: 0 !important;
}
.goku-remove-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #94a3b8;
  background: #f8fafc;
  transition: all 0.2s ease;
  border: 1px solid #e2e8f0;
}
.goku-remove-item:hover {
  color: #ef4444;
  background: #fef2f2;
  border-color: #fecaca;
  transform: scale(1.08);
}

/* 7. Cart Actions Bar (Coupon & Buttons) */
.goku-cart-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.goku-coupon-box {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 360px;
}
.goku-coupon-input {
  flex: 1;
  height: 44px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 0 14px !important;
  font-size: 14px !important;
  color: #0f172a !important;
  background: #ffffff !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.goku-coupon-input:focus {
  border-color: #eab308 !important;
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.2) !important;
  outline: none !important;
}
.goku-btn-apply-coupon {
  height: 44px !important;
  padding: 0 18px !important;
  background: #1e293b !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: background 0.2s ease !important;
}
.goku-btn-apply-coupon:hover {
  background: #0f172a !important;
}

.goku-cart-buttons-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.goku-btn-continue-shopping {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.goku-btn-continue-shopping:hover {
  border-color: #eab308;
  color: #a16207;
  background: #fefce8;
}

.goku-btn-update-cart {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 44px !important;
  padding: 0 18px !important;
  background: #f1f5f9 !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.goku-btn-update-cart:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
}

/* 8. Right Column - Totals Card & Collaterals */
.goku-cart-right {
  position: relative;
}
.goku-cart-sticky-col {
  position: sticky;
  top: 90px;
}
.goku-cart-totals-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  margin-bottom: 24px;
}

.goku-cart-collaterals-wrap {
  padding: 20px 24px 24px 24px;
}
.goku-cart-collaterals-wrap .cart_totals {
  width: 100% !important;
  float: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.goku-cart-collaterals-wrap .shop_table {
  width: 100% !important;
  border-collapse: collapse !important;
  border: none !important;
  margin-bottom: 20px !important;
}
.goku-cart-collaterals-wrap .shop_table tr {
  border-bottom: 1px dashed #e2e8f0 !important;
}
.goku-cart-collaterals-wrap .shop_table th {
  padding: 14px 0 !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  border: none !important;
  text-align: left;
  width: 40%;
}
.goku-cart-collaterals-wrap .shop_table td {
  padding: 14px 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  border: none !important;
  text-align: right;
}

/* Order Total Row */
.goku-cart-collaterals-wrap .shop_table tr.order-total {
  border-bottom: none !important;
  border-top: 2px solid #e2e8f0 !important;
}
.goku-cart-collaterals-wrap .shop_table tr.order-total th {
  padding-top: 20px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}
.goku-cart-collaterals-wrap .shop_table tr.order-total td {
  padding-top: 20px !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #dc2626 !important;
}
.goku-cart-collaterals-wrap .shop_table tr.order-total td strong {
  font-weight: 800 !important;
  color: #dc2626 !important;
}

/* Free Shipping Badge */
.goku-cart-collaterals-wrap .woocommerce-shipping-totals td {
  font-size: 13.5px !important;
  color: #166534 !important;
}

/* 9. Proceed to Checkout CTA Button */
.wc-proceed-to-checkout {
  padding: 0 !important;
  margin: 0 !important;
}
.goku-btn-proceed-checkout {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 16px 20px !important;
  background: linear-gradient(135deg, #f5dc32 0%, #eab308 100%) !important;
  color: #0b0f19 !important;
  border-radius: 12px !important;
  border: none !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(234, 179, 8, 0.35) !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}
.goku-btn-proceed-checkout:hover {
  background: linear-gradient(135deg, #fde047 0%, #eab308 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(234, 179, 8, 0.45) !important;
  color: #0b0f19 !important;
}
.goku-btn-proceed-checkout .btn-title {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0b0f19 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}
.goku-btn-proceed-checkout .btn-desc {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  margin-top: 4px !important;
  line-height: 1.2 !important;
}

/* 10. Goku Trust & Guarantee Box */
.goku-cart-trust-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.goku-cart-trust-box .trust-box-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}
.goku-cart-trust-box .trust-box-title svg {
  fill: #ca8a04;
  flex-shrink: 0;
}
.goku-cart-trust-box .trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.goku-cart-trust-box .trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
}
.goku-cart-trust-box .trust-list li svg {
  fill: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}
.goku-cart-trust-box .trust-list li strong {
  color: #1e293b;
  font-weight: 600;
}

/* 11. Empty Cart Page Styles */
.goku-cart-empty-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 16px;
}
.goku-cart-empty-card {
  max-width: 620px;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 48px 36px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}
.goku-cart-empty-card .empty-icon-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fefce8;
  color: #ca8a04;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.goku-cart-empty-card .empty-title {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
}
.goku-cart-empty-card .empty-desc {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 32px 0;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.goku-cart-empty-card .empty-actions {
  margin-bottom: 32px;
}
.goku-btn-shop-now {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #eab308;
  color: #0b0f19 !important;
  font-size: 15px;
  font-weight: 800;
  border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.35);
  transition: all 0.2s ease;
}
.goku-btn-shop-now:hover {
  background: #fde047;
  color: #0b0f19 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(234, 179, 8, 0.45);
}
.goku-cart-empty-card .empty-perks {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid #f1f5f9;
}
.goku-cart-empty-card .perk-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #475569;
}
.goku-cart-empty-card .perk-bullet {
  color: #16a34a;
  font-weight: 700;
}

/* 12. Responsive Breakpoints */
@media (max-width: 1024px) {
  .goku-cart-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .goku-cart-sticky-col {
    position: static;
  }
}

@media (max-width: 768px) {
  body.woocommerce-cart .content-page {
    padding-top: 16px !important;
    padding-bottom: 40px !important;
  }
  .goku-checkout-steps-bar {
    gap: 8px;
    margin-bottom: 20px;
  }
  .goku-checkout-steps-bar .goku-step-item {
    font-size: 13px;
    gap: 6px;
  }
  .goku-checkout-steps-bar .goku-step-item .step-num {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
  .goku-checkout-steps-bar .step-divider {
    max-width: 30px;
  }
  .goku-checkout-highlights {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
  }
  .goku-card-header {
    padding: 16px;
  }
  .goku-cart-table thead {
    display: none;
  }
  .goku-cart-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    padding: 16px 12px;
    align-items: center;
  }
  .goku-cart-table tbody td {
    padding: 6px 8px !important;
  }
  .goku-cart-table td.product-thumbnail {
    width: 75px;
  }
  .goku-cart-table .goku-thumb-link {
    width: 70px;
    height: 70px;
  }
  .goku-cart-table td.product-name {
    flex: 1;
    min-width: 180px;
  }
  .goku-mobile-price-row {
    display: block;
    font-size: 13px;
    color: #64748b;
    margin-top: 2px;
  }
  .goku-mobile-price-row .mobile-price-val {
    font-weight: 600;
    color: #334155;
  }
  .goku-cart-table td.product-price {
    display: none;
  }
  .goku-cart-table td.product-quantity {
    width: auto;
    margin-left: 82px;
    margin-top: 8px;
    text-align: left;
  }
  .goku-cart-table td.product-subtotal {
    margin-left: auto;
    margin-top: 8px;
    font-size: 15px !important;
  }
  .goku-cart-table td.product-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: auto;
  }
  .goku-cart-actions-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }
  .goku-coupon-box {
    max-width: 100%;
  }
  .goku-cart-buttons-right {
    flex-direction: column;
    width: 100%;
  }
  .goku-btn-continue-shopping,
  .goku-btn-update-cart {
    width: 100%;
    justify-content: center;
  }
  .goku-cart-collaterals-wrap {
    padding: 16px;
  }
  .goku-cart-trust-box {
    padding: 16px;
  }
}
