@charset "UTF-8";
/* ===================================== */
/* MODERN CART STYLES - BLACK THEME */
/* ===================================== */
.cart-modern-container {
  max-width: 1200px;
  min-width: 90%;
  margin: 0 auto;
  padding: 20px 15px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.cart-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
}

/* ===================================== */
/* STEPPER HORIZONTAL */
/* ===================================== */
.checkout-stepper {
  margin-bottom: 40px;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

.stepper-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

.step-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #999;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.step-item.active {
  color: #000 !important;
}

.step-item.completed {
  color: #333 !important;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border: 2px solid #ddd;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  background: white;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.step-item.active .step-number {
  border-color: #000 !important;
  color: #000 !important;
  background: white !important;
}

.step-item.completed .step-number {
  border-color: #000 !important;
  background: #000 !important;
  color: white !important;
}

.step-label {
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.step-line {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  height: 2px;
  background: #ddd;
  margin: 0 20px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.step-line.completed {
  background: #000 !important;
}

/* ===================================== */
/* PRODUCTS TABLE */
/* ===================================== */
.products-table {
  background: white;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 2rem;
}

.table-header {
  display: grid;
  grid-template-columns: 1.5fr 3fr 1fr 1fr 1fr 0.5fr;
  gap: 16px;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid #ddd;
  border-radius: 8px 8px 0 0;
  font-weight: 600;
  font-size: 14px;
  color: #000;
  text-align: center;
}

.table-header > :first-child {
  text-align: left;
}

.table-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.product-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid #eee;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.product-row:hover {
  background: #fafbfc;
  -webkit-box-shadow: inset 0 0 0 1px #e5e7eb;
          box-shadow: inset 0 0 0 1px #e5e7eb;
}

.product-row:last-child {
  border-bottom: none;
}

/* Nueva columna solo mobile - oculta en desktop */
.col-product-name-mobile {
  display: none;
}

/* ===================================== */
/* PRODUCT COLUMN */
/* ===================================== */
.col-product {
  min-width: 0;
}

.product-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.product-image {
  width: 64px;
  height: 64px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f9fafb;
  border: 1px solid #f3f4f6;
}

.product-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.product-details {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0;
}

.product-name {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.product-link {
  color: #000;
  text-decoration: none;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.product-link:hover {
  color: #333;
  text-decoration: none;
}

.product-attributes {
  margin-bottom: 8px;
}

.attribute {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 2px;
  line-height: 1.3;
}

.bundle-items {
  margin-top: 8px;
}

.bundled-item {
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 2px;
}

.gift-indicator {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #000;
  font-weight: 600;
  margin-top: 6px;
  padding: 2px 8px;
  background: #e0e0e0;
  border-radius: 12px;
}

/* ===================================== */
/* SHIPPING COLUMN */
/* ===================================== */
.col-shipping {
  text-align: center;
}

.shipping-info {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
  display: block;
  white-space: nowrap;
}

/* ===================================== */
/* PRICE COLUMN */
/* ===================================== */
.col-price {
  text-align: center;
}

.price-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 2px;
}

.price-original {
  font-size: 12px;
  color: #9ca3af;
  text-decoration: line-through;
  line-height: 1;
}

.price-current {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  line-height: 1;
}

/* ===================================== */
/* QUANTITY COLUMN */
/* ===================================== */
.col-quantity {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.quantity-controls {
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.quantity-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #f9fafb;
  color: #000;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 14px;
  font-weight: 600;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.quantity-btn:hover {
  background: #e5e7eb !important;
}

.quantity-btn:active {
  background: #d1d5db !important;
}

.quantity-input {
  width: 40px;
  text-align: center;
  border: none;
  font-size: 14px;
}

.quantity-input:focus {
  outline: none;
  background: #f9fafb;
}

/* ===================================== */
/* SUBTOTAL COLUMN */
/* ===================================== */
.col-subtotal {
  text-align: center;
}

.item-total {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  line-height: 1;
}

/* ===================================== */
/* ACTIONS COLUMN */
/* ===================================== */
.col-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.remove-product-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #fff;
  color: #000;
  cursor: pointer;
  border-radius: 6px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
          box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.remove-product-btn:hover {
  background: #f5f5f5 !important;
  color: #000 !important;
  -webkit-transform: translateY(-1px);
          transform: translateY(-1px);
  -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
          box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* ===================================== */
/* SUMMARY SECTION */
/* ===================================== */
.cart-summary-section {
  position: sticky;
  top: 20px;
}

.summary-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.summary-header {
  padding: 15px 24px;
}

.summary-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  color: #000;
  text-align: center;
  border-bottom: 1px solid;
  padding: 12px 0;
}

.summary-content {
  padding: 24px;
}

/* ===================================== */
/* COUPON SECTION */
/* ===================================== */
.coupon-section {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px 16px;
  max-width: 350px;
  margin: 10px auto;
  background-color: #fff;
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  font-size: 14px;
}

.coupon-question {
  font-size: 12px;
  color: #000;
}

.coupon-section .promo-code-form {
  margin-top: 12px;
}

.coupon-section .form-group {
  margin-bottom: 12px;
}

.coupon-section .input-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
}

.coupon-section .form-control {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 10px 14px;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  background: white;
}

.coupon-section .form-control:focus {
  border-color: #000 !important;
  outline: none;
  -webkit-box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1) !important;
          box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1) !important;
}

.coupon-section .btn {
  background: #000 !important;
  color: white !important;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.coupon-section .btn:hover {
  background: #333 !important;
}

.coupon-section .btn:active {
  background: #000 !important;
}

.coupons-and-promos {
  margin-top: 12px;
}

.coupon-item {
  background: #f5f5f5;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 13px;
}

.coupon-code {
  font-weight: 600;
  color: #000;
}

.remove-coupon {
  color: #000;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.remove-coupon:hover {
  background: rgba(0, 0, 0, 0.1) !important;
}

.coupon-section .coupon-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.coupon-section .coupon-code-field {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  height: 32px;
  padding: 4px 8px;
  font-size: 13px;
  line-height: 1.2;
}

.coupon-section .promo-code-btn {
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: normal;
  background: #000 !important;
  color: #fff !important;
  border-radius: 4px;
  border: none;
}

.coupon-section .promo-code-btn:hover {
  background: #333 !important;
}

.coupon-section .promo-code-btn:active {
  background: #000 !important;
}

.coupon-field {
  height: 32px;
  width: 15rem;
}

/* ===================================== */
/* SHIPPING CALCULATOR */
/* ===================================== */
.shipping-calculator {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f3f4f6;
}

.shipping-calc-btn {
  width: 100%;
  background: white;
  border: 2px solid #e5e7eb;
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}

.shipping-calc-btn:hover,
.shipping-calc-btn.active {
  border-color: #000 !important;
  color: #000 !important;
}

.shipping-calc-content {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
  display: none;
}

.shipping-calc-content.active {
  display: block;
}

/* ===================================== */
/* DELIVERY/PICKUP OPTIONS */
/* ===================================== */
.shipping-method-selection {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f3f4f6;
}

.delivery-pickup-options {
  position: relative;
  margin-bottom: 20px;
}

.option-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  background: #f9fafb;
  border-radius: 8px;
  padding: 4px;
}

.option-btn {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  border-radius: 6px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
  color: #6b7280;
  font-weight: 600;
  font-size: 14px;
  position: relative;
  z-index: 2;
}

.option-btn.active {
  background: #000 !important;
  color: white !important;
}

.option-btn:hover {
  background: #e5e7eb !important;
}

.option-subtitle {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
}

.border-animation {
  position: absolute;
  top: 4px;
  left: 0%;
  width: 50%;
  height: calc(100% - 8px);
  background: #000;
  border-radius: 6px;
  -webkit-transition: left 0.3s ease;
  transition: left 0.3s ease;
  z-index: 1;
}

.delivery-section,
.pickup-section {
  display: none;
  -webkit-animation: fadeIn 0.3s ease;
          animation: fadeIn 0.3s ease;
}

.delivery-section.active,
.pickup-section.active {
  display: block;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
.delivery-info {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
}

.selected-store-info {
  background: #f5f5f5;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  border-left: 4px solid #000;
}

.store-name-display {
  font-weight: 600;
  color: #000;
  margin-bottom: 4px;
}

.store-address-display {
  font-size: 13px;
  color: #6b7280;
}

/* ===================================== */
/* PICKUP STORES */
/* ===================================== */
.pickup-stores-section {
  margin-top: 16px;
}

.list-stores {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
}

.store-item {
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background: white;
}

.store-item:hover {
  border-color: #000 !important;
}

.store-item.selected {
  border-color: #000 !important;
  background: #f5f5f5 !important;
}

.store-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.store-details {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.store-name {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  margin: 0 0 4px 0;
}

.store-address {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  line-height: 1.3;
}

.store-selection {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.store-selection input[type=radio] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* ===================================== */
/* ORDER TOTALS */
/* ===================================== */
.order-totals {
  margin-bottom: 24px;
}

.order-totals .total-line {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}

.order-totals .grand-total {
  font-weight: 700;
  font-size: 18px;
  color: #000;
  padding: 16px 0;
  border-top: 2px solid #f3f4f6;
  margin: 16px 0 0 0;
}

.order-totals .discount-line {
  color: #333;
}

.order-totals .tax-included {
  font-size: 12px;
  color: #6b7280;
  text-align: center;
  margin-top: 8px;
}

/* ===================================== */
/* CHECKOUT ACTIONS */
/* ===================================== */
.checkout-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
}

.checkout-actions .btn {
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.checkout-actions .btn-primary {
  background: #000 !important;
  color: white !important;
}

.checkout-actions .btn-primary:hover {
  background: #333 !important;
  -webkit-transform: translateY(-1px);
          transform: translateY(-1px);
  color: white !important;
  border-color: #000 !important;
}

.checkout-actions .btn-primary:active {
  background: #000 !important;
}

.continue-shopping-btn {
  background: white !important;
  color: #000 !important;
  border: 2px solid #e5e7eb !important;
  padding: 12px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.continue-shopping-btn:hover {
  border-color: #000 !important;
  color: #000 !important;
}

.checkout-stepper .stepper-header {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 1rem 2rem;
  background: #fff;
}

.checkout-stepper .home-button {
  padding-left: 2rem;
}

.checkout-stepper .home-button a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

.checkout-stepper .home-button a:hover {
  color: #333 !important;
}

.checkout-stepper .logo {
  justify-self: center;
  font-weight: bold;
  font-size: 1.4rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.checkout-stepper .logo a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.checkout-stepper .logo img {
  height: 70px;
  max-height: 70px;
  width: auto;
  max-width: 300px;
  display: block;
}

.checkout-stepper .empty-right {
  /* Columna vacía */
}

/* ===================================== */
/* ANIMATIONS */
/* ===================================== */
.product-row {
  opacity: 0;
  -webkit-animation: slideUp 0.5s ease forwards;
          animation: slideUp 0.5s ease forwards;
}

.product-row:nth-child(1) {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s;
}

.product-row:nth-child(2) {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s;
}

.product-row:nth-child(3) {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s;
}

.product-row:nth-child(4) {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s;
}

.product-row:nth-child(5) {
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}

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

@keyframes slideUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
/* ===================================== */
/* ALERT MESSAGES */
/* ===================================== */
.alert {
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
  border: none;
}

.alert-danger {
  background: #f5f5f5;
  color: #000;
  border-left: 4px solid #000;
}

.alert-weight-limit {
  background: #f5f5f5;
  color: #000;
  border-left: 4px solid #333;
}

.alert-factory {
  background: #f5f5f5;
  color: #000;
  border-left: 4px solid #666;
}

/* ===================================== */
/* OVERRIDES PARA CLASES SFRA EXISTENTES */
/* ===================================== */
.cart-modern-container ~ .cart.cart-page {
  display: none;
}

.quantity-form-custom {
  width: 50% !important;
}

/* ===================================== */
/* RESPONSIVE DESIGN - MOBILE */
/* ===================================== */
@media (max-width: 992px) {
  .summary-header.d-none {
    display: block !important;
    text-align: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
  }
  .summary-header h2 {
    margin: 0;
    font-size: 20px;
    border: none;
    padding: 0;
  }
  .cart-content-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cart-summary-section {
    position: static;
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
  .cart-products-section {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  .table-header {
    display: none !important;
  }
  .products-table {
    border-radius: 0 !important;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
  }
  .products-table .table-body {
    gap: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }
  .products-table .product-row {
    display: grid !important;
    grid-template-columns: 80px 1fr 50px !important;
    grid-template-rows: auto auto !important;
    -webkit-column-gap: 12px !important;
       -moz-column-gap: 12px !important;
            column-gap: 12px !important;
    row-gap: 8px !important;
    padding: 16px 0 !important;
    border: none !important;
    border-bottom: 1px solid #e5e7eb !important;
    border-radius: 0 !important;
    background: transparent !important;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    -webkit-box-align: start !important;
        -ms-flex-align: start !important;
            align-items: start !important;
  }
  .products-table .product-row:hover {
    background: transparent !important;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
  }
  .products-table .product-row:last-child {
    border-bottom: none !important;
  }
  .products-table .product-row .col-product:first-of-type {
    grid-column: 1 !important;
    grid-row: 1/3 !important;
    display: block !important;
    gap: 0 !important;
  }
  .products-table .product-row .col-product:first-of-type .item-image {
    width: 80px !important;
    height: 80px !important;
  }
  .products-table .product-row .col-product:first-of-type .item-image img {
    width: 80px !important;
    height: 80px !important;
    -o-object-fit: cover !important;
       object-fit: cover !important;
  }
  .products-table .product-row .col-product:nth-of-type(2) {
    display: none !important;
  }
  .products-table .product-row .col-product-name-mobile {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
        -ms-flex-direction: column !important;
            flex-direction: column !important;
    gap: 4px !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    text-align: left !important;
  }
  .products-table .product-row .col-product-name-mobile .mobile-product-name {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #000 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
  }
  .products-table .product-row .col-product-name-mobile .mobile-shipping-info {
    font-size: 11px !important;
    color: #666 !important;
    margin: 0 !important;
  }
  .products-table .product-row .col-shipping {
    display: none !important;
  }
  .products-table .product-row .col-quantity {
    grid-column: 2 !important;
    grid-row: 2 !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-pack: start !important;
        -ms-flex-pack: start !important;
            justify-content: flex-start !important;
  }
  .products-table .product-row .col-quantity .quantity-controls {
    -webkit-transform: scale(0.75) !important;
            transform: scale(0.75) !important;
    -webkit-transform-origin: left !important;
            transform-origin: left !important;
  }
  .products-table .product-row .col-quantity .quantity-btn {
    width: 24px !important;
    height: 24px !important;
    font-size: 11px !important;
  }
  .products-table .product-row .col-quantity .quantity-input {
    width: 30px !important;
    font-size: 12px !important;
  }
  .products-table .product-row .col-remove {
    grid-column: 3 !important;
    grid-row: 1 !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-pack: end !important;
        -ms-flex-pack: end !important;
            justify-content: flex-end !important;
  }
  .products-table .product-row .col-remove .remove-btn {
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
  }
  .products-table .product-row .col-price {
    grid-column: 3 !important;
    grid-row: 2 !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-pack: end !important;
        -ms-flex-pack: end !important;
            justify-content: flex-end !important;
  }
  .products-table .product-row .col-subtotal {
    display: none !important;
  }
  .quantity-form-custom {
    width: 80% !important;
  }
}
@media (max-width: 768px) {
  .cart-modern-container {
    padding: 15px 10px;
    background: white;
  }
  .option-buttons {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 8px;
    background: transparent;
  }
  .option-btn {
    background: white !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 8px;
  }
  .option-btn.active {
    background: #000 !important;
    color: white !important;
  }
  .border-animation {
    display: none;
  }
  .summary-content {
    padding: 20px;
  }
  .store-info {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .quantity-form-custom {
    width: 80% !important;
  }
}
/* ===================================== */
/* ORDER SUMMARY STYLES */
/* Estilos para el resumen de orden */
.order-summary-container {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Estilos para cada fila del resumen */
.order-summary-container .row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e8e8e8;
  margin: 0;
}

.order-summary-container .row:last-of-type:not(.total-row) {
  border-bottom: 1px solid #e8e8e8;
}

/* Labels del resumen */
.order-summary-container .summary-label {
  font-size: 14px;
  font-weight: 400;
  color: #666;
  margin: 0;
}

/* Valores del resumen */
.order-summary-container .text-right {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin: 0;
}

/* Estilos específicos para descuentos */
.order-summary-container .total-discountamount {
  color: #333;
}

/* Botón para mostrar detalles de descuentos */
.order-summary-container .display-discount-details-btn {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 0 5px;
  font-size: 12px;
}

.order-summary-container .display-discount-details-btn:hover {
  color: #333;
}

/* Fila del total */
.order-summary-container .total-row {
  background-color: #333;
  color: white;
  margin: 15px -20px -20px -20px;
  padding: 15px 20px;
  border-radius: 0 0 6px 6px;
  border-bottom: none;
}

.order-summary-container .total-row .row {
  border-bottom: none;
  padding: 0;
}

.order-summary-container .total-row .summary-label-total {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin: 0;
}

.order-summary-container .total-row .grand-total {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin: 0;
}

/* Ocultar elementos cuando sea necesario */
.order-summary-container .hide-order-discount {
  display: none;
}

.order-summary-container .hide-shipping-discount {
  display: none;
}

/* Detalles de descuentos colapsables */
.order-summary-container .order-discount-details {
  padding-left: 20px;
  font-size: 13px;
  color: #777;
}

/* Responsive */
@media (max-width: 768px) {
  .order-summary-container {
    padding: 15px;
    margin: 15px 0;
  }
  .order-summary-container .total-row {
    margin: 10px -15px -15px -15px;
    padding: 12px 15px;
  }
}
/* Ajustes para columnas de Bootstrap si es necesario */
.order-summary-container .col-8,
.order-summary-container .col-4 {
  padding: 0;
}

.order-summary-container .col-8 {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.order-summary-container .col-4 {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  margin-left: 15px;
}

/* CSS simplificado para el toggle de descuentos */
/* Botón de descuentos */
.order-summary-container .display-discount-details-btn {
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 0 4px;
  font-size: 11px;
  margin-left: 4px;
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}

.order-summary-container .display-discount-details-btn:hover {
  color: #495057;
}

.order-summary-container .display-discount-details-btn:focus {
  outline: none;
}

/* Animación del ícono */
.order-summary-container .display-discount-details-btn i {
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.order-summary-container .display-discount-details-btn.open i {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

/* Detalles de descuentos */
.order-summary-container .order-discount-details {
  padding: 0 16px 8px 16px;
  font-size: 12px;
  color: #6c757d;
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
}