/* Layout principal */
.main-content {
  max-width: 100%;
  overflow-x: hidden;
}

.cart-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px 40px;
}

.cart-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
}

/* Cartão de produto */
.cart-item {
  display: flex;
  background-color: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #303030;
}

.cart-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.cart-item-image {
  width: 120px;
  flex-shrink: 0;
  position: relative;
  background-color: #222;
}

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

.cart-item-content {
  display: flex;
  flex: 1;
  padding: 16px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.cart-item-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cart-item-title a:hover {
  color: #feaf50;
}

.cart-item-details {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 16px;
}

.cart-item-remove {
  display: inline-block;
  padding: 6px 12px;
  background-color: #303030;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.cart-item-remove:hover {
  background-color: #e74c3c;
  color: #fff;
}

.cart-item-price {
  flex: 0 0 200px;
  text-align: right;
  padding: 16px;
  border-left: 1px solid #303030;
}

.cart-price-original {
  font-size: 18px;
  color: #fff;
  font-weight: 500;
}

.cart-price-discount {
  color: #e74c3c;
  font-size: 14px;
  margin: 5px 0;
}

.cart-price-final {
  font-size: 22px;
  font-weight: 700;
  color: #feaf50;
  margin-top: 10px;
}

/* Cupom */
.cart-item-coupon {
  margin-top: 15px;
}

.coupon-form {
  margin-top: 10px;
  display: flex;
  max-width: 300px;
}

.coupon-form input {
  flex: 1;
  padding: 8px 12px;
  background-color: #303030;
  border: 1px solid #444;
  border-radius: 4px 0 0 4px;
  color: #fff;
}

.coupon-form button {
  padding: 8px 12px;
  background-color: #feaf50;
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.coupon-form button:hover {
  background-color: #e09d45;
}

.coupon-applied {
  display: inline-block;
  padding: 4px 10px;
  background-color: rgba(46, 204, 113, 0.2);
  border: 1px solid #2ecc71;
  color: #2ecc71;
  border-radius: 4px;
  margin-top: 10px;
  font-size: 14px;
}

.coupon-applied i {
  margin-right: 5px;
}

.coupon-remove {
  background: none;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  margin-left: 10px;
  font-size: 14px;
}

.coupon-button-text {
  font-size: 14px;
  color: #feaf50;
  cursor: pointer;
  margin-top: 10px;
  display: inline-block;
}

.coupon-button-text:hover {
  text-decoration: underline;
}

/* Best Week - Special Promo Badge */
.special-promo-badge {
  display: inline-block;
  padding: 6px 12px;
  background: linear-gradient(135deg, rgba(254, 175, 80, 0.2) 0%, rgba(254, 175, 80, 0.1) 100%);
  border: 1px solid #feaf50;
  color: #feaf50;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}

.special-promo-badge i {
  margin-right: 5px;
}

/* Forma de pagamento */
.cart-payment-options {
  margin-top: 30px;
}

.cart-payment-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
  padding-bottom: 10px;
  border-bottom: 1px solid #303030;
}

.payment-option {
  display: flex;
  align-items: center;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  background-color: #252525;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.payment-option:hover {
  background-color: #303030;
}

.payment-option-radio {
  margin-right: 12px;
}

.payment-option-icon {
  margin-right: 12px;
}

.payment-option-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.payment-option-label {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

.cart-continue-button {
  display: block;
  width: 100%;
  padding: 14px;
  background-color: #feaf50;
  color: #000;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  margin-top: 30px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.cart-continue-button:hover {
  background-color: #e09d45;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Estado vazio do carrinho */
.cart-empty {
  text-align: center;
  padding: 0px 0;
}

.cart-empty-icon {
  font-size: 48px;
  color: #555;
  margin-bottom: 20px;
}

.cart-empty h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
}

.cart-empty p {
  font-size: 16px;
  color: #aaa;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Produtos recomendados */
.recommended-products {
  margin-top: 0px;
  padding-top: 30px;
  border-top: 1px solid #303030;
}

.recommended-title {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 30px;
  text-align: center;
}

.product-card {
  background-color: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #303030;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.product-card-featured {
  border: 2px solid #feaf50;
  box-shadow: 0 0 20px rgba(254, 175, 80, 0.2);
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 0;
  background-color: #feaf50;
  color: #000;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px 4px 16px;
  border-radius: 4px 0 0 4px;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-image {
  height: 180px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-content {
  padding: 20px;
}

.product-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
  min-height: 48px;
}

.product-slogan {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 15px;
  min-height: 40px;
}

.product-price {
  font-size: 22px;
  font-weight: 700;
  color: #feaf50;
  margin-bottom: 15px;
}

.product-add-button {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #feaf50;
  color: #000;
  text-align: center;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.product-add-button:hover {
  background-color: #e09d45;
  color: #000;
}


/* Quantity Controls */
.quantity-section {
  margin: 10px 0;
}

.quantity-section label {
  display: block;
  color: white;
  font-size: 14px;
  margin-bottom: 5px;
  font-weight: bold;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 120px;
}

.quantity-btn {
  background-color: #feaf50;
  border: 1px solid #feaf50;
  color: white;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.quantity-btn:hover {
  background-color: #e69a3d;
}

.quantity-btn:active {
  background-color: #d1872e;
}

.quantity-decrease {
  border-radius: 4px 0 0 4px;
}

.quantity-increase {
  border-radius: 0 4px 4px 0;
}

.quantity-input {
  width: 56px;
  height: 32px;
  text-align: center;
  border: 1px solid #feaf50;
  border-left: none;
  border-right: none;
  background-color: white;
  color: black;
  font-size: 14px;
  font-weight: bold;
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}

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

/* Responsividade */
@media (max-width: 992px) {
  .cart-item-content {
    flex-direction: column;
  }
  
  .cart-item-price {
    flex: 0 0 auto;
    width: 100%;
    text-align: left;
    border-left: none;
    border-top: 1px solid #303030;
    padding-top: 16px;
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .cart-price-group {
    text-align: right;
  }
}

@media (max-width: 768px) {
  .cart-item {
    flex-direction: column;
  }
  
  .cart-item-image {
    width: 100%;
    height: 180px;
  }
  
  .cart-summary {
    margin-top: 30px;
    position: static;
  }
  
  .payment-option-label {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .cart-title {
    font-size: 24px;
  }
  
  .cart-item-title {
    font-size: 16px;
  }
  
  .cart-price-original {
    font-size: 16px;
  }
  
  .cart-price-final {
    font-size: 18px;
  }
  
  .cart-installments-amount {
    font-size: 20px;
  }
  
  .cart-summary-row {
    font-size: 14px;
  }
  
  .cart-summary-row.total {
    font-size: 16px;
  }
}