/* Blue — inner pages */
.panel {
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	margin-bottom: 20px;
	box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
	overflow: hidden;
}

.panel__body { padding: 1.25rem 1.5rem; }

.prime-container,
.blue-page {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.prime-page { padding: 8px 0 32px; }

.prime-page__title {
	margin: 0 0 1rem;
	font-size: 1.75rem;
	font-weight: 700;
	color: #17345f;
}

.prime-page__subtitle {
	margin: 0 0 1rem;
	font-size: 1.05rem;
	font-weight: 600;
	color: #2d2d2d;
}

.prime-page__label {
	margin: 0 0 4px;
	font-size: 12px;
	color: #7a8a95;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.prime-page__value {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
	color: #2d2d2d;
}

.prime-page__hint {
	margin: 0.75rem 0 0;
	font-size: 13px;
	color: #7a8a95;
}

.page-card,
.prime-page-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 1.25rem 1.5rem;
	margin-bottom: 1rem;
	box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
}

.prime-page-card--soft { background: #f8fafc; }

.prime-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 18px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
}

.prime-btn--primary { background: #17345f; color: #fff; }
.prime-btn--primary:hover { background: #122a4a; color: #fff; }
.prime-btn--accent { background: #f58220; color: #fff; }
.prime-btn--accent:hover { background: #e06e12; color: #fff; }
.prime-btn--outline { background: #fff; border-color: #e2e8f0; color: #17345f; }
.prime-btn--outline:hover { border-color: #17345f; color: #17345f; }
.prime-btn--sm { padding: 7px 12px; font-size: 12px; }

.prime-empty {
	text-align: center;
	padding: 48px 20px;
	color: #7a8a95;
}

.prime-empty i {
	font-size: 40px;
	color: #e2e8f0;
	margin-bottom: 12px;
	display: block;
}

.prime-list-row,
.prime-list-card {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #e2e8f0;
}

.prime-list-card { padding: 1rem 1.25rem; margin-bottom: 12px; border: 1px solid #e2e8f0; border-radius: 10px; }

.prime-track-form__row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.prime-track-form__row .form-control { flex: 1; min-width: 200px; }

.prime-promo-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.prime-promo-cards__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.prime-promo-cards__item i {
	font-size: 1.5rem;
	color: #f58220;
	margin-top: 2px;
}

.checkout-success .success-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto;
	border-radius: 50%;
	background: #16a34a;
	color: #fff;
	font-size: 2rem;
	line-height: 64px;
	font-weight: 700;
}

/* Auth */
.auth-page { padding: 8px 0 24px; }

.auth-aside {
	background: linear-gradient(135deg, #17345f, #213c8b);
	color: #fff;
}

.auth-aside__title { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.auth-aside__text { opacity: 0.9; line-height: 1.6; }
.auth-aside__list { margin: 16px 0 0; padding-left: 18px; }
.auth-aside__list li { margin-bottom: 8px; }

.auth-card .page-heading,
.page-heading { font-size: 1.5rem; font-weight: 700; color: #17345f; }
.auth-card__subtitle { color: #7a8a95; margin-bottom: 1rem; }
.auth-password-wrap { position: relative; }
.auth-password-wrap .form-control { padding-right: 2.75rem; }
.auth-password-toggle {
	position: absolute;
	right: 10px;
	top: 50%;
	z-index: 3;
	transform: translateY(-50%);
	border: none;
	background: transparent;
	color: #64748b;
	padding: 4px;
	line-height: 0;
	cursor: pointer;
	border-radius: 6px;
	pointer-events: auto;
}
.auth-password-toggle svg {
	pointer-events: none;
	display: block;
}
.auth-password-toggle:hover {
	color: #17345f;
	background: rgba(15, 23, 42, 0.05);
}
.auth-password-hint {
	color: #64748b;
	font-size: 0.8125rem;
	margin-top: 0.35rem;
}
.auth-switch a { font-weight: 600; }

/* Account */
.dress-account { padding-bottom: 24px; }
.dress-account__title { font-size: 1.75rem; font-weight: 700; color: #17345f; margin-bottom: 1rem; }

.dress-account-sidebar {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 1rem;
}

.dress-account-profile { text-align: center; padding-bottom: 1rem; border-bottom: 1px solid #e2e8f0; margin-bottom: 1rem; }
.dress-account-avatar {
	width: 64px; height: 64px; border-radius: 50%;
	background: #17345f; color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 1.5rem; font-weight: 700; margin-bottom: 8px;
}

.dress-account-nav { display: flex; flex-direction: column; gap: 4px; }
.dress-account-nav__item {
	display: flex; align-items: center; gap: 10px;
	width: 100%; padding: 10px 12px;
	border: none; background: transparent; border-radius: 8px;
	color: #2d2d2d; text-decoration: none; font-size: 14px; text-align: left;
}
.dress-account-nav__item:hover,
.dress-account-nav__item.is-active { background: #f1f5f9; color: #17345f; }
.dress-account-nav__badge {
	margin-left: auto; background: #f58220; color: #fff;
	font-size: 11px; padding: 2px 8px; border-radius: 999px;
}

.dress-account-logout {
	display: flex; align-items: center; gap: 8px; width: 100%;
	margin-top: 12px; padding: 10px 12px;
	border: 1px solid #e2e8f0; border-radius: 8px;
	background: #fff; color: #dc3545; font-weight: 600;
}

.dress-account-panel { display: none; }
.dress-account-panel.is-active { display: block; }

.dress-account-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-bottom: 1rem;
}

.dress-account-stat {
	display: flex; align-items: center; gap: 10px;
	padding: 12px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff;
}

.dress-account-stat__label { display: block; font-size: 12px; color: #7a8a95; }
.dress-account-stat__value { font-size: 1.25rem; font-weight: 700; color: #17345f; }

.dress-account-welcome {
	background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px;
	padding: 1rem; margin-bottom: 1.25rem; line-height: 1.6;
}

.dress-account-section-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; color: #17345f; }
.dress-account-card {
	background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
	padding: 1rem; margin-bottom: 12px;
}

.dress-account-card__head {
	display: flex; justify-content: space-between; align-items: flex-start;
	gap: 12px; margin-bottom: 8px; flex-wrap: wrap;
}

.dress-account-address-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.dress-account-empty { color: #7a8a95; padding: 24px; text-align: center; }
.notification-item.is-unread { border-left: 3px solid #f58220; }
.btn-submit { background: #17345f; color: #fff; border: none; }
.btn-submit:hover { background: #122a4a; color: #fff; }

.account-order-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.account-order-filter {
	display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px;
	border: 1px solid #e5e9ef; background: #fff; color: #17345f; text-decoration: none; font-size: 14px;
}
.account-order-filter.is-active, .account-order-filter:hover {
	background: #f58220; border-color: #f58220; color: #fff;
}
.account-order-card {
	background: #fff; border: 1px solid #eef2f6; border-radius: 12px; margin-bottom: 16px; overflow: hidden;
}
.account-order-card__meta { padding: 16px 18px; background: #fafbfc; border-bottom: 1px solid #eef2f6; }
.account-order-card__total { color: #f58220; }
.account-order-detail-btn { background: #f58220; border-color: #f58220; color: #fff; }
.account-order-detail-btn:hover { background: #e06e12; border-color: #e06e12; color: #fff; }
.account-order-card__body {
	display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; padding: 16px 18px;
}
.account-order-card__thumb img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid #eef2f6; }
.account-order-status--success { color: #198754; font-weight: 600; }
.account-order-status--return { color: #7c3aed; font-weight: 600; }
.account-order-status--cancel { color: #dc3545; font-weight: 600; }
.account-review-btn { border: 1px solid #f58220; color: #f58220; font-weight: 600; }
.account-review-btn:hover { background: #f58220; color: #fff; }
@media (max-width: 767px) {
	.account-order-card__body { grid-template-columns: 1fr; text-align: center; }
	.account-order-card__actions { justify-self: center; }
}

.license-key-box {
	border: 2px solid #f59e0b;
	border-radius: 14px;
	background: linear-gradient(165deg, #fffbeb 0%, #fff 55%);
	padding: 14px 16px;
}
.license-key-box__head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}
.license-key-box__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 10px;
	background: #f59e0b;
	color: #fff;
	flex-shrink: 0;
}
.license-key-box__title {
	font-size: 0.95rem;
	font-weight: 800;
	color: #92400e;
	letter-spacing: 0.01em;
}
.license-key-box__list { display: grid; gap: 8px; }
.license-key-row {
	display: flex;
	align-items: stretch;
	gap: 0;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #fcd34d;
	background: #1e293b;
}
.license-key-row__value {
	flex: 1;
	min-width: 0;
	margin: 0;
	padding: 12px 14px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #fde68a;
	word-break: break-all;
	background: transparent;
	border: 0;
}
.license-key-row__copy {
	flex-shrink: 0;
	border: 0;
	border-left: 1px solid rgba(252, 211, 77, 0.35);
	background: #f59e0b;
	color: #1c1917;
	font-size: 0.82rem;
	font-weight: 800;
	padding: 0 16px;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}
.license-key-row__copy:hover { background: #d97706; color: #fff; }
.license-key-row__copy.is-copied {
	background: #16a34a;
	color: #fff;
}
.license-key-box__hint {
	margin-top: 10px;
	font-size: 12px;
	color: #a16207;
}
@media (max-width: 575.98px) {
	.license-key-row { flex-direction: column; }
	.license-key-row__copy {
		border-left: 0;
		border-top: 1px solid rgba(252, 211, 77, 0.35);
		padding: 10px 14px;
	}
}

/* Checkout */
.checkout-page { padding-bottom: 48px; }

.checkout-page__hero {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: 24px;
}

.checkout-page__title {
	margin: 0 0 6px;
	font-size: 1.85rem;
	font-weight: 800;
	color: #17345f;
	letter-spacing: -0.02em;
}

.checkout-page__lead {
	margin: 0;
	color: #64748b;
	font-size: 0.95rem;
}

.checkout-page__alert { border-radius: 10px; }

.checkout-steps {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.checkout-steps__item {
	font-size: 13px;
	font-weight: 600;
	color: #94a3b8;
}

.checkout-steps__item.is-done { color: #17345f; }
.checkout-steps__item.is-active { color: #f58220; }

.checkout-steps__sep {
	width: 28px;
	height: 2px;
	background: #e2e8f0;
	border-radius: 2px;
}

.checkout-auth { margin-bottom: 20px; }

.checkout-auth__title {
	margin: 0 0 12px;
	font-size: 0.9rem;
	font-weight: 600;
	color: #475569;
}

.checkout-auth__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.checkout-auth-card {
	position: relative;
	background: #fff;
	border: 2px solid #e2e8f0;
	border-radius: 14px;
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 100%;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.checkout-auth-card.is-active {
	border-color: #17345f;
	box-shadow: 0 8px 28px -8px rgba(23, 52, 95, 0.22);
}

.checkout-auth-card__badge {
	position: absolute;
	top: 12px;
	right: 12px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #17345f;
	background: #e8eef7;
	padding: 4px 8px;
	border-radius: 999px;
}

.checkout-auth-card__icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	margin-bottom: 12px;
}

.checkout-auth-card__icon--member { background: #eef2ff; color: #4338ca; }
.checkout-auth-card__icon--guest { background: #fff4e8; color: #f58220; }

.checkout-auth-card__title {
	margin: 0 0 8px;
	font-size: 1rem;
	font-weight: 700;
	color: #17345f;
	line-height: 1.35;
}

.checkout-auth-card__text {
	margin: 0 0 16px;
	font-size: 13px;
	color: #64748b;
	line-height: 1.5;
	flex: 1;
}

.checkout-auth-card__sub {
	display: block;
	margin-top: 10px;
	font-size: 13px;
	color: #64748b;
	text-align: center;
	width: 100%;
}

.checkout-member-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	background: linear-gradient(135deg, #17345f 0%, #1e4a7a 100%);
	color: #fff;
	border-radius: 14px;
	padding: 14px 18px;
	margin-bottom: 20px;
}

.checkout-member-bar__icon {
	font-size: 1.4rem;
	color: #86efac;
}

.checkout-member-bar strong {
	display: block;
	font-size: 12px;
	opacity: 0.85;
	font-weight: 600;
}

.checkout-member-bar span { font-size: 15px; font-weight: 700; }

.checkout-member-bar__link {
	margin-left: auto;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 8px;
}

.checkout-member-bar__link:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.checkout-section {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	margin-bottom: 16px;
	overflow: hidden;
	box-shadow: 0 4px 20px -8px rgba(15, 23, 42, 0.08);
}

.checkout-section__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
}

.checkout-section__head h2 {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	flex: 1;
	color: #17345f;
}

.checkout-section__login {
	margin-left: auto;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 14px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #fff;
	color: #0f172a;
	font-size: 0.875rem;
	font-weight: 700;
	cursor: pointer;
}

.checkout-section__login:hover {
	border-color: #94a3b8;
	background: #f8fafc;
	color: #0f172a;
}

.checkout-section__step {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #17345f;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.checkout-section__head h2 small {
	font-weight: 500;
	color: #94a3b8;
	font-size: 0.85em;
}

.checkout-section--billing > .checkout-section__head {
	list-style: none;
	cursor: pointer;
	user-select: none;
}

.checkout-section--billing > .checkout-section__head::-webkit-details-marker,
.checkout-section--billing > .checkout-section__head::marker {
	display: none;
	content: '';
}

.checkout-section--billing:not([open]) > .checkout-section__head {
	border-bottom: none;
}

.checkout-section--billing:not([open]) > *:not(summary) {
	display: none;
}

.checkout-section__chevron {
	margin-left: auto;
	flex-shrink: 0;
	color: #64748b;
	transition: transform 0.2s ease;
}

.checkout-section--billing[open] > .checkout-section__head .checkout-section__chevron {
	transform: rotate(180deg);
}

.checkout-section__body { padding: 20px; }

.checkout-section__hint {
	margin: 0 0 14px;
	font-size: 13px;
	color: #64748b;
}

.checkout-fields .form-label {
	font-size: 13px;
	font-weight: 600;
	color: #475569;
}

.checkout-fields .form-control,
.checkout-section .form-control {
	border-radius: 10px;
	border-color: #e2e8f0;
	padding: 10px 12px;
}

.checkout-fields .form-control:focus,
.checkout-section .form-control:focus {
	border-color: #17345f;
	box-shadow: 0 0 0 3px rgba(23, 52, 95, 0.12);
}

.checkout-address-option {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 16px;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	margin-bottom: 10px;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}

.checkout-address-option:has(input:checked) {
	border-color: #17345f;
	background: #f8fbff;
}

.checkout-address-option input { margin-top: 4px; flex-shrink: 0; }

.checkout-address-option__content strong {
	display: block;
	color: #17345f;
	margin-bottom: 4px;
}

.checkout-address-option__tag {
	display: inline-block;
	margin-left: 6px;
	font-size: 11px;
	font-weight: 700;
	color: #17345f;
	background: #e8eef7;
	padding: 2px 8px;
	border-radius: 999px;
}

.checkout-address-option__meta {
	display: block;
	font-size: 13px;
	color: #64748b;
	line-height: 1.45;
}

.checkout-payment-list { display: grid; gap: 10px; }

.checkout-payment-card,
.checkout-payment-list .payment-option label {
	display: block;
	cursor: pointer;
	margin: 0;
}

.checkout-payment-card input,
.checkout-payment-list .payment-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.checkout-payment-card__body,
.checkout-payment-list .payment-option label > span,
.checkout-payment-list .payment-option label {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 16px 18px;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	transition: border-color 0.2s, background 0.2s;
	width:100%
}

.checkout-payment-list .payment-option label {
	width: 100%;
}

.checkout-payment-card:has(input:checked) .checkout-payment-card__body,
.checkout-payment-list .payment-option:has(input:checked) label,
.checkout-payment-list .payment-option:has(input:checked) label > span {
	border-color: #17345f;
	background: #f8fbff;
}

.checkout-payment-card__icon {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: #eef2ff;
	color: #17345f;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	flex-shrink: 0;
}

.checkout-payment-card strong,
.checkout-payment-list .payment-option strong {
	display: block;
	color: #17345f;
	margin-bottom: 2px;
}

.checkout-payment-card small,
.checkout-payment-list .payment-option small {
	display: block;
	color: #64748b;
	font-size: 12px;
	line-height: 1.4;
}

.checkout-terms {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 18px 0;
	font-size: 13px;
	color: #475569;
}

.checkout-terms a,
.checkout-legal-link {
	color: #17345f;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.checkout-terms a:hover,
.checkout-legal-link:hover {
	color: #f58220;
}

.checkout-legal-modal .modal-content {
	border: none;
	border-radius: 16px;
	overflow: hidden;
}

.checkout-legal-modal .modal-header {
	padding: 16px 20px;
	border-bottom: 1px solid #e2e8f0;
}

.checkout-legal-modal .modal-title {
	font-weight: 700;
	color: #17345f;
}

.checkout-legal-modal .modal-body {
	padding: 20px;
	font-size: 0.95rem;
	line-height: 1.65;
	color: #334155;
}

.checkout-legal-modal .modal-body h2,
.checkout-legal-modal .modal-body h3 {
	font-size: 1rem;
	font-weight: 700;
	color: #17345f;
	margin: 1.25rem 0 0.5rem;
}

.checkout-legal-modal .modal-body p,
.checkout-legal-modal .modal-body ul {
	margin-bottom: 0.75rem;
}

.checkout-legal-modal .modal-footer {
	border-top: 1px solid #e2e8f0;
	padding: 12px 20px;
}

.checkout-submit {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	border: none;
	border-radius: 12px;
	background: linear-gradient(135deg, #f58220 0%, #e06e12 100%);
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.15s, box-shadow 0.15s;
}

.checkout-submit:hover {
	transform: translateY(-1px);
	color: #fff;
}

.checkout-submit:disabled,
.checkout-submit:disabled:hover {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
}

.checkout-submit strong { font-size: 1.1rem; }

.checkout-secure {
	margin: 12px 0 0;
	text-align: center;
	font-size: 12px;
	color: #94a3b8;
}

.checkout-secure i { margin-right: 4px; color: #16a34a; }

.checkout-summary {
	position: sticky;
	top: 55px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 12px 40px -12px rgba(15, 23, 42, 0.15);
}

.checkout-summary__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	background: linear-gradient(135deg, #17345f 0%, #1e4a7a 100%);
	color: #fff;
}

.checkout-summary__head h2 {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
}

.checkout-summary__count {
	font-size: 12px;
	opacity: 0.85;
}

.checkout-summary__items {
	padding: 12px 16px;
	max-height: 280px;
	overflow-y: auto;
}

.checkout-summary__item {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid #f1f5f9;
}

.checkout-summary__item:last-child { border-bottom: none; }

.checkout-summary__thumb {
	position: relative;
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	border-radius: 10px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
}

.checkout-summary__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.checkout-summary__qty {
	position: absolute;
	top: -6px;
	right: -6px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: #17345f;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.checkout-summary__info {
	flex: 1;
	min-width: 0;
	display: flex;
	justify-content: space-between;
	gap: 8px;
	align-items: flex-start;
}

.checkout-summary__name {
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	line-height: 1.35;
}

.checkout-summary__price {
	font-size: 13px;
	font-weight: 700;
	color: #17345f;
	white-space: nowrap;
}

.checkout-summary__coupon {
	padding: 0 16px 16px;
}

.checkout-summary__coupon .form-label {
	font-size: 12px;
	font-weight: 600;
	color: #64748b;
	margin-bottom: 6px;
}

.checkout-summary__coupon-applied {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 8px;
	font-size: 12px;
}

.checkout-summary__totals {
	padding: 16px;
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
}

.checkout-summary__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
	font-size: 14px;
	color: #475569;
}

.checkout-summary__row--discount { color: #16a34a; }

.checkout-summary__row--total {
	margin: 12px 0 0;
	padding-top: 12px;
	border-top: 1px dashed #cbd5e1;
	font-size: 1.1rem;
	font-weight: 800;
	color: #17345f;
}

.checkout-summary__ship-note {
	margin: 0 0 8px;
	font-size: 12px;
	color: #94a3b8;
}

.checkout-form .address-option { cursor: pointer; transition: border-color 0.2s; }
.checkout-form .address-option:has(input:checked) { border-color: #17345f !important; }

@media (max-width: 991.98px) {
	.checkout-auth__grid { grid-template-columns: 1fr; }
	.checkout-page__hero { flex-direction: column; align-items: flex-start; }
	.checkout-summary { position: static; }
	.checkout-member-bar { flex-wrap: wrap; }
	.checkout-member-bar__link { margin-left: 0; width: 100%; text-align: center; }
}

@media (max-width: 575.98px) {
	.checkout-page__title { font-size: 1.45rem; }
	.checkout-section__body { padding: 16px; }
}

/* Auth modal */
.auth-modal { border: none; border-radius: 16px; overflow: hidden; }
.auth-modal__tabs { gap: 6px; }
.auth-modal__tabs .nav-link {
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
	padding: 8px 14px;
}
.auth-modal__tabs .nav-link.active {
	background: #17345f;
	color: #fff;
}
.auth-modal__lead {
	margin: 0 0 14px;
	font-size: 14px;
	color: #64748b;
}
.auth-modal__alert {
	font-size: 13px;
	padding: 10px 12px;
	border-radius: 8px;
	margin-bottom: 12px;
}
.checkout-auth-card__sub.btn-link {
	padding: 0;
	border: none;
	background: none;
	font-size: 12px;
	color: #64748b;
	text-decoration: none;
	width: 100%;
	margin-top: 10px;
}

.checkout-auth-card .auth-social--compact {
	margin-top: 10px;
}

/* Cart page */
.prime-cart__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 1.5rem;
}

.prime-cart-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
	gap: 24px;
	align-items: start;
	width: 100%;
	min-width: 0;
}

.prime-cart,
.prime-cart-layout__main,
.prime-cart-box,
.prime-cart-list,
.prime-cart-section,
.prime-cart-summary {
	min-width: 0;
	max-width: 100%;
}

.prime-cart-box,
.prime-cart-summary__card {
	background: #fff;
	border: 1px solid #e8edf3;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(23, 52, 95, 0.05);
}

.prime-cart-box__head,
.prime-cart-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.prime-cart-box__title,
.prime-cart-section__title,
.prime-cart-summary__title {
	font-size: 1.05rem;
	font-weight: 700;
	color: #17345f;
	margin: 0;
}

.prime-cart-box {
	padding: 1.25rem;
}

.prime-cart-list {
	display: grid;
	gap: 1rem;
}

.prime-cart-card {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr) auto;
	gap: 1rem;
	padding: 1rem;
	border: 1px solid #edf2f7;
	border-radius: 14px;
	background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
	align-items: center;
	width: 100%;
	min-width: 0;
	overflow: hidden;
}

.prime-cart-card__thumb {
	display: block;
	width: 96px;
	height: 96px;
	border-radius: 12px;
	overflow: hidden;
	background: #f8fafc;
	border: 1px solid #edf2f7;
	flex-shrink: 0;
}

.prime-cart-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.prime-cart-card__body {
	min-width: 0;
}

.prime-cart-card__name {
	color: #17345f;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.98rem;
	line-height: 1.35;
	display: block;
	margin-bottom: 0.25rem;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.prime-cart-card__name:hover {
	color: #f58220;
}

.prime-cart-card__meta {
	margin: 0 0 0.35rem;
	font-size: 0.82rem;
	color: #64748b;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.prime-cart-card__unit {
	font-size: 0.92rem;
	color: #475569;
	margin-bottom: 0.75rem;
}

.prime-cart-card__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.prime-cart-qty {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.2rem;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	background: #fff;
}

.prime-cart-card__remove {
	border: none;
	background: none;
	color: #dc3545;
	font-size: 0.85rem;
	padding: 0;
}

.prime-cart-card__total {
	text-align: right;
	min-width: 0;
	white-space: nowrap;
}

.prime-cart-card__total-label {
	display: block;
	font-size: 0.75rem;
	color: #94a3b8;
	margin-bottom: 0.15rem;
}

.prime-cart-card__total strong {
	font-size: 1rem;
	color: #17345f;
}

.prime-cart-section {
	margin-top: 2rem;
}

.prime-cart-recommendations {
	margin-top: 28px;
}

.prime-cart-section__desc {
	margin: 0.25rem 0 0;
	font-size: 0.88rem;
	color: #64748b;
}

.prime-cart-section__link {
	font-size: 0.88rem;
	color: #17345f;
	text-decoration: none;
	font-weight: 600;
}

.prime-cart-section__link:hover {
	color: #f58220;
}

.prime-cart-note {
	padding: 1rem 1.1rem;
	border: 1px dashed #dbe4ee;
	border-radius: 12px;
	background: #f8fafc;
}

.prime-cart-summary__card {
	padding: 1.35rem;
	position: sticky;
	top: 16px;
}

.prime-cart-summary__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.55rem 0;
	font-size: 0.92rem;
	color: #475569;
}

.prime-cart-summary__row--promo {
	color: #15803d;
	font-size: 0.9rem;
}

.prime-cart-summary__row--total {
	border-top: 1px solid #e8edf3;
	margin-top: 0.35rem;
	padding-top: 0.9rem;
	font-size: 1rem;
	color: #17345f;
}

.prime-cart-summary__ship {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin: 0.85rem 0 1rem;
	padding: 0.75rem 0.85rem;
	border-radius: 10px;
	background: #f0f7ff;
	color: #17345f;
	font-size: 0.82rem;
	line-height: 1.45;
}

.prime-cart-summary__checkout {
	margin-top: 0.25rem;
	font-size: 1rem;
	padding: 0.85rem 1rem;
}

.prime-cart-summary__continue {
	display: block;
	text-align: center;
	margin-top: 0.85rem;
	font-size: 0.88rem;
	color: #64748b;
	text-decoration: none;
}

.prime-cart-summary__continue:hover {
	color: #17345f;
}

.prime-cart-empty {
	text-align: center;
	padding: 3rem 1.5rem;
	background: #fff;
	border: 1px solid #e8edf3;
	border-radius: 16px;
}

.prime-cart-empty__icon {
	color: #94a3b8;
	margin-bottom: 1rem;
}

.prime-cart-empty__title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #17345f;
	margin-bottom: 0.5rem;
}

.prime-cart-empty__text {
	color: #64748b;
	margin-bottom: 1.25rem;
}

.prime-cart .t4-product-slider,
.prime-cart .slider-wrapper {
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
}

.prime-cart .sicakFirsatlar {
	min-width: 0;
	max-width: 100%;
	overflow-x: auto;
}

.prime-cart .produtDiv {
	max-width: 245px;
}

.cart-qty-btn {
	width: 32px;
	height: 32px;
	border: none;
	background: transparent;
	border-radius: 999px;
	font-size: 1rem;
	line-height: 1;
	color: #17345f;
}

.cart-qty-btn:hover {
	background: #f1f5f9;
}

@media (max-width: 991.98px) {
	.prime-cart-layout {
		grid-template-columns: 1fr;
	}

	.prime-cart-summary__card {
		position: static;
	}

	.prime-cart-card {
		grid-template-columns: 80px minmax(0, 1fr);
	}

	.prime-cart-card__total {
		grid-column: 1 / -1;
		display: flex;
		align-items: center;
		justify-content: space-between;
		text-align: left;
		padding-top: 0.35rem;
		border-top: 1px dashed #e2e8f0;
	}

	.prime-cart-card__thumb {
		width: 80px;
		height: 80px;
	}

	.prime-page__title { font-size: 1.4rem; }

	.prime-cart:has(#cartStickyCheckout) {
		padding-bottom: 96px;
	}
}

.prime-cart-sticky {
	display: none;
}

@media (max-width: 991.98px) {
	.prime-cart-sticky {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1035;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
		background: rgba(255, 255, 255, 0.96);
		border-top: 1px solid #e8edf3;
		box-shadow: 0 -8px 24px rgba(23, 52, 95, 0.12);
		transform: translateY(0);
		transition: transform 0.22s ease, opacity 0.22s ease;
	}

	.prime-cart-sticky.is-hidden {
		transform: translateY(110%);
		opacity: 0;
		pointer-events: none;
	}

	.prime-cart-sticky__inner {
		display: flex;
		align-items: center;
		gap: 12px;
		max-width: 720px;
		margin: 0 auto;
	}

	.prime-cart-sticky__meta {
		min-width: 0;
		flex: 1;
	}

	.prime-cart-sticky__label {
		display: block;
		font-size: 0.72rem;
		color: #64748b;
		line-height: 1.2;
	}

	.prime-cart-sticky__price {
		display: block;
		font-size: 1.05rem;
		font-weight: 800;
		color: #17345f;
		line-height: 1.25;
	}

	.prime-cart-sticky__btn {
		flex: 0 0 auto;
		min-width: 148px;
		padding: 0.85rem 1.15rem;
		font-size: 0.95rem;
		text-align: center;
	}
}

.order-contact-item__body {
	padding: 12px 14px;
	border-radius: 10px;
	background: #f8fafc;
	border: 1px solid #eef2f6;
	font-size: 0.95rem;
	line-height: 1.5;
}
.order-contact-item--store .order-contact-item__body {
	background: #fff7ed;
	border-color: #fed7aa;
}
.order-contact-thread {
	max-height: 420px;
	overflow-y: auto;
	padding-right: 4px;
}

.checkout-success-invite {
	max-width: 640px;
	text-align: start;
	font-size: 0.95rem;
	line-height: 1.5;
	margin-bottom: 12px;
	border-radius: 12px;
}

.checkout-success-split {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	max-width: 640px;
}

.checkout-success-split .prime-btn {
	min-width: 160px;
	text-align: center;
}

.checkout-register-modal .modal-dialog {
	max-height: calc(100dvh - 1.5rem);
	margin: 0.75rem auto;
}

.checkout-register-modal .modal-content {
	border: none;
	border-radius: 16px;
	overflow: hidden;
	max-height: calc(100dvh - 1.5rem);
	display: flex;
	flex-direction: column;
}

.checkout-register-modal .modal-header {
	flex-shrink: 0;
	border-bottom-color: #eef2f6;
}

.checkout-register-modal .modal-title {
	font-weight: 700;
	color: #17345f;
}

.checkout-register-modal #guestRegisterForm {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
}

.checkout-register-modal .modal-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.checkout-register-modal .modal-footer {
	flex-shrink: 0;
	position: sticky;
	bottom: 0;
	z-index: 2;
	background: #fff;
	border-top-color: #eef2f6;
	justify-content: flex-end;
}

.checkout-success-note {
	max-width: 640px;
	text-align: start;
	font-size: 0.95rem;
	line-height: 1.5;
	border-radius: 12px;
}

.checkout-register-modal .auth-password-wrap .form-control,
.checkout-register-modal .auth-password-wrap .form-control.is-invalid,
.checkout-register-modal .auth-password-wrap .form-control.is-ok,
.checkout-register-modal .auth-password-wrap .form-control.is-valid,
.checkout-register-modal .auth-password-wrap .form-control:valid,
.checkout-register-modal .auth-password-wrap .form-control:invalid {
	background-image: none !important;
	padding-right: 2.75rem;
	box-shadow: none;
}

.checkout-register-modal .form-control.is-ok {
	border-color: #198754;
}

#checkoutCustomerEmail.is-invalid,
#checkoutCustomerPhone.is-invalid,
#guestRegEmail.is-invalid,
#guestRegPhone.is-invalid {
	background-image: none;
	padding-right: 0.75rem;
}

#checkoutEmailTaken .btn-link,
#checkoutPhoneTaken .btn-link,
#guestRegisterModal .alert .btn-link {
	font-weight: 600;
	text-decoration: underline;
}

#tostAlert .btn-link {
	font-weight: 600;
	color: #fff;
	text-decoration: underline;
}
