/* WinnerScript - Urun detay / shop (2026) */

.ws-shop-panel {
	padding: 36px 0 48px;
}

.ws-shop-panel .container {
	max-width: 1140px;
}

#subheader + .ws-shop-panel {
	margin-top: 0;
}

.ws-shop-top {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.8125rem;
	gap: 8px;
	justify-content: space-between;
	margin-bottom: 24px;
}

.ws-shop-breadcrumb {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ws-shop-breadcrumb a {
	color: var(--ws-text-muted, #9199b0);
	text-decoration: none;
	transition: color 0.2s ease;
}

.ws-shop-breadcrumb a:hover {
	color: var(--ws-accent, #8364e2);
}

.ws-shop-breadcrumb span {
	color: rgba(145, 153, 176, 0.5);
}

.ws-shop-breadcrumb strong {
	color: var(--ws-text-heading, #f4f6fc);
	font-weight: 600;
}

.ws-shop-back {
	align-items: center;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--ws-border, rgba(255, 255, 255, 0.08));
	border-radius: var(--ws-radius-pill, 999px);
	color: var(--ws-text-muted, #9199b0);
	display: inline-flex;
	font-size: 0.8125rem;
	font-weight: 600;
	gap: 6px;
	padding: 8px 14px;
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.ws-shop-back:hover {
	background: rgba(var(--secondary-color-rgb, 131, 100, 226), 0.08);
	border-color: rgba(var(--secondary-color-rgb, 131, 100, 226), 0.25);
	color: var(--ws-accent, #8364e2);
}

/* Ana grid */

.ws-shop-layout {
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
	margin-bottom: 36px;
}

/* Urun karti */

.ws-shop-product {
	background: var(--ws-surface, #191c30);
	border: 1px solid var(--ws-border, rgba(255, 255, 255, 0.08));
	border-radius: var(--ws-radius-lg, 16px);
	box-shadow: var(--ws-shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.18));
	overflow: hidden;
}

.ws-shop-product__media {
	align-items: center;
	background: rgba(255, 255, 255, 0.02);
	border-bottom: 1px solid var(--ws-border, rgba(255, 255, 255, 0.08));
	display: flex;
	justify-content: center;
	min-height: 280px;
	padding: 32px 24px;
}

.ws-shop-product__media img {
	display: block;
	height: auto;
	max-height: 260px;
	max-width: 100%;
	object-fit: contain;
}

.ws-shop-product__stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

.ws-shop-product__stat {
	border-right: 1px solid var(--ws-border, rgba(255, 255, 255, 0.08));
	padding: 16px 12px;
	text-align: center;
}

.ws-shop-product__stat:last-child {
	border-right: 0;
}

.ws-shop-product__stat strong {
	color: var(--ws-text-heading, #f4f6fc);
	display: block;
	font-size: 1.125rem;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 4px;
}

.ws-shop-product__stat strong i {
	color: var(--ws-accent, #8364e2);
	font-size: 1rem;
}

.ws-shop-product__stat span {
	color: var(--ws-text-muted, #9199b0);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ws-shop-product__body {
	padding: 28px;
}

.ws-shop-product__eyebrow {
	color: var(--ws-accent, #8364e2);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.ws-shop-product__title {
	color: var(--ws-text-heading, #f4f6fc);
	font-size: clamp(1.5rem, 2.5vw, 1.875rem);
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 8px;
}

.ws-shop-product__subtitle {
	color: var(--ws-text-muted, #9199b0);
	font-size: 0.9375rem;
	line-height: 1.6;
	margin: 0 0 18px;
}

.ws-shop-product__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.ws-shop-pill {
	align-items: center;
	border-radius: var(--ws-radius-pill, 999px);
	display: inline-flex;
	font-size: 0.75rem;
	font-weight: 700;
	gap: 6px;
	padding: 6px 11px;
}

.ws-shop-pill--ok {
	background: rgba(62, 207, 142, 0.1);
	border: 1px solid rgba(62, 207, 142, 0.24);
	color: var(--ws-success, #3ecf8e);
}

.ws-shop-pill--bad {
	background: rgba(239, 100, 100, 0.1);
	border: 1px solid rgba(239, 100, 100, 0.24);
	color: var(--ws-danger, #ef6464);
}

.ws-shop-pill--muted {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--ws-border, rgba(255, 255, 255, 0.08));
	color: var(--ws-text-muted, #9199b0);
}

.ws-shop-pill--accent {
	background: rgba(var(--secondary-color-rgb, 131, 100, 226), 0.12);
	border: 1px solid rgba(var(--secondary-color-rgb, 131, 100, 226), 0.28);
	color: var(--ws-accent, #8364e2);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ws-shop-description {
	border-top: 1px solid var(--ws-border, rgba(255, 255, 255, 0.08));
	color: var(--ws-text, #dce1f0);
	font-size: 0.9375rem;
	line-height: 1.75;
	padding-top: 22px;
}

.ws-shop-description__title {
	color: var(--ws-text-heading, #f4f6fc);
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 14px;
}

.ws-shop-description p:last-child {
	margin-bottom: 0;
}

.ws-shop-description ul,
.ws-shop-description ol {
	margin: 0 0 1rem;
	padding-left: 1.25rem;
}

.ws-shop-description li {
	margin-bottom: 0.35rem;
}

/* Satinalma karti */

.ws-shop-buy {
	position: relative;
}

.ws-shop-buy__card {
	background: var(--ws-surface, #191c30);
	border: 1px solid var(--ws-border, rgba(255, 255, 255, 0.08));
	border-radius: var(--ws-radius-lg, 16px);
	box-shadow: var(--ws-shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.18));
	overflow: hidden;
	position: sticky;
	top: 100px;
}

.ws-shop-buy__head {
	border-bottom: 1px solid var(--ws-border, rgba(255, 255, 255, 0.08));
	padding: 20px 24px;
}

.ws-shop-buy__head-top {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 14px;
}

.ws-shop-buy__label {
	color: var(--ws-text-muted, #9199b0);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ws-shop-buy__status {
	background: rgba(62, 207, 142, 0.1);
	border: 1px solid rgba(62, 207, 142, 0.22);
	border-radius: var(--ws-radius-pill, 999px);
	color: var(--ws-success, #3ecf8e);
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1;
	padding: 5px 10px;
}

.ws-shop-price__row {
	align-items: flex-end;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	justify-content: space-between;
}

.ws-shop-price__now {
	color: var(--ws-text-heading, #f4f6fc);
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
}

.ws-shop-price__now small {
	color: var(--ws-accent, #8364e2);
	font-size: 1.125rem;
}

.ws-shop-price__meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ws-shop-price__old {
	color: var(--ws-text-muted, #9199b0);
	font-size: 0.9375rem;
	text-decoration: line-through;
}

.ws-shop-price__badge {
	background: rgba(var(--secondary-color-rgb, 131, 100, 226), 0.12);
	border: 1px solid rgba(var(--secondary-color-rgb, 131, 100, 226), 0.28);
	border-radius: var(--ws-radius-pill, 999px);
	color: var(--ws-accent, #8364e2);
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	padding: 5px 12px;
	text-transform: uppercase;
	white-space: nowrap;
}

.ws-shop-buy__savings {
	align-items: flex-start;
	background: rgba(62, 207, 142, 0.08);
	border: 1px solid rgba(62, 207, 142, 0.16);
	border-radius: var(--ws-radius-sm, 8px);
	display: flex;
	font-size: 0.8125rem;
	gap: 8px;
	line-height: 1.5;
	margin-top: 12px;
	padding: 10px 12px;
}

.ws-shop-buy__savings i {
	color: var(--ws-success, #3ecf8e);
	flex-shrink: 0;
	margin-top: 2px;
}

.ws-shop-buy__savings span {
	color: var(--ws-text-muted, #9199b0);
}

.ws-shop-buy__savings strong {
	color: var(--ws-success, #3ecf8e);
	font-weight: 700;
}

.ws-shop-buy__balance {
	align-items: center;
	border-top: 1px solid var(--ws-border, rgba(255, 255, 255, 0.06));
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-top: 14px;
	padding-top: 14px;
}

.ws-shop-buy__balance-main {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.ws-shop-buy__balance-main span {
	color: var(--ws-text-muted, #9199b0);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ws-shop-buy__balance-main strong {
	color: var(--ws-text-heading, #f4f6fc);
	font-size: 1rem;
	font-weight: 800;
}

.ws-shop-buy__balance.is-ok .ws-shop-buy__balance-main strong {
	color: var(--ws-success, #3ecf8e);
}

.ws-shop-buy__balance.is-low .ws-shop-buy__balance-main strong {
	color: #ffcaca;
}

.ws-shop-buy__balance-link {
	color: var(--ws-accent, #8364e2);
	flex-shrink: 0;
	font-size: 0.8125rem;
	font-weight: 700;
	text-decoration: none;
}

.ws-shop-buy__balance-link:hover {
	color: var(--ws-accent-hover, #9478e8);
}

.ws-shop-buy__hint {
	color: var(--ws-text-muted, #9199b0);
	font-size: 0.8125rem;
	line-height: 1.5;
	margin: 12px 0 0;
}

.ws-shop-buy__body {
	padding: 20px 24px;
}

.ws-shop-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ws-shop-alert {
	border-radius: var(--ws-radius-sm, 8px);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.45;
	padding: 10px 12px;
}

.ws-shop-alert--success {
	background: rgba(62, 207, 142, 0.1);
	border: 1px solid rgba(62, 207, 142, 0.22);
	color: var(--ws-success, #3ecf8e);
}

.ws-shop-alert--danger {
	background: rgba(239, 100, 100, 0.1);
	border: 1px solid rgba(239, 100, 100, 0.22);
	color: #ffcaca;
}

.ws-shop-field {
	margin: 0;
}

.ws-shop-field label {
	color: var(--ws-text-muted, #9199b0);
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	margin-bottom: 6px;
}

.ws-shop-field input,
.ws-shop-field select,
.ws-shop-field textarea {
	background: var(--ws-bg-elevated, #121528);
	border: 1px solid var(--ws-border, rgba(255, 255, 255, 0.08));
	border-radius: var(--ws-radius-sm, 8px);
	box-sizing: border-box;
	color: var(--ws-text-heading, #f4f6fc);
	font-size: 0.9375rem;
	margin: 0;
	min-height: 46px;
	padding: 12px 14px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
}

.ws-shop-field input:focus,
.ws-shop-field select:focus,
.ws-shop-field textarea:focus {
	border-color: rgba(var(--secondary-color-rgb, 131, 100, 226), 0.45);
	box-shadow: 0 0 0 3px rgba(var(--secondary-color-rgb, 131, 100, 226), 0.12);
	outline: none;
}

.ws-shop-field textarea {
	min-height: 72px;
	resize: vertical;
}

.ws-shop-coupon-row {
	display: grid;
	gap: 8px;
	grid-template-columns: minmax(0, 1fr) auto;
}

.ws-shop-coupon-btn {
	align-items: center;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--ws-border-strong, rgba(255, 255, 255, 0.14));
	border-radius: var(--ws-radius-sm, 8px);
	box-sizing: border-box;
	color: var(--ws-text-heading, #f4f6fc);
	cursor: pointer;
	display: inline-flex;
	font-size: 0.8125rem;
	font-weight: 600;
	gap: 6px;
	justify-content: center;
	margin: 0;
	min-height: 46px;
	padding: 0 14px;
	transition: background 0.2s ease, border-color 0.2s ease;
	white-space: nowrap;
}

.ws-shop-coupon-btn:hover {
	background: rgba(var(--secondary-color-rgb, 131, 100, 226), 0.12);
	border-color: rgba(var(--secondary-color-rgb, 131, 100, 226), 0.3);
}

.ws-shop-submit {
	margin-top: 2px;
}

.ws-shop-buy .btn-main,
.ws-shop-buy button.btn-main {
	align-items: center;
	display: inline-flex;
	gap: 8px;
	justify-content: center;
	min-height: 48px;
	width: 100%;
}

.ws-shop-submit .btn-main[disabled],
.ws-shop-submit button[disabled] {
	opacity: 0.5;
}

.ws-shop-guest__actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ws-shop-guest__actions .btn-main,
.ws-shop-guest__actions .ws-btn-ghost {
	align-items: center;
	display: inline-flex;
	gap: 8px;
	justify-content: center;
	min-height: 48px;
	width: 100%;
}

.ws-shop-guest__actions .ws-btn-ghost {
	background: transparent;
	border: 1px solid var(--ws-border-strong, rgba(255, 255, 255, 0.14));
	border-radius: var(--ws-radius-sm, 8px);
	color: var(--ws-text-heading, #f4f6fc);
	font-size: 0.875rem;
	font-weight: 600;
	padding: 12px 16px;
	text-decoration: none;
	transition: background 0.2s ease;
}

.ws-shop-guest__actions .ws-btn-ghost:hover {
	background: rgba(255, 255, 255, 0.04);
}

.ws-shop-buy__foot {
	border-top: 1px solid var(--ws-border, rgba(255, 255, 255, 0.08));
	padding: 14px 24px 16px;
}

.ws-shop-buy__trust {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.ws-shop-buy__trust span {
	align-items: center;
	color: var(--ws-text-muted, #9199b0);
	display: flex;
	font-size: 0.75rem;
	gap: 8px;
	line-height: 1.4;
}

.ws-shop-buy__trust i {
	color: var(--ws-accent, #8364e2);
	flex-shrink: 0;
	font-size: 0.8125rem;
	text-align: center;
	width: 14px;
}

/* Alt icerik */

.ws-shop-below {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 36px;
}

.ws-shop-section {
	background: var(--ws-surface, #191c30);
	border: 1px solid var(--ws-border, rgba(255, 255, 255, 0.08));
	border-radius: var(--ws-radius-lg, 16px);
	padding: 26px;
}

.ws-shop-section--related {
	margin-top: 0;
}

.ws-shop-section__head {
	margin-bottom: 20px;
}

.ws-shop-section__head h3 {
	color: var(--ws-text-heading, #f4f6fc);
	font-size: 1.125rem;
	font-weight: 800;
	margin: 0 0 6px;
}

.ws-shop-section__head p {
	color: var(--ws-text-muted, #9199b0);
	font-size: 0.875rem;
	line-height: 1.5;
	margin: 0;
}

/* Adimlar */

.ws-shop-steps {
	display: grid;
	gap: 12px;
}

.ws-shop-step {
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--ws-border, rgba(255, 255, 255, 0.06));
	border-radius: var(--ws-radius-md, 12px);
	display: grid;
	gap: 4px;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	padding: 14px 16px;
}

.ws-shop-step__num {
	align-items: center;
	background: rgba(var(--secondary-color-rgb, 131, 100, 226), 0.15);
	border-radius: var(--ws-radius-sm, 8px);
	color: var(--ws-accent, #8364e2);
	display: flex;
	font-size: 0.8125rem;
	font-weight: 800;
	grid-row: span 2;
	height: 36px;
	justify-content: center;
	margin-right: 12px;
	width: 36px;
}

.ws-shop-step strong {
	color: var(--ws-text-heading, #f4f6fc);
	font-size: 0.9375rem;
	font-weight: 700;
}

.ws-shop-step span {
	color: var(--ws-text-muted, #9199b0);
	font-size: 0.8125rem;
	line-height: 1.5;
}

/* SSS */

.ws-shop-faq {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ws-shop-faq__item {
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--ws-border, rgba(255, 255, 255, 0.06));
	border-radius: var(--ws-radius-md, 12px);
	padding: 14px 16px;
}

.ws-shop-faq__item strong {
	color: var(--ws-text-heading, #f4f6fc);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	margin-bottom: 6px;
}

.ws-shop-faq__item p {
	color: var(--ws-text-muted, #9199b0);
	font-size: 0.8125rem;
	line-height: 1.6;
	margin: 0;
}

/* Ilgili urunler */

.ws-shop-related {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ws-shop-related__item {
	align-items: center;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--ws-border, rgba(255, 255, 255, 0.06));
	border-radius: var(--ws-radius-md, 12px);
	display: flex;
	gap: 12px;
	padding: 12px;
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.ws-shop-related__item:hover {
	background: rgba(var(--secondary-color-rgb, 131, 100, 226), 0.06);
	border-color: rgba(var(--secondary-color-rgb, 131, 100, 226), 0.22);
	transform: translateY(-2px);
}

.ws-shop-related__thumb {
	align-items: center;
	background: rgba(255, 255, 255, 0.03);
	border-radius: var(--ws-radius-sm, 8px);
	display: flex;
	flex-shrink: 0;
	height: 56px;
	justify-content: center;
	overflow: hidden;
	width: 56px;
}

.ws-shop-related__thumb img {
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.ws-shop-related__info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.ws-shop-related__info strong {
	color: var(--ws-text-heading, #f4f6fc);
	font-size: 0.875rem;
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ws-shop-related__info em {
	color: var(--ws-accent, #8364e2);
	font-size: 0.8125rem;
	font-style: normal;
	font-weight: 700;
}

/* Modal */

.ws-shop-modal .modal-content {
	background: var(--ws-surface, #191c30);
	border: 1px solid var(--ws-border-strong, rgba(255, 255, 255, 0.14));
	border-radius: var(--ws-radius-lg, 16px);
}

.ws-shop-modal .modal-header {
	border-bottom: 1px solid var(--ws-border, rgba(255, 255, 255, 0.08));
	padding: 18px 22px;
}

.ws-shop-modal .modal-title {
	color: var(--ws-text-heading, #f4f6fc);
	font-size: 1rem;
	font-weight: 700;
}

.ws-shop-modal .modal-body {
	padding: 20px 22px 22px;
}

.ws-shop-modal .close {
	color: var(--ws-text-heading, #f4f6fc);
	opacity: 0.7;
	text-shadow: none;
}

/* Responsive */

@media (max-width: 991px) {
	.ws-shop-layout {
		grid-template-columns: 1fr;
	}

	.ws-shop-buy__card {
		position: static;
	}

	.ws-shop-below {
		grid-template-columns: 1fr;
	}

	.ws-shop-related {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 575px) {
	.ws-shop-product__body,
	.ws-shop-buy__head,
	.ws-shop-buy__body,
	.ws-shop-buy__foot,
	.ws-shop-section {
		padding-left: 16px;
		padding-right: 16px;
	}

	.ws-shop-coupon-row {
		grid-template-columns: 1fr;
	}

	.ws-shop-product__media {
		min-height: 240px;
		padding: 24px 16px;
	}

	.ws-shop-product__stat {
		padding: 12px 8px;
	}

	.ws-shop-product__stat strong {
		font-size: 1rem;
	}
}
