:root {
  --primary-color: #a05c2f;
  --primary-dark: #8B4513;
  --primary-light: #b8714d;
  --dark-bg: #5a3921;
  --card-bg: #ffffff;
  --card-hover: #f9f8f7;
  --text-primary: #2c2c2c;
  --text-secondary: #666666;
  --border-color: #e0d5cc;
  --success-color: #28a745;
  --error-color: #dc3545;
  --transition-speed: 300ms;
}

.cart-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px;
  min-height: 100vh;
}

.cart-container h2 {
  text-align: left;
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: -0.5px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
}

.cart-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border-color: #d4c5ba;
}

.cart-card-header {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card-bg);
  transition: background var(--transition-speed) ease;
  user-select: none;
}

.cart-card-header:hover {
  background: var(--card-hover);
}

.cart-card-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.cart-card-title-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.cart-card-body {
  padding: 16px;
  border-top: 1px solid var(--border-color);
}

.cart-item {
  display: flex;
  gap: 12px;
  background: var(--card-hover);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
  align-items: flex-start;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
}

.cart-item:last-child {
  margin-bottom: 0;
}

.cart-item:hover {
  background: #f5f0eb;
  border-color: var(--border-color);
}

.cart-item.selected {
  background: #fef6f0;
  border-color: var(--primary-color);
  box-shadow: inset 0 0 0 1px rgba(160, 92, 47, 0.1);
}

.cart-item-checkbox-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.cart-item-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 2px solid #ddd;
  border-radius: 4px;
  background: white;
  transition: all var(--transition-speed) ease;
  position: relative;
  min-width: 20px;
  min-height: 20px;
}

.cart-item-checkbox:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(160, 92, 47, 0.1);
}

.cart-item-checkbox:checked {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.cart-item-checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 13px;
  font-weight: bold;
}

.cart-item-image {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f0f0f0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-info h4 {
  margin: 0 0 4px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.cart-item-info p {
  margin: 2px 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.4;
}

.cart-item-addons {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.cart-item-addon {
  display: inline-block;
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.cart-item-breakdown {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.85rem;
}

.cart-item-price-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.cart-item-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: var(--text-primary);
  padding-top: 4px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  background: white;
}

.quantity-btn {
  background: white;
  border: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  transition: background var(--transition-speed) ease;
  border-radius: 0;
}

.quantity-btn:hover {
  background: var(--card-hover);
}

.quantity-input {
  font-family: 'Inter', sans-serif;
  width: 40px;
  text-align: center;
  border: none;
  background: white;
  padding: 4px;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: textfield;
  font-size: 0.9rem;
}

.quantity-input:focus {
  outline: none;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.remove-btn {
  background: transparent;
  border: none;
  color: var(--error-color);
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 4px;
  transition: background var(--transition-speed) ease;
  font-size: 1rem;
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-btn:hover {
  background: rgba(220, 53, 69, 0.1);
}

.cart-total {
  position: sticky;
  top: 20px;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

.cart-total h3 {
  margin: 0 0 12px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.cart-total-row.final {
  border-top: 2px solid var(--border-color);
  padding-top: 8px;
  margin-top: 8px;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.checkout-btn {
  width: 100%;
  padding: 12px 16px;
  margin-top: 12px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  min-height: 44px;
  box-shadow: 0 2px 8px rgba(160, 92, 47, 0.2);
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(160, 92, 47, 0.3);
}

.checkout-btn:active {
  transform: translateY(0);
}

.checkout-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.continue-shopping-btn {
  width: 100%;
  padding: 10px 16px;
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  margin-top: 8px;
}

.continue-shopping-btn:hover {
  background: rgba(160, 92, 47, 0.05);
}

.empty-cart {
  text-align: center;
  padding: 60px 20px;
  background: var(--card-bg);
  border-radius: 12px;
  border: 2px dashed var(--border-color);
}

.empty-cart h3 {
  margin: 0 0 12px 0;
  font-size: 1.3rem;
  color: var(--text-primary);
  font-weight: 600;
}

.empty-cart p {
  margin: 0 0 24px 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.loading-spinner-icon {
  width: 40px;
  height: 40px;
  border: 4px solid #eee;
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: cart-spin 1s linear infinite;
  margin-bottom: 12px;
}

@keyframes cart-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-spinner-text {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
}

.cart-remove-popup {
  position: fixed;
  top: 70px;
  right: 20px;
  width: 380px;
  min-height: 120px;
  max-height: 80vh;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  transform: translateX(120%);
  transition: all 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cart-remove-popup.show {
  opacity: 1;
  transform: translateX(0);
}

.cart-remove-header {
  background: #f8f9fa;
  color: var(--text-primary);
  font-weight: 600;
  padding: 12px 16px;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.cart-remove-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 4px;
  border-radius: 4px;
  transition: all var(--transition-speed) ease;
}

.cart-remove-close:hover {
  background: #e9ecef;
  color: var(--text-primary);
}

.cart-remove-body {
  padding: 16px;
  flex: 1;
}

.cart-remove-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.cart-remove-image {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.cart-remove-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-remove-placeholder {
  width: 100%;
  height: 100%;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.75rem;
  font-weight: 500;
}

.cart-remove-info {
  flex: 1;
  min-width: 0;
}

.cart-remove-info h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  font-weight: 700;
  line-height: 1.2;
}

.cart-remove-details {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  font-weight: 500;
}

.cart-remove-details span {
  display: block;
  margin-bottom: 2px;
}

.cart-remove-message {
  text-align: center;
  color: var(--text-secondary);
  margin: 8px 0 0 0;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.confirmation-modal {
  z-index: 10001;
}

.modal-overlay.show {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.confirmation-container {
  background: white;
  border-radius: 12px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
  position: relative;
  transform: scale(0.9) translateY(-20px);
  transition: transform 0.2s ease;
  overflow: hidden;
}

.modal-overlay.show .confirmation-container {
  transform: scale(1) translateY(0);
}

.confirmation-header {
  padding: 24px 30px 16px;
  border-bottom: 1px solid #e0e0e0;
  background: linear-gradient(135deg, var(--primary-dark), var(--dark-bg));
  text-align: center;
}

.confirmation-header h3 {
  margin: 0;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.confirmation-body {
  padding: 24px;
  text-align: center;
  background: white;
}

.confirmation-body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.5;
  font-weight: 500;
}

.confirmation-buttons {
  display: flex;
  gap: 12px;
  padding: 20px 30px 24px;
  background: white;
  justify-content: center;
}

.confirm-btn {
  flex: 1;
  max-width: 140px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  min-height: 44px;
}

.confirm-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s;
}

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

.confirm-btn.proceed {
  background: linear-gradient(135deg, var(--success-color), #1e7e34);
  color: white;
  box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.confirm-btn.proceed:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(40, 167, 69, 0.4);
  filter: brightness(1.05);
}

.confirm-btn.cancel {
  background: linear-gradient(135deg, var(--error-color), #bb2130);
  color: white;
  box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.confirm-btn.cancel:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.4);
  filter: brightness(1.05);
}

.confirm-btn:active {
  transform: translateY(0);
  filter: brightness(0.95);
}

/* Responsive Design */

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-total {
    position: static;
    order: -1;
  }

  .cart-container {
    padding: 16px 12px;
  }

  .cart-container h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .cart-item {
    padding: 12px;
    gap: 10px;
  }

  .cart-item-image {
    width: 60px;
    height: 60px;
  }

  .cart-item-info h4 {
    font-size: 0.9rem;
  }

  .cart-item-info p {
    font-size: 0.8rem;
  }

  .cart-remove-popup {
    width: calc(100vw - 40px);
    right: 20px;
  }

  .confirmation-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .confirm-btn {
    max-width: none;
  }
}

/* Mobile (max-width: 640px) */
@media (max-width: 640px) {
  .cart-container {
    padding: 12px 8px;
    min-height: calc(100vh - 80px);
  }

  .cart-container h2 {
    font-size: 1.3rem;
    margin-bottom: 16px;
  }

  .cart-card {
    border-radius: 10px;
  }

  .cart-card-header {
    padding: 14px;
  }

  .cart-card-title-text {
    font-size: 0.95rem;
  }

  .cart-card-body {
    padding: 14px;
  }

  .cart-item {
    padding: 10px;
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-item-checkbox-container {
    order: -1;
    margin-bottom: 8px;
  }

  .cart-item-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
  }

  .cart-item-info h4 {
    font-size: 0.85rem;
  }

  .cart-item-addon {
    font-size: 0.7rem;
    padding: 2px 4px;
  }

  .quantity-controls {
    width: 100%;
    justify-content: space-around;
  }

  .quantity-input {
    width: 50px;
  }

  .cart-total {
    margin-bottom: 16px;
  }

  .checkout-btn {
    min-height: 48px;
    font-size: 0.95rem;
  }

  .cart-remove-popup {
    width: calc(100vw - 24px);
    right: 12px;
  }

  .cart-remove-image {
    width: 60px;
    height: 60px;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .cart-container {
    padding: 10px 6px;
    margin-top: 20px;
  }

  .cart-container h2 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .cart-card-header {
    padding: 12px;
  }

  .cart-card-body {
    padding: 12px;
  }

  .cart-item {
    padding: 8px;
    gap: 6px;
  }

  .cart-item-info h4 {
    font-size: 0.8rem;
  }

  .cart-item-info p {
    font-size: 0.75rem;
  }

  .quantity-btn {
    width: 26px;
    height: 26px;
    font-size: 0.9rem;
  }

  .quantity-input {
    width: 35px;
    font-size: 0.85rem;
  }

  .remove-btn {
    min-width: 28px;
    min-height: 28px;
    font-size: 0.9rem;
  }

  .cart-total {
    padding: 14px;
  }

  .cart-total-row {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }

  .checkout-btn {
    padding: 10px 12px;
    font-size: 0.9rem;
    margin-top: 10px;
  }

  .continue-shopping-btn {
    padding: 8px 12px;
    font-size: 0.85rem;
    margin-top: 6px;
  }

  .cart-remove-popup {
    width: calc(100vw - 16px);
    right: 8px;
    max-width: 320px;
  }

  .cart-remove-header {
    font-size: 0.9rem;
    padding: 10px 12px;
  }

  .cart-remove-body {
    padding: 12px;
  }

  .cart-remove-image {
    width: 50px;
    height: 50px;
  }

  .cart-remove-info h4 {
    font-size: 0.9rem;
  }

  .cart-remove-details {
    font-size: 0.8rem;
  }

  .confirmation-header {
    padding: 20px 24px 12px;
  }

  .confirmation-header h3 {
    font-size: 1.1rem;
  }

  .confirmation-body {
    padding: 20px;
  }

  .confirmation-body p {
    font-size: 0.9rem;
  }

  .confirmation-buttons {
    padding: 16px 20px 20px;
    gap: 8px;
  }

  .confirm-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}

/* Tiny Mobile (max-width: 360px) */
@media (max-width: 360px) {
  .cart-container h2 {
    font-size: 1rem;
  }

  .cart-item-info h4 {
    font-size: 0.75rem;
  }

  .quantity-input {
    width: 30px;
    font-size: 0.8rem;
  }

  .confirm-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

/* B1T1 and Promo Styles */
.cart-item-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-color);
}

.promo-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.promo-btn.b1t1-btn {
  background: linear-gradient(135deg, #8B4513, #a05c2f);
  color: white;
}

.promo-btn.b1t1-btn:hover {
  background: linear-gradient(135deg, #a05c2f, #b8714d);
  transform: scale(1.02);
}

.promo-applied-badge {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.promo-hint {
  background: #fff8e1;
  color: #f57c00;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid #ffe082;
}

.b1t1-free-badge,
.b1t1-basis-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  margin-left: 6px;
  vertical-align: middle;
}

.b1t1-free-badge {
  background: #27ae60;
  color: white;
}

.b1t1-basis-badge {
  background: #3498db;
  color: white;
}

.cart-item.b1t1-free {
  background: linear-gradient(135deg, #f0fff4, #e8f5e9);
  border: 2px solid #27ae60;
}

.cart-item.b1t1-basis {
  background: linear-gradient(135deg, #f0f8ff, #e3f2fd);
  border: 2px solid #3498db;
}

/* B1T1 Modal Styles */
.b1t1-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

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

.b1t1-modal {
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 450px;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

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

.b1t1-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, #8B4513, #a05c2f);
  color: white;
}

.b1t1-modal-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.b1t1-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s;
}

.b1t1-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.b1t1-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.b1t1-basis-info {
  background: #f8f4f0;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.b1t1-instruction {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.b1t1-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.b1t1-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f9f9f9;
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.b1t1-option:hover {
  background: #fff;
  border-color: var(--primary-color);
  transform: translateX(4px);
}

.b1t1-option-img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.b1t1-option-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.b1t1-option-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.b1t1-option-size {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.b1t1-option-price {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.9rem;
}

.b1t1-empty {
  text-align: center;
  padding: 30px 20px;
  color: var(--text-secondary);
}

.b1t1-modal-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
}

.b1t1-cancel-btn {
  padding: 10px 24px;
  background: #f0f0f0;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.b1t1-cancel-btn:hover {
  background: #e0e0e0;
}

@media (max-width: 480px) {
  .cart-item-promos {
    flex-direction: column;
  }

  .promo-btn,
  .promo-applied-badge,
  .promo-hint {
    width: 100%;
    text-align: center;
  }

  .b1t1-modal {
    max-height: 90vh;
  }

  .b1t1-option {
    padding: 10px;
  }

  .b1t1-option-img {
    width: 40px;
    height: 40px;
  }
}

/* Promo Toast Notification */
.promo-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 30px rgba(39, 174, 96, 0.4);
  z-index: 10001;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 90%;
}

.promo-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.promo-toast-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  flex-shrink: 0;
}

.promo-toast-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.promo-toast-title {
  font-weight: 700;
  font-size: 1rem;
}

.promo-toast-message {
  font-size: 0.85rem;
  opacity: 0.9;
}

@media (max-width: 480px) {
  .promo-toast {
    bottom: 20px;
    padding: 14px 18px;
    gap: 12px;
  }

  .promo-toast-icon {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .promo-toast-title {
    font-size: 0.9rem;
  }

  .promo-toast-message {
    font-size: 0.8rem;
  }
}