/* ThemeShop modern order confirmation */
body.woocommerce-order-received {
	--ts-ty-green:#2fa653;
	--ts-ty-ink:#202638;
	--ts-ty-muted:#718096;
	--ts-ty-border:#e5eaf0;
	background:#f6f7fb;
}
body.woocommerce-order-received .site-main,
body.woocommerce-order-received main.site-main {
	width:min(calc(100% - 40px),1240px);
	max-width:1240px;
	margin:0 auto;
	padding:42px 0 76px;
}
body.woocommerce-order-received .entry-content { margin:0; }
body.woocommerce-order-received .entry-content > h1,
body.woocommerce-order-received .entry-content > .wp-block-post-title { display:none!important; }
body.woocommerce-order-received .woocommerce { width:100%; max-width:none; margin:0; }
body.woocommerce-order-received .ts-thankyou { width:100%; color:var(--ts-ty-ink); }
body.woocommerce-order-received .ts-thankyou__hero {
	position:relative;
	overflow:hidden;
	margin:0 0 28px;
	padding:34px 38px 32px;
	background:linear-gradient(120deg,#eff9f1 0%,#fff 56%,#f0f4fb 100%);
	border:1px solid #e4eee6;
	border-radius:16px;
	text-align:center;
}
body.woocommerce-order-received .ts-thankyou__success-mark {
	display:flex;
	align-items:center;
	justify-content:center;
	width:62px;
	height:62px;
	margin:0 auto 15px;
	border-radius:50%;
	background:#e1f5e6;
	color:var(--ts-ty-green);
	box-shadow:0 0 0 8px rgba(47,166,83,.07);
}
body.woocommerce-order-received .ts-thankyou__success-mark svg { width:34px; height:34px; }
body.woocommerce-order-received .ts-thankyou__eyebrow,
body.woocommerce-order-received .ts-thankyou__section-kicker {
	display:block;
	margin:0 0 8px;
	color:var(--ts-ty-green);
	font-size:10px;
	font-weight:800;
	letter-spacing:.13em;
}
body.woocommerce-order-received .ts-thankyou__hero h1 {
	margin:0;
	color:var(--ts-ty-ink);
	font-size:clamp(30px,4vw,43px);
	font-weight:750;
	line-height:1.15;
	letter-spacing:-.035em;
}
body.woocommerce-order-received .ts-thankyou__intro {
	max-width:620px;
	margin:12px auto 0;
	color:var(--ts-ty-muted);
	font-size:14px;
	line-height:1.7;
}
body.woocommerce-order-received .ts-thankyou__order-number {
	display:inline-flex;
	flex-direction:column;
	gap:3px;
	margin-top:20px;
	padding:10px 22px;
	background:#fff;
	border:1px solid var(--ts-ty-border);
	border-radius:9px;
}
body.woocommerce-order-received .ts-thankyou__order-number span {
	color:var(--ts-ty-muted);
	font-size:9px;
	font-weight:700;
	letter-spacing:.12em;
}
body.woocommerce-order-received .ts-thankyou__order-number strong { color:var(--ts-ty-ink); font-size:18px; }
body.woocommerce-order-received .ts-thankyou__content {
	display:grid;
	grid-template-columns:minmax(0,1fr) 330px;
	gap:22px;
	align-items:start;
}
body.woocommerce-order-received .ts-thankyou__main { display:grid; gap:20px; min-width:0; }
body.woocommerce-order-received .ts-thankyou__sidebar { display:grid; gap:16px; min-width:0; }
body.woocommerce-order-received .ts-thankyou__card,
body.woocommerce-order-received .ts-thankyou__help-card {
	padding:24px;
	background:#fff;
	border:1px solid var(--ts-ty-border);
	border-radius:13px;
	box-shadow:0 7px 22px rgba(28,39,60,.045);
}
body.woocommerce-order-received .ts-thankyou__section-heading {
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	margin-bottom:17px;
}
body.woocommerce-order-received .ts-thankyou__section-heading h2,
body.woocommerce-order-received .ts-thankyou__summary h2 {
	margin:0;
	color:var(--ts-ty-ink);
	font-size:20px;
	font-weight:750;
	line-height:1.25;
}
body.woocommerce-order-received .ts-thankyou__status-pill {
	padding:6px 10px;
	background:#eaf7ed;
	border-radius:30px;
	color:#278b45;
	font-size:11px;
	font-weight:700;
	white-space:nowrap;
}
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details { margin:0!important; }
body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-column__title { display:none!important; }
body.woocommerce-order-received table.woocommerce-table--order-details {
	width:100%;
	margin:0;
	border:0;
	border-collapse:collapse;
	border-radius:0;
	font-size:13px;
}
body.woocommerce-order-received table.woocommerce-table--order-details th,
body.woocommerce-order-received table.woocommerce-table--order-details td {
	padding:13px 10px;
	border:0;
	border-bottom:1px solid #edf0f4;
	background:transparent;
	text-align:left;
	vertical-align:top;
}
body.woocommerce-order-received table.woocommerce-table--order-details thead th {
	background:#f7f9fb;
	color:#5d687a;
	font-size:11px;
	font-weight:700;
	text-transform:uppercase;
	letter-spacing:.04em;
}
body.woocommerce-order-received table.woocommerce-table--order-details .product-name { width:72%; }
body.woocommerce-order-received table.woocommerce-table--order-details .product-total {
	text-align:right;
	white-space:nowrap;
	font-weight:650;
}
body.woocommerce-order-received table.woocommerce-table--order-details tfoot th,
body.woocommerce-order-received table.woocommerce-table--order-details tfoot td {
	padding-top:12px;
	padding-bottom:12px;
	color:#344054;
	font-weight:650;
}
body.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:last-child th,
body.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:last-child td {
	color:var(--ts-ty-ink);
	font-size:15px;
	font-weight:800;
	border-bottom:0;
}
body.woocommerce-order-received .wc-item-meta {
	margin:7px 0 0 14px;
	padding:0;
	color:var(--ts-ty-muted);
	font-size:12px;
}
body.woocommerce-order-received .wc-item-meta li { margin:3px 0; }
body.woocommerce-order-received .woocommerce-customer-details address {
	padding:16px;
	background:#f8fafc;
	border:1px solid #edf0f4;
	border-radius:9px;
	color:#526074;
	font-size:13px;
	font-style:normal;
	line-height:1.8;
}
body.woocommerce-order-received .woocommerce-customer-details address p { margin:8px 0 0; }
body.woocommerce-order-received .ts-thankyou__summary h2 { margin-bottom:18px; }
body.woocommerce-order-received .ts-thankyou__summary dl { margin:0; }
body.woocommerce-order-received .ts-thankyou__summary dl > div {
	display:grid;
	grid-template-columns:1fr;
	gap:4px;
	padding:12px 0;
	border-bottom:1px solid #edf0f4;
}
body.woocommerce-order-received .ts-thankyou__summary dt {
	color:var(--ts-ty-muted);
	font-size:11px;
	font-weight:600;
}
body.woocommerce-order-received .ts-thankyou__summary dd {
	margin:0;
	color:#344054;
	font-size:13px;
	font-weight:650;
	overflow-wrap:anywhere;
}
body.woocommerce-order-received .ts-thankyou__grand-total {
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	padding-top:17px;
	color:var(--ts-ty-ink);
	font-size:13px;
	font-weight:700;
}
body.woocommerce-order-received .ts-thankyou__grand-total strong { color:var(--ts-ty-green); font-size:21px; }
body.woocommerce-order-received .ts-thankyou__help-card {
	background:#202a3b;
	border-color:#202a3b;
	color:#fff;
}
body.woocommerce-order-received .ts-thankyou__help-icon {
	display:flex;
	align-items:center;
	justify-content:center;
	width:38px;
	height:38px;
	margin-bottom:13px;
	border-radius:10px;
	background:rgba(255,255,255,.12);
	color:#fff;
	font-size:22px;
}
body.woocommerce-order-received .ts-thankyou__help-card h3 { margin:0 0 8px; color:#fff; font-size:17px; }
body.woocommerce-order-received .ts-thankyou__help-card p { margin:0 0 14px; color:#c5cfdd; font-size:12px; line-height:1.7; }
body.woocommerce-order-received .ts-thankyou__help-card a { color:#83dfa0; font-size:12px; font-weight:750; text-decoration:none; }
body.woocommerce-order-received .ts-thankyou__actions {
	display:flex;
	align-items:center;
	justify-content:center;
	gap:22px;
	margin-top:25px;
}
body.woocommerce-order-received .ts-thankyou__button {
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:46px;
	padding:0 22px;
	background:var(--ts-ty-green);
	border:1px solid var(--ts-ty-green);
	border-radius:8px;
	color:#fff!important;
	font-size:13px;
	font-weight:750;
	text-decoration:none!important;
	box-shadow:0 5px 12px rgba(47,166,83,.14);
}
body.woocommerce-order-received .ts-thankyou__button:hover { background:#278e47; }
body.woocommerce-order-received .ts-thankyou__text-link { color:#278e47; font-size:13px; font-weight:700; text-decoration:none; }
body.woocommerce-order-received .ts-thankyou--failed .ts-thankyou__hero { background:#fff7f6; border-color:#f3dfdc; }
body.woocommerce-order-received .ts-thankyou--failed .ts-thankyou__status-icon {
	display:flex; align-items:center; justify-content:center; width:54px; height:54px; margin:0 auto 14px;
	border-radius:50%; background:#ffebe8; color:#d34d43; font-size:28px; font-weight:800;
}
body.woocommerce-order-received .ts-thankyou--missing { padding:50px 0; text-align:center; }
@media(max-width:900px) {
	body.woocommerce-order-received .ts-thankyou__content { grid-template-columns:minmax(0,1fr) 290px; gap:16px; }
	body.woocommerce-order-received .ts-thankyou__card,
	body.woocommerce-order-received .ts-thankyou__help-card { padding:19px; }
}
@media(max-width:700px) {
	body.woocommerce-order-received .site-main,
	body.woocommerce-order-received main.site-main { width:calc(100% - 24px); padding:24px 0 44px; }
	body.woocommerce-order-received .ts-thankyou__hero { padding:27px 17px 24px; margin-bottom:17px; border-radius:12px; }
	body.woocommerce-order-received .ts-thankyou__content { display:flex; flex-direction:column; gap:15px; }
	body.woocommerce-order-received .ts-thankyou__main,
	body.woocommerce-order-received .ts-thankyou__sidebar { width:100%; }
	body.woocommerce-order-received .ts-thankyou__card,
	body.woocommerce-order-received .ts-thankyou__help-card { padding:16px; border-radius:10px; }
	body.woocommerce-order-received table.woocommerce-table--order-details { font-size:12px; }
	body.woocommerce-order-received table.woocommerce-table--order-details th,
	body.woocommerce-order-received table.woocommerce-table--order-details td { padding:10px 6px; }
	body.woocommerce-order-received .ts-thankyou__actions { flex-direction:column; gap:13px; }
	body.woocommerce-order-received .ts-thankyou__button { width:100%; }
}


/* =========================================================
   ThemeShop AJAX Cart Drawer — actual panel and backdrop
   ========================================================= */
.ts-cart-drawer-backdrop {
	position: fixed !important;
	inset: 0 !important;
	z-index: 99990 !important;
	display: block;
	background: rgba(15, 23, 42, .52);
	opacity: 0;
	visibility: hidden;
	transition: opacity .22s ease, visibility .22s ease;
}
.ts-cart-drawer-backdrop[hidden] { display: none !important; }
.ts-cart-drawer-backdrop.is-visible {
	opacity: 1;
	visibility: visible;
}
.ts-cart-drawer {
	position: fixed !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	z-index: 99991 !important;
	display: flex !important;
	flex-direction: column !important;
	width: min(440px, 100vw) !important;
	max-width: 100vw !important;
	height: 100vh !important;
	height: 100dvh !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	background: #fff !important;
	color: #202638 !important;
	box-shadow: -12px 0 40px rgba(15, 23, 42, .16) !important;
	transform: translate3d(105%, 0, 0);
	visibility: hidden;
	transition: transform .25s ease, visibility .25s ease;
}
.ts-cart-drawer.is-open {
	transform: translate3d(0, 0, 0);
	visibility: visible;
}
.ts-cart-drawer__header {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 24px;
	border-bottom: 1px solid #e8edf3;
	background: #fff;
}
.ts-cart-drawer__eyebrow {
	display: block;
	margin-bottom: 5px;
	color: #2fa653;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .12em;
}
.ts-cart-drawer__header h2 {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	color: #202638;
	font-size: 21px;
	font-weight: 750;
	line-height: 1.25;
}
.ts-cart-drawer__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 23px;
	height: 23px;
	padding: 0 6px;
	border-radius: 20px;
	background: #edf8f0;
	color: #278b45;
	font-size: 12px;
}
.ts-cart-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid #e5eaf0;
	border-radius: 50%;
	background: #fff;
	color: #344054;
	font-size: 25px;
	line-height: 1;
	cursor: pointer;
}
.ts-cart-drawer__body {
	flex: 1 1 auto;
	min-height: 0;
	padding: 8px 24px;
	overflow-y: auto;
	overscroll-behavior: contain;
}
.ts-cart-drawer-item {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr) 26px;
	align-items: start;
	gap: 13px;
	padding: 17px 0;
	border-bottom: 1px solid #edf0f4;
}
.ts-cart-drawer-item__image {
	display: block;
	width: 76px;
	height: 76px;
	overflow: hidden;
	border: 1px solid #edf0f4;
	border-radius: 8px;
	background: #f7f9fb;
}
.ts-cart-drawer-item__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.ts-cart-drawer-item__details {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}
.ts-cart-drawer-item__name {
	color: #202638;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
	text-decoration: none;
}
.ts-cart-drawer-item__quantity,
.ts-cart-drawer-item__meta {
	color: #758196;
	font-size: 11px;
}
.ts-cart-drawer-item__price {
	color: #202638;
	font-size: 13px;
	font-weight: 750;
}
.ts-cart-drawer-item__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	border: 0;
	border-radius: 50%;
	background: #f3f5f8;
	color: #6b7280;
	font-size: 19px;
	line-height: 1;
	text-decoration: none;
}
.ts-cart-drawer__empty {
	display: flex;
	min-height: 250px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: #7b8798;
	text-align: center;
	font-size: 13px;
}
.ts-cart-drawer__empty-icon { font-size: 35px; }
.ts-cart-drawer__empty strong { color: #202638; font-size: 17px; }
.ts-cart-drawer__footer {
	flex: 0 0 auto;
	padding: 19px 24px 22px;
	border-top: 1px solid #e8edf3;
	background: #fff;
}
.ts-cart-drawer__subtotal-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
	color: #202638;
	font-size: 14px;
}
.ts-cart-drawer__subtotal { font-size: 18px; font-weight: 800; }
.ts-cart-drawer__footer p {
	margin: 0 0 14px;
	color: #8490a1;
	font-size: 11px;
}
.ts-cart-drawer__checkout,
.ts-cart-drawer__view-cart {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 45px;
	margin-top: 9px;
	border: 1px solid #2fa653;
	border-radius: 7px;
	background: #2fa653;
	color: #fff !important;
	font-size: 13px;
	font-weight: 750;
	text-decoration: none !important;
}
.ts-cart-drawer__view-cart {
	background: #fff;
	color: #278b45 !important;
}
.ts-cart-drawer__continue {
	display: block;
	margin-top: 13px;
	color: #687589;
	font-size: 12px;
	text-align: center;
	text-decoration: none;
}
body.ts-cart-drawer-open { overflow: hidden !important; }
@media (max-width: 480px) {
	.ts-cart-drawer { width: 100vw !important; }
	.ts-cart-drawer__header { padding: 18px 18px; }
	.ts-cart-drawer__body { padding-right: 18px; padding-left: 18px; }
	.ts-cart-drawer__footer { padding-right: 18px; padding-left: 18px; }
}
