:root {
  color-scheme: light;
  --paper: #faf9f7;
  --white: #fff;
  --ink: #181817;
  --muted: #64625e;
  --line: #e3e0da;
  --surface: #efede8;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-padding-top: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, p { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
a { color: inherit; }
img { display: block; width: 100%; }
:focus-visible { outline: 2px solid #55534e; outline-offset: 3px; }
.shell, .header-inner { width: min(100% - 64px, 1320px); margin-inline: auto; }
.icon-library, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.icon { display: inline-block; width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.announcement { background: var(--ink); color: var(--white); text-align: center; padding: 9px 12px; font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.site-header { position: sticky; top: 0; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: block; justify-self: start; width: 142px; }
.brand img { height: 45px; object-fit: cover; }
.header-inner .brand { margin-left: -17px; mix-blend-mode: multiply; }
.header-inner .brand img { filter: invert(1); }
.footer-grid .brand { margin-left: -17px; mix-blend-mode: screen; }
.header-inner nav, .header-actions { display: flex; align-items: center; }
.header-inner nav { gap: clamp(16px, 2.6vw, 36px); }
.header-inner nav a { padding-block: 10px; font-size: .85rem; text-decoration: none; font-weight: 700; }
.header-inner nav a:hover, .footer-grid a:hover { text-decoration: underline; text-underline-offset: .3em; }
.header-actions { justify-self: end; gap: 3px; }
.icon-button, .cart-toggle, .close { display: inline-flex; justify-content: center; align-items: center; min-width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; }
.icon-button:hover, .cart-toggle:hover, .close:hover { background: var(--surface); }
.menu-toggle { display: none; }
.cart-toggle { gap: 5px; padding-inline: 7px; border-radius: 24px; }
.cart-toggle span { min-width: 20px; padding: 3px; text-align: center; border-radius: 20px; background: var(--ink); color: var(--white); font-size: .65rem; font-weight: 800; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 18px; border-radius: 9px; font-weight: 800; text-decoration: none; font-size: .875rem; transition: background .2s ease; }
.primary { background: var(--ink); color: var(--white); border: 1px solid transparent; }
.primary:hover:not(:disabled) { background: #393835; }
.secondary { background: var(--white); border: 1px solid var(--line); }
.secondary:hover { background: var(--surface); }

.hero { display: grid; grid-template-columns: 43% 57%; margin-top: 24px; min-height: 460px; border-radius: 20px; overflow: hidden; background: #efede7; }
.hero-copy { display: grid; justify-items: start; align-content: center; gap: 18px; padding: clamp(25px, 4.65vw, 75px); }
.hero h1 { max-width: 13ch; font-size: clamp(2.15rem, 4.4vw, 4.75rem); line-height: 1.02; letter-spacing: -.065em; font-weight: 800; }
.hero p, .personalization p:not(.eyebrow) { max-width: 39ch; line-height: 1.65; color: var(--muted); }
.hero-details { display: grid; }
.hero-details strong { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-art { position: relative; isolation: isolate; overflow: hidden; background: #e3e0d8; min-height: 280px; }
.hero-art img { position: absolute; width: 49%; max-height: 89%; object-fit: contain; mix-blend-mode: multiply; }
.hero-art img:nth-child(1) { width: 58%; top: 7%; left: 3%; z-index: 1; transform: rotate(-7deg); }
.hero-art img:nth-child(2) { width: 42%; height: 56%; top: 0; right: 4%; transform: rotate(8deg); }
.hero-art img:nth-child(3) { width: 34%; height: 47%; bottom: 0; right: 6%; z-index: 2; transform: rotate(-4deg); }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 17px 0; margin: 0; list-style: none; border-bottom: 1px solid var(--line); }
.benefits li { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .82rem; font-weight: 700; }
.section { margin-top: clamp(36px, 5vw, 72px); }
.section h2 { font-size: clamp(1.45rem, 2.7vw, 2.55rem); font-weight: 800; line-height: 1.1; letter-spacing: -.048em; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 19px; }
.section-heading p { margin-top: 5px; color: var(--muted); font-size: .86rem; }
.text-link { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-size: .85rem; font-weight: 800; white-space: nowrap; }
.text-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.text-link .icon { width: 18px; }
.category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 19px; }
.category-card { min-width: 0; text-decoration: none; font-size: .85rem; font-weight: 800; text-align: center; }
.category-card img { aspect-ratio: 1.18; object-fit: cover; border-radius: 12px; background: var(--surface); }
.category-card span { display: block; margin-top: 8px; }
.category-card:hover span { text-decoration: underline; text-underline-offset: .2em; }
.collection { border-top: 1px solid var(--line); padding-top: clamp(24px, 4vw, 45px); }
.catalog-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
label { display: grid; gap: 6px; font-size: .875rem; font-weight: 700; }
input, select, textarea { min-width: 0; min-height: 44px; width: 100%; background: var(--white); border: 1px solid #ccc9c2; border-radius: 8px; padding: 9px 12px; color: var(--ink); font-weight: 400; }
textarea { resize: vertical; }
.search { position: relative; width: min(100%, 250px); }
.search .icon { position: absolute; z-index: 1; top: 50%; left: 12px; transform: translateY(-50%); pointer-events: none; width: 18px; }
.search input { padding-left: 38px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { background: var(--white); border: 1px solid var(--line); border-radius: 24px; min-height: 42px; padding: 6px 13px; white-space: nowrap; font-size: .82rem; font-weight: 700; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.result-count { margin: 14px 0 10px; font-size: .8rem; color: var(--muted); }
.poster-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.poster-card { min-width: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--white); text-align: left; transition: box-shadow .2s ease, border-color .2s ease; }
.poster-card img { aspect-ratio: 1; object-fit: contain; background: #f6f5f2; }
.card-info { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; padding: 10px 12px; gap: .25rem .55rem; font-size: .83rem; background: var(--white); }
.card-info strong { font-weight: 800; }
.card-info span { color: var(--muted); }
.more { display: flex; margin: 22px auto 0; }
.personalization { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; overflow: hidden; border-radius: 17px; background: var(--surface); }
.personalization > div:last-child { display: grid; gap: 12px; padding: clamp(20px, 5vw, 60px); }
.personal-image { background: #e7e4dd; }
.personal-image img { max-height: 315px; object-fit: contain; mix-blend-mode: multiply; }
.eyebrow { color: var(--muted); font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; }
footer { margin-top: clamp(42px, 6vw, 80px); padding: 36px 0 20px; background: #232321; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
.footer-grid > div { display: grid; align-content: start; gap: 8px; }
.footer-grid h2 { font-size: .93rem; }
.footer-grid p, .footer-grid a:not(.brand), .footer-end { color: #e3e0db; font-size: .83rem; text-decoration: none; }
.footer-end { border-top: 1px solid #52504b; margin-top: 26px; padding-top: 15px; }
.whatsapp { position: fixed; z-index: 1; right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--white); box-shadow: 0 4px 16px #0003; }

dialog { color: var(--ink); background: var(--white); border: 0; padding: 0; max-width: none; max-height: 93dvh; }
dialog[open] { animation: reveal .2s ease-out; }
dialog::backdrop { background: rgb(17 16 14 / .55); }
@keyframes reveal { from { opacity: 0; translate: 0 8px; } }
#product-dialog { width: min(940px, 100% - 28px); border-radius: 16px; }
.product-layout { display: grid; grid-template-columns: 1.04fr 1fr; }
.product-media { display: grid; align-items: center; min-width: 0; background: var(--surface); }
.product-media img { max-height: min(65dvh, 580px); object-fit: contain; mix-blend-mode: multiply; }
.product-close { position: absolute; top: 8px; right: 8px; background: var(--white); }
.product-details { display: grid; gap: 8px; align-content: center; padding: clamp(20px, 4vw, 40px); }
.product-details h2, .drawer-heading h2 { font-size: clamp(1.5rem, 3.5vw, 2.35rem); line-height: 1.1; letter-spacing: -.05em; }
.product-price { font-size: 1.25rem; font-weight: 800; }
form { display: grid; gap: 12px; }
fieldset { margin: 6px 0 0; min-width: 0; border: 0; padding: 0; }
legend { margin-bottom: 7px; padding: 0; font-size: .85rem; font-weight: 800; }
.format-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.format-options label { position: relative; cursor: pointer; }
.format-options input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.format-options label > span { display: grid; gap: 2px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; }
.format-options small { font-weight: 600; color: var(--muted); }
.format-options input:checked + span { border-color: #55534e; background: var(--surface); }
.format-options input:focus-visible + span { outline: 2px solid #55534e; outline-offset: 2px; }
.purchase-row, .quantity-control, .product-benefits li, .payment-note { display: flex; align-items: center; gap: 8px; }
.purchase-row .primary { flex: 1; padding-inline: 9px; }
.quantity-control { gap: 0; border: 1px solid var(--line); border-radius: 8px; }
.quantity-control button { min-width: 38px; min-height: 44px; border: 0; background: transparent; font-size: 1.1rem; }
.quantity-control input { width: 33px; padding: 0; border: 0; text-align: center; appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button, .quantity-control input::-webkit-outer-spin-button { appearance: none; }
.product-benefits { display: grid; gap: 6px; margin: 8px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); font-size: .8rem; }
.muted { color: var(--muted); font-size: .85rem; }
.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(100%, 470px); height: 100%; max-height: 100dvh; border-radius: 15px 0 0 15px; }
.drawer[open] { animation-name: slide-in; }
@keyframes slide-in { from { translate: 40px 0; opacity: .6; } }
.drawer-inner { padding: 16px clamp(16px, 4vw, 26px) max(24px, env(safe-area-inset-bottom)); }
.drawer-heading { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 6px 0; margin-bottom: 12px; background: var(--white); }
.shipping-progress { background: var(--surface); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; font-size: .82rem; font-weight: 800; }
progress { display: block; width: 100%; height: 7px; margin-top: 6px; border: 0; border-radius: 10px; overflow: hidden; accent-color: var(--ink); }
progress::-webkit-progress-bar { background: #d7d4cd; }
progress::-webkit-progress-value { background: var(--ink); }
#cart-feedback { margin-bottom: 8px; font-size: .85rem; }
.cart-line { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line img { aspect-ratio: 1; object-fit: contain; border-radius: 7px; }
.cart-line p { margin: 4px 0; color: var(--muted); font-size: .79rem; }
.line-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: .85rem; }
.line-controls input { width: 62px; }
.text-button { min-height: 44px; border: 0; background: transparent; text-decoration: underline; color: var(--muted); }
details { margin-top: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
summary { cursor: pointer; font-weight: 800; padding: 13px 0; }
.inline-form { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
#promotion-message { margin-top: 8px; }
.totals > div { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: .9rem; }
.totals > div:last-child { font-weight: 800; border-top: 1px solid var(--line); padding-top: 10px; }
.totals dd { margin: 0; }
.notice { background: var(--surface); border-radius: 8px; padding: 10px; font-size: .83rem; }
.order-error { background: #faece9; color: #782d24; }
#submit-order[disabled]:has(.order-spinner:not([hidden])) { opacity: .85; }
.order-spinner { width: 16px; height: 16px; flex: none; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: order-spin .75s linear infinite; }
@keyframes order-spin { to { transform: rotate(360deg); } }
#order-confirmation { width: min(560px, calc(100% - 24px)); border-radius: 18px; }
.confirmation-content { display: grid; gap: 16px; padding: clamp(15px, 4vw, 28px); }
.confirmation-header { display: grid; justify-items: center; gap: 9px; text-align: center; }
.confirmation-header h2 { font-size: clamp(1.45rem, 5vw, 2rem); letter-spacing: -.05em; line-height: 1.1; }
.confirmation-header > p { color: var(--muted); font-size: .875rem; line-height: 1.5; }
.confirmation-check { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #236747; background: #e5f1e9; }
#order-confirmation[open] .confirmation-check { animation: confirmation-in .28s ease-out both; }
@keyframes confirmation-in { from { opacity: 0; transform: scale(.84); } }
.confirmation-check .icon { width: 28px; height: 28px; stroke-width: 2; }
.confirmation-reference { padding: 7px 10px; border-radius: 8px; background: var(--surface); overflow-wrap: anywhere; }
.confirmation-reference strong { color: var(--ink); }
.confirmation-receipt { display: grid; gap: 7px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.confirmation-receipt h3 { margin: 0; font-size: 1rem; }
.confirmation-receipt ul { display: grid; margin: 0; padding: 0; list-style: none; }
.confirmation-receipt li { display: flex; align-items: start; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .83rem; }
.confirmation-receipt li div { display: grid; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.confirmation-receipt li span { color: var(--muted); }
.confirmation-receipt li > strong { white-space: nowrap; }
.confirmation-receipt .totals { margin: 5px 0 0; }
.confirmation-receipt .payment-note { font-size: .83rem; }
.confirmation-actions { display: grid; grid-template-columns: 1fr; gap: 7px; }
.custom-page { margin-block: clamp(24px, 5vw, 64px); }
.studio-heading { border-radius: 20px; background: #efede7; padding: clamp(20px, 5vw, 60px); }
.studio-heading h1 { max-width: 18ch; font-size: clamp(1.8rem, 5.2vw, 4.5rem); line-height: 1; letter-spacing: -.06em; }
.studio-heading p { max-width: 52ch; color: var(--muted); margin-top: 12px; line-height: 1.6; }
.studio-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; margin: 10px 0 22px; list-style: none; border-bottom: 1px solid var(--line); }
.studio-steps li { display: flex; align-items: center; justify-content: center; gap: 9px; min-width: 0; padding: 14px 7px; font-size: .85rem; font-weight: 800; }
.studio-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 320px); align-items: start; gap: clamp(12px, 2vw, 24px); }
.studio-workspace, .studio-summary { min-width: 0; display: grid; gap: 13px; }
.studio-workspace h2, .studio-summary h2 { font-size: clamp(1.15rem, 2vw, 1.55rem); letter-spacing: -.04em; }
.studio-drop { display: grid; justify-items: center; text-align: center; gap: 8px; padding: clamp(19px, 4vw, 44px) 14px; border: 1px dashed #a8a297; border-radius: 15px; background: #f4f2ed; transition: background .18s, border-color .18s; }
.studio-drop.is-dragging { background: #e5e1d8; border-color: var(--ink); }
.studio-drop > .icon { box-sizing: content-box; padding: 10px; border-radius: 12px; background: var(--white); }
.studio-drop p { color: var(--muted); font-size: .83rem; }
.studio-drop .primary { margin: 3px 0; }
.studio-drop #custom-limits { font-size: .72rem; }
.studio-formats { display: grid; gap: 9px; }
.studio-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.studio-option { display: grid; justify-items: start; gap: 2px; min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); text-align: left; font-size: .8rem; }
.studio-option small, .studio-option span { color: var(--muted); }
.studio-option[aria-pressed="true"] { border-color: var(--ink); background: #efede8; box-shadow: inset 0 0 0 1px var(--ink); }
.custom-grid { display: grid; gap: 10px; }
.custom-grid:empty { display: none; }
.custom-card { display: grid; grid-template-columns: minmax(115px, 30%) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.custom-stage { min-height: 150px; display: grid; place-items: center; padding: 13px; background: #eeebe4; }
.custom-frame { width: min(100%, calc(128px * var(--frame-ratio, .75))); border: 6px solid #292622; background: #f6f3ee; box-shadow: 4px 6px 11px #0003; overflow: hidden; }
.custom-frame img { height: 100%; object-fit: contain; }
.custom-fields { display: grid; align-content: center; gap: 7px; min-width: 0; padding: 12px; }
.custom-fields h3 { margin: 0; font-size: .95rem; }
.custom-fields p:empty { display: none; }
.studio-card-total { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.studio-card-total .text-button { margin-inline-start: auto; padding: 0 4px; }
.studio-summary { position: sticky; top: 90px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.studio-summary-total { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .86rem; }
.studio-summary-total strong { font-size: 1.3rem; letter-spacing: -.04em; }
.studio-benefits { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: .8rem; }
.studio-benefits li { display: flex; align-items: flex-start; gap: 6px; }
.studio-fallback { display: grid; justify-items: start; gap: 5px; }
.studio-fallback .secondary { padding-inline: 9px; }
.studio-fallback.is-priority .secondary { border-color: #166c44; background: #166c44; color: white; }
.studio-fallback.is-priority .secondary:hover { background: #105737; }

@media (hover: hover) {
  .poster-card:hover { border-color: #bcb8b0; box-shadow: 0 7px 18px #23201912; }
}
@media (max-width: 900px) {
  .hero { min-height: 380px; }
  .hero-copy { padding: 25px; }
}
@media (max-width: 700px) {
  :root { scroll-padding-top: 69px; }
  .shell, .header-inner { width: calc(100% - 28px); }
  .header-inner { min-height: 60px; gap: 4px; }
  .header-inner .brand { grid-column: 2; grid-row: 1; justify-self: center; width: 112px; margin-left: 0; }
  .menu-toggle { display: inline-flex; grid-column: 1; grid-row: 1; justify-self: start; margin-left: -8px; }
  .header-actions { grid-column: 3; grid-row: 1; margin-right: -6px; }
  .header-inner nav { display: none; position: absolute; inset: 100% 0 auto; padding: 8px 16px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 8px 18px #0001; }
  .header-inner nav.is-open { display: grid; gap: 0; }
  .header-inner nav a { min-height: 44px; }
  .hero { grid-template-columns: 1fr; margin-top: 12px; border-radius: 13px; min-height: auto; }
  .hero-copy { gap: 11px; padding: 19px; }
  .hero p, .personalization p:not(.eyebrow) { font-size: .86rem; }
  .hero-art { min-height: 0; height: clamp(172px, 55vw, 300px); }
  .benefits { grid-template-columns: repeat(2, 1fr); gap: 9px; padding: 12px 0; }
  .benefits li { justify-content: start; gap: 5px; font-size: .73rem; }
  .benefits .icon { width: 19px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .category-card { font-size: .76rem; }
  .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .card-info { padding: 8px; font-size: .78rem; }
  .search { width: 100%; }
  .filters { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding: 4px 3px; }
  input, select, textarea { font-size: 1rem; }
  .studio-layout { grid-template-columns: 1fr; }
  .studio-summary { position: static; }
  .studio-steps li { flex-direction: column; text-align: center; font-size: .74rem; }
  .studio-drop-hint { display: none; }
  .custom-card { grid-template-columns: 1fr; }
  .studio-option { padding: 6px 5px; }
  .personalization { grid-template-columns: 36% 64%; }
  .personalization > div:last-child { padding: 15px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  #product-dialog { width: min(100% - 16px, 500px); }
  .product-layout { grid-template-columns: 1fr; }
  .product-media img { max-height: 33dvh; }
  .product-details { padding: 14px; }
  .drawer { border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
