/* ============================================
   MODERN CART PAGE – sepet.css
   Tennis Green / Orange Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* === PAGE BASE === */
body, .page .main-page-wrapper {
  background: #FAF8F5 !important;
}

#main, .container-fluid {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

/* === BREADCRUMB === */
.page-top.page-header-6 {
  background: #FAF8F5 !important;
  padding: 14px 0 !important;
  margin-top: 0 !important;
  border-bottom: 1px solid #E0E0E0;
}

.solok {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.85rem !important;
  color: #757575 !important;
  font-weight: 500 !important;
}

.solok a {
  color: #2E7D32 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

/* === EMPTY CART === */
.bossepet {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-direction: column !important;
  min-height: 400px !important;
  padding: 60px 40px !important;
  text-align: center !important;
  font-family: 'Inter', sans-serif !important;
  animation: cartFadeIn 0.6s ease both;
}

.bossepet-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  animation: cartPulse 2s ease-in-out infinite;
}

@keyframes cartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.bossepet h6 {
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  color: #212121 !important;
  margin-bottom: 8px !important;
}

.bossepet span {
  font-size: 0.92rem !important;
  color: #757575 !important;
  margin-bottom: 24px !important;
  display: block;
  line-height: 1.5;
}

.bossepet .btn {
  background: linear-gradient(135deg, #2E7D32 0%, #43A047 100%) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 14px 32px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.25) !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

.bossepet .btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(46, 125, 50, 0.35) !important;
}

/* === SELLER HEADER === */
.satici {
  background: linear-gradient(135deg, #2E7D32 0%, #43A047 100%) !important;
  border-radius: 12px 12px 0 0 !important;
  color: #ffffff !important;
  padding: 14px 20px !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px;
  font-size: 0.88rem !important;
  margin-bottom: 0 !important;
  border: none !important;
}

.satici b, .satici a {
  color: #ffffff !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.satici a:hover {
  text-decoration: underline !important;
}

/* === SHIPPING INFO BAR === */
.kargo {
  background: #e8f5e9 !important;
  color: #1B5E20 !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  font-family: 'Inter', sans-serif !important;
  padding: 8px 16px !important;
  height: auto !important;
  border-bottom: 1px solid #c8e6c9 !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px;
}

.kargo i {
  color: #2E7D32 !important;
}

.kargo b {
  color: #E53935 !important;
  font-weight: 800 !important;
}

/* === PRODUCT CARD === */
.cart-product-container {
  border: 1px solid #E0E0E0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  padding: 20px !important;
  margin-bottom: 0 !important;
  border-top: none !important;
  transition: background 0.2s ease !important;
}

.cart-product-container:last-of-type {
  border-radius: 0 0 12px 12px !important;
  margin-bottom: 16px !important;
}

.cart-product-container:hover {
  background: #FAFAFA !important;
}

/* Product image */
.cart-product-container-left {
  width: 100px !important;
}

.cart-product-container-left img {
  width: 100% !important;
  height: 100px !important;
  object-fit: contain !important;
  border-radius: 10px !important;
  border: 1px solid #E0E0E0;
  background: #FAFAFA;
  padding: 4px;
}

/* Product info */
.cart-product-container-middle {
  padding-left: 20px !important;
}

.cart-product-title a {
  text-decoration: none !important;
}

.cart-product-title h2 {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  color: #212121 !important;
  margin-bottom: 4px !important;
  line-height: 1.4 !important;
}

.cart-product-title a:hover h2 {
  color: #2E7D32 !important;
}

.cart-product-variant-title h3 {
  font-family: 'Inter', sans-serif !important;
  color: #757575 !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
}

.cart-product-quantity {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.82rem !important;
  color: #757575 !important;
}

.cart-product-quantity b {
  color: #424242 !important;
  font-weight: 600 !important;
}

/* Product price */
.cart-product-prices span.newfiyat {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  color: #1B5E20 !important;
}

/* Badges (kargo, hediye) */
.cart-product-container .badge {
  background: #e8f5e9 !important;
  color: #1B5E20 !important;
  border-radius: 8px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  padding: 6px 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  height: auto !important;
  width: auto !important;
  margin-right: 6px !important;
  margin-top: 6px !important;
  line-height: 1.2 !important;
}

.cart-product-container .badge i {
  color: #2E7D32 !important;
  font-size: 0.72rem !important;
}

/* === QUANTITY CHANGER === */
.cart-product-quantity-changer {
  border: 2px solid #E0E0E0 !important;
  border-radius: 10px !important;
  overflow: hidden;
  width: 40px !important;
  transition: border-color 0.2s ease;
}

.cart-product-quantity-changer:hover {
  border-color: #66BB6A !important;
}

.cart-product-quantity-changer-increaser,
.cart-product-quantity-changer-decreaser {
  height: 36px !important;
  line-height: 36px !important;
  text-align: center !important;
  color: #424242 !important;
  font-size: 11px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  background: #FAFAFA !important;
}

.cart-product-quantity-changer-increaser:hover,
.cart-product-quantity-changer-decreaser:hover {
  background: #2E7D32 !important;
  color: #ffffff !important;
}

.cart-product-quantity-changer-quantity {
  height: 24px !important;
}

.cart-product-quantity-changer-quantity input[type=text] {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  color: #212121 !important;
  border: none !important;
  text-align: center !important;
  width: 100% !important;
  height: 24px !important;
  padding: 0 !important;
  background: transparent !important;
}

/* Delete button */
.cart-product-remove {
  border: 2px solid #E0E0E0 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: #757575 !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  margin-top: 8px !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.cart-product-remove:hover {
  border-color: #E53935 !important;
  color: #E53935 !important;
  background: rgba(229, 57, 53, 0.04) !important;
}

/* === COUPON SECTION === */
.col-sm-6 form[style*="background"] {
  background: #ffffff !important;
  border: 2px solid #E0E0E0 !important;
  border-radius: 12px !important;
  padding: 14px !important;
}

.col-sm-6 form .form-control {
  border: 2px solid #E0E0E0 !important;
  border-radius: 10px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.88rem !important;
  padding: 10px 14px !important;
  height: auto !important;
  min-height: 44px !important;
}

.col-sm-6 form .form-control:focus {
  border-color: #2E7D32 !important;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1) !important;
  outline: none !important;
}

.kuponbuton {
  background: linear-gradient(135deg, #2E7D32 0%, #43A047 100%) !important;
  border: none !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  padding: 10px 16px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  min-height: 44px !important;
}

.kuponbuton:hover {
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3) !important;
}

/* Gift voucher section */
.hediyeceki {
  background: #ffffff !important;
  border: 2px solid #E0E0E0 !important;
  border-radius: 12px !important;
  padding: 14px !important;
}

.hediyeceki .form-control {
  border: 2px solid #E0E0E0 !important;
  border-radius: 10px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.88rem !important;
  min-height: 44px !important;
  background: #FAFAFA !important;
}

/* === ORDER SUMMARY === */
.cart-summary {
  background: #ffffff !important;
  border: 2px solid #E0E0E0 !important;
  border-radius: 16px !important;
  padding: 24px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

.cart-summary h2 {
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #212121 !important;
  text-align: left !important;
  border-bottom: 2px solid #E0E0E0 !important;
  padding-bottom: 14px !important;
  margin-bottom: 16px !important;
  margin-top: 0 !important;
}

.cart-summary table tr {
  height: 38px !important;
  line-height: normal !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.88rem !important;
  color: #424242 !important;
}

.cart-summary table .black {
  color: #757575 !important;
  font-weight: 500 !important;
}

.cart-summary .text-end {
  text-align: right !important;
  font-weight: 600 !important;
  color: #212121 !important;
  font-size: 0.88rem !important;
}

.cart-summary-total-price {
  text-align: right !important;
  font-size: 1.3rem !important;
  font-weight: 900 !important;
  color: #1B5E20 !important;
  font-family: 'Inter', sans-serif !important;
}

/* === CONFIRM BUTTON === */
.btn-modern {
  background: linear-gradient(135deg, #FFA726 0%, #FB8C00 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 16px 28px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 16px rgba(255, 167, 38, 0.3) !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-modern:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(255, 167, 38, 0.4) !important;
}

.btn-modern:active {
  transform: translateY(0) !important;
}

/* === CART CONTAINER RIGHT === */
.cart-container-right {
  border-radius: 16px !important;
  margin-left: 0 !important;
  position: sticky;
  top: 20px;
}

/* === ANIMATION === */
@keyframes cartFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cart-container-left {
  animation: cartFadeIn 0.4s ease both;
}

.cart-container-right {
  animation: cartFadeIn 0.4s ease 0.1s both;
}

/* === RESPONSIVE === */
@media screen and (max-width: 768px) {
  .cart-product-container {
    padding: 14px !important;
  }

  .cart-product-container-left img {
    height: 80px !important;
    width: 80px !important;
  }

  .cart-product-container-left {
    width: 80px !important;
  }

  .cart-product-container-middle {
    width: calc(100% - 130px) !important;
    padding-left: 12px !important;
  }

  .cart-product-title h2 {
    font-size: 0.85rem !important;
  }

  .cart-product-prices span.newfiyat {
    font-size: 1rem !important;
  }

  .cart-container-right {
    position: static;
    margin-top: 16px !important;
    width: 100% !important;
  }

  .cart-product-container .badge {
    width: auto !important;
  }

  .hediyeceki {
    width: 100% !important;
    margin-top: 10px !important;
  }
}
