/* ==========================================================================
   StylishTheme – Hesabım, Sepet, Ödeme ve Sipariş sayfaları
   ========================================================================== */

.st-article--store { max-width: 1200px; }
.st-store-content { font-size: 15px; line-height: 1.6; }
.st-article--store .st-page__head { margin-bottom: 22px; }
.st-article--store .st-prose { font-size: 15px; line-height: 1.6; }

/* ---- Hesabım: başlık bandı ---- */
.st-acc-hero {
	position: relative;
	padding: 30px 0 34px;
	overflow: hidden;
	background: linear-gradient(180deg, #efe8fd 0%, var(--st-bg) 100%);
	border-bottom: 1px solid var(--st-border);
}
.st-acc-hero::after {
	content: "";
	position: absolute;
	right: -100px;
	top: -150px;
	width: 380px;
	height: 380px;
	border-radius: 50%;
	border: 44px solid rgba(169, 139, 240, .14);
	pointer-events: none;
}
.st-acc-hero__inner { position: relative; z-index: 1; display: grid; gap: 10px; }
.st-acc-hero__title { margin: 0; font-size: clamp(28px, 3.2vw, 40px); }
.st-acc-hero__lead { margin: 0; max-width: 640px; color: var(--st-text); font-size: 15.5px; }

.st-acc-page { padding-top: 28px; padding-bottom: 64px; }
.st-acc-page > .woocommerce { font-size: 15px; line-height: 1.6; }

/* ---- Hesabım yerleşimi (giriş yapılmış) ----
   WooCommerce eski float düzeni için kapsayıcıya görünmez ::before/::after ekler; ızgarada hücre
   kaplamasınlar diye kapatılır. Menü 1., içerik 2. sütuna sabitlenir; araya giren diğer her şey tam genişlikte. */
.woocommerce-account .st-acc-page > .woocommerce::before,
.woocommerce-account .st-acc-page > .woocommerce::after,
.woocommerce-checkout form.checkout::before,
.woocommerce-checkout form.checkout::after { content: none !important; display: none !important; }
.woocommerce-account.logged-in .st-acc-page > .woocommerce { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 22px; align-items: start; }
.woocommerce-account.logged-in .st-acc-page > .woocommerce > * { grid-column: 1 / -1; min-width: 0; }
.woocommerce-account.logged-in .st-acc-page > .woocommerce > .woocommerce-MyAccount-navigation { grid-column: 1; }
.woocommerce-account.logged-in .st-acc-page > .woocommerce > .woocommerce-MyAccount-content { grid-column: 2; }
.woocommerce-account .st-acc-page > .woocommerce > .woocommerce-notices-wrapper:empty { display: none; }

.woocommerce-account .woocommerce-MyAccount-navigation {
	float: none !important;
	width: auto !important;
	position: sticky;
	top: 92px;
	padding: 10px;
	border: 1px solid var(--st-border);
	border-radius: var(--st-radius-lg);
	background: #fff;
	box-shadow: var(--st-shadow);
}
.admin-bar.woocommerce-account .woocommerce-MyAccount-navigation { top: 124px; }
.st-acc-user { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; padding: 10px 10px 16px; border-bottom: 1px solid var(--st-border); }
.st-acc-user img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.st-acc-user span { display: grid; min-width: 0; line-height: 1.3; }
.st-acc-user strong { color: var(--st-ink); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-acc-user small { color: var(--st-muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.woocommerce-MyAccount-navigation li { margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation li a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 12px;
	border-radius: 10px;
	color: var(--st-ink);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}
.woocommerce-MyAccount-navigation li a .st-icon { color: var(--st-muted); }
.woocommerce-MyAccount-navigation li a:hover { background: var(--st-primary-50); color: var(--st-primary); }
.woocommerce-MyAccount-navigation li a:hover .st-icon { color: var(--st-primary); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--st-primary); color: #fff; box-shadow: 0 6px 16px rgba(108, 43, 217, .25); }
.woocommerce-MyAccount-navigation li.is-active a .st-icon { color: #fff; }
.woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 6px !important; padding-top: 6px !important; border-top: 1px solid var(--st-border); }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a,
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a .st-icon { color: #b4233f; }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover { background: #fff0f3; }

.woocommerce-account .woocommerce-MyAccount-content {
	float: none !important;
	width: auto !important;
	min-width: 0;
	padding: 26px 28px;
	border: 1px solid var(--st-border);
	border-radius: var(--st-radius-lg);
	background: #fff;
	box-shadow: var(--st-shadow);
}
.woocommerce-MyAccount-content > :first-child { margin-top: 0; }
.woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3 { font-family: var(--st-font-head); font-weight: 600; color: var(--st-ink); }
.woocommerce-MyAccount-content h2 { font-size: 22px; margin: 1.2em 0 .6em; }
.woocommerce-MyAccount-content h3 { font-size: 18px; }
.woocommerce-MyAccount-content p { margin: 0 0 1em; }
.woocommerce-MyAccount-content mark { padding: 1px 6px; border-radius: 6px; background: var(--st-primary-50); color: var(--st-primary); font-weight: 600; }
.woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-MyAccount-content .woocommerce-message { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding: 14px 16px 14px 46px; border-radius: var(--st-radius); }
.woocommerce-MyAccount-content .woocommerce-info::after,
.woocommerce-MyAccount-content .woocommerce-message::after { display: none; }
.woocommerce-MyAccount-content .woocommerce-info .button,
.woocommerce-MyAccount-content .woocommerce-message .button { order: 2; float: none; }

/* Formlar (hesap detayları, adresler) — kart düzeni */
.woocommerce form .form-row { float: none !important; width: auto !important; margin: 0 0 12px; padding: 0; }
.woocommerce form .form-row label { display: block; margin-bottom: 5px; }
.woocommerce form .form-row .required { color: #e0365a; text-decoration: none; }
.woocommerce form .password-input { display: block; position: relative; }
.woocommerce form .show-password-input { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }

/* İçerik alanı zaten kart: formlar kartın içinde düz akar, adresler iç kutu olur. */
.woocommerce-MyAccount-content .woocommerce-Address { padding: 20px 22px; border: 1px solid var(--st-border); border-radius: var(--st-radius); background: #fcfbff; }
.woocommerce-EditAccountForm,
.woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.woocommerce-EditAccountForm > *,
.woocommerce-address-fields__field-wrapper > * { grid-column: 1 / -1; min-width: 0; }
.woocommerce-EditAccountForm .form-row-first,
.woocommerce-address-fields__field-wrapper .form-row-first { grid-column: 1; }
.woocommerce-EditAccountForm .form-row-last,
.woocommerce-address-fields__field-wrapper .form-row-last { grid-column: 2; }
.woocommerce-EditAccountForm > .clear,
.woocommerce-address-fields .clear { display: none; }
.woocommerce-EditAccountForm .form-row,
.woocommerce-address-fields__field-wrapper .form-row,
.woocommerce-EditAccountForm fieldset .form-row { margin: 0 !important; }
.woocommerce-MyAccount-content .form-row label:not(.checkbox) { margin: 0 0 6px; line-height: 1.4; font-size: 13px; font-weight: 600; color: var(--st-ink); }
.woocommerce-EditAccountForm #account_display_name_description,
.woocommerce-EditAccountForm .form-row > span:not(.password-input):not(.woocommerce-input-wrapper),
.woocommerce-EditAccountForm .form-row em { display: block; margin-top: 6px; color: var(--st-muted); font-size: 12.5px; font-style: normal; }

/* Bölüm başlıkları */
.st-form-section { display: flex; gap: 12px; align-items: flex-start; }
.st-form-section__icon { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--st-primary-100); color: var(--st-primary); }
.st-form-section h3 { margin: 0 !important; font-family: var(--st-font-head); font-size: 19px !important; font-weight: 600; color: var(--st-ink); }
.st-form-section p { margin: 2px 0 0 !important; color: var(--st-muted); font-size: 13.5px; }
.woocommerce-EditAccountForm fieldset { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; margin: 6px 0 0; padding: 0; border: 0; border-radius: 0; }
.woocommerce-EditAccountForm fieldset legend { float: left; display: flex; align-items: center; gap: 12px; width: 100%; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--st-border); font-family: var(--st-font-head); font-size: 19px; font-weight: 600; color: var(--st-ink); }
.woocommerce-EditAccountForm fieldset legend::before,
.woocommerce-MyAccount-content form:has(> .woocommerce-address-fields) > h2::before { content: ""; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--st-primary-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c2bd9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / 19px no-repeat; }
.woocommerce-MyAccount-content form:has(> .woocommerce-address-fields) > h2 { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--st-border); }
.woocommerce-MyAccount-content form:has(> .woocommerce-address-fields) > h2::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c2bd9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); }
.woocommerce-EditAccountForm > p:has(> .button),
.woocommerce-MyAccount-content .woocommerce-address-fields > p:has(> .button) { display: flex; justify-content: flex-end; margin: 6px 0 0 !important; padding: 20px 0 0; border-top: 1px solid var(--st-border); }
.woocommerce-MyAccount-content .woocommerce-address-fields > p:has(> .button) { margin-top: 20px !important; }
.woocommerce-MyAccount-content form > h2:first-child,
.woocommerce-MyAccount-content form > h3:first-child { margin: 0 0 18px; font-size: 20px; }

/* Adres kartları */
.woocommerce-MyAccount-content > p:has(+ .woocommerce-Addresses),
.woocommerce-MyAccount-content > p:has(+ .woocommerce-Address) { margin: 0 0 16px; color: var(--st-muted); font-size: 14px; }
.woocommerce .woocommerce-Addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0; }
.woocommerce .woocommerce-Addresses::before, .woocommerce .woocommerce-Addresses::after { display: none !important; }
.woocommerce-MyAccount-content .woocommerce-Address { float: none !important; width: auto !important; max-width: 100%; display: grid; gap: 14px; }
.woocommerce-MyAccount-content > .woocommerce-Address { max-width: 560px; }
.woocommerce-MyAccount-content .woocommerce-Address + .woocommerce-Address { margin-top: 18px; }
.woocommerce .woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 0 0 14px; border-bottom: 1px solid var(--st-border); }
.woocommerce .woocommerce-Address-title::before, .woocommerce .woocommerce-Address-title::after { display: none !important; }
.woocommerce .woocommerce-Address-title h2,
.woocommerce .woocommerce-Address-title h3 { display: flex; align-items: center; gap: 10px; margin: 0 !important; font-size: 19px !important; }
.woocommerce .woocommerce-Address-title h2::before,
.woocommerce .woocommerce-Address-title h3::before { content: ""; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--st-primary-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c2bd9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") center / 18px no-repeat; }
.woocommerce .woocommerce-Address-title a.edit { float: none !important; display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; background: var(--st-primary-50); color: var(--st-primary); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.woocommerce .woocommerce-Address-title a.edit:hover { background: var(--st-primary-100); }
.woocommerce .woocommerce-Address address { margin: 0; padding: 0; border: 0 !important; font-style: normal; line-height: 1.7; color: var(--st-text); }
.woocommerce .woocommerce-Address address p { margin: 4px 0 0; }
.woocommerce .woocommerce-Address address p::before { display: none !important; }

/* Panel */
.st-dash { display: grid; gap: 22px; }
.st-dash__hello h2 { margin: 0 0 4px; font-family: var(--st-font-head); font-size: 26px; font-weight: 600; }
.st-dash__hello p { margin: 0; color: var(--st-text); }
.st-dash__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.st-dash__card {
	display: grid;
	gap: 2px;
	padding: 16px;
	border: 1px solid var(--st-border);
	border-radius: var(--st-radius);
	background: var(--st-bg);
	color: var(--st-text);
	font-size: 13px;
	transition: border-color .2s, transform .2s;
}
.st-dash__card:hover { border-color: var(--st-primary-300); transform: translateY(-2px); color: var(--st-text); }
.st-dash__card strong { font-family: var(--st-font-head); font-size: 26px; font-weight: 700; color: var(--st-ink); line-height: 1.2; }
.st-dash__card--accent { background: var(--st-primary); border-color: var(--st-primary); color: #e9e2fb; }
.st-dash__card--accent strong { color: #fff; }
.st-dash__card--accent .st-dash__icon { color: #fff; background: rgba(255, 255, 255, .15); }
.st-dash__card--accent:hover { color: #fff; }
.st-dash__icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px; border-radius: 12px; background: var(--st-primary-100); color: var(--st-primary); }
.st-dash__section h3 { margin: 0 0 12px; font-family: var(--st-font-head); font-size: 19px; font-weight: 600; }
.st-dash__themes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.st-dash__themes li { display: flex; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--st-border); border-radius: var(--st-radius); }
.st-dash__thumb { flex: none; width: 72px; height: 50px; overflow: hidden; border-radius: 8px; background: var(--st-primary-50); }
.st-dash__thumb img { width: 100%; height: 100%; object-fit: cover; }
.st-dash__theme { display: grid; flex: 1; min-width: 0; }
.st-dash__theme a { color: var(--st-ink); font-weight: 600; }
.st-dash__theme small { color: var(--st-muted); }
.st-dash__dl { min-height: 38px; padding: 6px 14px; font-size: 13px; box-shadow: none; }
.st-dash__empty { padding: 28px; border: 1px dashed var(--st-border); border-radius: var(--st-radius); text-align: center; }
.st-dash__help { padding: 18px 20px; border-radius: var(--st-radius); background: var(--st-primary-50); }
.st-dash__help ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; }

/* Tablolar (siparişler, indirmeler) */
.woocommerce table.shop_table { border: 1px solid var(--st-border); border-radius: var(--st-radius); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.woocommerce table.shop_table th { background: var(--st-primary-50); color: var(--st-ink); font-size: 13px; font-weight: 600; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px 14px; border-color: var(--st-border); }
.woocommerce table.my_account_orders .button,
.woocommerce-table--order-downloads .button,
.woocommerce table.shop_table .woocommerce-MyAccount-downloads-file {
	min-height: 0;
	padding: 7px 14px;
	font-size: 13px;
}

/* Lisanslarım (StylishTheme Mağaza eklentisi) */
.stm-intro { margin: 0 0 16px; padding: 12px 14px; border-radius: var(--st-radius-sm); background: var(--st-primary-50); font-size: 14px; }
.stm-licenses { display: grid; gap: 14px; }
.stm-license { padding: 16px 18px; border: 1px solid var(--st-border); border-radius: var(--st-radius); }
.stm-license.is-disabled { opacity: .6; }
.stm-license__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.stm-license__head h3 { margin: 0; font-size: 16px; }
.stm-tag { padding: 3px 10px; border-radius: 999px; background: var(--st-primary-100); color: var(--st-primary); font-size: 12px; font-weight: 600; white-space: nowrap; }
.stm-tag--off { background: #fde8ec; color: #c0244b; }
.stm-key { display: flex; gap: 8px; align-items: center; padding: 8px 8px 8px 14px; border: 1px dashed var(--st-primary-300); border-radius: var(--st-radius-sm); background: #fbf9ff; }
.stm-key code { flex: 1; min-width: 0; overflow-x: auto; font-size: 15px; letter-spacing: .04em; color: var(--st-ink); background: none; }
.stm-copy { flex: none; padding: 7px 14px; border: 0; border-radius: 8px; background: var(--st-primary); color: #fff; font-size: 12px; font-weight: 600; cursor: pointer; }
.stm-license__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.stm-license__meta dt { font-size: 11.5px; color: var(--st-muted); }
.stm-license__meta dd { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--st-ink); }
.stm-sites { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--st-border); }
.stm-sites li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--st-border); font-size: 13.5px; }
.stm-sites__name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.stm-sites__name small { color: var(--st-muted); }
.stm-sites__ver { color: var(--st-muted); font-size: 12px; }
.stm-sites form { margin: 0; }
.stm-link { border: 0; background: none; color: #c0244b; font-size: 12.5px; cursor: pointer; padding: 4px; }
.stm-sites--empty { margin: 0; font-size: 13px; color: var(--st-muted); }
.stm-empty { padding: 28px; text-align: center; border: 1px dashed var(--st-border); border-radius: var(--st-radius); }
.stm-order-licenses, .stm-contract-copy { margin: 22px 0; }
.stm-order-licenses h2 { font-family: var(--st-font-head); font-size: 20px; }
.stm-order-licenses table { width: 100%; }
.stm-contract-copy { padding: 12px 16px; border: 1px solid var(--st-border); border-radius: var(--st-radius); background: #fff; font-size: 13.5px; }
.stm-contract-copy summary { cursor: pointer; font-weight: 600; color: var(--st-primary); }
.stm-contract-copy > div { max-height: 420px; overflow: auto; margin-top: 12px; }

/* Giriş / kayıt */
.st-login-intro { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.st-login-intro li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--st-border); border-radius: var(--st-radius); background: #fff; font-size: 13px; color: var(--st-text); line-height: 1.45; }
.st-login-intro strong { display: block; margin-bottom: 2px; color: var(--st-ink); font-size: 14px; }
.st-login-intro__icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--st-primary-100); color: var(--st-primary); }
.woocommerce-account:not(.logged-in) .u-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.woocommerce-account:not(.logged-in) .u-columns::before,
.woocommerce-account:not(.logged-in) .u-columns::after { display: none; }
.woocommerce-account:not(.logged-in) .u-column1,
.woocommerce-account:not(.logged-in) .u-column2 {
	float: none !important;
	width: auto !important;
	padding: 26px 28px;
	border: 1px solid var(--st-border);
	border-radius: var(--st-radius-lg);
	background: #fff;
	box-shadow: var(--st-shadow);
}
.woocommerce-account:not(.logged-in) .u-column2 { background: linear-gradient(160deg, #fff 55%, var(--st-primary-50)); }
.woocommerce-account:not(.logged-in) .u-column1 h2,
.woocommerce-account:not(.logged-in) .u-column2 h2,
.woocommerce-account:not(.logged-in) .st-acc-page > .woocommerce > h2 { margin: 0 0 14px; font-family: var(--st-font-head); font-size: 22px; font-weight: 600; color: var(--st-ink); }
.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.lost_reset_password { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none; box-shadow: none; }
.woocommerce-account:not(.logged-in) .st-acc-page > .woocommerce > form.login,
.woocommerce form.lost_reset_password { max-width: 520px; padding: 26px 28px !important; border: 1px solid var(--st-border) !important; border-radius: var(--st-radius-lg) !important; background: #fff; box-shadow: var(--st-shadow); }
.woocommerce form.login .form-row:has(.woocommerce-form-login__submit) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.woocommerce .woocommerce-form-login__rememberme { display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; font-weight: 400 !important; color: var(--st-text) !important; }
.woocommerce form.login .button,
.woocommerce form.register .button,
.woocommerce form.lost_reset_password .button { min-width: 140px; margin: 0 !important; float: none !important; }
.woocommerce .lost_password { margin: 10px 0 0; font-size: 13.5px; }
.woocommerce-privacy-policy-text { font-size: 12.5px; color: var(--st-muted); }
.st-login-note { display: flex; gap: 8px; align-items: flex-start; margin: 18px 0 0; font-size: 13px; color: var(--st-muted); }
.st-login-note .st-icon { color: var(--st-primary); margin-top: 2px; }

/* ---- Ödeme: bkz. dosya sonundaki "Ödeme sayfası" bölümü ---- */

/* ---- Sepet: bkz. dosya sonundaki "Sepet sayfası" bölümü ---- */

/* ---- Teşekkürler ---- */
.woocommerce-order .woocommerce-thankyou-order-received {
	padding: 18px 20px;
	border-radius: var(--st-radius);
	background: #e9f8ef;
	color: #0f5132;
	font-weight: 600;
}
.woocommerce-order ul.order_details { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 18px 0 !important; }
.woocommerce-order ul.order_details::before, .woocommerce-order ul.order_details::after { display: none; }
.woocommerce-order ul.order_details li { float: none; margin: 0; padding: 12px 16px; border: 1px solid var(--st-border) !important; border-radius: var(--st-radius-sm); background: #fff; }

/* ---- Duyarlı ---- */
@media (max-width: 1024px) {
}
@media (max-width: 900px) {
	.woocommerce-account.logged-in .st-acc-page > .woocommerce { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.woocommerce-account.logged-in .st-acc-page > .woocommerce > .woocommerce-MyAccount-navigation,
	.woocommerce-account.logged-in .st-acc-page > .woocommerce > .woocommerce-MyAccount-content { grid-column: 1 / -1; }
	.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { min-width: 0; }
	.woocommerce-account .woocommerce-MyAccount-navigation { position: static; padding: 8px; }
	.st-acc-user { display: none; }
	.woocommerce-MyAccount-navigation ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent); }
	.woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	.woocommerce-MyAccount-navigation li { flex: none; }
	.woocommerce-MyAccount-navigation li a { padding: 9px 12px; white-space: nowrap; }
	.woocommerce-MyAccount-navigation-link--customer-logout { margin: 0 !important; padding: 0 !important; border: 0; }
	.woocommerce-account .woocommerce-MyAccount-content { padding: 20px 16px; }
	.woocommerce-account:not(.logged-in) .u-columns { grid-template-columns: 1fr; }
	.st-login-intro { grid-template-columns: 1fr; }
	.stm-license__meta { grid-template-columns: 1fr 1fr; }
	.st-dash__thumb { display: none; }
	.woocommerce-EditAccountForm, .woocommerce-address-fields__field-wrapper, .woocommerce .woocommerce-Addresses { grid-template-columns: minmax(0, 1fr); }
	.woocommerce-MyAccount-content .woocommerce-Address { padding: 16px; }
	.woocommerce .woocommerce-Address-title { flex-wrap: wrap; }
	.woocommerce-EditAccountForm .form-row-first, .woocommerce-EditAccountForm .form-row-last,
	.woocommerce-address-fields__field-wrapper .form-row-first, .woocommerce-address-fields__field-wrapper .form-row-last { grid-column: 1 / -1; }
}

/* WooCommerce çekirdek stillerine karşı sağlamlaştırma (yükleme sırasından bağımsız) */
.woocommerce form .form-row::before,
.woocommerce form .form-row::after { display: none !important; }
.woocommerce-page .woocommerce a.button,
.woocommerce-page .woocommerce button.button,
.woocommerce-page .woocommerce input.button,
.woocommerce-page .woocommerce a.button.alt,
.woocommerce-page .woocommerce button.button.alt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 22px;
	border: 0;
	border-radius: var(--st-radius-sm);
	background: var(--st-primary);
	color: #fff;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(108, 43, 217, .22);
}
.woocommerce-page .woocommerce a.button:hover,
.woocommerce-page .woocommerce button.button:hover,
.woocommerce-page .woocommerce input.button:hover { background: var(--st-primary-600); color: #fff; }
.woocommerce-page .woocommerce button.button:disabled,
.woocommerce-page .woocommerce button.button.disabled { opacity: .55; cursor: not-allowed; }
.woocommerce-MyAccount-content table.shop_table .button { min-height: 34px; padding: 6px 14px; font-size: 13px; box-shadow: none; margin: 2px; }

/* ==========================================================================
   Ödeme sayfası
   ========================================================================== */
.st-co-hero__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 18px 32px; }
.st-co-hero__text { display: grid; gap: 10px; }
.st-co-steps { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.st-co-steps__item { display: flex; align-items: center; color: var(--st-muted); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.st-co-steps__item + .st-co-steps__item::before { content: ""; width: 38px; height: 2px; margin: 0 10px; border-radius: 2px; background: var(--st-border); }
.st-co-steps__item.is-done + .st-co-steps__item::before { background: var(--st-primary-300); }
.st-co-steps__item a { display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.st-co-steps__item a:hover .st-co-steps__label { color: var(--st-primary); }
.st-co-steps__dot { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 8px; border: 2px solid var(--st-border); border-radius: 50%; background: #fff; font-size: 13px; }
.st-co-steps__item.is-done { color: var(--st-ink); }
.st-co-steps__item.is-done .st-co-steps__dot { border-color: var(--st-primary-100); background: var(--st-primary-100); color: var(--st-primary); }
.st-co-steps__item.is-current { color: var(--st-ink); }
.st-co-steps__item.is-current .st-co-steps__dot { border-color: var(--st-primary); background: var(--st-primary); color: #fff; box-shadow: 0 0 0 4px rgba(108, 43, 217, .15); }

.st-co-page { padding-top: 28px; padding-bottom: 64px; font-size: 15px; line-height: 1.6; }
.st-co-page > .woocommerce::before, .st-co-page > .woocommerce::after { display: none !important; }

/* Kupon / giriş bildirimleri (formun üstünde) */
.st-co-page .woocommerce-form-coupon-toggle .woocommerce-info,
.st-co-page .woocommerce-form-login-toggle .woocommerce-info {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; padding: 12px 16px 12px 44px;
	border: 1px dashed var(--st-primary-300); border-top: 1px dashed var(--st-primary-300) !important; border-radius: var(--st-radius);
	background: var(--st-primary-50); color: var(--st-text); font-size: 14px;
}
.st-co-page .woocommerce-form-coupon-toggle .woocommerce-info::before,
.st-co-page .woocommerce-form-login-toggle .woocommerce-info::before { top: 50%; left: 16px; transform: translateY(-50%); }
.st-co-page .woocommerce-info::after { display: none !important; }
.st-co-page .woocommerce-info a { font-weight: 600; }
.st-co-page form.checkout_coupon,
.st-co-page form.woocommerce-form-login { max-width: 560px; margin: 0 0 18px !important; padding: 18px 20px !important; border: 1px solid var(--st-border) !important; border-radius: var(--st-radius) !important; background: #fff; }
.st-co-page form.checkout_coupon { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.st-co-page form.checkout_coupon > p:first-child { flex: 1 0 100%; margin: 0; font-size: 13.5px; color: var(--st-muted); }
.st-co-page form.checkout_coupon .form-row { flex: 1 1 200px; float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
.st-co-page form.checkout_coupon .form-row-last { flex: 0 0 auto; }
.st-co-page form.checkout_coupon .clear { display: none; }

/* Yerleşim */
.st-co-form { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 18px 28px; align-items: start; }
.st-co-form > * { grid-column: 1 / -1; min-width: 0; }
.st-co-form > .st-co-main { grid-column: 1; }
.st-co-form > .st-co-side { grid-column: 2; position: sticky; top: 92px; display: grid; gap: 14px; }
.st-co-form > .woocommerce-NoticeGroup ul { margin: 0; }
.st-co-main #customer_details { display: grid; gap: 18px; counter-reset: stco; }
.st-co-main #customer_details::before, .st-co-main #customer_details::after { display: none !important; }
.st-co-main #customer_details > .col-1,
.st-co-main #customer_details > .col-2 { float: none !important; width: auto !important; display: grid; gap: 18px; }
.st-co-main #customer_details > .col-2:not(:has(.woocommerce-shipping-fields > *, .woocommerce-additional-fields > *)) { display: none; }
.st-co-main .woocommerce-shipping-fields:not(:has(> *)),
.st-co-main .woocommerce-additional-fields:not(:has(> *)) { display: none; }

/* Kartlar */
.st-co-main .woocommerce-billing-fields,
.st-co-main .woocommerce-account-fields,
.st-co-main .woocommerce-shipping-fields,
.st-co-main .woocommerce-additional-fields,
.st-co-summary {
	padding: 22px 24px; border: 1px solid var(--st-border); border-radius: var(--st-radius-lg); background: #fff; box-shadow: var(--st-shadow);
}
.st-co-main .woocommerce-account-fields { padding: 16px 24px; }
.st-co-main h3,
.st-co-summary #order_review_heading { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; padding: 0; border: 0; background: none; font-family: var(--st-font-head); font-size: 20px; font-weight: 600; color: var(--st-ink); }
.st-co-main .woocommerce-billing-fields > h3::before,
.st-co-main .woocommerce-shipping-fields h3::before,
.st-co-main .woocommerce-additional-fields > h3::before { counter-increment: stco; content: counter(stco); display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--st-primary-100); color: var(--st-primary); font-family: var(--st-font); font-size: 13px; font-weight: 700; }
.st-co-lead { margin: 0 0 18px; color: var(--st-muted); font-size: 13.5px; }

/* Alanlar */
.st-co-main .woocommerce-billing-fields__field-wrapper,
.st-co-main .woocommerce-shipping-fields__field-wrapper,
.st-co-main .woocommerce-additional-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.st-co-main .form-row { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; grid-column: 1 / -1; }
.st-co-main .form-row-first { grid-column: 1; }
.st-co-main .form-row-last { grid-column: 2; }
.st-store-form .woocommerce form .form-row label { line-height: 1.5; }
.st-co-main .form-row label:not(.checkbox) { display: block; margin: 0 0 6px; line-height: 1.4; font-size: 13px; font-weight: 600; color: var(--st-ink); }
.st-store-form .form-row .required { visibility: visible; color: #e0365a; text-decoration: none; border: 0; }
.st-store-form .form-row .optional { color: var(--st-muted); font-weight: 400; }
.st-store-form .woocommerce form .form-row .input-text,
.st-store-form .woocommerce form .form-row select,
.st-store-form .woocommerce form .form-row textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--st-border); border-radius: var(--st-radius-sm); background: #fbfaff; color: var(--st-ink); font-size: 15px; line-height: 1.4; transition: border-color .15s, box-shadow .15s, background .15s; }
.st-co-page .form-row textarea { min-height: 96px; }
.st-store-form .woocommerce form .form-row .input-text:focus,
.st-store-form .woocommerce form .form-row select:focus,
.st-store-form .woocommerce form .form-row textarea:focus { outline: 0; border-color: var(--st-primary-300); background: #fff; box-shadow: 0 0 0 4px rgba(108, 43, 217, .12); }
.st-store-form .woocommerce form .form-row.woocommerce-invalid .input-text,
.st-store-form .woocommerce form .form-row.woocommerce-invalid select { border-color: #e0365a; }
.st-store-form .woocommerce form .form-row.woocommerce-validated .input-text { border-color: var(--st-border); }
.st-store-form .select2-container .select2-selection--single { height: 46px; border: 1px solid var(--st-border); border-radius: var(--st-radius-sm); background: #fbfaff; }
.st-store-form .select2-container .select2-selection--single .select2-selection__rendered { padding: 0 38px 0 14px; line-height: 44px; color: var(--st-ink); }
.st-store-form .select2-container .select2-selection--single .select2-selection__arrow { height: 44px; right: 8px; }
.st-store-form .select2-container--open .select2-selection--single { border-color: var(--st-primary-300); box-shadow: 0 0 0 4px rgba(108, 43, 217, .12); }
.st-store-form label.checkbox,
.st-store-form .woocommerce-form__label-for-checkbox { display: inline-flex !important; align-items: flex-start; gap: 10px; margin: 0; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--st-ink); cursor: pointer; }
.st-store-form input[type="checkbox"],
.st-store-form input[type="radio"] { flex: none; width: 18px; height: 18px; margin: 2px 0 0 !important; accent-color: var(--st-primary); }
.st-co-main .woocommerce-account-fields .create-account { margin: 0 !important; }
.st-co-main .woocommerce-account-fields div.create-account { display: grid; gap: 14px; margin-top: 10px !important; }
.st-co-main .woocommerce-account-fields div.create-account p { margin: 0; color: var(--st-muted); font-size: 13.5px; }
.st-co-main .woocommerce-account-fields div.create-account .clear { display: none; }

/* Sipariş özeti */
.st-co-summary #order_review_heading { margin-bottom: 14px; }
.st-co-summary #order_review { padding: 0; border: 0; box-shadow: none; background: none; }
.st-co-summary table.shop_table { margin: 0 0 18px !important; border: 0 !important; border-radius: 0; overflow: visible; font-size: 14.5px; }
.st-co-summary table.shop_table thead { display: none; }
.st-co-summary table.shop_table th,
.st-co-summary table.shop_table td { padding: 12px 0 !important; border: 0 !important; border-top: 1px solid var(--st-border) !important; background: none !important; vertical-align: middle; }
.st-co-summary table.shop_table tbody tr:first-child td { border-top: 0 !important; padding-top: 0 !important; }
.st-co-summary table.shop_table td.product-total,
.st-co-summary table.shop_table tfoot td { text-align: right; font-weight: 600; color: var(--st-ink); white-space: nowrap; }
.st-co-summary table.shop_table td.product-name { color: var(--st-ink); font-weight: 600; line-height: 1.35; }
.st-co-item { display: inline-flex; align-items: center; gap: 12px; vertical-align: middle; }
.st-co-item__img { flex: none; width: 64px !important; height: 48px !important; object-fit: cover; border: 1px solid var(--st-border); border-radius: 8px; }
.st-co-summary .product-quantity { margin-left: 4px; color: var(--st-muted); font-weight: 500; font-size: 13px; }
.st-co-summary table.shop_table tfoot th { color: var(--st-text); font-weight: 500; font-size: 14px; text-align: left; }
.st-co-summary table.shop_table tfoot .order-total th,
.st-co-summary table.shop_table tfoot .order-total td { padding-top: 14px !important; border-top: 1px dashed var(--st-primary-300) !important; }
.st-co-summary table.shop_table tfoot .order-total th { color: var(--st-ink); font-weight: 700; font-size: 16px; }
.st-co-summary table.shop_table tfoot .order-total td { color: var(--st-primary); font-size: 22px; font-weight: 700; }
.st-co-summary table.shop_table tfoot .order-total td small { display: block; color: var(--st-muted); font-size: 12px; font-weight: 400; }

/* Ödeme yöntemleri */
.st-co-summary #payment { margin: 0; padding: 0; border-radius: 0; background: transparent !important; }
.st-co-summary #payment ul.payment_methods { display: grid; gap: 10px; margin: 0 0 16px !important; padding: 0 !important; border: 0 !important; list-style: none; }
.st-co-summary #payment ul.payment_methods::before,
.st-co-summary #payment ul.payment_methods::after { display: none !important; }
.st-co-summary #payment ul.payment_methods > li { margin: 0 !important; padding: 12px 14px !important; border: 1px solid var(--st-border); border-radius: var(--st-radius-sm); background: #fff; line-height: 1.4 !important; transition: border-color .15s, background .15s; }
.st-co-summary #payment ul.payment_methods > li:has(> input:checked) { border-color: var(--st-primary); background: var(--st-primary-50); box-shadow: 0 0 0 3px rgba(108, 43, 217, .08); }
.st-co-summary #payment ul.payment_methods > li > input { vertical-align: middle; margin: 0 8px 0 0 !important; }
.st-co-summary #payment ul.payment_methods > li > label { display: inline; margin: 0; font-weight: 600; font-size: 14.5px; color: var(--st-ink); cursor: pointer; }
.st-co-summary #payment ul.payment_methods > li img { max-height: 24px; margin: 0 0 0 6px !important; vertical-align: middle; }
.st-co-summary #payment ul.payment_methods li.woocommerce-notice,
.st-co-summary #payment ul.payment_methods li.woocommerce-info { padding: 12px 14px 12px 40px !important; background: var(--st-primary-50); font-size: 13.5px; }
.st-co-summary #payment div.payment_box { margin: 10px 0 0 !important; padding: 10px 12px !important; border-radius: 8px; background: #fff !important; color: var(--st-text) !important; font-size: 13px !important; }
.st-co-summary #payment div.payment_box::before { display: none !important; }
.st-co-summary #payment div.payment_box p:last-child { margin-bottom: 0; }
.st-co-summary #payment div.form-row,
.st-co-summary #payment .place-order { margin: 0 !important; padding: 0 !important; }
.st-co-summary .woocommerce-terms-and-conditions-wrapper { margin: 0 0 12px; }
.st-co-summary .woocommerce-privacy-policy-text p { margin: 0 0 12px; font-size: 12.5px; line-height: 1.5; color: var(--st-muted); }
.st-co-summary .stm-consents { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--st-radius-sm); background: var(--st-bg); }
.st-co-summary .stm-consent label { font-size: 13px !important; font-weight: 400 !important; color: var(--st-text) !important; }
.st-co-summary #place_order { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px; margin: 0 !important; float: none !important; border-radius: var(--st-radius); font-size: 16.5px; font-weight: 700; box-shadow: 0 10px 24px rgba(108, 43, 217, .28); }
.st-co-summary #place_order:hover { background: var(--st-primary-600); }
.st-co-summary .blockUI.blockOverlay { border-radius: var(--st-radius); }

/* Güven kutusu */
.st-co-trust { display: grid; gap: 12px; margin: 0; padding: 16px 18px; border: 1px solid var(--st-border); border-radius: var(--st-radius-lg); background: rgba(255, 255, 255, .6); list-style: none; }
.st-co-trust li { display: flex; gap: 12px; align-items: flex-start; }
.st-co-trust__icon { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--st-primary-100); color: var(--st-primary); }
.st-co-trust strong { display: block; color: var(--st-ink); font-size: 14px; }
.st-co-trust p { margin: 2px 0 0; color: var(--st-muted); font-size: 12.5px; line-height: 1.45; }

/* Sipariş alındı */
.st-co-page--received .woocommerce-order { max-width: 880px; margin: 0 auto; display: grid; gap: 18px; }
.st-co-page--received .woocommerce-order > * { margin: 0 !important; }
.st-co-page--received .woocommerce-thankyou-order-received { padding: 18px 20px 18px 52px; position: relative; border: 1px solid #bfe8cf; }
.st-co-page--received .woocommerce-thankyou-order-received::before { content: "✓"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #1f9d55; color: #fff; font-size: 13px; }
.st-co-page--received ul.order_details { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 0 !important; }
.st-co-page--received ul.order_details li { border-right: 0 !important; font-size: 12px; text-transform: none; color: var(--st-muted); }
.st-co-page--received ul.order_details li strong { display: block; margin-top: 4px; color: var(--st-ink); font-size: 15px; }
.st-co-page--received section { padding: 22px 24px; border: 1px solid var(--st-border); border-radius: var(--st-radius-lg); background: #fff; box-shadow: var(--st-shadow); }
.st-co-page--received section h2 { margin: 0 0 14px; font-family: var(--st-font-head); font-size: 20px; }
.st-co-page--received section table.shop_table { margin: 0; }
.st-co-page--received .woocommerce-customer-details address { padding: 0; border: 0; font-style: normal; }

@media (max-width: 1024px) {
	.st-co-hero__inner { grid-template-columns: minmax(0, 1fr); }
	.st-co-form { grid-template-columns: minmax(0, 1fr); }
	.st-co-form > .st-co-main, .st-co-form > .st-co-side { grid-column: 1 / -1; position: static; }
}
@media (max-width: 600px) {
	.st-co-steps__item + .st-co-steps__item::before { width: 16px; margin: 0 6px; }
	.st-co-steps__label { font-size: 12.5px; }
	.st-co-steps__dot { width: 26px; height: 26px; margin-right: 6px; }
	.st-co-main .woocommerce-billing-fields__field-wrapper,
	.st-co-main .woocommerce-shipping-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); }
	.st-co-main .form-row-first, .st-co-main .form-row-last { grid-column: 1 / -1; }
	.st-co-main .woocommerce-billing-fields, .st-co-main .woocommerce-account-fields, .st-co-summary { padding: 18px 16px; border-radius: var(--st-radius); }
}
@media (max-width: 420px) {
	.st-co-steps__item:not(.is-current) .st-co-steps__label { display: none; }
}

/* ==========================================================================
   Sepet sayfası
   ========================================================================== */
.st-cart-page > .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-rows: auto auto 1fr auto; gap: 18px 28px; align-items: start; }
.st-cart-page > .woocommerce > * { grid-column: 1 / -1; min-width: 0; margin: 0 !important; }
.st-cart-page > .woocommerce > .woocommerce-cart-form { grid-column: 1; grid-row: 2 / span 2; }
.st-cart-page > .woocommerce > .cart-collaterals { display: contents; }
.st-cart-page .cart-collaterals::before, .st-cart-page .cart-collaterals::after { display: none !important; }
.st-cart-page .cart-collaterals > .cart_totals { grid-column: 2; grid-row: 2; float: none !important; width: auto !important; }
.st-cart-page .cart-collaterals > .cross-sells { grid-column: 1 / -1; grid-row: 4; float: none !important; width: auto !important; }
.st-cart-page > .woocommerce > .st-co-trust { grid-column: 2; grid-row: 3; }
.st-cart-page .woocommerce-notices-wrapper:empty { display: none; }

/* Ürün listesi kartı */
.st-cart-page .woocommerce-cart-form { padding: 22px 24px; border: 1px solid var(--st-border); border-radius: var(--st-radius-lg); background: #fff; box-shadow: var(--st-shadow); }
.st-cart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.st-cart-head h2 { margin: 0; font-family: var(--st-font-head); font-size: 20px; font-weight: 600; color: var(--st-ink); }
.st-cart-head__count { padding: 3px 10px; border-radius: 999px; background: var(--st-primary-100); color: var(--st-primary); font-size: 12.5px; font-weight: 700; }
.st-cart-page table.cart { margin: 0 !important; border: 0 !important; border-radius: 0; overflow: visible; font-size: 15px; }
.st-cart-page table.cart thead th { padding: 10px 8px !important; border: 0 !important; border-bottom: 1px solid var(--st-border) !important; background: none !important; color: var(--st-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.st-cart-page table.cart td { padding: 16px 8px !important; border: 0 !important; border-top: 1px solid var(--st-border) !important; background: none !important; vertical-align: middle; }
.st-cart-page table.cart tbody tr.cart_item:first-child td { border-top: 0 !important; }
.st-cart-page table.cart .product-remove { width: 36px; }
.st-cart-page table.cart a.remove { display: grid !important; place-items: center; width: 30px !important; height: 30px !important; border: 1px solid var(--st-border); border-radius: 50% !important; background: #fff; color: var(--st-muted) !important; font-size: 20px !important; font-weight: 400 !important; line-height: 1 !important; text-decoration: none; transition: .15s; }
.st-cart-page table.cart a.remove:hover { border-color: #e0365a; background: #fff0f3 !important; color: #e0365a !important; }
.st-cart-page table.cart .product-thumbnail { width: 112px; }
.st-cart-page table.cart .product-thumbnail img { display: block; width: 96px !important; height: 72px; object-fit: cover; border: 1px solid var(--st-border); border-radius: 10px; }
.st-cart-page table.cart .product-name a { color: var(--st-ink); font-weight: 600; text-decoration: none; }
.st-cart-page table.cart .product-name a:hover { color: var(--st-primary); }
.st-cart-page table.cart .product-name dl.variation { margin: 4px 0 0; color: var(--st-muted); font-size: 13px; }
.st-cart-page table.cart .product-price { color: var(--st-text); white-space: nowrap; }
.st-cart-page table.cart .product-subtotal { text-align: right; color: var(--st-ink); font-weight: 700; white-space: nowrap; }
.st-cart-page table.cart thead .product-subtotal { text-align: right; }
.st-cart-page table.cart .quantity .qty { width: 72px; min-height: 40px; padding: 6px 8px; border: 1px solid var(--st-border); border-radius: var(--st-radius-sm); text-align: center; }
/* Temalar tek adet satılır: sayı kutusu yoksa adet sütunu ve "Sepeti güncelle" gizlenir. */
.st-cart-page .woocommerce-cart-form:not(:has(input.qty[type="number"])) .product-quantity,
.st-cart-page .woocommerce-cart-form:not(:has(input.qty[type="number"])) button[name="update_cart"] { display: none !important; }
.st-cart-page .woocommerce-cart-form:not(:has(input.qty[type="number"])):not(:has(.coupon)) td.actions { display: none !important; }
.st-cart-page table.cart td.actions { padding: 16px 0 0 !important; text-align: right; }
.st-cart-page table.cart td.actions .coupon { display: flex; gap: 8px; float: left; }
.st-cart-page table.cart td.actions .coupon label { display: none; }
.st-cart-page table.cart td.actions .coupon .input-text { width: 190px !important; min-height: 44px; margin: 0 !important; padding: 8px 14px !important; border: 1px solid var(--st-border) !important; border-radius: var(--st-radius-sm); background: #fbfaff; font-size: 14px; }
.st-cart-page table.cart td.actions .coupon .button,
.st-cart-page table.cart td.actions > .button { background: var(--st-primary-50) !important; color: var(--st-primary) !important; box-shadow: none; }
.st-cart-page table.cart td.actions .button:disabled { opacity: .5; }

/* Toplam kartı */
.st-cart-page .cart_totals { padding: 22px 24px; border: 1px solid var(--st-border); border-radius: var(--st-radius-lg); background: #fff; box-shadow: var(--st-shadow); }
.st-cart-page .cart_totals h2 { margin: 0 0 12px; font-family: var(--st-font-head); font-size: 20px; font-weight: 600; color: var(--st-ink); }
.st-cart-page .cart_totals table.shop_table { margin: 0 0 18px !important; border: 0 !important; border-radius: 0; overflow: visible; }
.st-cart-page .cart_totals table.shop_table th,
.st-cart-page .cart_totals table.shop_table td { padding: 12px 0 !important; border: 0 !important; border-top: 1px solid var(--st-border) !important; background: none !important; }
.st-cart-page .cart_totals table.shop_table tr:first-child th,
.st-cart-page .cart_totals table.shop_table tr:first-child td { border-top: 0 !important; }
.st-cart-page .cart_totals table.shop_table th { width: auto !important; color: var(--st-text); font-weight: 500; font-size: 14px; text-align: left; }
.st-cart-page .cart_totals table.shop_table td { text-align: right; color: var(--st-ink); font-weight: 600; }
.st-cart-page .cart_totals table.shop_table td::before { display: none !important; }
.st-cart-page .cart_totals .order-total th,
.st-cart-page .cart_totals .order-total td { padding-top: 14px !important; border-top: 1px dashed var(--st-primary-300) !important; }
.st-cart-page .cart_totals .order-total th { color: var(--st-ink); font-weight: 700; font-size: 16px; }
.st-cart-page .cart_totals .order-total td { color: var(--st-primary); font-size: 22px; font-weight: 700; }
.st-cart-page .cart_totals .order-total td small { display: block; color: var(--st-muted); font-size: 12px; font-weight: 400; }
.st-cart-page .wc-proceed-to-checkout { display: grid; gap: 12px; padding: 0 !important; }
.st-cart-page .wc-proceed-to-checkout a.checkout-button { display: flex !important; align-items: center; justify-content: center; width: 100%; min-height: 54px; margin: 0 !important; padding: 12px 20px !important; border-radius: var(--st-radius) !important; background: var(--st-primary) !important; color: #fff !important; font-size: 16.5px !important; font-weight: 700; box-shadow: 0 10px 24px rgba(108, 43, 217, .28); }
.st-cart-page .wc-proceed-to-checkout a.checkout-button:hover { background: var(--st-primary-600) !important; }
.st-cart-continue { display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--st-text); font-size: 14px; font-weight: 600; text-decoration: none; }
.st-cart-continue:hover { color: var(--st-primary); }

/* Çapraz satış */
.st-cart-page .cross-sells > h2 { margin: 8px 0 14px; font-family: var(--st-font-head); font-size: 22px; }

/* Boş sepet */
.st-cart-page > .woocommerce:has(.st-cart-empty) { display: block; max-width: 560px; margin: 8px auto 0; padding: 40px 32px 36px; border: 1px solid var(--st-border); border-radius: var(--st-radius-lg); background: #fff; box-shadow: var(--st-shadow); text-align: center; }
.st-cart-empty { display: grid; justify-items: center; gap: 10px; }
.st-cart-empty__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--st-primary-100); color: var(--st-primary); }
.st-cart-empty h2 { margin: 6px 0 0; font-family: var(--st-font-head); font-size: 26px; color: var(--st-ink); }
.st-cart-empty p { max-width: 400px; margin: 0; color: var(--st-muted); font-size: 15px; }
.st-cart-page .return-to-shop { margin: 22px 0 0 !important; }
.st-cart-page .return-to-shop .button { min-width: 200px; justify-content: center; }

@media (max-width: 1024px) {
	.st-cart-page > .woocommerce { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
	.st-cart-page > .woocommerce > .woocommerce-cart-form,
	.st-cart-page .cart-collaterals > .cart_totals,
	.st-cart-page .cart-collaterals > .cross-sells,
	.st-cart-page > .woocommerce > .st-co-trust { grid-column: 1; grid-row: auto; position: static; }
}
@media (max-width: 768px) {
	.st-cart-page .woocommerce-cart-form { padding: 16px; }
	.st-cart-page table.cart thead { display: none; }
	.st-cart-page table.cart, .st-cart-page table.cart tbody { display: block; width: 100%; }
	.st-cart-page table.cart tr.cart_item { position: relative; display: grid !important; grid-template-columns: 84px minmax(0, 1fr); gap: 4px 12px; padding: 14px 40px 14px 0; border-top: 1px solid var(--st-border); }
	.st-cart-page table.cart tr.cart_item:first-of-type { border-top: 0; }
	.st-cart-page table.cart tr.cart_item td { display: block !important; padding: 0 !important; border: 0 !important; text-align: left !important; }
	.st-cart-page table.cart tr.cart_item td::before { display: none !important; }
	.st-cart-page table.cart tr.cart_item .product-thumbnail { display: block !important; grid-row: 1 / span 3; width: auto; }
	.st-cart-page table.cart tr.cart_item .product-thumbnail img { width: 84px !important; height: 63px; }
	.st-cart-page table.cart tr.cart_item .product-remove { position: absolute; top: 14px; right: 0; width: auto; }
	.st-cart-page table.cart tr.cart_item .product-name,
	.st-cart-page table.cart tr.cart_item .product-price,
	.st-cart-page table.cart tr.cart_item .product-quantity,
	.st-cart-page table.cart tr.cart_item .product-subtotal { grid-column: 2; }
	.st-cart-page table.cart tr.cart_item .product-price { display: none !important; }
	.st-cart-page table.cart tr:not(.cart_item) { display: block; }
	.st-cart-page table.cart td.actions { display: block; padding-top: 14px !important; }
	.st-cart-page table.cart td.actions .coupon { float: none; margin-bottom: 10px; }
	.st-cart-page table.cart td.actions .coupon .input-text { flex: 1 1 auto; min-width: 0; width: auto !important; }
	.st-cart-page table.cart td.actions .coupon .button { flex: none; padding: 10px 14px !important; white-space: nowrap; }
	.st-cart-page .cart_totals { padding: 18px 16px; }
}
.woocommerce .woocommerce-Addresses { align-items: start; }
.woocommerce .woocommerce-Addresses .woocommerce-Address + .woocommerce-Address { margin-top: 0; }
.woocommerce .woocommerce-Address-title { flex-wrap: wrap; }
.woocommerce .woocommerce-Address-title h2,
.woocommerce .woocommerce-Address-title h3 { white-space: nowrap; }
.woocommerce form .form-row label:not(.checkbox):not(.woocommerce-form__label-for-checkbox) { font-size: 13px; font-weight: 600; color: var(--st-ink); }
/* Son ürün kaldırılınca gelen "… kaldırıldı. Geri al?" bildirimi boş sepet kartının içinde */
.st-cart-page > .woocommerce:has(.st-cart-empty) > .woocommerce-notices-wrapper:not(:empty) { margin: 0 0 22px !important; text-align: left; }
.st-cart-page > .woocommerce:has(.st-cart-empty) .woocommerce-message { margin: 0; padding: 12px 16px 12px 44px; border: 1px solid #bfe8cf; border-top-color: #bfe8cf !important; border-radius: var(--st-radius-sm); background: #eefaf3; color: #0f5132; font-size: 14px; }
.st-cart-page > .woocommerce:has(.st-cart-empty) .woocommerce-message::before { top: 50%; transform: translateY(-50%); color: #1f9d55 !important; }
.st-cart-page > .woocommerce:has(.st-cart-empty) .woocommerce-message a { font-weight: 600; }
.st-cart-page .st-cart-empty.cart-empty { margin: 0; padding: 0; border: 0; background: none; }
.st-cart-page .st-cart-empty.cart-empty::before { display: none; }

/* ==========================================================================
   Hesabım > Destek (StylishTheme Mağaza eklentisi: stm-sp-*)
   ========================================================================== */
.st-acc-nav__badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: auto; padding: 0 6px; border-radius: 999px; background: #e0365a; color: #fff; font-size: 11.5px; font-style: normal; font-weight: 700; }
.woocommerce-MyAccount-navigation li.is-active .st-acc-nav__badge { background: #fff; color: var(--st-primary); }

.stm-sp { display: grid; gap: 18px; }
.stm-sp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.stm-sp-head h3 { margin: 0 0 4px; font-family: var(--st-font-head); font-size: 22px; }
.stm-sp-head p { max-width: 520px; margin: 0; color: var(--st-muted); font-size: 14px; }
.stm-sp-head .stm-sp-new { flex: none; }
.stm-sp-back { justify-self: start; color: var(--st-text); font-size: 14px; font-weight: 600; text-decoration: none; }
.stm-sp-back:hover { color: var(--st-primary); }

/* Liste */
.stm-sp-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.stm-sp-item a { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--st-border); border-radius: var(--st-radius); background: #fff; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.stm-sp-item a:hover { border-color: var(--st-primary-300); box-shadow: var(--st-shadow); transform: translateY(-1px); }
.stm-sp-item.is-unread a { border-left: 4px solid var(--st-primary); }
.stm-sp-item__main { display: grid; gap: 3px; min-width: 0; flex: 1; }
.stm-sp-item__no { color: var(--st-primary); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.stm-sp-item__title { overflow: hidden; color: var(--st-ink); font-size: 15.5px; text-overflow: ellipsis; white-space: nowrap; }
.stm-sp-item__meta { color: var(--st-muted); font-size: 13px; }

.stm-sp-badge { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.stm-sp-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stm-sp-badge--open { background: #fff4e5; color: #a15c00; }
.stm-sp-badge--answered { background: #e7f6ec; color: #16794a; }
.stm-sp-badge--closed { background: #eef0f3; color: #5b6170; }

.stm-sp-empty { display: grid; justify-items: center; gap: 8px; padding: 40px 20px; border: 1px dashed var(--st-primary-300); border-radius: var(--st-radius-lg); background: var(--st-primary-50); text-align: center; }
.stm-sp-empty__icon { width: 60px; height: 60px; border-radius: 50%; background: var(--st-primary-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c2bd9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 14v-3a9 9 0 0 1 18 0v3'/%3E%3Crect x='2' y='14' width='5' height='7' rx='2'/%3E%3Crect x='17' y='14' width='5' height='7' rx='2'/%3E%3C/svg%3E") center / 26px no-repeat; }
.stm-sp-empty strong { color: var(--st-ink); font-size: 17px; }
.stm-sp-empty p { max-width: 420px; margin: 0 0 8px; color: var(--st-muted); font-size: 14px; }

/* Form */
.stm-sp-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.stm-sp-form > * { grid-column: 1 / -1; min-width: 0; }
.stm-sp-form > .form-row-first { grid-column: 1; }
.stm-sp-form > .form-row-last { grid-column: 2; }
.stm-sp .form-row { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
.stm-sp .form-row label { display: block; margin: 0 0 6px; color: var(--st-ink); font-size: 13px; font-weight: 600; line-height: 1.4; }
.st-store-form .woocommerce .stm-sp select,
.st-store-form .woocommerce .stm-sp textarea,
.st-store-form .woocommerce .stm-sp input.input-text { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--st-border); border-radius: var(--st-radius-sm); background: #fbfaff; color: var(--st-ink); font-size: 15px; line-height: 1.5; }
.st-store-form .woocommerce .stm-sp textarea { min-height: 150px; resize: vertical; }
.st-store-form .woocommerce .stm-sp select:focus,
.st-store-form .woocommerce .stm-sp textarea:focus,
.st-store-form .woocommerce .stm-sp input.input-text:focus { outline: 0; border-color: var(--st-primary-300); background: #fff; box-shadow: 0 0 0 4px rgba(108, 43, 217, .12); }
.stm-sp-files input[type="file"] { width: 100%; padding: 10px; border: 1px dashed var(--st-primary-300); border-radius: var(--st-radius-sm); background: var(--st-primary-50); font-size: 13.5px; }
.stm-sp-files input[type="file"]::file-selector-button { margin-right: 10px; padding: 6px 12px; border: 0; border-radius: 8px; background: var(--st-primary); color: #fff; font-weight: 600; cursor: pointer; }
.stm-sp-files small { display: block; margin-top: 6px; color: var(--st-muted); font-size: 12.5px; }
.stm-sp-tips { padding: 14px 18px; border-radius: var(--st-radius); background: var(--st-primary-50); color: var(--st-text); font-size: 13.5px; }
.stm-sp-tips strong { color: var(--st-ink); }
.stm-sp-tips ul { margin: 6px 0 0; padding-left: 18px; }
.stm-sp-tips li { margin: 2px 0; }
.stm-sp-actions { display: flex; justify-content: flex-end; margin: 0; padding-top: 16px; border-top: 1px solid var(--st-border); }

/* Talep detayı */
.stm-sp-ticket-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--st-border); }
.stm-sp-ticket-head h3 { margin: 2px 0 4px; font-family: var(--st-font-head); font-size: 22px; line-height: 1.25; }
.stm-sp-ticket-meta { margin: 0; color: var(--st-muted); font-size: 13.5px; }
.stm-sp-thread { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.stm-sp-msg { display: flex; gap: 12px; align-items: flex-start; }
.stm-sp-msg--customer { flex-direction: row-reverse; }
.stm-sp-msg__avatar { flex: none; width: 38px; height: 38px; overflow: hidden; border-radius: 50%; background: var(--st-primary-100); }
.stm-sp-msg__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.stm-sp-msg__bubble { max-width: min(560px, 85%); padding: 14px 16px; border: 1px solid var(--st-border); border-radius: 16px; background: #fff; }
.stm-sp-msg--customer .stm-sp-msg__bubble { border-color: #ddd0fb; border-top-right-radius: 4px; background: var(--st-primary-50); }
.stm-sp-msg--staff .stm-sp-msg__bubble { border-top-left-radius: 4px; box-shadow: var(--st-shadow); }
.stm-sp-msg__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 6px; font-size: 13px; }
.stm-sp-msg__head strong { color: var(--st-ink); }
.stm-sp-msg__head time { color: var(--st-muted); font-size: 12px; }
.stm-sp-msg__tag { padding: 1px 8px; border-radius: 999px; background: var(--st-primary); color: #fff; font-size: 11px; font-weight: 600; }
.stm-sp-msg__body { color: var(--st-text); font-size: 14.5px; line-height: 1.65; overflow-wrap: anywhere; }
.stm-sp-msg__body p { margin: 0 0 8px; }
.stm-sp-msg__body p:last-child { margin: 0; }
.stm-sp-msg__files { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.stm-sp-msg__files a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--st-border); border-radius: 8px; background: #fff; color: var(--st-ink); font-size: 12.5px; text-decoration: none; }
.stm-sp-msg__files a:hover { border-color: var(--st-primary-300); color: var(--st-primary); }
.stm-sp-msg__files small { color: var(--st-muted); }

.stm-sp-reply { display: grid; gap: 14px; padding: 18px 20px; border: 1px solid var(--st-border); border-radius: var(--st-radius); background: #fcfbff; }
.stm-sp-reply h4 { margin: 0; font-family: var(--st-font-head); font-size: 18px; }
.stm-sp-reply .stm-sp-actions { padding-top: 0; border-top: 0; }
.stm-sp-note { margin: 0; padding: 10px 14px; border-radius: var(--st-radius-sm); background: #eef0f3; color: #4b5160; font-size: 13.5px; }
.stm-sp-close { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; color: var(--st-muted); font-size: 13.5px; }
.stm-sp-link { padding: 0; border: 0; background: none; color: var(--st-primary); font-weight: 600; text-decoration: underline; cursor: pointer; }
.stm-sp-link:hover { color: var(--st-primary-600); }

@media (max-width: 600px) {
	.stm-sp-head, .stm-sp-ticket-head { flex-direction: column; }
	.stm-sp-form { grid-template-columns: minmax(0, 1fr); }
	.stm-sp-form > .form-row-first, .stm-sp-form > .form-row-last { grid-column: 1 / -1; }
	.stm-sp-item a { flex-wrap: wrap; gap: 8px; }
	.stm-sp-item__title { white-space: normal; }
	.stm-sp-msg__bubble { max-width: 100%; }
	.stm-sp-msg__avatar { display: none; }
}

/* İndirme butonu (ikonlu) */
.woocommerce a.st-dl-btn,
.woocommerce table.shop_table a.st-dl-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: var(--st-radius-sm); background: var(--st-primary); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; box-shadow: 0 6px 16px rgba(108, 43, 217, .22); transition: background .15s, transform .15s; }
.woocommerce a.st-dl-btn:hover { background: var(--st-primary-600); color: #fff; transform: translateY(-1px); }
.woocommerce a.st-dl-btn svg { flex: none; }
.st-co-page--received .woocommerce-order-downloads td.download-file { text-align: right; }
.st-co-page--received .woocommerce-order-downloads th.download-file { text-align: right; }
@media (max-width: 768px) {
	.st-co-page--received .woocommerce-order-downloads td.download-file { text-align: left; }
	.woocommerce table.shop_table_responsive td.download-file a.st-dl-btn { margin-top: 4px; }
}

/* ==========================================================================
   Hesabım > Favorilerim
   ========================================================================== */
.st-favs { display: grid; gap: 18px; }
.st-favs__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.st-favs__head h3 { margin: 0 0 4px; font-family: var(--st-font-head); font-size: 22px; }
.st-favs__head p { margin: 0; color: var(--st-muted); font-size: 14px; }
.st-favs__count { flex: none; padding: 4px 12px; border-radius: 999px; background: #fff0f3; color: #e0365a; font-size: 13px; font-weight: 700; }
.st-favs .st-results__grid { gap: 16px; }
.st-favs .st-hcard { box-shadow: none; }
.st-favs .st-hcard:hover { box-shadow: var(--st-shadow); }
.st-favs__empty { display: grid; justify-items: center; gap: 8px; padding: 44px 20px; border: 1px dashed #f5c2cf; border-radius: var(--st-radius-lg); background: #fff7f9; text-align: center; }
.st-favs__empty[hidden] { display: none; }
.st-favs__empty-icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: #ffe3ea; color: #e0365a; }
.st-favs__empty-icon svg { fill: currentColor; }
.st-favs__empty strong { color: var(--st-ink); font-size: 17px; }
.st-favs__empty p { max-width: 420px; margin: 0 0 8px; color: var(--st-muted); font-size: 14px; }
@media (min-width: 1181px) {
	.woocommerce-account .st-favs .st-results__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.st-favs__head { flex-direction: column; }
}
.woocommerce-MyAccount-content .st-favs .st-hcard__title { margin: 0; font-family: var(--st-font); font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.st-favs__count[hidden] { display: none; }
