/**
 * DeeToo content pages.
 *
 * Policies and company pages: a titled band, then the body at a readable
 * measure. Account and wishlist keep the full width for their tables and grids.
 */

.dtpg {
	--dt-orange: #f4511e;
	--dt-orange-dark: #d93d0c;
	--dt-ink: #16181d;
	--dt-muted: #6b7280;
	--dt-line: #e6e7eb;
	--dt-soft: #f7f8fa;
	--dtpg-ease: cubic-bezier(.22, 1, .36, 1);
	color: var(--dt-ink);
	padding: 14px clamp(14px, 2.2vw, 34px) 40px;
	max-width: 1180px; margin: 0 auto;
}
.dtpg--wide { max-width: 2560px; }
.dtpg * { box-sizing: border-box; }

/* ---------- Hero ---------- */

.dtpg-hero {
	background: linear-gradient(105deg, #eef1f6 0%, #e6eaf1 55%, #dfe4ec 100%);
	border-radius: 14px; padding: 28px clamp(20px, 3vw, 36px);
	margin-bottom: 22px;
}
.dtpg-hero__eyebrow {
	margin: 0 0 5px; font-size: 11.5px; font-weight: 800;
	letter-spacing: .12em; color: var(--dt-orange); text-transform: uppercase;
}
.dtpg-hero__h1 {
	margin: 0; font-size: clamp(25px, 3vw, 40px); line-height: 1.1;
	font-weight: 800; letter-spacing: -.8px; color: var(--dt-ink);
}
.dtpg-hero__sub { margin: 9px 0 0; font-size: clamp(13.5px, 1.2vw, 16px); color: #3d434c; max-width: 62ch; }

/* ---------- Body ----------
   A measure of about 78 characters: long enough not to feel cramped, short
   enough that the eye finds the next line. */

.dtpg-body {
	background: #fff; border: 1px solid var(--dt-line); border-radius: 14px;
	padding: clamp(20px, 3vw, 38px);
	font-size: 15px; line-height: 1.75; color: #33383f;
	margin-bottom: 22px;
}
.dtpg--wide .dtpg-body { border: 0; background: none; padding: 0; }

.dtpg-body > :first-child { margin-top: 0; }
.dtpg-body > :last-child { margin-bottom: 0; }

.dtpg-body h2 {
	margin: 32px 0 12px; font-size: 21px; font-weight: 800;
	letter-spacing: -.3px; color: var(--dt-ink); line-height: 1.25;
}
.dtpg-body h2:first-child { margin-top: 0; }
.dtpg-body h3 {
	margin: 24px 0 8px; font-size: 16.5px; font-weight: 700;
	color: var(--dt-ink); line-height: 1.3;
}
.dtpg-body p { margin: 0 0 14px; max-width: 78ch; }
/* Only links inside prose get the editorial treatment. Styling every descendant
   `a` bled into the product cards on the wishlist page: titles came out
   underlined and the white "Add to Cart" label turned orange on orange. */
.dtpg-body :is(p, li, td, th, blockquote) > a {
	color: var(--dt-orange); text-decoration: underline; text-underline-offset: 2px;
}
.dtpg-body :is(p, li, td, th, blockquote) > a:hover { color: var(--dt-orange-dark); }
.dtpg-body strong { color: var(--dt-ink); font-weight: 700; }

.dtpg-body ul, .dtpg-body ol { margin: 0 0 16px; padding-left: 20px; max-width: 78ch; }
.dtpg-body li { margin-bottom: 7px; }
.dtpg-body ul { list-style: none; padding-left: 0; }
.dtpg-body ul > li {
	position: relative; padding-left: 24px;
}
.dtpg-body ul > li::before {
	content: ""; position: absolute; left: 6px; top: .62em;
	width: 6px; height: 6px; border-radius: 50%; background: var(--dt-orange);
}
.dtpg-body ol { counter-reset: dtpg; list-style: none; padding-left: 0; }
.dtpg-body ol > li { position: relative; padding-left: 34px; counter-increment: dtpg; }
.dtpg-body ol > li::before {
	content: counter(dtpg); position: absolute; left: 0; top: .1em;
	width: 23px; height: 23px; border-radius: 50%;
	background: #fff2ec; border: 1px solid #ffddcd; color: var(--dt-orange);
	font-size: 11.5px; font-weight: 800; display: grid; place-items: center;
}

/* A paragraph the client wants noticed. */
.dtpg-body .dtpg-note {
	background: #fff7f3; border: 1px solid #ffddcd; border-left: 3px solid var(--dt-orange);
	border-radius: 10px; padding: 14px 16px; margin: 0 0 18px; max-width: none;
}
.dtpg-body table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14px; }
.dtpg-body th, .dtpg-body td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--dt-line); }
.dtpg-body th { font-weight: 700; color: var(--dt-ink); background: var(--dt-soft); }

/* ---------- Promises ---------- */

.dtpg-promises {
	list-style: none; margin: 0 0 18px; padding: 0;
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
	gap: 1px; background: var(--dt-line);
	border: 1px solid var(--dt-line); border-radius: 12px; overflow: hidden;
}
.dtpg-promises li { display: flex; align-items: center; gap: 11px; padding: 15px 14px; background: #fff; min-width: 0; }
.dtpg-promises__i {
	flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center;
	border-radius: 10px; line-height: 0;
	background: #fff2ec; border: 1px solid #ffddcd; color: var(--dt-orange);
}
.dtpg-promises strong { display: block; font-size: 12.5px; font-weight: 700; color: var(--dt-ink); line-height: 1.3; }
.dtpg-promises em { display: block; font-style: normal; font-size: 11px; color: var(--dt-muted); margin-top: 2px; }

/* ---------- Help ---------- */

.dtpg-help {
	display: flex; align-items: center; justify-content: space-between;
	gap: 20px; flex-wrap: wrap;
	background: linear-gradient(100deg, #ffe4d6 0%, #ffd9c6 100%);
	border-radius: 12px; padding: 18px 20px;
}
.dtpg-help__txt strong { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.2px; }
.dtpg-help__txt p { margin: 4px 0 0; font-size: 13px; color: #6b4a3c; max-width: 60ch; }
.dtpg-help__acts { display: flex; gap: 10px; flex-wrap: wrap; }
.dtpg-btn {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 700; text-decoration: none;
	padding: 11px 18px; border-radius: 999px;
	transition: background .3s var(--dtpg-ease), color .3s var(--dtpg-ease);
}
.dtpg-btn--wa { background: #25d366; color: #fff; }
.dtpg-btn--wa:hover { background: #1da851; color: #fff; }
.dtpg-btn--ghost { background: transparent; color: #8a3a18; border: 1px solid rgba(138,58,24,.4); }
.dtpg-btn--ghost:hover { background: rgba(255,255,255,.6); color: #6b2d12; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
	.dtpg-promises { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.dtpg-hero { padding: 22px 18px; }
	.dtpg-body { padding: 20px 18px; font-size: 14.5px; }
	.dtpg-body h2 { font-size: 18.5px; margin-top: 26px; }
	.dtpg-body h3 { font-size: 15.5px; }
	.dtpg-promises li { padding: 13px 12px; gap: 9px; }
	.dtpg-promises strong { font-size: 12px; }
	.dtpg-help { flex-direction: column; align-items: stretch; }
	.dtpg-help__acts { flex-direction: column; }
	.dtpg-btn { justify-content: center; }
}
