:root {
	--twc-rma-ink: #17292c;
	--twc-rma-muted: #607276;
	--twc-rma-teal: #087f7b;
	--twc-rma-teal-dark: #076663;
	--twc-rma-mint: #eaf7f5;
	--twc-rma-line: #d8e5e4;
	--twc-rma-paper: #fff;
	--twc-rma-warm: #fff7e5;
	--twc-rma-amber: #c77a0a;
}

.twc-returns-page {
	max-width: 1240px;
	margin: 0 auto;
	padding: 56px 24px 72px;
	color: var(--twc-rma-ink);
}

.twc-returns-page *,
.twc-rma-account * { box-sizing: border-box; }

.twc-returns-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
	gap: 56px;
	align-items: center;
	padding: 58px;
	border-radius: 24px;
	background: linear-gradient(135deg, #e8f6f4 0%, #f8fbfa 64%, #fff6e8 100%);
	border: 1px solid #d7e9e7;
	overflow: hidden;
}

.twc-returns-eyebrow,
.twc-section-heading > span,
.twc-returns-cta > div > span {
	display: block;
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 750;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--twc-rma-teal);
}

.twc-returns-hero h1 {
	margin: 0 0 18px;
	font-size: clamp(38px, 5vw, 66px);
	line-height: 1.02;
	letter-spacing: -.04em;
	color: #123e43;
}

.twc-returns-hero__copy > p {
	max-width: 690px;
	margin: 0;
	font-size: 18px;
	line-height: 1.7;
	color: #465e62;
}

.twc-returns-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.twc-returns-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.twc-returns-button:hover { transform: translateY(-1px); }
.twc-returns-button--primary { background: var(--twc-rma-teal); color: #fff !important; }
.twc-returns-button--primary:hover { background: var(--twc-rma-teal-dark); }
.twc-returns-button--secondary { border-color: #9ac9c5; background: rgba(255,255,255,.72); color: var(--twc-rma-teal-dark) !important; }
.twc-returns-button--secondary:hover { background: #fff; }

.twc-returns-hero__rule {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	padding: 28px;
	border-radius: 16px;
	background: #153f43;
	box-shadow: 0 18px 46px rgba(12, 70, 73, .16);
	color: #fff;
}
.twc-returns-hero__icon { flex: 0 0 45px; height: 45px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.12); }
.twc-returns-hero__icon svg { width: 27px; height: 27px; fill: none; stroke: #f3b74e; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.twc-returns-hero__rule strong { display: block; margin-bottom: 7px; font-size: 17px; }
.twc-returns-hero__rule span { display: block; color: #d0e3e3; font-size: 14px; line-height: 1.65; }

.twc-rma-process,
.twc-policy { padding: 82px 0 0; }
.twc-section-heading { max-width: 660px; margin-bottom: 34px; }
.twc-section-heading--center { margin-inline: auto; text-align: center; }
.twc-section-heading h2 { margin: 0 0 12px; font-size: clamp(28px, 3.3vw, 42px); line-height: 1.15; letter-spacing: -.025em; color: #173b3f; }
.twc-section-heading p { margin: 0; color: var(--twc-rma-muted); font-size: 16px; line-height: 1.7; }

.twc-rma-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0; margin: 0; list-style: none; }
.twc-rma-steps li { display: flex; gap: 18px; min-width: 0; padding: 28px; border: 1px solid var(--twc-rma-line); border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(23, 65, 68, .06); }
.twc-rma-steps li > span { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--twc-rma-mint); color: var(--twc-rma-teal); font-weight: 800; }
.twc-rma-steps h3 { margin: 1px 0 8px; font-size: 17px; color: var(--twc-rma-ink); }
.twc-rma-steps p { margin: 0; color: var(--twc-rma-muted); font-size: 14px; line-height: 1.65; }
.twc-rma-warning { display: grid; grid-template-columns: 260px 1fr; gap: 24px; margin-top: 18px; padding: 22px 28px; border-left: 4px solid #f0a52f; border-radius: 10px; background: var(--twc-rma-warm); color: #64400a; }
.twc-rma-warning strong { font-size: 15px; }
.twc-rma-warning span { font-size: 14px; line-height: 1.6; }

.twc-policy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.twc-policy-card { position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 20px; min-width: 0; padding: 30px; border: 1px solid var(--twc-rma-line); border-radius: 15px; background: var(--twc-rma-paper); }
.twc-policy-card--wide { grid-column: 1 / -1; }
.twc-policy-card__number { display: grid; place-items: center; align-self: start; width: 46px; height: 46px; border-radius: 12px; background: var(--twc-rma-mint); color: var(--twc-rma-teal); font-weight: 800; }
.twc-policy-card h3 { margin: 3px 0 14px; font-size: 20px; color: #173c40; }
.twc-policy-card p { margin: 0 0 12px; color: var(--twc-rma-muted); line-height: 1.65; }
.twc-policy-card ul { margin: 0; padding-left: 20px; }
.twc-policy-card li { margin-bottom: 8px; padding-left: 4px; color: #4f6367; line-height: 1.58; }
.twc-policy-card li::marker { color: var(--twc-rma-teal); }
.twc-policy-card--process ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; padding: 0; list-style: none; counter-reset: refunds; }
.twc-policy-card--process ol li { counter-increment: refunds; padding: 16px; border-radius: 10px; background: #f3f8f7; }
.twc-policy-card--process ol li::before { content: counter(refunds); display: block; margin-bottom: 8px; color: var(--twc-rma-teal); font-weight: 800; }
.twc-policy-card--process p { margin: 0; }

.twc-customs-notice { display: grid; grid-template-columns: .75fr 1.25fr; gap: 42px; margin-top: 18px; padding: 34px; border: 1px solid #e8b454; border-radius: 15px; background: var(--twc-rma-warm); color: #603c08; }
.twc-customs-notice__heading { display: flex; gap: 16px; align-items: flex-start; }
.twc-customs-notice__heading > span { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #f4d68f; font-weight: 900; }
.twc-customs-notice small { display: block; margin-bottom: 5px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.twc-customs-notice h2 { margin: 0; font-size: 21px; line-height: 1.35; color: #684006; }
.twc-customs-notice > p { margin: 0; font-size: 15px; line-height: 1.75; }

.twc-returns-cta { display: flex; align-items: center; justify-content: space-between; gap: 36px; margin-top: 76px; padding: 42px 48px; border-radius: 18px; background: #0b7774; color: #fff; }
.twc-returns-cta > div > span { color: #aee1dd; }
.twc-returns-cta h2 { margin: 0 0 7px; color: #fff; font-size: 28px; }
.twc-returns-cta p { margin: 0; color: #d7efed; }
.twc-returns-button--light { flex: 0 0 auto; background: #fff; color: #096d69 !important; }

/* My Account return center. */
.twc-rma-account { color: var(--twc-rma-ink); }
.twc-rma-message { display: flex; gap: 7px; flex-direction: column; margin-bottom: 22px; padding: 16px 18px; border-radius: 10px; border: 1px solid; }
.twc-rma-message--success { border-color: #8fd0aa; background: #effaf3; color: #23623d; }
.twc-rma-message--error { border-color: #e8a8a3; background: #fff3f2; color: #8a2f28; }
.twc-rma-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .75fr); gap: 20px; align-items: stretch; margin-bottom: 28px; }
.twc-rma-intro > div:first-child { padding: 25px; border: 1px solid var(--twc-rma-line); border-radius: 12px; background: #fff; }
.twc-rma-intro h3, .twc-rma-history h3, .twc-rma-form-section h3 { margin: 0 0 8px; font-size: 21px; }
.twc-rma-intro p, .twc-rma-form-section__heading p { margin: 0; color: var(--twc-rma-muted); line-height: 1.65; }
.twc-rma-rule { display: flex; flex-direction: column; justify-content: center; padding: 24px; border-radius: 12px; background: #153f43; color: #fff; }
.twc-rma-rule strong { margin-bottom: 6px; }
.twc-rma-rule span { color: #d5e6e6; line-height: 1.55; }
.twc-rma-history { margin-bottom: 28px; }
.twc-rma-table-wrap { overflow: hidden; border: 1px solid var(--twc-rma-line); border-radius: 12px; }
.twc-rma-table { width: 100%; margin: 0 !important; border: 0 !important; border-collapse: collapse; }
.twc-rma-table th { padding: 13px 14px; background: #eff7f6; color: #365154; font-size: 12px; text-align: left; }
.twc-rma-table td { padding: 14px; border-top: 1px solid var(--twc-rma-line); font-size: 13px; vertical-align: top; }
.twc-rma-table__instructions td { background: #f9fbfb; }
.twc-rma-table__instructions strong, .twc-rma-table__instructions span { display: block; }
.twc-rma-table__instructions span { margin-top: 5px; color: var(--twc-rma-muted); }
.twc-rma-status { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #eef3f3; font-size: 11px; font-weight: 750; }
.twc-rma-status--approved, .twc-rma-status--received, .twc-rma-status--refunded { background: #e3f7ea; color: #236a3d; }
.twc-rma-status--rejected { background: #fff0ef; color: #8a2f28; }
.twc-rma-number { color: var(--twc-rma-teal); }
.twc-rma-form-section { padding: 28px; border: 1px solid var(--twc-rma-line); border-radius: 14px; background: #fff; }
.twc-rma-form-section__heading { margin-bottom: 22px; }
.twc-rma-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.twc-rma-field--wide { grid-column: 1 / -1; }
.twc-rma-field label { display: block; margin-bottom: 7px; color: #2d4649; font-weight: 700; }
.twc-rma-field label span { color: #be5e22; }
.twc-rma-field input[type="text"], .twc-rma-field input[type="number"], .twc-rma-field input[type="file"], .twc-rma-field select, .twc-rma-field textarea { width: 100%; min-height: 46px; margin: 0; border: 1px solid #cddcdb; border-radius: 7px; background: #fff; box-shadow: none; }
.twc-rma-field textarea { padding: 12px; resize: vertical; }
.twc-rma-field input[type="file"] { padding: 9px; }
.twc-rma-field small { display: block; margin-top: 6px; color: var(--twc-rma-muted); }
.twc-rma-consent { width: 100%; min-width: 0; }
.twc-rma-consent label { display: flex; gap: 12px; align-items: center; width: 100%; margin: 0; padding: 14px 16px; border-radius: 8px; background: var(--twc-rma-warm); color: #684006; line-height: 1.5; }
.twc-rma-consent input[type="checkbox"] { flex: 0 0 16px; width: 16px; height: 16px; margin: 0; }
.twc-rma-form__actions { display: flex; gap: 16px; align-items: center; }
.twc-rma-form__actions button { min-height: 46px; padding: 0 22px; border: 0; border-radius: 7px; background: var(--twc-rma-teal); color: #fff; font-weight: 750; }
.twc-rma-form__actions span { color: var(--twc-rma-muted); font-size: 13px; }
.twc-rma-empty { display: flex; flex-direction: column; gap: 5px; padding: 22px; border-radius: 10px; background: #f3f7f7; }
.twc-rma-empty span { color: var(--twc-rma-muted); }

@media (max-width: 900px) {
	.twc-returns-hero { grid-template-columns: 1fr; gap: 28px; padding: 38px; }
	.twc-rma-steps, .twc-policy-grid { grid-template-columns: 1fr; }
	.twc-policy-card--wide { grid-column: auto; }
	.twc-policy-card--process ol { grid-template-columns: repeat(2, 1fr); }
	.twc-customs-notice { grid-template-columns: 1fr; gap: 22px; }
	.twc-rma-warning { grid-template-columns: 1fr; gap: 8px; }
	.twc-rma-intro { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.twc-returns-page { padding: 28px 14px 52px; }
	.twc-returns-hero { padding: 28px 22px; border-radius: 16px; }
	.twc-returns-hero__copy > p { font-size: 16px; }
	.twc-returns-button { width: 100%; }
	.twc-rma-process, .twc-policy { padding-top: 56px; }
	.twc-rma-steps li, .twc-policy-card { padding: 22px; }
	.twc-policy-card { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; }
	.twc-policy-card__number { width: 40px; height: 40px; }
	.twc-policy-card--process ol { grid-template-columns: 1fr; }
	.twc-customs-notice { padding: 24px 20px; }
	.twc-returns-cta { align-items: flex-start; flex-direction: column; padding: 30px 24px; }
	.twc-rma-form { grid-template-columns: 1fr; }
	.twc-rma-field--wide { grid-column: auto; }
	.twc-rma-form-section { padding: 20px 16px; }
	.twc-rma-form__actions { align-items: flex-start; flex-direction: column; }
	.twc-rma-table-wrap { overflow: visible; border: 0; }
	.twc-rma-table, .twc-rma-table tbody, .twc-rma-table tr, .twc-rma-table td { display: block; width: 100%; }
	.twc-rma-table thead { display: none; }
	.twc-rma-table tr { margin-bottom: 12px; padding: 10px 14px; border: 1px solid var(--twc-rma-line); border-radius: 10px; }
	.twc-rma-table td { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 8px 0; border: 0; }
	.twc-rma-table td::before { content: attr(data-label); color: var(--twc-rma-muted); font-weight: 700; }
	.twc-rma-table__instructions td { display: block; padding: 8px; }
	.twc-rma-table__instructions td::before { content: none; }
}
