/* ==============================================================================
   MoniVera 3D Toys - WooCommerce & Storefront Standard Stylesheet
   ============================================================================== */

/* 1. Global WooCommerce Container & Typography */
.woocommerce, .woocommerce-page {
  --wc-primary: var(--primary, #ff6b6b);
  --wc-primary-dark: #e85050;
  --wc-text: #1e293b;
  --wc-muted: #64748b;
  --wc-border: #e2e8f0;
  --wc-bg-light: #f8fafc;
  --wc-success: #10b981;
  --wc-radius: 12px;
}

/* 2. Onsale Badge */
.woocommerce span.onsale,
.onsale-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--wc-primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.35);
  pointer-events: none;
}

/* 3. WooCommerce Fiyat Formatı */
.woocommerce .price,
.wc-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--wc-text);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin: 6px 0;
}
.woocommerce .price del,
.wc-price del {
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.85em;
  text-decoration: line-through;
}
.woocommerce .price ins,
.wc-price ins {
  color: var(--wc-primary);
  text-decoration: none;
  font-weight: 800;
}

/* 4. WooCommerce Mağaza Üst Çubuğu (Toolbar) */
.woocommerce-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding: 14px 20px;
  background: #ffffff;
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.woocommerce-result-count {
  margin: 0;
  font-size: 13.5px;
  color: var(--wc-muted);
  font-weight: 500;
}
.woocommerce-ordering {
  margin: 0;
}
.woocommerce-ordering select {
  padding: 8px 36px 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") no-repeat right 12px center/14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}
.woocommerce-ordering select:focus {
  border-color: var(--wc-primary);
}

/* 5. WooCommerce Ürün Izgarası (ul.products) */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.woocommerce ul.products li.product {
  background: #ffffff;
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}
.woocommerce ul.products li.product .woocommerce-loop-product__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  flex: 1;
}
.woocommerce ul.products li.product .product-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: #f1f5f9;
  overflow: hidden;
}
.woocommerce ul.products li.product .product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.woocommerce ul.products li.product:hover .product-img-wrap img {
  transform: scale(1.05);
}
.woocommerce ul.products li.product .product-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.woocommerce ul.products li.product .product-cat-tag {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--wc-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--wc-text);
  line-height: 1.35;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.woocommerce ul.products li.product .button.add_to_cart_button {
  margin-top: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: #f1f5f9;
  color: var(--wc-text);
  font-weight: 600;
  font-size: 13.5px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.woocommerce ul.products li.product .button.add_to_cart_button:hover {
  background: var(--wc-primary);
  color: #ffffff;
  border-color: var(--wc-primary);
}

/* 6. WooCommerce Ekmek Kırıntısı (Breadcrumbs) */
.woocommerce-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
}
.woocommerce-breadcrumb a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.woocommerce-breadcrumb a:hover {
  color: var(--wc-primary);
}
.woocommerce-breadcrumb .delimiter {
  color: #cbd5e1;
}

/* 7. Tekil Ürün Detay Sayfası (Single Product) */
.product-single-container {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
  background: #ffffff;
  border: 1px solid var(--wc-border);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 36px;
}
@media (max-width: 992px) {
  .product-single-container {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 24px;
  }
}
.product-summary h1.product_title {
  font-size: 26px;
  font-weight: 800;
  color: var(--wc-text);
  line-height: 1.25;
  margin: 0 0 12px 0;
}
.woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.woocommerce-product-rating .star-rating {
  color: #f59e0b;
  font-size: 14px;
}
.woocommerce-product-rating .woocommerce-review-link {
  font-size: 13px;
  color: #64748b;
  text-decoration: none;
}
.woocommerce-product-rating .woocommerce-review-link:hover {
  color: var(--wc-primary);
  text-decoration: underline;
}
.stock.in-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #059669;
  background: #ecfdf5;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
}
.stock.in-stock::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
}
.woocommerce-product-details__short-description {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--wc-border);
}
.woocommerce form.cart {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.woocommerce .quantity {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
}
.woocommerce .quantity .qty-btn {
  width: 38px;
  height: 44px;
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.woocommerce .quantity .qty-btn:hover {
  background: #e2e8f0;
}
.woocommerce .quantity input.qty {
  width: 48px;
  height: 44px;
  text-align: center;
  border: none;
  background: #ffffff;
  font-size: 15px;
  font-weight: 700;
  color: var(--wc-text);
  outline: none;
}
.single_add_to_cart_button {
  flex: 1;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--wc-primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(255, 107, 107, 0.3);
}
.single_add_to_cart_button:hover {
  background: var(--wc-primary-dark);
  transform: translateY(-1px);
}
.product_meta {
  font-size: 13px;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--wc-border);
  padding-top: 18px;
}
.product_meta span {
  display: flex;
  gap: 6px;
}
.product_meta span strong {
  color: #334155;
  font-weight: 600;
}
.product_meta a {
  color: var(--wc-primary);
  text-decoration: none;
}

/* Çoklu Renk & Renk Sayısı Seçimi (Multicolor Step-by-Step Selector) */
.color-count-selection-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.color-count-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}
.btn-color-count-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  border-radius: 10px;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-align: center;
  user-select: none;
}
.btn-color-count-option:hover {
  border-color: var(--wc-primary, #ff6b6b);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.btn-color-count-option.active {
  border-color: var(--wc-primary, #ff6b6b) !important;
  background: #fff5f5 !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.18) !important;
}
.btn-color-count-option.active .count-num-circle {
  background: var(--wc-primary, #ff6b6b) !important;
  color: #ffffff !important;
}
.count-num-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  transition: all 0.2s ease;
}

/* 8. WooCommerce Sekmeler (Tabs) */
.woocommerce-tabs {
  background: #ffffff;
  border: 1px solid var(--wc-border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 36px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.woocommerce-tabs ul.wc-tabs {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--wc-border);
  overflow-x: auto;
}
.woocommerce-tabs ul.wc-tabs li {
  margin: 0;
}
.woocommerce-tabs ul.wc-tabs li a {
  display: block;
  padding: 16px 24px;
  font-weight: 700;
  font-size: 14.5px;
  color: #64748b;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.woocommerce-tabs ul.wc-tabs li.active a {
  color: var(--wc-primary);
  border-bottom-color: var(--wc-primary);
  background: #ffffff;
}
.woocommerce-tabs .woocommerce-Tabs-panel {
  padding: 30px;
  font-size: 14.5px;
  color: #475569;
  line-height: 1.7;
}
.woocommerce-tabs .shop_attributes {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
.woocommerce-tabs .shop_attributes th,
.woocommerce-tabs .shop_attributes td {
  padding: 12px 16px;
  border: 1px solid var(--wc-border);
  text-align: left;
}
.woocommerce-tabs .shop_attributes th {
  background: #f8fafc;
  font-weight: 700;
  color: #334155;
  width: 30%;
}

/* 9. WooCommerce Sepet Tablosu (table.shop_table.cart) */
.woocommerce-cart-container {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 992px) {
  .woocommerce-cart-container {
    grid-template-columns: 1fr;
  }
}
table.shop_table.cart {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border: 1px solid var(--wc-border);
  border-radius: 14px;
  overflow: hidden;
}

@media (min-width: 769px) {
  table.shop_table.cart {
    display: table !important;
  }
  table.shop_table.cart thead {
    display: table-header-group !important;
  }
  table.shop_table.cart thead tr {
    display: table-row !important;
  }
  table.shop_table.cart thead th {
    display: table-cell !important;
  }
  table.shop_table.cart tbody {
    display: table-row-group !important;
  }
  table.shop_table.cart tbody tr {
    display: table-row !important;
  }
  table.shop_table.cart tbody td {
    display: table-cell !important;
  }
}

table.shop_table.cart thead th {
  background: #f8fafc;
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: #334155;
  border-bottom: 1px solid var(--wc-border);
  vertical-align: middle;
}
table.shop_table.cart th.product-remove {
  width: 48px;
  text-align: center;
  padding: 14px 8px;
}
table.shop_table.cart th.product-thumbnail {
  width: 84px;
  text-align: center;
  padding: 14px 8px;
}
table.shop_table.cart th.product-name {
  text-align: left;
  padding: 14px 16px;
}
table.shop_table.cart th.product-price {
  width: 110px;
  text-align: center;
  white-space: nowrap;
}
table.shop_table.cart th.product-quantity {
  width: 140px;
  text-align: center;
  white-space: nowrap;
}
table.shop_table.cart th.product-subtotal {
  width: 130px;
  text-align: right;
  white-space: nowrap;
  padding-right: 20px;
}

table.shop_table.cart tbody td {
  padding: 16px;
  border-bottom: 1px solid var(--wc-border);
  vertical-align: middle;
}
table.shop_table.cart tbody tr:last-child td {
  border-bottom: none;
}
table.shop_table.cart td.product-remove {
  width: 48px;
  text-align: center;
  padding: 16px 8px;
}
table.shop_table.cart td.product-remove a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #ef4444;
  font-size: 18px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.15s;
}
table.shop_table.cart td.product-remove a.remove:hover {
  background: #fee2e2;
}
table.shop_table.cart td.product-thumbnail {
  width: 84px;
  text-align: center;
  padding: 16px 8px;
}
table.shop_table.cart td.product-thumbnail a {
  display: inline-block;
  width: 64px;
  height: 64px;
}
table.shop_table.cart td.product-thumbnail img {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  object-fit: cover !important;
  border-radius: 8px;
  border: 1px solid var(--wc-border);
  display: block;
}
table.shop_table.cart td.product-name {
  padding: 16px;
}
table.shop_table.cart td.product-name a {
  font-weight: 700;
  color: var(--wc-text);
  text-decoration: none;
  font-size: 14.5px;
  display: inline-block;
}
table.shop_table.cart td.product-name a:hover {
  color: var(--wc-primary);
}
table.shop_table.cart td.product-price {
  width: 110px;
  text-align: center;
  white-space: nowrap;
  font-size: 14.5px;
  font-weight: 600;
  color: #475569;
}
table.shop_table.cart td.product-quantity {
  width: 140px;
  text-align: center;
  white-space: nowrap;
}
table.shop_table.cart td.product-quantity .quantity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
  height: 38px;
  width: 116px;
  margin: 0 auto;
}
table.shop_table.cart td.product-quantity .qty-btn {
  width: 36px;
  height: 38px;
  min-width: 36px;
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
table.shop_table.cart td.product-quantity .qty-btn:hover {
  background: #e2e8f0;
}
table.shop_table.cart td.product-quantity input.qty {
  width: 44px;
  height: 38px;
  text-align: center;
  border: none;
  background: #ffffff;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  outline: none;
  padding: 0;
}
table.shop_table.cart td.product-subtotal {
  width: 130px;
  text-align: right;
  white-space: nowrap;
  padding-right: 20px;
  font-size: 16px;
  font-weight: 800;
  color: var(--wc-primary);
}
table.shop_table.cart td.actions {
  background: #f8fafc;
  padding: 16px 18px;
}
.cart-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.coupon-form-group {
  display: flex;
  gap: 8px;
}
.coupon-form-group input {
  padding: 8px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13.5px;
  outline: none;
}
.coupon-form-group input:focus {
  border-color: var(--wc-primary);
}
.btn-apply-coupon {
  padding: 8px 16px;
  background: #334155;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-apply-coupon:hover {
  background: #1e293b;
}

/* 10. Sepet Toplamları (Cart Totals) */
.cart_totals {
  background: #ffffff;
  border: 1px solid var(--wc-border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.cart_totals h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--wc-text);
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--wc-border);
}
.cart_totals table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.cart_totals table.shop_table th,
.cart_totals table.shop_table td {
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}
.cart_totals table.shop_table th {
  font-weight: 600;
  color: #64748b;
  text-align: left;
  font-size: 14px;
}
.cart_totals table.shop_table td {
  text-align: right;
  font-weight: 700;
  color: var(--wc-text);
}
.cart_totals table.shop_table tr.order-total th,
.cart_totals table.shop_table tr.order-total td {
  font-size: 18px;
  color: var(--wc-primary);
  border-bottom: none;
  padding-top: 14px;
}
.checkout-button.wc-forward {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: var(--wc-primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(255, 107, 107, 0.35);
  transition: all 0.2s;
}
.checkout-button.wc-forward:hover {
  background: var(--wc-primary-dark);
  transform: translateY(-1px);
}

/* 11. WooCommerce 2 Sütunlu Checkout */
form.woocommerce-checkout,
.checkout-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 992px) {
  form.woocommerce-checkout,
  .checkout-layout-grid {
    grid-template-columns: 1fr;
  }
}
.woocommerce-checkout-page {
  display: block;
  width: 100%;
}
.woocommerce-billing-fields,
.woocommerce-additional-fields,
#order_review_heading,
#order_review {
  background: #ffffff;
  border: 1px solid var(--wc-border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.woocommerce-billing-fields h3,
.woocommerce-additional-fields h3,
#order_review_heading {
  font-size: 18px;
  font-weight: 800;
  color: var(--wc-text);
  margin: 0 0 18px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--wc-border);
}
.woocommerce-billing-fields .form-row {
  margin-bottom: 14px;
}
.woocommerce-billing-fields label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}
.woocommerce-billing-fields label .required {
  color: #ef4444;
}
.woocommerce-billing-fields input,
.woocommerce-billing-fields select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  font-size: 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  outline: none;
  background: #f8fafc;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.woocommerce-additional-fields textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  outline: none;
  background: #f8fafc;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.woocommerce-billing-fields input:focus,
.woocommerce-billing-fields select:focus,
.woocommerce-additional-fields textarea:focus {
  border-color: var(--wc-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15);
}
.form-row-group-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Checkout Sipariş Özeti Ürün Kartları */
.checkout-review-products {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.checkout-item-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: border-color 0.2s;
}
.checkout-item-card:hover {
  border-color: #cbd5e1;
}
.checkout-item-thumb-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}
.checkout-item-thumb-wrap img {
  width: 52px !important;
  height: 52px !important;
  object-fit: cover !important;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}
.checkout-item-qty-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #1e293b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}
.checkout-item-details {
  flex: 1;
  min-width: 0;
}
.checkout-item-title {
  font-weight: 700;
  font-size: 14px;
  color: #1e293b;
  line-height: 1.35;
}
.checkout-item-price {
  text-align: right;
  font-weight: 700;
  font-size: 15px;
  color: #0f172a;
  white-space: nowrap;
  padding-left: 10px;
}

/* Banka Havale Kartı & IBAN Kopyalama */
.bank-account-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  margin-top: 10px;
}
.bank-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}
.bank-card-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bank-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 107, 107, 0.1);
  color: var(--wc-primary, #ff6b6b);
  font-size: 16px;
}
.bank-name-text {
  font-weight: 800;
  font-size: 14.5px;
  color: #1e293b;
  line-height: 1.3;
}
.bank-owner-text {
  font-size: 12px;
  color: #64748b;
}
.bank-iban-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.bank-iban-number {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.8px;
}
.btn-copy-iban {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-copy-iban:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

/* Sipariş Özeti ve Ödeme Akordeon */
table.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
table.woocommerce-checkout-review-order-table th,
table.woocommerce-checkout-review-order-table td {
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
}
table.woocommerce-checkout-review-order-table th {
  text-align: left;
  font-weight: 600;
  color: #64748b;
}
table.woocommerce-checkout-review-order-table td {
  text-align: right;
  font-weight: 700;
  color: var(--wc-text);
}
table.woocommerce-checkout-review-order-table tr.order-total th,
table.woocommerce-checkout-review-order-table tr.order-total td {
  font-size: 18px;
  color: var(--wc-primary);
  border-bottom: none;
  padding-top: 14px;
}
#payment {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}
#payment ul.wc_payment_methods {
  list-style: none;
  padding: 0;
  margin: 0;
}
#payment ul.wc_payment_methods li.wc_payment_method {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
}
#payment ul.wc_payment_methods li.wc_payment_method:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}
#payment label {
  font-weight: 700;
  font-size: 14.5px;
  color: #1e293b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
#payment .payment_box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 10px;
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
}
.woocommerce-terms-and-conditions-wrapper {
  margin: 18px 0;
  font-size: 13px;
  color: #64748b;
}
.woocommerce-terms-and-conditions-wrapper label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}
.btn-place-order {
  width: 100%;
  padding: 15px 24px;
  background: var(--wc-primary);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 107, 107, 0.4);
  transition: all 0.2s ease;
}
.btn-place-order:hover {
  background: var(--wc-primary-dark);
  transform: translateY(-1px);
}

/* 12. Sipariş Tamamlandı (Thank You Page) */
.woocommerce-notice--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  list-style: none;
  padding: 16px 20px;
  margin: 0 0 28px 0;
  background: #f8fafc;
  border: 1px solid var(--wc-border);
  border-radius: 12px;
}
.woocommerce-order-overview li {
  font-size: 12.5px;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.woocommerce-order-overview li strong {
  font-size: 14px;
  color: var(--wc-text);
  font-weight: 700;
}
.woocommerce-bacs-bank-details {
  background: #ffffff;
  border: 1px solid var(--wc-border);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 28px;
}
.woocommerce-bacs-bank-details h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--wc-text);
  margin: 0 0 16px 0;
}
.bank-account-card {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.bank-account-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bank-account-info strong {
  font-size: 15px;
  color: var(--wc-text);
}
.bank-iban {
  font-family: monospace;
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
}

/* ==============================================================================
   Mobil Uyumlu E-Ticaret Sepet Düzeni (Responsive Mobile Cart)
   ============================================================================== */
@media (max-width: 768px) {
  .woocommerce-cart-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
  }

  .woocommerce-cart-form-wrap {
    width: 100% !important;
  }

  /* Tablo yapısını kart akışına dönüştür */
  table.shop_table.cart {
    display: block !important;
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }

  table.shop_table.cart thead {
    display: none !important;
  }

  table.shop_table.cart tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
  }

  /* Her ürün satırı bağımsız şık bir karttır */
  table.shop_table.cart tr.cart_item,
  table.shop_table.cart tr.cart-item-row {
    display: grid !important;
    grid-template-columns: 80px 1fr !important;
    grid-template-areas:
      "thumb title"
      "thumb price"
      "thumb qty"
      "total total";
    gap: 8px 14px !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 16px !important;
    position: relative !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  /* Kaldır '×' Butonu (Sağ Üst Köşede) */
  table.shop_table.cart td.product-remove {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    padding: 0 !important;
    border: none !important;
    z-index: 2 !important;
    width: auto !important;
    height: auto !important;
  }

  table.shop_table.cart td.product-remove a.remove {
    width: 32px !important;
    height: 32px !important;
    background: #fee2e2 !important;
    color: #ef4444 !important;
    font-size: 20px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    text-decoration: none !important;
  }

  /* Görsel (Sol Kolonda) */
  table.shop_table.cart td.product-thumbnail {
    grid-area: thumb !important;
    padding: 0 !important;
    border: none !important;
    width: 80px !important;
    height: 80px !important;
  }

  table.shop_table.cart td.product-thumbnail a {
    display: block !important;
    width: 80px !important;
    height: 80px !important;
  }

  table.shop_table.cart td.product-thumbnail img {
    width: 80px !important;
    height: 80px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
    border: 1px solid #e2e8f0 !important;
  }

  /* Ürün Adı & Varyasyonlar */
  table.shop_table.cart td.product-name {
    grid-area: title !important;
    padding: 0 32px 0 0 !important;
    border: none !important;
  }

  table.shop_table.cart td.product-name a {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-decoration: none !important;
  }

  .cart-item-variation-details {
    margin-top: 6px !important;
  }

  /* Fiyat */
  table.shop_table.cart td.product-price {
    grid-area: price !important;
    padding: 2px 0 !important;
    border: none !important;
    font-size: 13.5px !important;
    color: #64748b !important;
  }

  /* Adet Seçici */
  table.shop_table.cart td.product-quantity {
    grid-area: qty !important;
    padding: 0 !important;
    border: none !important;
  }

  table.shop_table.cart td.product-quantity .quantity {
    display: inline-flex !important;
    align-items: center !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    height: 36px !important;
  }

  table.shop_table.cart td.product-quantity .qty-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
    background: #ffffff !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #1e293b !important;
    font-weight: 700 !important;
  }

  table.shop_table.cart td.product-quantity input.qty {
    width: 40px !important;
    height: 36px !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #0f172a !important;
    padding: 0 !important;
  }

  /* Ürün Toplamı Satırı */
  table.shop_table.cart td.product-subtotal {
    grid-area: total !important;
    padding: 10px 0 0 0 !important;
    border-top: 1px dashed #e2e8f0 !important;
    border-bottom: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 14px !important;
    color: #0f172a !important;
    width: 100% !important;
  }

  table.shop_table.cart td.product-subtotal::before {
    content: "Ürün Toplamı:" !important;
    font-weight: 600 !important;
    color: #64748b !important;
    font-size: 13px !important;
  }

  table.shop_table.cart td.product-subtotal strong {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--primary, #ff6b6b) !important;
  }

  /* Kupon & Aksiyonlar Kartı */
  table.shop_table.cart tr:last-child {
    display: block !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 16px !important;
    box-sizing: border-box !important;
  }

  table.shop_table.cart tr:last-child td.actions {
    display: block !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    width: 100% !important;
  }

  .cart-actions-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .coupon-form-group {
    display: flex !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .coupon-form-group input {
    flex: 1 !important;
    min-width: 0 !important;
    height: 44px !important;
    font-size: 14px !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
  }

  .btn-apply-coupon {
    height: 44px !important;
    padding: 0 16px !important;
    font-size: 13.5px !important;
    white-space: nowrap !important;
    border-radius: 8px !important;
  }

  .cart-actions-row .btn-outline {
    width: 100% !important;
    height: 42px !important;
    justify-content: center !important;
    font-size: 13.5px !important;
    display: flex !important;
    align-items: center !important;
  }

  /* Sepet Toplamları Kartı */
  .cart-collaterals {
    width: 100% !important;
  }

  .cart_totals {
    padding: 18px !important;
    border-radius: 14px !important;
  }

  .cart_totals h2 {
    font-size: 18px !important;
    margin-bottom: 14px !important;
  }

  .cart_totals table.shop_table {
    width: 100% !important;
  }

  .cart_totals table.shop_table th,
  .cart_totals table.shop_table td {
    padding: 10px 0 !important;
    font-size: 14px !important;
  }

  .wc-proceed-to-checkout {
    margin-top: 18px !important;
  }

  .wc-proceed-to-checkout .checkout-button {
    width: 100% !important;
    height: 50px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    padding: 0 !important;
  }

  /* Kargo İlerleme Çubuğu Mobil */
  .woocommerce-shipping-progress {
    padding: 14px !important;
    border-radius: 12px !important;
    margin-bottom: 20px !important;
  }

  .progress-text {
    font-size: 12.5px !important;
    line-height: 1.4 !important;
  }

  /* Çekmeceler (Cart & Wishlist Drawer) Mobil Ekran Uyumları */
  .cart-drawer,
  .wishlist-drawer {
    width: 100% !important;
    max-width: 100% !important;
    bottom: 0 !important;
  }
}

