:root{--bg:#fff;--ink:#0a0a0a;--muted:#6a6a6a;--line:#d8d8d8;--soft:#f4f4f4;--error:#a30000;--success:#007a3d}*{box-sizing:border-box}html{overflow-x:hidden}body{margin:0;max-width:100%;overflow-x:hidden;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:14px}img,video,canvas{max-width:100%;height:auto}a{color:inherit;text-decoration:none}.announcement{border-bottom:1px solid var(--line);padding:10px 24px;text-align:center;font-size:11px;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;overflow:hidden}.site-header{min-height:64px;padding:0 28px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;background:var(--bg);position:sticky;top:0;z-index:20}.logo{font-weight:700;letter-spacing:.06em;text-transform:uppercase}.nav{display:flex;gap:26px;align-items:center;min-width:0;flex-wrap:wrap}.nav a{font-size:12px;letter-spacing:.06em;text-transform:uppercase}.nav a:hover,.nav a.active{text-decoration:underline;text-underline-offset:4px}.home-hero{padding:54px 28px 34px;border-bottom:1px solid var(--line);min-width:0}.home-hero h1{margin:0;max-width:100%;overflow-wrap:anywhere;font-size:clamp(52px,13vw,180px);line-height:.82;letter-spacing:-.075em;font-weight:500}.home-hero p{margin:18px 0 0;max-width:520px;color:var(--muted);font-size:15px;line-height:1.5;overflow-wrap:anywhere}.art-banner{display:grid;grid-template-columns:1.4fr 1fr 1.2fr .9fr;gap:12px;padding:28px;border-bottom:1px solid var(--line);min-width:0}.banner-tile{height:460px;min-width:0;background:var(--soft);background-position:center;background-size:cover;background-repeat:no-repeat;border:1px solid var(--line);overflow:hidden}.tile-one{background-image:linear-gradient(45deg,#d9d9d9,#f5f5f5)}.tile-two{background-image:linear-gradient(135deg,#ededed,#cfcfcf)}.tile-three{background-image:linear-gradient(180deg,#f7f7f7,#d5d5d5)}.tile-four{background-image:linear-gradient(135deg,#e3e3e3,#fafafa)}.about-section{display:grid;grid-template-columns:minmax(260px,390px) minmax(0,680px);gap:42px;padding:42px 28px;border-bottom:1px solid var(--line);min-width:0}.portrait-placeholder{aspect-ratio:4/5;width:100%;max-width:390px;min-width:0;border:1px solid var(--line);background:var(--soft);display:grid;place-items:center;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:11px;overflow:hidden}.portrait-placeholder img{width:100%;height:100%;display:block;object-fit:cover}.about-copy{min-width:0;overflow-wrap:anywhere}.section-label{margin:0 0 12px;color:var(--muted);font-size:11px;letter-spacing:.08em;text-transform:uppercase}.about-copy h2,.page-intro h1{margin:0 0 16px;max-width:100%;overflow-wrap:anywhere;font-size:clamp(34px,7vw,82px);line-height:.9;font-weight:500;letter-spacing:-.05em}.about-copy p,.page-intro p,.auction-rules p,.product-info p,.notice{color:var(--muted);line-height:1.55;overflow-wrap:anywhere}.split-links{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line);min-width:0}.split-links a{min-height:180px;min-width:0;padding:28px;border-right:1px solid var(--line);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.split-links a:last-child{border-right:0}.split-links a:hover{background:var(--soft)}.split-links span{font-size:clamp(28px,5vw,64px);line-height:.9;letter-spacing:-.05em;overflow-wrap:anywhere}.split-links small{color:var(--muted);font-size:13px;overflow-wrap:anywhere}.page{padding:0 28px 42px;min-width:0}.page-intro{padding:52px 0 32px;max-width:900px;min-width:0}.auction-rules{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;margin-bottom:28px}.auction-rules p{margin:0}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:18px;row-gap:44px;min-width:0}.product-card{min-width:0;max-width:100%;overflow:hidden}.art-image{width:100%;aspect-ratio:1/1.12;background:linear-gradient(135deg,var(--c1),var(--c2));border:1px solid var(--line);margin-bottom:12px;overflow:hidden}.art-image img{width:100%;height:100%;max-width:none;display:block;object-fit:cover}.product-title-row{display:flex;justify-content:space-between;gap:16px;align-items:baseline;margin-bottom:6px;min-width:0}.product-title-row h3{margin:0;min-width:0;overflow-wrap:anywhere;font-size:14px;line-height:1.25;font-weight:600;text-transform:uppercase;letter-spacing:.03em}.price,.current-bid{white-space:nowrap;font-weight:600}.product-meta{margin:0 0 8px;color:var(--muted);font-size:12px;line-height:1.45;overflow-wrap:anywhere}.product-info p{margin:0 0 10px}.countdown{margin:0 0 10px;font-size:12px;font-weight:700;text-transform:uppercase}.bid-form,.checkout-form{border-top:1px solid var(--line);margin-top:14px;padding-top:14px;display:grid;gap:8px;min-width:0}input,select,textarea{width:100%;max-width:100%;min-width:0;border:1px solid var(--line);background:var(--bg);padding:12px;border-radius:0;font:inherit}textarea{resize:vertical;overflow:auto}input:focus,select:focus,textarea:focus{outline:1px solid var(--ink)}button,.button{max-width:100%;border:1px solid var(--ink);background:var(--ink);color:var(--bg);padding:12px 14px;border-radius:0;font:inherit;font-size:12px;letter-spacing:.06em;text-transform:uppercase;text-align:center;cursor:pointer;display:inline-block;overflow-wrap:anywhere}button:hover,.button:hover{background:var(--bg);color:var(--ink)}button:disabled{opacity:.5;cursor:not-allowed}.notice{margin:8px 0 0;font-size:12px}.notice.error{color:var(--error)}.notice.success{color:var(--success)}.footer{min-height:80px;padding:20px 28px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:12px;min-width:0}.footer p{margin:0;overflow-wrap:anywhere}.admin-panel{max-width:980px;padding:40px 28px;margin:0 auto;min-width:0}.admin-card{max-width:100%;border:1px solid var(--line);padding:18px;margin:18px 0;overflow:hidden}.admin-card h3{margin-top:0;overflow-wrap:anywhere}@media(max-width:960px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.art-banner{grid-template-columns:1fr 1fr}.banner-tile{height:330px}}@media(max-width:680px){.site-header{padding:16px;align-items:flex-start;flex-direction:column;gap:16px}.nav{gap:18px;flex-wrap:wrap}.home-hero,.page,.art-banner,.about-section,.split-links a,.footer,.announcement,.admin-panel{padding-left:16px;padding-right:16px}.art-banner,.about-section,.split-links,.product-grid{grid-template-columns:1fr}.banner-tile{height:360px}.about-section{gap:24px}.portrait-placeholder{max-width:none}.split-links a{border-right:0;border-bottom:1px solid var(--line)}.footer{flex-direction:column}}

.terms-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  line-height: 1.5;
}
.terms-row input { width: 18px; margin-top: 2px; }
.terms-row span { font-size: 13px; }


.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.admin-actions button {
  width: auto;
}


.shipping-box {
  border: 1px solid var(--line);
  padding: 12px;
  margin: 12px 0;
  background: #fafafa;
}

.shipping-box.compact {
  margin-top: 8px;
  background: #fff;
}

.shipping-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
  color: var(--muted);
  font-size: 12px;
}

.shipping-row:last-child { border-bottom: 0; }
.shipping-row strong { color: var(--ink); white-space: nowrap; }
.shipping-row.total { color: var(--ink); font-weight: 700; }
.shipping-row.total strong { font-size: 15px; }

.shipping-details summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bid-total-preview {
  border: 1px solid var(--line);
  padding: 10px;
  margin: 0;
  background: #fafafa;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.4;
}


.artwork-form {
  display: grid;
  gap: 14px;
}

.artwork-form textarea {
  min-height: 100px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-actions button {
  width: auto;
}

.footer a,
.notice a {
  color: inherit;
  text-decoration: underline;
}

.website-editor-card { overflow: hidden; }
.editor-card-heading { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.editor-card-heading h2 { margin: 0 0 8px; font-size: 26px; font-weight: 500; }
.website-editor-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 20px; padding-top: 18px; }
.website-preview-wrap { min-width: 0; border: 1px solid var(--line); background: var(--soft); padding: 8px; }
.website-preview { width: 100%; height: 720px; display: block; border: 0; background: #fff; }
.website-editor-layout label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; }
.website-editor-layout fieldset { display: grid; gap: 8px; border: 1px solid var(--line); padding: 12px; }
.website-editor-layout legend { padding: 0 5px; color: var(--muted); font-size: 12px; }
.artwork-image-preview { min-height: 180px; border: 1px solid var(--line); background: var(--soft); display: grid; place-items: center; position: relative; color: var(--muted); font-size: 12px; overflow: hidden; }
.artwork-image-preview img { width: 100%; height: 260px; display: block; object-fit: contain; background: #fff; }
.preview-fallback { display: none; }
@media(max-width:900px) { .website-editor-layout { grid-template-columns: 1fr; } .website-preview { height: 560px; } }
@media(max-width:680px) { .editor-card-heading { flex-direction: column; } }

.product-card > .checkout-form,
.product-card > .notice { display: none; }
.product-card .product-info > p { display: none; }
.purchase-print { width: 100%; margin-top: 8px; }
.purchase-original { width: 100%; margin-top: 8px; }
.shine-button { width: 100%; margin-top: 8px; background: var(--bg); color: var(--ink); border-color: var(--ink); }
.shine-button:hover, .shine-button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.original-art-image { background: transparent; border: 0; }
.original-art-image img { object-fit: contain; background: transparent; }
.view-products { width: 100%; margin-top: 8px; }
.product-count { color: var(--muted); font-size: 12px; white-space: nowrap; }
.product-choice-label { display: block; margin: 16px 0 6px; color: var(--muted); font-size: 12px; }
.variant-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-button { background: var(--bg); color: var(--ink); border-color: var(--line); text-transform: none; letter-spacing: 0; }
.variant-button:hover, .variant-button.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.product-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.product-option { border: 1px solid var(--line); padding: 7px 9px; color: var(--muted); font-size: 12px; text-transform: capitalize; }
.print-dialog { width: min(680px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border: 1px solid var(--ink); padding: 28px; background: var(--bg); color: var(--ink); }
.print-dialog::backdrop { background: rgba(0, 0, 0, .42); }
.dialog-close { display: block; margin-left: auto; background: var(--bg); color: var(--ink); padding: 8px 10px; }
.dialog-heading { border-bottom: 1px solid var(--line); padding: 14px 0 18px; margin-bottom: 18px; }
.dialog-heading h2 { margin: 0 0 8px; font-size: clamp(28px, 5vw, 48px); line-height: .95; font-weight: 500; }
.dialog-heading p { margin: 8px 0 0; }
.dialog-price { font-weight: 600; color: var(--ink) !important; }
.print-dialog .checkout-form { display: grid; margin-top: 0; border-top: 0; padding-top: 0; }
.product-view-layout { display: grid; grid-template-columns: minmax(220px, .9fr) minmax(280px, 1.1fr); gap: 24px; align-items: start; }
.product-preview { min-width: 0; }
.selected-product-image { width: 100%; aspect-ratio: 1 / 1.1; object-fit: contain; display: block; border: 1px solid var(--line); background: var(--soft); }
.product-thumbnails { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.product-thumbnail { width: 58px; height: 58px; padding: 0; border: 1px solid var(--line); background: var(--bg); }
.product-thumbnail.active { border-color: var(--ink); }
.product-thumbnail img { width: 100%; height: 100%; object-fit: cover; display: block; }
.empty-preview { aspect-ratio: 1 / 1.1; border: 1px solid var(--line); background: var(--soft); display: grid; place-items: center; padding: 20px; color: var(--muted); text-align: center; }
.compact-grid { grid-template-columns: 1.5fr .75fr .9fr; }
select { width: 100%; border: 1px solid var(--line); background: var(--bg); padding: 12px; border-radius: 0; font: inherit; }
select:focus { outline: 1px solid var(--ink); }
@media(max-width:680px) { .print-dialog { padding: 18px; } .compact-grid { grid-template-columns: 1fr; } }
@media(max-width:760px) { .product-view-layout { grid-template-columns: 1fr; } .selected-product-image, .empty-preview { max-height: 360px; } }
/* Single homepage banner: keep the supplied artwork inside a predictable frame. */
.art-banner { display: block; padding: 28px; border-bottom: 1px solid var(--line); min-width: 0; }
.banner-image { width: 100%; max-width: 100%; aspect-ratio: 3 / 1; min-height: 220px; background: var(--soft) center / cover no-repeat; border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.banner-image.has-image span { display: none; }
@media (max-width: 680px) { .banner-image { aspect-ratio: 16 / 9; min-height: 0; } }

.portrait-placeholder img { object-fit: contain; }

/* Discourage casual saving and dragging of displayed artwork. */
.art-image img, .product-preview img, .portrait-placeholder img, .banner-image { user-select: none; -webkit-user-drag: none; }
.about-copy p { font-size: 18px; line-height: 1.65; white-space: pre-line; }

/* Make the About section full-bleed with a taller, unframed artist image. */
.about-section { grid-template-columns: minmax(320px, 44vw) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding: 56px 0; width: 100%; align-items: stretch; }
.portrait-placeholder { aspect-ratio: 3 / 4; max-width: none; border: 0; background: transparent; }
.portrait-placeholder img { object-fit: cover; }
.about-copy { padding: 0 28px 0 0; }
@media (max-width: 680px) {
  .about-section { grid-template-columns: 1fr; padding: 32px 0; gap: 24px; }
  .portrait-placeholder { aspect-ratio: 4 / 5; }
  .about-copy { padding: 0 16px; }
}
