/* PosterDatabase – Start Selling and Artist Login (v1.2.2).
 * Shares the Artist Hub's palette and type (Archivo). Everything is scoped under .pdm-ss so the
 * theme (Flatsome or any other) is unaffected, and theme styles can't leak in.
 */
body:has(.pdm-ss) { overflow-x: hidden; }
.pdm-ss {
	--ink: #1d2433;
	--slate: #4a5263;
	--muted: #6b7280;
	--paper: #ffffff;
	--warm: #f5f1ea;
	--wall: #ece7de;
	--rule: #e2ddd3;
	--blue: #2643d0;
	--blue-dark: #1b2f9b;
	--gold: #c99a3e;
	--font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	font-family: var(--font);
	color: var(--ink);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-align: left;
	letter-spacing: normal;
}
.pdm-ss *, .pdm-ss *::before, .pdm-ss *::after { box-sizing: border-box; }
.pdm-ss h1, .pdm-ss h2, .pdm-ss h3 { font-family: var(--font); color: var(--ink); text-transform: none; letter-spacing: -.015em; margin: 0 0 .45em; font-weight: 750; }
.pdm-ss p { margin: 0 0 1em; }
.pdm-ss a { color: var(--blue); }
.pdm-ss img { max-width: 100%; height: auto; display: block; }
.pdm-ss-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.pdm-ss-narrow { max-width: 820px; }
.pdm-ss-eyebrow { text-transform: uppercase; letter-spacing: .14em !important; font-size: 13px; font-weight: 650; color: var(--slate); margin-bottom: 14px !important; }
.pdm-ss-h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); font-stretch: 112%; line-height: 1.12; }
.pdm-ss-sub { color: var(--slate); font-size: 1.08rem; max-width: 60ch; }
.pdm-ss-small { font-size: 14px; color: var(--muted); }

/* Buttons */
.pdm-ss-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 650 16px/1 var(--font); text-decoration: none !important; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; text-transform: none; letter-spacing: 0; margin: 0; }
.pdm-ss-btn:hover { transform: translateY(-1px); }
.pdm-ss-btn--primary { background: var(--ink); color: #fff !important; }
.pdm-ss-btn--primary:hover { background: #000; }
.pdm-ss-btn--ghost { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.pdm-ss-btn--ghost:hover { background: var(--ink); color: #fff !important; }
.pdm-ss-btn--block { width: 100%; }
.pdm-ss-btn:focus-visible, .pdm-ss a:focus-visible, .pdm-ss input:focus-visible, .pdm-ss summary:focus-visible { outline: 3px solid rgba(38, 67, 208, .45); outline-offset: 2px; }
.pdm-ss-link { background: none; border: 0; padding: 0; color: var(--blue); text-decoration: underline; cursor: pointer; font: inherit; }

/* Hero */
.pdm-ss-hero { background: linear-gradient(180deg, var(--warm) 0%, #efe9df 100%); padding: clamp(48px, 7vw, 104px) 0 clamp(56px, 8vw, 112px); overflow: hidden; }
.pdm-ss-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pdm-ss-hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.2rem); line-height: .98; font-stretch: 118%; font-weight: 800; letter-spacing: -.03em; margin-bottom: 26px; }
.pdm-ss-lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.28rem); color: var(--slate); max-width: 34em; }
.pdm-ss-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.pdm-ss-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--slate); font-size: 15px; font-weight: 550; }
.pdm-ss-facts li { position: relative; padding-left: 22px; margin: 0; }
.pdm-ss-facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }

/* Gallery wall of framed artwork */
.pdm-ss-hero__art { position: relative; min-height: 560px; }
.pdm-ss-frame { position: absolute; margin: 0; background: #151515; padding: 7px; box-shadow: 0 2px 3px rgba(0, 0, 0, .18), 0 24px 44px -14px rgba(40, 30, 20, .45); transition: transform .4s ease; }
.pdm-ss-frame img { width: 100%; height: 100%; object-fit: contain; background: #151515; }
/* Each frame keeps the artwork's own proportions (set inline); only the width is fixed. */
.pdm-ss-frame--1 { width: 50%; left: 0; top: 0; z-index: 2; }
.pdm-ss-frame--2 { width: 40%; right: 0; top: 8%; z-index: 1; }
.pdm-ss-frame--3 { width: 36%; left: 38%; bottom: 0; z-index: 3; }
.pdm-ss-frame.is-wide.pdm-ss-frame--1 { width: 62%; }
.pdm-ss-frame.is-wide.pdm-ss-frame--3 { width: 52%; left: 30%; }
.pdm-ss-frame.is-blank { background: #151515; aspect-ratio: 3 / 4; }
.pdm-ss-frame.is-blank::after { content: ""; display: block; height: 100%; background: linear-gradient(135deg, #e6dccb, #c9b79b); }
.pdm-ss-hero__art:hover .pdm-ss-frame--1 { transform: translateY(-4px) rotate(-.4deg); }

/* Benefits */
.pdm-ss-benefits { padding: clamp(64px, 8vw, 112px) 0; background: var(--paper); }
.pdm-ss-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
.pdm-ss-card { background: var(--warm); border-radius: 18px; padding: 30px 28px 26px; }
.pdm-ss-card__icon { display: inline-flex; width: 52px; height: 52px; border-radius: 14px; align-items: center; justify-content: center; background: var(--ink); color: #fff; margin-bottom: 18px; }
.pdm-ss-card h3 { font-size: 1.28rem; font-stretch: 110%; }
.pdm-ss-card p { color: var(--slate); margin: 0; font-size: 16px; }

/* One upload example */
.pdm-ss-example { padding: clamp(64px, 8vw, 112px) 0; background: var(--ink); color: #fff; }
.pdm-ss-example .pdm-ss-h2 { color: #fff; }
.pdm-ss-example .pdm-ss-sub { color: #c8cdd8; }
.pdm-ss-example__grid { display: grid; grid-template-columns: minmax(0, .8fr) auto minmax(0, 2.4fr); gap: 26px; align-items: center; margin-top: 40px; }
.pdm-ss-example__flat { margin: 0; background: #fff; padding: 10px; border-radius: 6px; }
.pdm-ss-example__flat figcaption { color: var(--slate); font-size: 13px; text-align: center; margin-top: 8px; }
.pdm-ss-example__arrow { font-size: 40px; color: var(--gold); }
.pdm-ss-example__rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pdm-ss-example__rooms img { border-radius: 6px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Steps */
.pdm-ss-steps { padding: clamp(64px, 8vw, 112px) 0; background: var(--paper); }
.pdm-ss-steplist { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: none; }
.pdm-ss-steplist li { border-top: 3px solid var(--ink); padding-top: 22px; margin: 0; }
.pdm-ss-steplist span { display: block; font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 10px; letter-spacing: .1em; }
.pdm-ss-steplist h3 { font-size: 1.6rem; font-stretch: 115%; }
.pdm-ss-steplist p { color: var(--slate); }

/* Pricing */
.pdm-ss-pricing { padding: clamp(64px, 8vw, 104px) 0; background: var(--warm); }
.pdm-ss-pricing__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.pdm-ss-fees { margin: 0; background: #fff; border-radius: 18px; padding: 8px 28px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.pdm-ss-fees > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.pdm-ss-fees > div:last-child { border-bottom: 0; }
.pdm-ss-fees dt { font-weight: 700; margin: 0; }
.pdm-ss-fees dd { margin: 0; color: var(--slate); }

/* FAQ */
.pdm-ss-faq { padding: clamp(64px, 8vw, 104px) 0; background: var(--paper); }
.pdm-ss-q { border-bottom: 1px solid var(--rule); padding: 0; }
.pdm-ss-q summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 650; font-size: 1.08rem; position: relative; }
.pdm-ss-q summary::-webkit-details-marker { display: none; }
.pdm-ss-q summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 26px; font-weight: 400; color: var(--slate); }
.pdm-ss-q[open] summary::after { content: "–"; }
.pdm-ss-q p { color: var(--slate); padding: 0 0 20px; margin: 0; max-width: 70ch; }

/* Join */
.pdm-ss-join { padding: clamp(64px, 8vw, 112px) 0; background: linear-gradient(180deg, #efe9df, var(--warm)); scroll-margin-top: 80px; }
.pdm-ss-join__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.pdm-ss-ticks { list-style: none; margin: 22px 0; padding: 0; }
.pdm-ss-ticks li { position: relative; padding-left: 30px; margin: 0 0 10px; font-weight: 550; }
.pdm-ss-ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
.pdm-ss-formcard { background: #fff; border-radius: 22px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 30px 60px -30px rgba(40, 30, 20, .35); }
.pdm-ss-formcard h3 { font-size: 1.4rem; }

/* Forms */
.pdm-ss-form { margin: 0; }
.pdm-ss-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pdm-ss-field { margin: 0 0 16px; }
.pdm-ss-field label { display: block; font-weight: 650; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.pdm-ss input[type=text], .pdm-ss input[type=email], .pdm-ss input[type=password], .pdm-ss input:not([type]) { width: 100%; height: 50px; border: 1.5px solid #cfcac0; border-radius: 12px; padding: 0 14px; font: 400 16px var(--font); color: var(--ink); background: #fff; box-shadow: none; margin: 0; }
.pdm-ss input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(38, 67, 208, .18); }
.pdm-ss input.is-invalid { border-color: #b3261e; }
.pdm-ss-field small { display: block; color: var(--muted); font-size: 13px; margin-top: 5px; }
.pdm-ss .pdm-err { display: block; color: #b3261e; font-size: 14px; margin-top: 5px; }
.pdm-ss .pdm-err:empty { display: none; }
.pdm-ss-slug { display: flex; align-items: stretch; border: 1.5px solid #cfcac0; border-radius: 12px; overflow: hidden; background: #fff; }
.pdm-ss-slug:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(38, 67, 208, .18); }
.pdm-ss-slug__base { display: flex; align-items: center; padding: 0 4px 0 14px; color: var(--muted); font-size: 15px; white-space: nowrap; background: #f7f5f1; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.pdm-ss .pdm-ss-slug input { border: 0 !important; box-shadow: none !important; border-radius: 0; padding-left: 4px; min-width: 0; }
.pdm-ss-slugstatus.is-ok { color: #2e7d4f !important; font-weight: 600; }
.pdm-ss-slugstatus.is-bad { color: #b3261e !important; font-weight: 600; }
.pdm-ss-check label, label.pdm-ss-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 15px !important; cursor: pointer; }
.pdm-ss-check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.pdm-ss .pdm-form__error { color: #b3261e; font-weight: 600; margin: 4px 0 12px; }
.pdm-ss .pdm-form__error:empty { display: none; }
.pdm-ss .pdm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.pdm-ss-done h3 { font-size: 1.5rem; }
.pdm-ss-notice { border-radius: 12px; padding: 12px 16px; margin: 0 0 18px; font-size: 15px; }
.pdm-ss-notice--ok { background: #e5f2ea; color: #1f5c39; }
.pdm-ss-notice--err { background: #fbe7e5; color: #8c1d16; }
.pdm-ss .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Artist Login */
.pdm-login { background: linear-gradient(180deg, var(--warm), #efe9df); padding: clamp(40px, 7vw, 96px) 16px; }
.pdm-login__card { max-width: 480px; margin: 0 auto; background: #fff; border-radius: 22px; padding: clamp(26px, 4vw, 44px); box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 30px 60px -30px rgba(40, 30, 20, .35); }
.pdm-login__card h1 { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); font-stretch: 116%; }
.pdm-login__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; flex-wrap: wrap; font-size: 15px; }
.pdm-login__row input { flex: 1; }
.pdm-login__foot { margin: 22px 0 6px; text-align: center; }
.pdm-login__shop { text-align: center; margin: 0; }
.pdm-login__resend { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); }

/* Responsive */
@media (max-width: 960px) {
	.pdm-ss-hero__grid, .pdm-ss-pricing__grid, .pdm-ss-join__grid { grid-template-columns: 1fr; }
	.pdm-ss-hero__art { min-height: 0; aspect-ratio: 1 / .9; max-width: 560px; width: 100%; }
	.pdm-ss-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pdm-ss-example__grid { grid-template-columns: 1fr; }
	.pdm-ss-example__flat { max-width: 260px; }
	.pdm-ss-example__arrow { transform: rotate(90deg); justify-self: start; margin-left: 110px; }
}
@media (max-width: 640px) {
	.pdm-ss { font-size: 16px; }
	.pdm-ss-wrap { padding: 0 18px; }
	.pdm-ss-cards, .pdm-ss-steplist { grid-template-columns: 1fr; }
	.pdm-ss-row { grid-template-columns: 1fr; gap: 0; }
	.pdm-ss-fees { padding: 4px 18px; }
	.pdm-ss-fees > div { grid-template-columns: 1fr; gap: 2px; }
	.pdm-ss-example__rooms { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.pdm-ss-ctas .pdm-ss-btn { flex: 1 1 100%; }
	.pdm-ss-slug__base { font-size: 13px; max-width: 48%; }
}
@media (prefers-reduced-motion: reduce) {
	.pdm-ss-btn, .pdm-ss-frame { transition: none; }
}
