/**
 * Modern Cart Page Styles - Albarq Theme
 * Optimized for RTL (Arabic) Layout
 *
 * @package Albarq
 * @version 3.0.0
 */

/* ============================================
   CSS Variables
   ============================================ */
:root {
  /* Primary Colors from Logo - Navy Blue & Gold */
  --cart-primary: #003d7a;
  --cart-primary-dark: #002d5c;
  --cart-secondary: #d4af37;
  --cart-accent: #ff1493;

  /* Gradients */
  --cart-gradient: linear-gradient(135deg, #003d7a 0%, #0052a3 100%);
  --cart-gradient-reverse: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
  --cart-gold-gradient: linear-gradient(135deg, #d4af37 0%, #c9a227 100%);
  --cart-pink-gradient: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);

  /* Background & Border */
  --cart-bg-light: #f0f4f9;
  --cart-border: rgba(0, 61, 122, 0.15);
  --cart-shadow: 0 8px 24px rgba(0, 61, 122, 0.12);
  --cart-shadow-hover: 0 12px 32px rgba(0, 61, 122, 0.18);

  /* Border Radius */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;

  /* Checkout Button Colors - Gold Theme */
  --checkout-gradient: linear-gradient(135deg, #d4af37 0%, #c9a227 100%);
  --checkout-gradient-hover: linear-gradient(135deg, #c9a227 0%, #b8941f 100%);
  --checkout-shadow: 0 8px 28px rgba(212, 175, 55, 0.4);
  --checkout-shadow-hover: 0 14px 42px rgba(212, 175, 55, 0.5);
}

/* ============================================
   Page Wrapper
   ============================================ */
.olympic-cart-wrapper {
  min-height: 60vh;
  padding: 40px 0;
  background: linear-gradient(135deg, #f0f4f9 0%, #ffffff 100%);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.olympic-cart-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .olympic-cart-container {
    padding: 0 40px;
  }
}

@media (min-width: 1024px) {
  .olympic-cart-container {
    padding: 0 60px;
  }
}

@media (min-width: 1280px) {
  .olympic-cart-container {
    padding: 0 80px;
  }
}

@media (min-width: 1536px) {
  .olympic-cart-container {
    max-width: 1920px;
    padding: 0 100px;
  }
}

/* ============================================
   Cart Header
   ============================================ */
.cart-header {
  margin-bottom: 40px;
  animation: none;
}

@keyframes slideDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cart-header-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-icon-wrapper {
  position: relative;
  width: 64px;
  height: 64px;
  background: var(--cart-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 61, 122, 0.35);
}

.cart-icon {
  color: white;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--cart-accent);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255, 20, 147, 0.4);
}

.cart-title {
  font-size: 32px;
  font-weight: 800;
  margin: 0;
  background: var(--cart-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cart-subtitle {
  margin: 4px 0 0 0;
  color: #666;
  font-size: 15px;
}

/* ============================================
   Empty Cart State
   ============================================ */
.cart-empty-state {
  text-align: center;
  padding: 80px 20px;
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.empty-cart-icon {
  margin-bottom: 24px;
  opacity: 0.3;
}

.empty-cart-icon svg {
  color: var(--cart-primary);
}

.empty-cart-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0 0 12px 0;
}

.empty-cart-text {
  color: #666;
  font-size: 16px;
  margin: 0 0 32px 0;
}

.btn-continue-shopping {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--cart-gradient);
  color: white;
  font-weight: 600;
  font-size: 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.btn-continue-shopping:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(102, 126, 234, 0.4);
  background: var(--cart-gradient-reverse);
}

/* ============================================
   Cart Grid Layout
   ============================================ */
.cart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  animation: fadeInUp 0.6s ease-out;
  width: 100%;
  max-width: 100%;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet & Desktop - LTR */
@media (min-width: 1024px) {
  .cart-grid {
    grid-template-columns: 2fr 3fr;
    gap: 32px;
  }
}

@media (min-width: 1280px) {
  .cart-grid {
    grid-template-columns: 2fr 3fr;
    gap: 40px;
  }
}

@media (min-width: 1536px) {
  .cart-grid {
    grid-template-columns: 2fr 3fr;
    gap: 48px;
  }
}

/* RTL Layout Fix */
@media (min-width: 1024px) {
  html[dir="rtl"] .cart-grid {
    grid-template-columns: 3fr 2fr;
  }
}

@media (min-width: 1280px) {
  html[dir="rtl"] .cart-grid {
    grid-template-columns: 3fr 2fr;
  }
}

@media (min-width: 1536px) {
  html[dir="rtl"] .cart-grid {
    grid-template-columns: 3fr 2fr;
  }
}

/* ============================================
   Cart Items Column
   ============================================ */
.cart-items-column {
  order: 2;
  width: 100%;
  min-width: 0;
}

@media (min-width: 1024px) {
  .cart-items-column {
    order: 1;
  }
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

@media (min-width: 1280px) {
  .cart-items-list {
    gap: 16px;
  }
}

/* WooCommerce Form */
.woocommerce-cart-form {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
  padding: 0;
}

/* Override WooCommerce default widths */
.woocommerce,
.woocommerce-page {
  width: 100% !important;
  max-width: 100% !important;
}

.woocommerce table.shop_table,
.woocommerce-page table.shop_table {
  width: 100% !important;
  max-width: 100% !important;
}

.woocommerce .woocommerce-cart-form,
.woocommerce-page .woocommerce-cart-form {
  width: 100% !important;
  max-width: 100% !important;
}

/* Override WooCommerce container max-width */
.woocommerce-cart main .woocommerce,
.woocommerce-account main .woocommerce,
.woocommerce-checkout main .woocommerce {
  max-width: 100% !important;
}

/* ============================================
   Cart Item Card - Compact Horizontal Design
   ============================================ */
.cart-item-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 4px 16px rgba(0, 61, 122, 0.1);
  transition: none;
  border: 2px solid rgba(0, 61, 122, 0.08);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  min-height: auto;
}

/* Premium top accent bar */
.cart-item-card::before {
  display: none;
}

/* Decorative corner accent */
.cart-item-card::after {
  display: none;
}

@media (min-width: 1024px) {
  .cart-item-card {
    padding: 16px 20px;
  }
}

@media (min-width: 1280px) {
  .cart-item-card {
    padding: 18px 24px;
  }
}

@media (min-width: 1536px) {
  .cart-item-card {
    padding: 20px 28px;
  }
}

.cart-item-card:hover {
  box-shadow: 0 4px 16px rgba(0, 61, 122, 0.1);
  border-color: rgba(0, 61, 122, 0.08);
  transform: none;
}

/* Product Details Container */
.cart-item-details {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  width: 100%;
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

@media (max-width: 768px) {
  .cart-item-details {
    gap: 12px;
  }
}

@media (min-width: 1280px) {
  .cart-item-details {
    gap: 16px;
  }
}

/* Product Image - Compact Design */
.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 61, 122, 0.12);
  transition: none;
  border: 2px solid white;
  flex-shrink: 0;
}

.cart-item-image::before {
  display: none;
}

.cart-item-card:hover .cart-item-image::before {
  display: none;
}

.cart-item-card:hover .cart-item-image {
  transform: none;
  box-shadow: 0 4px 12px rgba(0, 61, 122, 0.12);
}

@media (max-width: 768px) {
  .cart-item-image {
    width: 70px;
    height: 70px;
  }
}

@media (min-width: 1280px) {
  .cart-item-image {
    width: 90px;
    height: 90px;
  }
}

.cart-item-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: none !important;
  position: relative;
  z-index: 0;
  display: block !important;
  max-width: 100% !important;
  max-height: 100% !important;
}

.cart-item-image a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cart-item-image a img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  max-width: 100% !important;
  max-height: 100% !important;
}

/* Ensure image is visible */
.woocommerce-product-gallery__image {
  width: 100% !important;
  height: 100% !important;
}

.woocommerce-product-gallery__image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.cart-item-card:hover .cart-item-image img {
  transform: none;
}

/* Product Name - Compact Horizontal Design */
.cart-item-name {
  font-size: 15px;
  font-weight: 700;
  color: #003d7a;
  margin: 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  position: relative;
  letter-spacing: -0.2px;
  flex: 1;
  min-width: 0;
}

@media (min-width: 768px) {
  .cart-item-name {
    font-size: 16px;
  }
}

@media (min-width: 1280px) {
  .cart-item-name {
    font-size: 17px;
  }
}

.cart-item-name a {
  color: inherit;
  text-decoration: none;
  transition: none;
  position: relative;
}

.cart-item-name a::after {
  display: none;
}

.cart-item-name a:hover::after {
  display: none;
}

.cart-item-name a:hover {
  color: inherit;
}

/* Price Display */
.cart-item-price {
  font-size: 16px;
  font-weight: 800;
  color: #003d7a;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0;
  position: relative;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Hide currency symbol */
.cart-item-price::before {
  display: none;
}

@media (min-width: 768px) {
  .cart-item-price {
    font-size: 17px;
  }
}

@media (min-width: 1280px) {
  .cart-item-price {
    font-size: 18px;
  }
}

/* Quantity Controls container - show, but keep quantity UI hidden */
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hide quantity selector (we only show the price inside controls) */
.quantity-selector {
  display: none;
}

.qty-btn {
  display: none;
}

.qty-btn::before {
  display: none;
}

.qty-btn:hover::before {
  display: none;
}

.qty-btn:hover {
  color: #003d7a;
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 61, 122, 0.1);
}

.qty-btn span {
  position: relative;
  z-index: 1;
}

.quantity-selector input.qty {
  width: 40px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 800;
  color: #003d7a;
  padding: 0 2px;
}

.cart-item-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.remove-item {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 2px solid #fecaca;
  color: #dc2626;
  cursor: pointer;
  padding: 0;
  transition: none;
  font-size: 18px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.1);
  width: 36px;
  height: 36px;
}

.remove-item::before {
  display: none;
}

.remove-item:hover::before {
  display: none;
}

.remove-item:hover {
  color: #dc2626;
  border-color: #fecaca;
  transform: none;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.1);
}

.remove-item svg {
  position: relative;
  z-index: 1;
}

/* ============================================
   Cart Summary Column
   ============================================ */
.cart-summary-column {
  order: 1;
  width: 100%;
  min-width: 0;
}

@media (min-width: 1024px) {
  .cart-summary-column {
    order: 2;
    width: auto;
  }
}

.cart-summary-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0f4f9 100%);
  border-radius: var(--radius-lg);
  padding: 30px 25px;
  box-shadow: var(--cart-shadow);
  border: 2px solid var(--cart-border);
  position: sticky;
  top: 80px;
  transition: all 0.3s ease;
  width: 100%;
}

@media (min-width: 1024px) {
  .cart-summary-card {
    padding: 32px 28px;
  }
}

@media (min-width: 1280px) {
  .cart-summary-card {
    padding: 36px 32px;
  }
}

.cart-summary-card:hover {
  box-shadow: var(--cart-shadow-hover);
  border-color: rgba(0, 61, 122, 0.3);
}

.summary-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 24px 0;
  padding-bottom: 16px;
  text-align: center;
  background: var(--cart-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

@media (min-width: 1024px) {
  .summary-title {
    font-size: 24px;
    margin: 0 0 26px 0;
    padding-bottom: 18px;
  }
}

@media (min-width: 1280px) {
  .summary-title {
    font-size: 26px;
    margin: 0 0 28px 0;
    padding-bottom: 20px;
  }
}

.summary-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--cart-gradient);
  border-radius: 10px;
}

/* Summary Content */
.summary-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Cart Totals Table */
.cart-collaterals {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cart_totals {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cart_totals h2 {
  display: none;
}

.shop_table {
  width: 100%;
  max-width: 100%;
  border: none;
  margin: 0 auto 20px auto;
  border-collapse: collapse;
}

.shop_table th,
.shop_table td {
  padding: 14px 0;
  border: none;
  background: transparent;
  text-align: right;
  vertical-align: middle;
}

@media (min-width: 1024px) {
  .shop_table th,
  .shop_table td {
    padding: 16px 0;
  }
}

.shop_table th {
  font-weight: 600;
  color: #666;
  font-size: 16px;
  width: 50%;
}

@media (min-width: 1024px) {
  .shop_table th {
    font-size: 17px;
  }
}

@media (min-width: 1280px) {
  .shop_table th {
    font-size: 18px;
  }
}

.shop_table td {
  font-weight: 700;
  color: #333;
  font-size: 18px;
  width: 50%;
  text-align: left;
}

@media (min-width: 1024px) {
  .shop_table td {
    font-size: 19px;
  }
}

@media (min-width: 1280px) {
  .shop_table td {
    font-size: 20px;
  }
}

.shop_table .order-total {
  border-top: 2px solid var(--cart-border);
  padding-top: 16px;
}

.shop_table .order-total th,
.shop_table .order-total td {
  padding-top: 20px;
  font-size: 20px;
  font-weight: 800;
  background: var(--cart-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 1024px) {
  .shop_table .order-total th,
  .shop_table .order-total td {
    font-size: 22px;
  }
}

@media (min-width: 1280px) {
  .shop_table .order-total th,
  .shop_table .order-total td {
    font-size: 24px;
  }
}

/* Checkout Button */
.wc-proceed-to-checkout {
  margin-top: 32px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 500px;
  padding: 18px 48px;
  background: linear-gradient(135deg, #003d7a 0%, #0052a3 100%);
  color: white;
  font-weight: 800;
  font-size: 18px;
  border: none;
  border-radius: 16px;
  text-decoration: none;
  transition: none;
  box-shadow: 0 12px 32px rgba(0, 61, 122, 0.3);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-transform: none;
  letter-spacing: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 1024px) {
  .checkout-button {
    padding: 20px 52px;
    font-size: 19px;
  }
}

@media (min-width: 1280px) {
  .checkout-button {
    padding: 22px 56px;
    font-size: 20px;
  }
}

/* Shine effect */
.checkout-button::before {
  display: none;
}

.checkout-button:hover::before {
  display: none;
}

.checkout-button:hover {
  background: linear-gradient(135deg, #003d7a 0%, #0052a3 100%);
  transform: none;
  box-shadow: 0 12px 32px rgba(0, 61, 122, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.checkout-button:active {
  transform: none;
}

/* Hide cart icon */
.checkout-button::after {
  display: none;
}

@keyframes arrowBounce {
  0%, 100% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(-8px);
  }
}

/* ============================================
   Hide Update Cart Button
   ============================================ */
.cart-actions {
  display: none !important;
}

.btn-update-cart {
  display: none !important;
}

/* ============================================
   Empty Cart State - Creative Design
   ============================================ */
.cart-empty-state {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f0f4f9 0%, #ffffff 100%);
}

.empty-cart-container {
  max-width: 600px;
  width: 100%;
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}

/* Empty Cart Icon Wrapper */
.empty-cart-icon-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-cart-icon {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 61, 122, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
  border-radius: 50%;
  position: relative;
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}

.empty-cart-icon svg {
  stroke: url(#gradient-stroke);
  filter: drop-shadow(0 4px 12px rgba(0, 61, 122, 0.2));
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Floating Particles */
.particle {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--cart-gradient);
  border-radius: 50%;
  opacity: 0.6;
  animation: float-particle 4s ease-in-out infinite;
}

.particle-1 {
  top: 20px;
  left: 30px;
  animation-delay: 0s;
}

.particle-2 {
  top: 40px;
  right: 20px;
  animation-delay: 0.5s;
}

.particle-3 {
  bottom: 30px;
  left: 20px;
  animation-delay: 1s;
}

.particle-4 {
  bottom: 40px;
  right: 30px;
  animation-delay: 1.5s;
}

@keyframes float-particle {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(20px, -20px) scale(1.2);
    opacity: 0.3;
  }
}

/* Empty Cart Content */
.empty-cart-content {
  animation: slideUp 0.8s ease-out 0.2s both;
}

.empty-cart-title {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 12px 0;
  background: var(--cart-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) {
  .empty-cart-title {
    font-size: 26px;
  }
}

.empty-cart-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: #666;
  margin: 0 0 16px 0;
}

.empty-cart-text {
  font-size: 16px;
  color: #888;
  line-height: 1.6;
  margin: 0 0 32px 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Features List */
.empty-cart-features {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: white;
  border-radius: var(--radius-md);
  border: 2px solid rgba(0, 61, 122, 0.1);
  transition: all 0.3s ease;
  flex: 1;
  min-width: 140px;
  animation: slideUp 0.8s ease-out both;
}

.feature-item:nth-child(1) {
  animation-delay: 0.3s;
}

.feature-item:nth-child(2) {
  animation-delay: 0.4s;
}

.feature-item:nth-child(3) {
  animation-delay: 0.5s;
}

.feature-item:hover {
  border-color: var(--cart-primary);
  box-shadow: 0 8px 24px rgba(0, 61, 122, 0.15);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 61, 122, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
  border-radius: 50%;
  color: var(--cart-primary);
}

.feature-item span {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

@media (max-width: 768px) {
  .empty-cart-features {
    gap: 16px;
  }

  .feature-item {
    min-width: 100px;
    padding: 16px;
  }
}

/* CTA Buttons */
.empty-cart-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.btn-continue-shopping,
.btn-back-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: slideUp 0.8s ease-out 0.6s both;
}

.btn-primary {
  background: var(--checkout-gradient);
  color: white;
  box-shadow: var(--checkout-shadow);
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
  transform: skewX(-20deg);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: var(--checkout-gradient-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--checkout-shadow-hover);
}

.btn-secondary {
  background: white;
  color: var(--cart-primary);
  border: 3px solid var(--cart-primary);
  box-shadow: 0 4px 12px rgba(0, 61, 122, 0.15);
}

.btn-secondary:hover {
  background: var(--cart-gradient);
  color: white;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 61, 122, 0.25);
}

@media (max-width: 768px) {
  .empty-cart-actions {
    flex-direction: column;
  }

  .btn-continue-shopping,
  .btn-back-home {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* ============================================
   Disable all animations & transitions on Cart page
   ============================================ */
body.woocommerce-cart *,
body.woocommerce-cart *::before,
body.woocommerce-cart *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
