/* WooCommerce full styles for Hünerli Tema — WC default CSS is dequeued */

/* ── Reset & base ────────────────────────────────────────── */
.woocommerce, .woocommerce-page { font-family: 'Roboto', sans-serif; color: #333; }
.woocommerce *,
.woocommerce-page * { box-sizing: border-box; }

/* ── ALL WC buttons (replaces woocommerce.css defaults) ─── */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button,
.wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce a.button.checkout-button {
  display: inline-block;
  background-color: #a01915 !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 24px !important;
  border-radius: 6px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  font-family: 'Roboto', sans-serif !important;
  cursor: pointer !important;
  transition: background .3s !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .button:hover,
.wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background-color: #2D4443 !important;
  color: #fff !important;
}

/* Checkout button — full width */
.wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  font-size: 16px !important;
  padding: 15px !important;
}

/* disabled state */
.woocommerce a.button.disabled,
.woocommerce button.button:disabled,
.woocommerce input.button:disabled {
  opacity: .6 !important;
  cursor: not-allowed !important;
}

/* ── Notices ─────────────────────────────────────────────── */
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 14px 18px;
  font-size: 14px;
  list-style: none;
  padding-left: 18px;
}
.woocommerce-message { background: #e7f5ea; border-left: 4px solid #4caf50; color: #2a6a2e; }
.woocommerce-info    { background: #e3f0fb; border-left: 4px solid #2196f3; color: #1a4e8a; }
.woocommerce-error   { background: #fdecea; border-left: 4px solid #f44336; color: #8a1a1a; }
.woocommerce-message a.button,
.woocommerce-info a.button { margin-right: 12px; }

/* ── Sale badge ──────────────────────────────────────────── */
.woocommerce span.onsale {
  background: #a01915;
  color: #fff;
  border-radius: 50%;
  min-width: 44px;
  min-height: 44px;
  line-height: 44px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  top: 8px;
  left: 8px;
}

/* ── Product loop (shop/archive) ─────────────────────────── */
.woocommerce ul.products { list-style: none; margin: 0; padding: 0; }
.woocommerce ul.products li.product { margin-bottom: 24px; }
.woocommerce ul.products li.product .price { color: #a01915; font-weight: 700; font-size: 16px; }
.woocommerce ul.products li.product del { color: #aaa; font-size: 13px; margin-right: 4px; }
.woocommerce ul.products li.product ins { text-decoration: none; }

/* ── Single product ──────────────────────────────────────── */
.woocommerce div.product .price { color: #a01915; font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.woocommerce div.product del { color: #aaa; font-size: 16px; }
.woocommerce div.product ins { text-decoration: none; }
.woocommerce div.product .stock { color: #4caf50; font-weight: 600; }
.woocommerce div.product .out-of-stock { color: #f44336; }
.woocommerce div.product .woocommerce-tabs .tabs { border-bottom: 2px solid #eee; list-style: none; padding: 0; margin: 0 0 24px; display: flex; gap: 4px; }
.woocommerce div.product .woocommerce-tabs .tabs li { border: 1px solid #eee; border-bottom: none; border-radius: 6px 6px 0 0; }
.woocommerce div.product .woocommerce-tabs .tabs li a { display: block; padding: 10px 20px; font-size: 14px; font-weight: 600; color: #555; }
.woocommerce div.product .woocommerce-tabs .tabs li.active { background: #fff; border-bottom: 2px solid #fff; margin-bottom: -2px; }
.woocommerce div.product .woocommerce-tabs .tabs li.active a { color: #a01915; }

/* ── Quantity input ───────────────────────────────────────── */
.quantity { display: flex; align-items: center; }
.quantity .qty {
  width: 60px;
  text-align: center;
  padding: 10px 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  -moz-appearance: textfield;
}
.quantity .qty::-webkit-outer-spin-button,
.quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ── Add to cart button (form) ───────────────────────────── */
.woocommerce form.cart .button,
.single_add_to_cart_button {
  background: #a01915 !important;
  color: #fff !important;
  border: none !important;
  padding: 13px 28px !important;
  border-radius: 6px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  font-family: 'Roboto', sans-serif !important;
  cursor: pointer !important;
  transition: background .3s !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
}
.woocommerce form.cart .button:hover,
.single_add_to_cart_button:hover { background: #2D4443 !important; }

/* ── Cart table ──────────────────────────────────────────── */
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; font-size: 15px; }
.woocommerce table.shop_table th { font-weight: 600; text-align: left; padding: 12px 16px; border-bottom: 2px solid #eee; color: #2D4443; }
.woocommerce table.shop_table td { padding: 16px; border-bottom: 1px solid #eee; vertical-align: middle; }
.woocommerce table.shop_table img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; }
.woocommerce table.shop_table .product-remove { width: 40px; }
.woocommerce table.shop_table td.product-remove a { color: #f44336; font-size: 18px; font-weight: 700; text-decoration: none; }

/* ── Cart buttons ─────────────────────────────────────────── */
.woocommerce .cart .button { background: #2D4443; color: #fff; padding: 10px 20px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .3s; border: none; }
.woocommerce .cart .button:hover { background: #a01915; }

/* ── Coupon ──────────────────────────────────────────────── */
.woocommerce .coupon { display: flex; gap: 10px; flex-wrap: wrap; }
.woocommerce .coupon input { padding: 10px 14px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; font-family: 'Roboto', sans-serif; }
.woocommerce .coupon .button { margin-left: 0 !important; }

/* ── Cart totals ─────────────────────────────────────────── */
.woocommerce .cart_totals { background: #f8f8f8; border-radius: 8px; padding: 24px; margin-top: 30px; }
.woocommerce .cart_totals h2 { font-size: 20px; font-family: 'Marcellus', serif; margin-bottom: 16px; }
.woocommerce .cart_totals table { font-size: 15px; width: 100%; }
.woocommerce .cart_totals table th,
.woocommerce .cart_totals table td { padding: 10px 0; border-bottom: 1px solid #eee; }
.woocommerce .cart_totals .order-total strong { color: #a01915; font-size: 18px; }
.woocommerce .proceed-to-checkout { margin-top: 16px; }

/* ── Checkout form ────────────────────────────────────────── */
.woocommerce .woocommerce-checkout .form-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: #2D4443; }
.woocommerce .woocommerce-checkout input.input-text,
.woocommerce .woocommerce-checkout select,
.woocommerce .woocommerce-checkout textarea,
.woocommerce form .input-text,
.woocommerce-page form .input-text {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  color: #333;
  transition: border-color .2s;
  background: #fff;
}
.woocommerce .woocommerce-checkout input.input-text:focus,
.woocommerce .woocommerce-checkout select:focus,
.woocommerce .woocommerce-checkout textarea:focus,
.woocommerce form .input-text:focus { outline: none; border-color: #a01915; }
.woocommerce #place_order {
  background: #a01915 !important;
  color: #fff !important;
  width: 100%;
  padding: 15px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  font-family: 'Roboto', sans-serif !important;
  cursor: pointer;
  border: none;
  transition: background .3s;
  margin-top: 10px;
}
.woocommerce #place_order:hover { background: #2D4443 !important; }

/* Checkout section titles */
.woocommerce h3#order_review_heading,
.woocommerce h3#ship-to-different-address,
.woocommerce .woocommerce-checkout h3 {
  font-family: 'Marcellus', serif;
  font-size: 20px;
  color: #2D4443;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
}
/* Payment section */
.woocommerce #payment { background: transparent; border-radius: 0; padding: 0; }
.woocommerce #payment ul.payment_methods { list-style: none; margin: 0 0 16px; padding: 0; border-bottom: 1px solid #eee; }
.woocommerce #payment ul.payment_methods li { padding: 10px 0; font-size: 14px; }
.woocommerce #payment ul.payment_methods li label { cursor: pointer; font-weight: 600; }
.woocommerce #payment .payment_box { background: transparent; border-radius: 0; padding: 0; margin: 0; font-size: inherit; color: inherit; border: none; }
.woocommerce #payment div.place-order { padding: 0; }

/* ── Order review table (checkout) ──────────────────────── */
.woocommerce table.shop_table.woocommerce-checkout-review-order-table { font-size: 14px; }
.woocommerce table.shop_table.woocommerce-checkout-review-order-table th { color: #2D4443; padding: 10px; }
.woocommerce table.shop_table.woocommerce-checkout-review-order-table td { padding: 10px; }
.woocommerce table.shop_table.woocommerce-checkout-review-order-table .order-total td strong { color: #a01915; font-size: 18px; }

/* ── My Account ───────────────────────────────────────────── */
.woocommerce .woocommerce-MyAccount-navigation { float: left; width: 22%; }
.woocommerce .woocommerce-MyAccount-navigation ul { border: 1px solid #eee; border-radius: 8px; overflow: hidden; list-style: none; padding: 0; margin: 0; }
.woocommerce .woocommerce-MyAccount-navigation ul li { border-bottom: 1px solid #eee; }
.woocommerce .woocommerce-MyAccount-navigation ul li:last-child { border-bottom: none; }
.woocommerce .woocommerce-MyAccount-navigation ul li a { display: block; padding: 12px 18px; font-size: 14px; color: #333; text-decoration: none; transition: all .2s; }
.woocommerce .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce .woocommerce-MyAccount-navigation ul li a:hover { color: #a01915; background: #fef5f5; }
.woocommerce .woocommerce-MyAccount-content { float: right; width: 75%; }
.woocommerce .woocommerce-MyAccount-content table { font-size: 14px; width: 100%; border-collapse: collapse; }
.woocommerce .woocommerce-MyAccount-content table th,
.woocommerce .woocommerce-MyAccount-content table td { padding: 10px 12px; border-bottom: 1px solid #eee; }
.woocommerce .woocommerce-MyAccount-content table tr:last-child td { border-bottom: none; }
.woocommerce .woocommerce-MyAccount-content h2,
.woocommerce .woocommerce-MyAccount-content h3 { font-family: 'Marcellus', serif; color: #2D4443; }
/* account form inputs */
.woocommerce .woocommerce-MyAccount-content input.input-text,
.woocommerce .woocommerce-MyAccount-content select,
.woocommerce .woocommerce-MyAccount-content textarea {
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
}

/* ── Ordering select ──────────────────────────────────────── */
.woocommerce-ordering { display: flex; align-items: center; }
.woocommerce-ordering select {
  appearance: none;
  -webkit-appearance: none;
  padding: 10px 36px 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  color: #2D4443;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232D4443' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  cursor: pointer;
  transition: border-color .2s;
  min-width: 180px;
}
.woocommerce-ordering select:focus { outline: none; border-color: #a01915; }

/* ── Pagination ───────────────────────────────────────────── */
.woocommerce-pagination ul { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin-top: 30px; }
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #ddd; border-radius: 50%; font-size: 14px; color: #2D4443; text-decoration: none; transition: all .2s; }
.woocommerce-pagination ul li a:hover,
.woocommerce-pagination ul li span.current { background: #a01915; border-color: #a01915; color: #fff; }

/* ── Star ratings ─────────────────────────────────────────── */
.woocommerce .star-rating, .stars { color: #FF9F1A; }
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before { color: #FF9F1A; }

/* ── Product card hover ───────────────────────────────────── */
.woo-card:hover { box-shadow: 0 6px 30px rgba(0,0,0,.1); }
.woo-card:hover img { transform: scale(1.05); }

@media (max-width: 768px) {
  .woocommerce .woocommerce-MyAccount-navigation { float: none; width: 100%; margin-bottom: 24px; }
  .woocommerce .woocommerce-MyAccount-content { float: none; width: 100%; }
}

/* ════════════════════════════════════════════════════════
   SHOP PAGE — Professional E-Commerce Layout
════════════════════════════════════════════════════════ */

.ht-shop-page { background: #f2f3f5; padding: 24px 0 64px; min-height: 60vh; }

/* Two-column grid: sidebar + main */
.ht-shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}

/* ── Sidebar ────────────────────────────────────── */
.ht-shop-sidebar { position: sticky; top: 104px; }
.ht-sidebar-widget {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.ht-sidebar-title {
  font-family: 'Marcellus', serif;
  font-size: 16px;
  color: #2D4443;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}
.ht-cat-list { list-style: none; padding: 0; margin: 0; }
.ht-cat-list li { margin-bottom: 2px; }
.ht-cat-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 11px;
  border-radius: 8px;
  font-size: 14px;
  color: #555;
  text-decoration: none;
  transition: background .18s, color .18s;
}
.ht-cat-link:hover { background: #f5eeec; color: #a01915; }
.ht-cat-link.active { background: #a01915; color: #fff; font-weight: 600; }
.ht-cat-count {
  background: rgba(0,0,0,.07);
  color: inherit;
  border-radius: 20px;
  font-size: 11px;
  padding: 2px 8px;
  min-width: 26px;
  text-align: center;
  flex-shrink: 0;
}
.ht-cat-link.active .ht-cat-count { background: rgba(255,255,255,.25); }

/* Mobile sidebar toggle (hidden on desktop) */
.ht-sidebar-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 9px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #2D4443;
  cursor: pointer;
  margin-bottom: 14px;
  font-family: 'Roboto', sans-serif;
}
.ht-toggle-chevron { margin-left: auto; transition: transform .25s; }

/* ── Toolbar ────────────────────────────────────── */
.ht-shop-toolbar {
  background: #fff;
  border-radius: 12px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  flex-wrap: wrap;
}
.ht-toolbar-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Breadcrumb inside toolbar */
.ht-toolbar-breadcrumb {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #999;
  flex-wrap: wrap;
}
.ht-toolbar-breadcrumb a { color: #777; text-decoration: none; transition: color .2s; }
.ht-toolbar-breadcrumb a:hover { color: #a01915; }
.ht-toolbar-breadcrumb span { color: #aaa; }
.ht-toolbar-breadcrumb span:last-child { color: #2D4443; font-weight: 500; }
.ht-toolbar-divider { width: 1px; height: 14px; background: #e0e0e0; display: inline-block; flex-shrink: 0; }

.ht-result-count { font-size: 13px; color: #999; }
.ht-result-count strong { color: #2D4443; font-weight: 700; }
.ht-active-filter {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fef1f0;
  color: #a01915;
  border: 1px solid #f5d0ce;
  border-radius: 20px;
  padding: 3px 10px 3px 13px;
  font-size: 12px;
  font-weight: 600;
}
.ht-active-filter a {
  color: #a01915;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  opacity: .7;
  transition: opacity .2s;
}
.ht-active-filter a:hover { opacity: 1; }
.woocommerce-ordering { display: flex; align-items: center; }
.woocommerce-ordering select, .woocommerce-ordering .orderby {
  appearance: none;
  -webkit-appearance: none;
  padding: 9px 36px 9px 13px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 13px;
  font-family: 'Roboto', sans-serif;
  color: #444;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 11px center;
  cursor: pointer;
  min-width: 170px;
}
.woocommerce-ordering select:focus, .woocommerce-ordering .orderby:focus { outline: none; border-color: #a01915; }
.woocommerce-ordering form { margin: 0; }

/* ── Product grid ───────────────────────────────── */
.ht-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ── Product card ───────────────────────────────── */
.ht-pcard {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
}
.ht-pcard:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,.13);
  transform: translateY(-3px);
}
.ht-pcard--out { opacity: .75; }

/* Image */
.ht-pcard__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f7f7f7;
  flex-shrink: 0;
}
.ht-pcard__img-link { display: block; width: 100%; height: 100%; }
.ht-pcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}
.ht-pcard:hover .ht-pcard__img { transform: scale(1.07); }

/* Badges */
.ht-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 5px;
  line-height: 1.6;
  z-index: 2;
}
.ht-badge--sale { background: #e53935; color: #fff; }
.ht-badge--new  { background: #2D4443; color: #fff; }
.ht-badge--out  { background: #9e9e9e; color: #fff; top: auto; bottom: 10px; }

/* Hover overlay */
.ht-pcard__overlay {
  position: absolute;
  inset: 0 0 0 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: auto;
  top: auto;
  background: linear-gradient(transparent 40%, rgba(30,50,50,.82));
  padding: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}
.ht-pcard:hover .ht-pcard__overlay { opacity: 1; }
.ht-pcard__overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.95);
  color: #2D4443;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 7px;
  text-decoration: none;
  transition: background .2s, color .2s;
  white-space: nowrap;
  font-family: 'Roboto', sans-serif;
}
.ht-pcard__overlay-btn:hover { background: #a01915; color: #fff; }

/* Card body */
.ht-pcard__body {
  padding: 13px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ht-pcard__var-hint {
  font-size: 11px;
  color: #a01915;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.ht-pcard__name {
  font-size: 14px;
  font-weight: 500;
  color: #222;
  margin: 0 0 7px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-shrink: 0;
}
.ht-pcard__name a { color: inherit; text-decoration: none; }
.ht-pcard__name a:hover { color: #a01915; }

/* Stars */
.ht-pcard__rating {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 6px;
}
.ht-pcard__rcount { font-size: 11px; color: #bbb; margin-left: 3px; }

/* Price */
.ht-pcard__price {
  font-size: 18px;
  font-weight: 700;
  color: #a01915;
  margin-bottom: 3px;
  line-height: 1.2;
  flex-shrink: 0;
}
.ht-pcard__price del { color: #c0c0c0; font-size: 13px; font-weight: 400; margin-right: 3px; }
.ht-pcard__price ins { text-decoration: none; }

/* Footer */
.ht-pcard__footer { margin-top: auto; padding-top: 12px; }
.ht-pcard__btn {
  display: block;
  width: 100%;
  text-align: center;
  background: #2D4443;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  transition: background .2s;
  line-height: 1.4;
}
.ht-pcard__btn:hover { background: #a01915; color: #fff; }
.ht-pcard__btn--var {
  background: transparent;
  color: #a01915;
  border: 1.5px solid #e8d0ce;
}
.ht-pcard__btn--var:hover { background: #a01915; color: #fff; border-color: #a01915; }
.ht-pcard__sold-out {
  display: block;
  text-align: center;
  font-size: 13px;
  color: #aaa;
  padding: 9px 0;
  border: 1.5px dashed #e0e0e0;
  border-radius: 8px;
}

/* ── Pagination ─────────────────────────────────── */
.ht-pagination { margin-top: 32px; }
.woocommerce-pagination ul.page-numbers {
  display: flex;
  justify-content: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  background: #fff;
  color: #555;
  border: 1px solid #e2e2e2;
  transition: all .2s;
  font-family: 'Roboto', sans-serif;
}
.woocommerce-pagination ul.page-numbers li a:hover {
  background: #2D4443;
  color: #fff;
  border-color: #2D4443;
}
.woocommerce-pagination ul.page-numbers li span.current {
  background: #a01915;
  color: #fff;
  border-color: #a01915;
}

/* ── Empty state ────────────────────────────────── */
.ht-shop-empty {
  text-align: center;
  padding: 80px 24px;
  background: #fff;
  border-radius: 12px;
}
.ht-shop-empty p { color: #aaa; font-size: 15px; margin: 14px 0 20px; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1100px) {
  .ht-shop-layout { grid-template-columns: 210px 1fr; gap: 18px; }
  .ht-product-grid { grid-template-columns: repeat(3, 1fr); gap: 13px; }
}
@media (max-width: 991px) {
  .ht-shop-layout { grid-template-columns: 1fr; }
  .ht-shop-sidebar { position: static; display: none; }
  .ht-shop-sidebar.open { display: block; margin-bottom: 16px; }
  .ht-sidebar-toggle { display: flex; }
  .ht-product-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (max-width: 640px) {
  .ht-product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ht-pcard__name { font-size: 13px; }
  .ht-pcard__price { font-size: 16px; }
  .ht-pcard__overlay { display: none; }
  .ht-shop-toolbar { padding: 10px 14px; }
  .woocommerce-ordering select { min-width: 130px; font-size: 12px; }
  .ht-shop-banner__title { font-size: 21px; }
}
@media (max-width: 400px) {
  .ht-product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .ht-pcard__body { padding: 10px 10px 12px; }
}

/* ═══════════════════════════════════════════════════════════
   CART · CHECKOUT · THANK YOU · ACCOUNT PAGES
   ═══════════════════════════════════════════════════════════ */

/* ── Shared page wrapper ────────────────────────────────── */
.ht-cart-page,
.ht-checkout-page,
.ht-thankyou-page,
.ht-generic-page {
  background: #f2f3f5;
  min-height: 70vh;
  padding: 32px 0 80px;
}

/* ── Inner page header (breadcrumb bar) ─────────────────── */
.ht-inner-head {
  background: #fff;
  border-radius: 10px;
  padding: 18px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.ht-inner-head h1 {
  font-family: 'Marcellus', serif;
  font-size: 20px;
  color: #2D4443;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ht-inner-head h1 svg { flex-shrink: 0; color: #a01915; }
.ht-inner-bc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #aaa;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ht-inner-bc a { color: #777; text-decoration: none; transition: color .2s; }
.ht-inner-bc a:hover { color: #a01915; }
.ht-inner-bc span:last-child { color: #2D4443; font-weight: 500; }

/* ── "Alışverişe Devam" pill button ─────────────────────── */
.ht-continue-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f5f5f5;
  color: #2D4443;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s, color .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.ht-continue-btn:hover { background: #2D4443; color: #fff; }

/* ── SSL badge ───────────────────────────────────────────── */
.ht-checkout-secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #4caf50;
  font-weight: 600;
  background: #f0fff0;
  border: 1px solid #c8e6c9;
  border-radius: 20px;
  padding: 5px 12px;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════
   CART PAGE  —  ht-cart-layout: 70 / 30 flexbox
   ════════════════════════════════════════════════════════════ */

/* Ana layout: 70 / 30 */
.ht-cart-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.ht-cart-items-col {
  flex: 7 1 0;
  min-width: 0;
}
.ht-cart-summary-col {
  flex: 3 0 280px;
  min-width: 260px;
  max-width: 380px;
  position: sticky;
  top: 100px;
}

/* Sol kart */
.ht-cart-page .woocommerce-cart-form {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,.07);
}

/* Her ürün satırı */
.ht-citem {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  transition: background .15s;
}
.ht-citem:last-of-type { border-bottom: 0; }
.ht-citem:hover { background: #fafafa; }

/* Sil butonu */
.ht-citem__remove { flex-shrink: 0; }
.ht-citem__remove .remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: #fff0f0;
  border-radius: 50%;
  color: #e53935 !important;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  transition: background .2s;
}
.ht-citem__remove .remove:hover { background: #e53935; color: #fff !important; }

/* Ürün resmi */
.ht-citem__thumb { flex-shrink: 0; }
.ht-citem__thumb img,
.ht-citem__img {
  width: 68px !important;
  height: 68px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  border: 1px solid #f0f0f0 !important;
  display: block !important;
}

/* İsim + meta */
.ht-citem__info { flex: 1; min-width: 0; }
.ht-citem__name {
  font-weight: 600;
  color: #2D4443;
  font-size: 14px;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ht-citem__name:hover { color: #a01915; }
.ht-citem__meta { font-size: 12px; color: #999; margin-top: 3px; }
.ht-citem__meta dl { margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.ht-citem__meta dt { display: none; }
.ht-citem__meta dd { margin: 0; background: #f5f5f5; padding: 2px 7px; border-radius: 10px; font-size: 11px; }

/* Birim fiyat */
.ht-citem__price { flex-shrink: 0; font-size: 13px; color: #888; min-width: 80px; text-align: right; }

/* Adet */
.ht-citem__qty { flex-shrink: 0; }
.ht-citem__qty input.qty,
.ht-cart-page input.qty {
  width: 64px !important;
  padding: 7px 8px !important;
  border: 1px solid #ddd !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  text-align: center !important;
  color: #333 !important;
}

/* Satır toplamı */
.ht-citem__subtotal {
  flex-shrink: 0;
  font-weight: 700;
  color: #2D4443;
  font-size: 15px;
  min-width: 90px;
  text-align: right;
}

/* Kupon + güncelle bölümü */
.ht-cart-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
}
.ht-cart-coupon { display: flex; gap: 8px; align-items: center; flex: 1; min-width: 0; }
.ht-coupon-input {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 9px 14px;
  font-size: 13px;
  flex: 1;
  min-width: 0;
  color: #333;
  outline: none;
  transition: border .2s;
  font-family: 'Roboto', sans-serif;
}
.ht-coupon-input:focus { border-color: #2D4443; }
.ht-btn-coupon {
  background: #2D4443 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 9px 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  white-space: nowrap;
  font-family: 'Roboto', sans-serif;
  transition: background .2s !important;
}
.ht-btn-coupon:hover { background: #1a2c2b !important; }
.ht-btn-update {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  background: #fff !important;
  color: #555 !important;
  border: 1px solid #ddd !important;
  border-radius: 6px !important;
  padding: 9px 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  font-family: 'Roboto', sans-serif;
  transition: border-color .2s, color .2s !important;
  margin-left: auto;
}
.ht-btn-update:hover { border-color: #2D4443 !important; color: #2D4443 !important; }

/* WC notices in cart */
.ht-cart-page .woocommerce-message,
.ht-cart-page .woocommerce-error,
.ht-cart-page .woocommerce-info {
  display: flex !important;
  margin-bottom: 16px !important;
}

/* Variation seçim hatası (alert yerine inline) */
.ht-var-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-left: 4px solid #f9a825;
  color: #5d4037;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 16px;
  animation: htSlideIn .25s ease;
}
.ht-var-notice svg { flex-shrink: 0; margin-top: 1px; color: #f9a825; }
@keyframes htSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════════════════════
   CHECKOUT — Modern 2-column card layout  (v2)
   Left : billing → payment cards
   Right: order summary sticky
   ════════════════════════════════════════════════════════════ */

.woocommerce-checkout { background: #f2f3f5; min-height: 70vh; }

/* ── Outer wrapper ───────────────────────────────────────── */
.ht-checkout-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 28px 60px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* ── Columns ─────────────────────────────────────────────── */
.ht-checkout-left {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ht-checkout-right {
  flex: 0 0 380px;
  width: 380px;
  position: sticky;
  top: 80px;
}

/* WC notices on checkout */
.ht-co-notices .woocommerce-error,
.ht-co-notices .woocommerce-info,
.ht-co-notices .woocommerce-message {
  margin: 0 0 8px !important;
  box-sizing: border-box;
}

/* ── Card component ──────────────────────────────────────── */
.ht-co-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #ebebeb;
  box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.04);
  overflow: hidden;
}

/* Card header */
.ht-co-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-family: 'Roboto', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #1a1a1a;
  background: #fafafa;
  border-bottom: 1px solid #ebebeb;
  letter-spacing: .1px;
}

/* Icon chip */
.ht-co-card__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #2D4443;
  color: #fff;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Step counter badge */
.ht-co-card__step {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: #aaa;
  background: #f0f0f0;
  padding: 3px 9px;
  border-radius: 20px;
}

/* Card body */
.ht-co-card__body { padding: 24px; }
.ht-co-card__body--flush { padding: 0; }

/* ── Summary card: dark header ───────────────────────────── */
.ht-co-card--summary .ht-co-card__head {
  background: #2D4443;
  color: #fff;
  border-bottom-color: rgba(255,255,255,.1);
}
.ht-co-card--summary .ht-co-card__ico { background: rgba(255,255,255,.15); }

/* ── Legacy card selectors (customer_details, etc.) ──────── */
.ht-checkout-left > #customer_details { display: contents; }

/* ── Col2-set: stack billing above notes ─────────────────── */
.ht-checkout-left .col2-set {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ht-checkout-left .col2-set .col-1,
.ht-checkout-left .col2-set .col-2 { width: 100%; float: none; }

/* Notes section (col-2): separator above */
.ht-checkout-left .col2-set .col-2 {
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
  margin-top: 20px;
}
.ht-checkout-left .col2-set .col-2:empty { display: none; }

/* Hide company field */
#billing_company_field { display: none !important; }

/* ── Billing / shipping field grid ───────────────────────── */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.woocommerce-billing-fields__field-wrapper > p.form-row-wide,
.woocommerce-shipping-fields__field-wrapper > p.form-row-wide {
  grid-column: 1 / -1;
}

/* ── Section headings (Fatura detayları etc.) ─────────────── */
.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-shipping-fields > h3,
.woocommerce-checkout .woocommerce-additional-fields > h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

/* ── Form row ─────────────────────────────────────────────── */
.ht-checkout-left .form-row { margin-bottom: 0; }
.ht-checkout-left .form-row label,
.ht-checkout-left .form-row label.required_field {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #666;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.ht-checkout-left .form-row label .required,
.ht-checkout-left .form-row abbr.required { color: #e53935; text-decoration: none; margin-left: 2px; }

/* ── Inputs & selects ────────────────────────────────────── */
.ht-checkout-left .form-row input.input-text,
.ht-checkout-left .form-row select,
.ht-checkout-left .form-row textarea {
  width: 100% !important;
  border: 1.5px solid #e8e8e8 !important;
  border-radius: 8px !important;
  padding: 11px 14px !important;
  font-size: 14px !important;
  color: #1a1a1a !important;
  background: #fff !important;
  outline: none !important;
  transition: border-color .2s, box-shadow .2s !important;
  font-family: 'Roboto', sans-serif !important;
  box-sizing: border-box !important;
  line-height: 1.4 !important;
}
.ht-checkout-left .form-row input.input-text:focus,
.ht-checkout-left .form-row select:focus,
.ht-checkout-left .form-row textarea:focus {
  border-color: #2D4443 !important;
  box-shadow: 0 0 0 3px rgba(45,68,67,.1) !important;
}
.ht-checkout-left .form-row.woocommerce-invalid input,
.ht-checkout-left .form-row.woocommerce-invalid select {
  border-color: #e53935 !important;
  box-shadow: 0 0 0 2px rgba(229,57,53,.12) !important;
}
.ht-checkout-left .form-row.woocommerce-validated input,
.ht-checkout-left .form-row.woocommerce-validated select {
  border-color: #4caf50 !important;
}

/* Select2 — inline width'i ezerek grid hücresini tam doldur */
.ht-checkout-left .form-row .select2-container,
.ht-checkout-left .form-row .select2-container.select2-container--default {
  width: 100% !important;
  min-width: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}
/* woocommerce-input-wrapper da block olsun */
.ht-checkout-left .form-row .woocommerce-input-wrapper,
.ht-checkout-left .form-row p.form-row { display: block; width: 100%; }
.ht-checkout-left .form-row .select2-container .select2-selection--single {
  height: 43px !important;
  border: 1.5px solid #e8e8e8 !important;
  border-radius: 8px !important;
  line-height: 43px !important;
}
.ht-checkout-left .form-row .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 43px !important;
  padding-left: 14px !important;
  font-size: 14px !important;
  color: #1a1a1a !important;
}
.ht-checkout-left .form-row .select2-container--open .select2-selection--single,
.ht-checkout-left .form-row .select2-container--focus .select2-selection--single {
  border-color: #2D4443 !important;
  outline: none !important;
}

/* ── Ship to different address ───────────────────────────── */
#ship-to-different-address {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  margin: 8px 0;
  cursor: pointer;
}
#ship-to-different-address label {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #2D4443 !important;
  cursor: pointer;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* ── Payment section ─────────────────────────────────────── */
.ht-payment-section { overflow: visible; }
.ht-payment-section .ht-co-card__body { padding: 20px 22px 0; }
.ht-payment-section #payment { background: transparent; border-radius: 0; padding: 0; }
.ht-payment-section #payment > h3 { display: none !important; }

/* Payment method list: each method = card */
.ht-payment-section #payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ht-payment-section #payment ul.payment_methods li {
  padding: 13px 16px;
  border: 1.5px solid #e8e8e8;
  border-radius: 10px;
  font-size: 14px;
  transition: border-color .2s, background .2s;
  cursor: pointer;
}
.ht-payment-section #payment ul.payment_methods li:has(input:checked) {
  border-color: #2D4443;
  background: rgba(45,68,67,.04);
}
.ht-payment-section #payment ul.payment_methods li label {
  cursor: pointer;
  font-weight: 600;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ht-payment-section #payment .payment_box {
  background: #f5fafa;
  border-radius: 10px;
  padding: 16px;
  margin: 10px 0 16px;
  border: 1px solid #d4e6e4;
}
.ht-payment-section #payment div.place-order { padding: 0; margin: 0; }

/* ── KuveytTürk card input grid ───────────────────────────── */
#kt-vpos-card-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  padding: 0;
  border: none;
  margin: 0;
}
#kt-vpos-card-fields legend { display: none; }
#kt-vpos-card-fields .form-row-wide { grid-column: 1 / -1; }
#kt-vpos-card-fields label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #666;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
#kt-vpos-card-fields input {
  width: 100% !important;
  border: 1.5px solid #e8e8e8 !important;
  border-radius: 8px !important;
  padding: 11px 14px !important;
  font-size: 14px !important;
  color: #1a1a1a !important;
  font-family: 'Roboto', sans-serif !important;
  box-sizing: border-box !important;
  transition: border-color .2s !important;
}
#kt-vpos-card-fields input:focus {
  border-color: #2D4443 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(45,68,67,.1) !important;
}

/* ── Terms & Place Order ─────────────────────────────────── */
.woocommerce-terms-and-conditions-wrapper { margin: 0 0 16px; }
p.form-row.terms,
.woocommerce-form__label-for-checkbox {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
}
p.form-row.terms input#terms,
input[type="checkbox"]#terms {
  width: 18px !important;
  height: 18px !important;
  margin: 2px 0 0 !important;
  flex-shrink: 0;
  accent-color: #a01915;
}
p.form-row.terms label,
.woocommerce-form__label-for-checkbox span {
  margin: 0 !important;
  font-size: 13px !important;
  color: #555 !important;
  line-height: 1.5 !important;
  cursor: pointer;
}

/* Place Order button */
#place_order {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 16px 24px !important;
  background: #a01915 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: .2px !important;
  cursor: pointer !important;
  transition: background .15s, transform .1s, box-shadow .15s !important;
  box-shadow: 0 4px 16px rgba(160,25,21,.28) !important;
  font-family: 'Roboto', sans-serif !important;
}
#place_order:hover {
  background: #881210 !important;
  box-shadow: 0 6px 20px rgba(160,25,21,.35) !important;
}
#place_order:active { transform: scale(.99) !important; }

/* ── Trust badges row (inside payment card, below button) ── */
.ht-co-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  padding: 14px 22px 18px;
  border-top: 1px solid #f0f0f0;
  margin-top: 16px;
}
.ht-co-trust span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #999;
  font-family: 'Roboto', sans-serif;
  white-space: nowrap;
}
.ht-co-trust svg { flex-shrink: 0; color: #4caf50; }

/* ── Order summary table ─────────────────────────────────── */
.ht-checkout-right #order_review_heading { display: none !important; }
.ht-checkout-right #order_review { padding: 0; }

.ht-checkout-right table.shop_table {
  font-size: 14px;
  width: 100%;
  border-collapse: collapse;
}
.ht-checkout-right table.shop_table thead { display: none; }
.ht-checkout-right table.shop_table th,
.ht-checkout-right table.shop_table td {
  padding: 12px 22px;
  border-bottom: 1px solid #f0f0f0;
  text-align: left;
  vertical-align: middle;
}
.ht-checkout-right table.shop_table .product-name {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 13px;
  line-height: 1.4;
}
.ht-checkout-right table.shop_table .product-name .product-quantity {
  color: #888;
  font-weight: 400;
}
.ht-checkout-right table.shop_table .product-total {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}
/* ── Sipariş özeti satır stilleri ───────────────────────────── */

/* Ara toplam gizli (review-order.php override'da zaten yok) */
.ht-checkout-right table.shop_table .cart-subtotal { display: none !important; }

/* KDV notu gizli */
.ht-checkout-right .includes_tax { display: none !important; }

/* Kargo satırı */
.ht-checkout-right table.shop_table .shipping th {
  font-size: 13px;
  color: #888;
  font-weight: 500;
}
.ht-checkout-right table.shop_table .shipping td {
  color: #555;
  font-size: 13px;
  text-align: right;
  font-weight: 500;
}
/* Shipping hidden input — görünmemeli */
.ht-checkout-right table.shop_table .shipping input[type="hidden"] { display: none; }

/* Ücretsiz kargo etiketi */
.ht-free-shipping {
  color: #4caf50;
  font-weight: 700;
  font-size: 13px;
}

/* İndirim satırı */
.ht-checkout-right table.shop_table .cart-discount th {
  font-size: 13px;
  color: #4caf50;
  font-weight: 600;
}
.ht-checkout-right table.shop_table .cart-discount td {
  color: #4caf50;
  font-size: 13px;
  text-align: right;
  font-weight: 700;
}

/* Toplam satırı */
.ht-checkout-right table.shop_table .order-total {
  background: rgba(45,68,67,.04);
  border-top: 2px solid #2D4443;
  border-bottom: none;
}
.ht-checkout-right table.shop_table .order-total th {
  font-weight: 700;
  color: #2D4443;
  font-size: 15px;
}
.ht-checkout-right table.shop_table .order-total td {
  font-weight: 800;
  font-size: 22px;
  color: #a01915;
  text-align: right;
}

/* ── Coupon toggle notice — checkout'tan kaldırıldı ──────── */
.woocommerce-checkout-coupon-info,
.wc-block-components-notices,
.woocommerce-info {
  background: #f0f8ff !important;
  border-left: 3px solid #2D4443 !important;
  border-radius: 0 8px 8px 0 !important;
  font-size: 14px !important;
  padding: 13px 18px !important;
  max-width: 1200px;
  margin: 0 auto !important;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .ht-checkout-wrap { flex-direction: column; gap: 16px; }
  .ht-checkout-right { flex: none; width: 100%; position: static; }
}
@media (max-width: 600px) {
  .ht-checkout-wrap { padding: 12px 12px 48px; }
  .woocommerce-billing-fields__field-wrapper,
  .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
  #kt-vpos-card-fields { grid-template-columns: 1fr; }
  .ht-co-card__body { padding: 16px; }
  .ht-payment-section .ht-co-card__body { padding: 16px 16px 0; }
  .ht-co-card__head { padding: 14px 16px; }
  .ht-co-trust { padding: 12px 16px 16px; }
  .ht-checkout-right table.shop_table th,
  .ht-checkout-right table.shop_table td { padding: 10px 16px; }
}

/* ════════════════════════════════════════════════════════════
   ADRES ÖZETİ & "DEĞİŞTİR" BUTONU
   ════════════════════════════════════════════════════════════ */

/* ── Kayıtlı kullanıcı "dolduruldu" notu ────────────────────── */
.ht-prefilled-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #f0fff4;
  border-bottom: 1px solid #c8e6c9;
  font-size: 12px;
  font-weight: 500;
  color: #2e7d32;
  font-family: 'Roboto', sans-serif;
}
.ht-prefilled-notice svg { flex-shrink: 0; }

/* ── Sağ kolon güven notu ────────────────────────────────────── */
.ht-right-guarantee {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ht-right-guarantee__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ebebeb;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.ht-right-guarantee__item > svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #2D4443;
}
.ht-right-guarantee__item > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ht-right-guarantee__item strong {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  font-family: 'Roboto', sans-serif;
}
.ht-right-guarantee__item span {
  font-size: 12px;
  color: #888;
  line-height: 1.4;
  font-family: 'Roboto', sans-serif;
}

/* ── Responsive: guarantee kartları mobilde gizle ─────────────── */
@media (max-width: 960px) {
  .ht-right-guarantee { display: none; }
}


/* ════════════════════════════════════════════════════════════
   MİNİMAL CHECKOUT / CART SAYFASI  —  ht-cartmin-*
   Hem page-odeme.php hem page-sepet.php bu sınıfları kullanır
   ════════════════════════════════════════════════════════════ */

/* Body */
.ht-cartmin-body {
  margin: 0;
  padding: 0;
  background: #f2f3f5;
  min-height: 100vh;
}

/* ── Header ──────────────────────────────────────────────── */
.ht-cartmin-header {
  background: #2D4443;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.ht-cartmin-header__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.ht-cartmin-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.ht-cartmin-logo img {
  height: 40px;
  width: auto;
  display: block;
}

/* ── Adım göstergesi ─────────────────────────────────────── */
.ht-cartmin-steps {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-family: 'Roboto', sans-serif;
}
.ht-cartmin-step {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.4);
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s;
}
.ht-cartmin-step.is-active {
  color: #fff;
  font-weight: 700;
}
.ht-cartmin-step--done { color: rgba(255,255,255,.65); }
.ht-cartmin-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.45);
  flex-shrink: 0;
  transition: background .2s, color .2s;
}
.ht-cartmin-step.is-active .ht-cartmin-step__num {
  background: #a01915;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(160,25,21,.3);
}
.ht-cartmin-step--done .ht-cartmin-step__num {
  background: #4caf50;
  color: #fff;
}
.ht-cartmin-step__sep {
  color: rgba(255,255,255,.2);
  font-size: 14px;
  line-height: 1;
  margin: 0 2px;
}

/* ── SSL rozeti ──────────────────────────────────────────── */
.ht-cartmin-ssl {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #4caf50;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(76,175,80,.12);
  border: 1px solid rgba(76,175,80,.3);
  border-radius: 20px;
  padding: 5px 12px;
  flex-shrink: 0;
  font-family: 'Roboto', sans-serif;
}

/* ── Main ────────────────────────────────────────────────── */
.ht-cartmin-main {
  min-height: 70vh;
  padding: 32px 0 80px;
  background: #f2f3f5;
}
.ht-cartmin-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.ht-checkout-main {
  padding: 0;
  background: #f2f3f5;
  min-height: 70vh;
}

/* Notices wrapper — visible only when notices exist */
.ht-co-notices {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 28px 0;
}
.ht-co-notices:empty { display: none; }

/* ── Footer ──────────────────────────────────────────────── */
.ht-cartmin-footer {
  background: #2D4443;
  color: rgba(255,255,255,.5);
  text-align: center;
  padding: 20px 24px;
  font-size: 13px;
  font-family: 'Roboto', sans-serif;
}
.ht-cartmin-footer p { margin: 0 0 6px; }
.ht-cartmin-footer__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.ht-cartmin-footer__trust span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
}
.ht-cartmin-footer__trust svg { flex-shrink: 0; opacity: .6; }
.ht-cartmin-footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.ht-cartmin-footer__links a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-size: 12px;
  transition: color .2s;
}
.ht-cartmin-footer__links a:hover { color: #fff; }

/* ── Cartmin responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  .ht-cartmin-header__inner { height: 56px; padding: 0 16px; gap: 10px; }
  .ht-cartmin-logo img { height: 32px; }
  .ht-cartmin-ssl span { display: none; }
  .ht-cartmin-ssl { padding: 6px 8px; border-radius: 50%; }
}
@media (max-width: 520px) {
  .ht-cartmin-steps { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   v7 — Single form + billing toggle
   ═══════════════════════════════════════════════════════════ */

/* Form body padding */
.ht-checkout-form-body { padding: 14px 16px 16px; }

/* 2-column grid for WC form fields */
.ht-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}
.ht-form-grid .form-row-wide    { grid-column: 1 / -1; }
.ht-form-grid .form-row-first   { grid-column: 1; }
.ht-form-grid .form-row-last    { grid-column: 2; }

/* 3-column grid variant — kullan: city + state + postcode */
.ht-form-grid--3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.ht-form-grid--3 .form-row-wide  { grid-column: 1 / -1; }
.ht-form-grid--3 .form-row-first,
.ht-form-grid--3 .form-row-last  { grid-column: auto; }

/* Section divider with label */
.ht-form-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 7px;
  color: #2D4443;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.ht-checkout-form-body > .ht-form-divider:first-child { margin-top: 0; }
.ht-form-divider::before,
.ht-form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ebebeb;
}
.ht-form-divider::before { display: none; }
.ht-form-divider span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.ht-form-divider svg { color: #7a9e9c; flex-shrink: 0; }

/* "Fatura adresim farklı" checkbox row */
.ht-fatura-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  padding: 10px 14px;
  background: #f8faf9;
  border: 1px solid #e2eeea;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  color: #2D4443;
  user-select: none;
  transition: background .2s, border-color .2s;
}
.ht-fatura-toggle:hover { background: #eef5f2; border-color: #b8d9cc; }

/* Hide native checkbox */
.ht-fatura-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Custom checkbox square */
.ht-fatura-toggle__box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 2px solid #b8d0ca;
  border-radius: 5px;
  background: #fff;
  flex-shrink: 0;
  transition: background .15s, border-color .15s;
}
.ht-fatura-toggle__box svg { display: none; }

.ht-fatura-toggle input:checked ~ .ht-fatura-toggle__box {
  background: #2D4443;
  border-color: #2D4443;
}
.ht-fatura-toggle input:checked ~ .ht-fatura-toggle__box svg {
  display: block;
  color: #fff;
}

/* Order notes */
.ht-order-notes-wrapper { margin-top: 6px; }

/* ── Bireysel / Kurumsal toggle ──────────────────────────── */
.ht-invoice-type {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}
.ht-invoice-type__opt {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 14px;
  border: 1.5px solid #dde7e4;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #6b7c7a;
  transition: border-color .18s, background .18s, color .18s;
  user-select: none;
}
.ht-invoice-type__opt input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.ht-invoice-type__opt.is-active {
  border-color: #2D4443;
  background: #f0f7f5;
  color: #2D4443;
  font-weight: 700;
}
.ht-invoice-type__icon { display: flex; align-items: center; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   v6 — Dual address panels (Teslimat | Fatura)
   ═══════════════════════════════════════════════════════════ */

/* Two-panel row inside the address card */
.ht-addr-panels {
  display: flex;
  align-items: stretch;
  min-height: 0;
}

/* Each panel */
.ht-addr-panel {
  flex: 1 1 0;
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

/* Vertical divider */
.ht-addr-divider {
  width: 1px;
  background: #ebebeb;
  flex-shrink: 0;
  margin: 16px 0;
}

/* Panel header: icon + label + optional edit btn */
.ht-addr-panel__head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #2D4443;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}
.ht-addr-panel__head svg {
  color: #7a9e9c;
  flex-shrink: 0;
}

/* Edit button in panel header */
.ht-panel-edit-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  background: #fff;
  color: #2D4443;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  white-space: nowrap;
}
.ht-panel-edit-btn:hover {
  border-color: #2D4443;
  background: #f5f8f8;
}

/* Collapsed delivery summary */
.ht-addr-panel__summary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f8faf9;
  border: 1px solid #e5eeec;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: #3a4a49;
  line-height: 1.5;
}
.ht-addr-panel__summary-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: #e5eeec;
  border-radius: 7px;
  flex-shrink: 0;
  color: #2D4443;
  margin-top: 1px;
}
.ht-addr-panel__summary strong {
  display: block;
  font-weight: 700;
  color: #2D4443;
  font-size: 13px;
}
.ht-addr-panel__summary span {
  display: block;
  color: #6b7c7a;
  font-size: 12px;
}

/* Form grids */
.ht-addr-panel__form.col-2 .woocommerce-shipping-fields__field-wrapper,
.ht-addr-panel__form.col-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}
.ht-addr-panel__form.col-2 .form-row-wide { grid-column: 1 / -1; }
.ht-addr-panel__form.col-1 .woocommerce-billing-fields__field-wrapper,
.ht-fatura-contact {
  display: flex;
  flex-direction: column;
}

/* ── Fatura "same" state ────────────────────────────────── */
.ht-fatura-same-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  background: #f0f9f4;
  border: 1px solid #c3e6d0;
  border-radius: 8px;
  padding: 10px 14px;
}

.ht-fatura-same-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #2d7a4f;
}
.ht-fatura-same-badge svg {
  color: #2d7a4f;
  flex-shrink: 0;
}

/* "Farklı fatura adresi gir" button */
.ht-fatura-diff-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: #fff;
  border: 1px solid #c3e6d0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #1e6e45;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  white-space: nowrap;
}
.ht-fatura-diff-btn:hover {
  border-color: #2d7a4f;
  background: #e8f7ee;
}

/* Billing address expanded state */
.ht-fatura-addr-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}
.ht-fatura-addr-fields .form-row-wide { grid-column: 1 / -1; }

/* "← Teslimat adresiyle aynı kullan" cancel button */
.ht-fatura-cancel-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px 0;
  font-size: 12px;
  color: #888;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ht-fatura-cancel-btn:hover { color: #2D4443; }

/* Order notes margin */
.ht-order-notes { margin-top: 6px; }

/* ── Responsive: stack panels on narrow screens ─────────── */
@media (max-width: 860px) {
  .ht-addr-panels {
    flex-direction: column;
  }
  .ht-addr-divider {
    width: auto;
    height: 1px;
    margin: 0 16px;
  }
  .ht-addr-panel__form.col-2,
  .ht-addr-panel__form.col-2 .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr;
  }
  .ht-fatura-addr-fields {
    grid-template-columns: 1fr;
  }
  .ht-fatura-addr-fields .form-row-wide { grid-column: 1; }
}

@media (max-width: 600px) {
  .ht-addr-panel { padding: 16px; }
  .ht-fatura-same-row { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ═══════════════════════════════════════════════════════════
   v8 — Temiz checkout formu
   ═══════════════════════════════════════════════════════════ */

.ht-cf { padding: 18px 18px 20px; }

.ht-cf__label {
  margin: 16px 0 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: #8a9e9c;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-family: 'Roboto', sans-serif;
}
.ht-cf > .ht-cf__label:first-child { margin-top: 0; }

/* Auto-flow grid rows */
.ht-frow { }
.ht-frow p.form-row,
.ht-frow .form-row { margin-bottom: 0; }

.ht-frow--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}
.ht-frow--2 .form-row-wide { grid-column: 1 / -1; }

.ht-frow--3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0 12px;
}
.ht-frow--3 p.form-row { grid-column: auto !important; }

/* Native select (no select2) */
.ht-native-wrap .woocommerce-input-wrapper { display: block; width: 100%; }
.ht-sel {
  width: 100%;
  height: 43px;
  padding: 0 34px 0 12px;
  border: 1.5px solid #e8e8e8;
  border-radius: 8px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 11px center;
  appearance: none;
  -webkit-appearance: none;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  color: #1a1a1a;
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
  line-height: 1.4;
}
.ht-sel:focus {
  outline: none;
  border-color: #2D4443;
  box-shadow: 0 0 0 3px rgba(45,68,67,.1);
}

/* Fatura toggle — yeni isim */
.ht-bill-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
  padding: 11px 14px;
  background: #f8faf9;
  border: 1px solid #e2eeea;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #2D4443;
  user-select: none;
  transition: background .15s, border-color .15s;
}
.ht-bill-toggle:hover { background: #eef5f2; border-color: #b8d9cc; }
.ht-bill-toggle input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.ht-bill-toggle__box {
  display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px;
  border: 2px solid #b8d0ca; border-radius: 5px; background: #fff;
  flex-shrink: 0; transition: background .15s, border-color .15s;
}
.ht-bill-toggle__box svg { display: none; }
.ht-bill-toggle input:checked ~ .ht-bill-toggle__box { background: #2D4443; border-color: #2D4443; }
.ht-bill-toggle input:checked ~ .ht-bill-toggle__box svg { display: block; color: #fff; }
.ht-bill-toggle em { font-style: normal; font-size: 11.5px; font-weight: 400; color: #8a9e9c; margin-left: 2px; }

.ht-bill-block { margin-top: 16px; }

/* Bireysel / Kurumsal tabs */
.ht-inv-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.ht-inv-tab {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 12px;
  border: 1.5px solid #dde7e4; border-radius: 8px;
  background: #fff; cursor: pointer;
  font-size: 13px; font-weight: 500; color: #6b7c7a;
  transition: border-color .18s, background .18s, color .18s;
  user-select: none;
  font-family: 'Roboto', sans-serif;
}
.ht-inv-tab input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.ht-inv-tab.is-active { border-color: #2D4443; background: #f0f7f5; color: #2D4443; font-weight: 700; }

.ht-notes-wrap { margin-top: 14px; }

/* v8 mobile */
@media (max-width: 640px) {
  .ht-frow--2,
  .ht-frow--3 { grid-template-columns: 1fr; }
  .ht-frow--2 .form-row-wide,
  .ht-frow--3 p.form-row { grid-column: 1 !important; }
  .ht-cf { padding: 14px; }
}

/* ── Validation error span ────────────────────────────────── */
.ht-ferr {
  display: block;
  color: #c0392b;
  font-size: 11.5px;
  margin-top: 4px;
}

/* ── Teşekkür (sipariş onay) sayfası ─────────────────────── */
.ht-checkout-main .woocommerce-order {
  max-width: 640px;
  margin: 40px auto;
  padding: 0 20px 60px;
}
.ht-thankyou-box {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  padding: 40px 36px 32px;
  text-align: center;
  margin-bottom: 20px;
}
.ht-thankyou-box__icon {
  width: 64px; height: 64px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.ht-thankyou-box__icon svg { color: #4caf50; }
.ht-thankyou-box h2 {
  font-family: 'Marcellus', serif;
  font-size: 22px;
  color: #2D4443;
  margin: 0 0 8px;
}
.ht-thankyou-box p {
  font-size: 14px;
  color: #6b7c7a;
  margin: 0;
  line-height: 1.6;
}
.ht-thankyou-details {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  padding: 0;
  overflow: hidden;
  margin-bottom: 20px;
}
.ht-thankyou-details ul.woocommerce-order-overview {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.ht-thankyou-details ul.woocommerce-order-overview li {
  padding: 16px 20px;
  font-size: 13px;
  color: #6b7c7a;
  border-bottom: 1px solid #f0f0f0;
  border-right: 1px solid #f0f0f0;
}
.ht-thankyou-details ul.woocommerce-order-overview li:nth-child(2n) { border-right: none; }
.ht-thankyou-details ul.woocommerce-order-overview li strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #2D4443;
  margin-top: 4px;
}
.ht-thankyou-details ul.woocommerce-order-overview li.total strong {
  color: #a01915;
  font-size: 17px;
}
.ht-thankyou-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 4px;
}
.ht-thankyou-actions a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.ht-thankyou-actions a.ht-btn-primary {
  background: #2D4443; color: #fff;
}
.ht-thankyou-actions a.ht-btn-primary:hover { background: #a01915; }
.ht-thankyou-actions a.ht-btn-secondary {
  background: #f5f5f5; color: #2D4443;
}
.ht-thankyou-actions a.ht-btn-secondary:hover { background: #e0e0e0; }
@media (max-width: 640px) {
  .ht-thankyou-details ul.woocommerce-order-overview { grid-template-columns: 1fr; }
  .ht-thankyou-details ul.woocommerce-order-overview li { border-right: none; }
  .ht-thankyou-box { padding: 28px 20px 24px; }
}

/* ── Yasal onay checkboxları (checkout) ──────────────────── */
.ht-legal-card .ht-legal-body {
  padding: 14px 24px !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ht-legal-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: #4a5e5c;
  line-height: 1.5;
}
.ht-legal-check input.ht-legal-chk { position: absolute; opacity: 0; width: 0; height: 0; }
.ht-legal-chk__box {
  flex-shrink: 0;
  width: 18px; height: 18px; margin-top: 1px;
  border: 2px solid #c8d8d6;
  border-radius: 4px;
  background: #fff;
  transition: background .15s, border-color .15s;
  position: relative;
}
.ht-legal-check input:checked ~ .ht-legal-chk__box {
  background: #2D4443;
  border-color: #2D4443;
}
.ht-legal-check input:checked ~ .ht-legal-chk__box::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 6px; height: 10px;
  border: 2px solid #fff;
  border-top: none; border-left: none;
  transform: rotate(45deg);
}
.ht-legal-check a { color: #2D4443; font-weight: 600; text-decoration: underline; }
.ht-legal-check a:hover { color: #a01915; }

/* ── Yasal sayfalar (MSS, Ön Bilgi, Çerez) ───────────────── */
.ht-legal-page {
  max-width: 780px;
  font-size: 14px;
  line-height: 1.8;
  color: #3a4e4c;
}
.ht-legal-page h3 {
  font-size: 14px;
  font-weight: 700;
  color: #2D4443;
  margin: 24px 0 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 2px solid #e8f0ef;
  padding-bottom: 6px;
}
.ht-legal-page p { margin: 0 0 10px; }
.ht-legal-intro {
  background: #f0f7f5;
  border-left: 3px solid #2D4443;
  padding: 12px 16px;
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  margin-bottom: 20px !important;
}

/* ── Sepet: kargo ilerleme çubuğu ────────────────────────── */
.ht-kargo-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0f7f5;
  border: 1px solid #c8e6c9;
  border-radius: 10px;
  padding: 11px 16px;
  margin-bottom: 18px;
  font-size: 13.5px;
  color: #2D4443;
  flex-wrap: wrap;
}
.ht-kargo-bar--ok {
  background: #e8f5e9;
  border-color: #a5d6a7;
}
.ht-kargo-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  color: #2D4443;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.ht-kargo-bar--ok .ht-kargo-bar__icon { color: #4caf50; }
.ht-kargo-bar__track {
  flex: 1 1 120px;
  height: 6px;
  background: #dcedc8;
  border-radius: 3px;
  overflow: hidden;
  min-width: 80px;
}
.ht-kargo-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #66bb6a, #2D4443);
  border-radius: 3px;
  transition: width .4s ease;
}

/* ── Ödeme özeti: kargo notu ─────────────────────────────── */
.ht-kargo-note-row td { padding-top: 0 !important; padding-bottom: 8px !important; }
.ht-kargo-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 11.5px;
  color: #8a9e9c;
  line-height: 1.5;
}
.ht-kargo-note svg { flex-shrink: 0; margin-top: 2px; }

/* ── Ürün sayfası: kargo rozeti ─────────────────────────── */
.ht-urun-kargo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #4a5e5c;
  background: #f5fbf5;
  border: 1px solid #c8e6c9;
  border-radius: 20px;
  padding: 6px 14px;
  margin: 6px 0 10px;
  flex-wrap: wrap;
}
.ht-urun-kargo svg { color: #4caf50; flex-shrink: 0; }
.ht-urun-kargo__sep { color: #c8d8d6; }
.ht-urun-kargo__note { font-size: 11.5px; color: #8a9e9c; }
