@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
  color-scheme: light;
  --ink: #1b1b19;
  --ink-soft: #2d2c28;
  --sand: #ebe6dc;
  --sand-light: #f5f2eb;
  --paper: #faf9f6;
  --line: #d8d2c8;
  --muted: #817d74;
  --serif: 'Playfair Display', 'Iowan Old Style', Georgia, serif;
  --sans: 'DM Sans', 'Avenir Next', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
[hidden] { display: none !important; }

.topline { height: 28px; display: flex; align-items: center; justify-content: center; color: #ddd7cb; background: var(--ink); font-size: 9px; letter-spacing: .19em; font-weight: 600; }
.site-header { height: 82px; padding: 0 clamp(24px, 6vw, 92px); display: flex; align-items: center; gap: 32px; border-bottom: 1px solid rgba(250,249,246,.16); color: var(--paper); background: var(--ink); }
.brand { display: inline-flex; align-items: center; min-width: 0; width: 82px; }
.brand-logo { display: grid; width: 78px; height: 45px; place-items: center; overflow: hidden; background: transparent; }
.brand-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.desktop-nav { margin-inline: auto; display: flex; align-items: center; gap: 40px; color: #e2ddd3; font-size: 12px; }
.desktop-nav a { transition: color .2s ease; }
.desktop-nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-button { width: 40px; height: 40px; border: 1px solid rgba(250,249,246,.48); border-radius: 50%; display: grid; place-items: center; color: var(--paper); background: transparent; cursor: pointer; transition: background .2s ease, color .2s ease; }
.icon-button:hover { background: var(--paper); color: var(--ink); }
.icon-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.admin-entry { border: 0; border-bottom: 1px solid currentColor; padding: 7px 0; color: var(--paper); background: transparent; cursor: pointer; font-size: 11px; font-weight: 600; }
.admin-entry span { margin-left: 7px; }

.hero { min-height: 570px; padding: 62px clamp(24px, 10.4vw, 160px) 66px; display: grid; grid-template-columns: 1fr minmax(340px, .83fr); align-items: center; gap: clamp(40px, 8vw, 128px); overflow: hidden; background: var(--sand-light); }
.hero-copy { max-width: 500px; padding-bottom: 12px; }
.eyebrow { margin: 0 0 20px; color: var(--muted); font-size: 9px; line-height: 1.5; font-weight: 700; letter-spacing: .18em; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--ink); vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 0 0 19px; font-family: var(--serif); font-size: clamp(54px, 6.7vw, 88px); line-height: .99; font-weight: 500; letter-spacing: -.055em; }
h1 em, h2 em { font-weight: 500; }
.hero-description { max-width: 375px; margin: 0; color: #68645d; font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 27px; margin-top: 31px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 14px; border: 1px solid transparent; border-radius: 2px; padding: 0 20px; cursor: pointer; font-weight: 600; font-size: 11px; letter-spacing: .01em; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-dark { color: var(--paper); background: var(--ink); }
.button-dark:hover { background: #35342f; }
.button-dark span { font-size: 16px; line-height: 1; }
.button-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.button-outline:hover { border-color: var(--ink); }
.button-wide { width: 100%; }
.text-button { display: inline-flex; align-items: center; gap: 7px; border: 0; padding: 0; color: #555149; background: transparent; cursor: pointer; font-size: 11px; font-weight: 600; }
.text-button:hover, .story-link:hover { color: var(--ink); }
.text-button span { font-size: 14px; }
.hero-note { margin-top: 58px; display: flex; align-items: center; gap: 11px; color: #7b766d; font-size: 10px; }
.note-line { width: 35px; height: 1px; background: #9e978a; }
.hero-art { position: relative; width: 100%; max-width: 440px; justify-self: end; padding: 0 24px 22px 0; }
.hero-image-frame { position: relative; height: 412px; background: #d8d0c1; overflow: hidden; }
.hero-image-frame::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, transparent 68%, rgba(31,29,25,.12)); pointer-events: none; }
.hero-image-frame img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.78); }
.hero-art::after { position: absolute; right: 0; bottom: 0; width: 72%; height: 69%; border: 1px solid #c6bfb2; content: ''; z-index: 0; }
.hero-seal { position: absolute; z-index: 2; top: 24px; right: -4px; width: 82px; height: 82px; display: grid; place-items: center; border-radius: 50%; color: var(--paper); background: var(--ink); text-align: center; }
.hero-seal span { font-size: 9px; line-height: 1.55; letter-spacing: .15em; }
.hero-seal svg { position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); overflow: visible; animation: slow-rotate 24s linear infinite; }
.hero-seal text { fill: #55544e; font-family: var(--sans); font-size: 7px; letter-spacing: 2px; }
.hero-index { position: absolute; z-index: 2; left: 17px; bottom: 5px; color: #6f695f; font-size: 8px; letter-spacing: .16em; }
@keyframes slow-rotate { to { transform: rotate(360deg); } }

.catalog-section { padding: 94px clamp(24px, 8vw, 126px) 86px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 39px; }
.section-heading .eyebrow { margin-bottom: 11px; }
.section-heading h2, .story-copy h2 { margin-bottom: 0; font-family: var(--serif); font-size: clamp(36px, 4vw, 53px); font-weight: 500; letter-spacing: -.04em; line-height: 1.13; }
.section-aside { margin: 0 2px 5px 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.sample-notice { min-height: 42px; display: flex; align-items: center; gap: 10px; margin: -14px 0 21px; border: 1px solid #d8d0c2; padding: 10px 12px; color: #68645d; background: #f3eee4; font-size: 10px; line-height: 1.6; }
.sample-notice-dot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: #777065; }
.inline-link { border: 0; padding: 0; text-decoration: underline; text-underline-offset: 2px; background: transparent; cursor: pointer; font-weight: 700; }
.notice-close { flex: 0 0 auto; margin-left: auto; border: 0; background: transparent; color: #6c665b; cursor: pointer; font-size: 19px; }
.catalog-tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.category-list { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.category-chip { min-height: 31px; border: 1px solid transparent; border-radius: 30px; padding: 0 13px; color: #716d64; background: transparent; cursor: pointer; font-size: 10px; transition: all .2s ease; }
.category-chip:hover { color: var(--ink); }
.category-chip.active { border-color: var(--ink); color: var(--paper); background: var(--ink); }
.search-box { width: min(240px, 34vw); height: 36px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); padding: 0 9px; }
.search-box svg { width: 15px; height: 15px; fill: none; stroke: #6f6b64; stroke-width: 1.4; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 10px; }
.search-box input::placeholder { color: #969187; }
.search-box kbd { flex: 0 0 auto; border: 1px solid #e3ded5; padding: 2px 4px; color: #9c978d; font-family: var(--sans); font-size: 8px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 22px; min-height: 120px; }
.product-card { position: relative; min-width: 0; animation: fade-up .35s ease both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.product-image-button { position: relative; display: block; width: 100%; aspect-ratio: 4 / 4.85; overflow: hidden; border: 0; padding: 0; background: #ded9cf; cursor: pointer; }
.product-image-button img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-image-button img { transform: scale(1.035); }
.product-image-button.placeholder img { filter: saturate(.75); }
.product-tag { position: absolute; top: 12px; left: 12px; padding: 7px 9px; color: var(--ink); background: rgba(250,249,246,.94); font-size: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.product-tag.out { color: var(--paper); background: var(--ink); }
.product-card-meta { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding-top: 14px; }
.product-category { display: block; margin-bottom: 5px; color: #8b867c; font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }
.product-name { margin: 0; font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.25; }
.product-price { flex: 0 0 auto; padding-top: 16px; color: #605d55; font-size: 11px; }
.product-price.empty { color: #969187; font-size: 10px; }
.product-card-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.product-open { border: 0; border-bottom: 1px solid #b9b2a7; padding: 0 0 4px; color: #514e48; background: transparent; cursor: pointer; font-size: 9px; }
.product-share { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.product-share:hover { color: var(--paper); background: var(--ink); }
.product-share svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.empty-state { grid-column: 1 / -1; padding: 60px 20px; text-align: center; border: 1px dashed var(--line); }
.empty-state strong { display: block; margin-bottom: 8px; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.empty-state p { color: var(--muted); font-size: 12px; }
.empty-state .button { margin-top: 4px; }
.catalog-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 29px; padding-top: 16px; border-top: 1px solid var(--line); }
.product-count { color: #89847a; font-size: 9px; }

.story-section { min-height: 390px; display: grid; grid-template-columns: 1fr 130px; align-items: center; gap: clamp(30px, 7vw, 100px); padding: 63px clamp(24px, 12vw, 185px); background: #eae5db; }
.story-copy { max-width: 475px; }
.story-copy .eyebrow { margin-bottom: 12px; }
.story-copy h2 { font-size: clamp(39px, 4vw, 52px); }
.story-copy > p:not(.eyebrow) { max-width: 430px; margin: 16px 0 20px; color: #6f6a60; font-size: 12px; line-height: 1.8; }
.story-link { display: inline-flex; gap: 10px; border-bottom: 1px solid #a8a094; padding-bottom: 6px; font-size: 10px; font-weight: 600; }
.story-aside { height: 150px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; color: #817b70; font-size: 8px; line-height: 1.6; letter-spacing: .14em; text-align: right; }
.story-number { color: var(--ink); }
.story-line { width: 33px; height: 1px; background: #9e988e; }
.site-footer { min-height: 92px; padding: 20px clamp(24px, 6vw, 92px); color: #d7d1c6; background: var(--ink); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer-main > span { font-size: 11px; letter-spacing: .12em; }
.footer-actions { display: flex; align-items: center; gap: 22px; color: #c2bbae; font-size: 11px; }
.footer-credit { margin: 14px 0 0; border-top: 1px solid rgba(250,249,246,.18); padding-top: 10px; color: #c2bbae; font-size: 12px; line-height: 1.5; text-align: center; }
.footer-credit strong { color: var(--paper); font-weight: 600; }
.footer-share { border: 0; padding: 0; color: #ded8cd; background: transparent; cursor: pointer; font-size: 11px; }

.product-dialog { position: fixed; width: min(900px, calc(100% - 32px)); max-width: 900px; max-height: min(88vh, 820px); border: 0; padding: 0; overflow: visible; color: var(--ink); background: var(--paper); box-shadow: 0 20px 80px rgba(0,0,0,.22); }
.product-dialog::backdrop { background: rgba(22,21,19,.62); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(250,249,246,.93); cursor: pointer; font-size: 23px; }
.product-detail { max-height: min(88vh, 820px); display: grid; grid-template-columns: 1.05fr 1fr; overflow: auto; }
.detail-gallery { min-width: 0; min-height: 540px; display: flex; flex-direction: column; background: #ded9cf; }
.detail-image { min-height: 0; flex: 1; overflow: hidden; background: #ded9cf; }
.detail-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.detail-thumbnails { display: flex; gap: 8px; overflow-x: auto; padding: 10px 12px; background: var(--paper); }
.detail-thumb { flex: 0 0 58px; width: 58px; height: 58px; overflow: hidden; border: 1px solid #d9d2c7; padding: 0; background: var(--sand); cursor: pointer; }
.detail-thumb[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 1px; }
.detail-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.detail-copy { align-self: center; padding: 50px clamp(28px, 5vw, 62px); }
.detail-copy .eyebrow { margin-bottom: 12px; }
.detail-copy h2 { margin-bottom: 9px; font-family: var(--serif); font-size: clamp(32px, 4vw, 48px); font-weight: 500; line-height: 1.08; }
.detail-price { margin: 0 0 24px; color: #6b665e; font-size: 15px; }
.detail-description { margin: 0 0 26px; color: #716c63; font-size: 12px; line-height: 1.9; white-space: pre-line; }
.detail-availability { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; color: #666259; font-size: 10px; }
.detail-availability i, .owner-line i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #71806a; }
.detail-availability.out i { background: #9e655a; }
.detail-actions { display: flex; flex-direction: column; gap: 12px; }
.detail-actions .button { width: 100%; }

.admin-backdrop { position: fixed; z-index: 20; inset: 0; background: rgba(18,17,15,.45); backdrop-filter: blur(2px); animation: fade-in .18s ease both; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.admin-panel { position: fixed; z-index: 21; top: 0; right: 0; bottom: 0; width: min(520px, 100%); overflow-y: auto; padding: 29px 32px 34px; background: var(--paper); box-shadow: -18px 0 48px rgba(22,20,16,.13); animation: slide-in .28s cubic-bezier(.2,.7,.2,1) both; }
@keyframes slide-in { from { transform: translateX(20px); opacity: .8; } to { transform: translateX(0); opacity: 1; } }
.admin-panel-header { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.admin-panel-header .eyebrow { margin-bottom: 7px; }
.admin-panel-header h2 { margin: 0; font-family: var(--serif); font-size: 36px; font-weight: 500; letter-spacing: -.04em; }
.panel-close { width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 22px; line-height: 1; }
.admin-status { min-height: 18px; margin: 9px 0 5px; color: #8b594d; font-size: 10px; line-height: 1.5; }
.admin-auth, .claim-view { padding: 43px 9px 16px; text-align: center; }
.auth-kicker { margin: 0 auto 18px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .18em; }
.admin-auth h3, .claim-view h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 27px; font-weight: 500; }
.admin-auth p, .claim-view p { max-width: 360px; margin: 0 auto 21px; color: #777268; font-size: 11px; line-height: 1.8; }
.admin-auth small { display: block; max-width: 330px; margin: 16px auto 0; color: #928d83; font-size: 9px; line-height: 1.7; }
.email-login-form { margin-top: 18px; text-align: left; }
.email-login-form .field-label { margin-bottom: 10px; }
.admin-auth .email-login-help { max-width: 360px; margin: 17px auto 0; border-left: 2px solid #bcb4a6; padding: 9px 11px; color: #6f6a60; background: #f1ede5; font-size: 12px; line-height: 1.65; text-align: left; }
.auth-divider { display: flex; align-items: center; gap: 10px; margin: 17px 0 12px; color: #928d83; font-size: 11px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; border-top: 1px solid #e5e0d7; }
.email-credentials-form { margin-top: 22px; }
.owner-line { display: flex; justify-content: space-between; align-items: center; color: #746f66; font-size: 9px; }
.owner-line > span { display: flex; align-items: center; gap: 7px; }
#ownerName { margin-left: 4px; color: var(--ink); }
.quiet-button { border: 0; padding: 5px 0; color: #79746a; background: transparent; cursor: pointer; font-size: 9px; }
.quiet-button:hover { color: var(--ink); text-decoration: underline; }
.admin-overview { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 20px 0 17px; }
.admin-overview > div { display: flex; align-items: baseline; gap: 7px; }
.admin-overview strong { font-family: var(--serif); font-size: 31px; font-weight: 500; }
.admin-overview span { color: #858075; font-size: 9px; }
.admin-product-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 27px; }
.product-order-hint { margin: -7px 0 10px; color: #7b766c; font-size: 12px; line-height: 1.5; }
.admin-product-row { display: grid; grid-template-columns: 32px 50px minmax(0,1fr) auto; align-items: center; gap: 8px; border: 1px solid #e5e0d7; padding: 8px; background: #fffefa; transition: border-color .15s ease, background .15s ease, opacity .15s ease; }
.admin-product-row.is-dragging { opacity: .42; }
.admin-product-row.drop-target { border-color: #79746a; background: #f1ede5; }
.admin-order-controls { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.admin-drag-handle { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #e4dfd6; border-radius: 3px; color: #49463f; background: #f4f1ea; cursor: grab; font-size: 17px; font-weight: 700; line-height: 1; touch-action: none; user-select: none; }
.admin-drag-handle:hover { border-color: #aaa294; background: #ebe7de; }
.admin-drag-handle:active { cursor: grabbing; }
.admin-drag-handle:focus-visible, .admin-order-step-controls button:focus-visible { outline: 2px solid #817b70; outline-offset: 2px; }
.admin-order-step-controls { display: flex; gap: 2px; }
.admin-order-step-controls button { width: 15px; height: 20px; border: 1px solid #e4dfd6; padding: 0; color: #635f57; background: transparent; cursor: pointer; font-size: 12px; line-height: 1; }
.admin-order-step-controls button:disabled { opacity: .38; cursor: not-allowed; }
.admin-product-row > img { width: 50px; height: 54px; display: block; object-fit: cover; background: var(--sand); }
.admin-product-copy { min-width: 0; }
.admin-product-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--serif); font-size: 15px; font-weight: 500; }
.admin-product-copy small { display: block; margin-top: 4px; color: #868075; font-size: 8px; }
.admin-row-actions { display: flex; align-items: center; gap: 4px; }
.admin-row-actions button { min-height: 27px; border: 1px solid #e4dfd6; padding: 0 7px; color: #635f57; background: transparent; cursor: pointer; font-size: 8px; }
.admin-row-actions button:hover { border-color: #8a8479; color: var(--ink); }
.admin-row-actions .delete-row { color: #94665c; }
.product-form { margin: 0 0 28px; border: 1px solid var(--line); padding: 15px; background: #f4f1ea; }
.form-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.form-heading .eyebrow { margin-bottom: 2px; font-size: 8px; }
.form-heading h3 { margin: 0; font-family: var(--serif); font-size: 21px; font-weight: 500; }
.photo-drop { min-height: 79px; display: flex; align-items: center; gap: 12px; margin-bottom: 13px; border: 1px dashed #bdb6aa; padding: 9px; background: rgba(255,255,255,.45); cursor: pointer; }
.photo-preview { flex: 0 0 58px; width: 58px; height: 58px; display: grid; place-items: center; overflow: hidden; background: #e4dfd5; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-preview svg { width: 22px; height: 22px; fill: none; stroke: #8c867b; stroke-width: 1.3; }
.photo-drop strong, .photo-drop small { display: block; }
.photo-drop strong { font-size: 9px; }
.photo-drop small { margin-top: 5px; color: #8a847a; font-size: 8px; }
.photo-drop input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.upload-mark { margin-left: auto; color: #807a70; font-size: 19px; }
.gallery-editor { margin: 0 0 14px; }
.gallery-editor-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.gallery-editor-heading strong { color: #4d4a43; font-size: 12px; }
.gallery-editor-heading small { color: #807a70; font-size: 11px; }
.gallery-drop { position: relative; min-height: 62px; display: flex; align-items: center; gap: 11px; border: 1px dashed #bdb6aa; padding: 9px; background: rgba(255,255,255,.45); cursor: pointer; }
.gallery-drop.is-full { cursor: not-allowed; opacity: .68; }
.gallery-drop > span:nth-child(2) { display: block; }
.gallery-drop strong, .gallery-drop small { display: block; }
.gallery-drop strong { color: #4d4a43; font-size: 12px; }
.gallery-drop small { margin-top: 4px; color: #8a847a; font-size: 11px; line-height: 1.45; }
.gallery-drop input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.gallery-drop:focus-within { outline: 2px solid #817b70; outline-offset: 2px; }
.gallery-add-icon { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #ded8cd; color: #716b61; font-size: 21px; }
.gallery-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.gallery-thumb { position: relative; min-width: 0; aspect-ratio: 1; overflow: hidden; border: 1px solid #ded8cd; background: #e4dfd5; }
.gallery-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.gallery-remove { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--paper); background: rgba(25,24,22,.86); cursor: pointer; font-size: 18px; line-height: 1; }
.field-label { display: block; margin: 0 0 11px; color: #4d4a43; font-size: 9px; font-weight: 600; }
.field-label input, .field-label textarea, .price-input { width: 100%; display: block; margin-top: 6px; border: 1px solid #dbd5ca; border-radius: 0; outline: 0; padding: 10px; color: var(--ink); background: #fffefa; font-size: 10px; font-weight: 400; }
.field-label input:focus, .field-label textarea:focus, .price-input:focus-within { border-color: #7b7569; }
.field-label input::placeholder, .field-label textarea::placeholder { color: #a19a8f; }
.field-label textarea { resize: vertical; line-height: 1.6; }
.field-hint { display: block; margin: 4px 0 0; color: #928c81; font-size: 8px; font-weight: 400; }
.optional { color: #969085; font-weight: 400; }
.form-two-col { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10px; }
.price-input { display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.price-input span { color: #7d776d; }
.price-input input { min-width: 0; margin: 0; border: 0; padding: 10px 0; outline: 0; background: transparent; font-size: 10px; }
.form-status-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 15px 0; }
.check-line { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.check-line > input { flex: 0 0 auto; accent-color: var(--ink); }
.check-line strong, .check-line small { display: block; }
.check-line strong { font-size: 8px; line-height: 1.5; }
.check-line small { margin-top: 2px; color: #878176; font-size: 7px; line-height: 1.5; }
.settings-form { border-top: 1px solid var(--line); padding-top: 23px; }
.settings-form .eyebrow { margin-bottom: 6px; font-size: 8px; }
.settings-form h3 { margin-bottom: 7px; font-family: var(--serif); font-size: 20px; font-weight: 500; }
.settings-form p:not(.eyebrow) { margin: 0 0 14px; color: #817b70; font-size: 9px; line-height: 1.7; }
.banner-settings-form { margin-top: 22px; }
.banner-image-editor { display: flex; align-items: center; gap: 12px; margin: 8px 0 13px; }
.banner-image-preview { width: 132px; height: 96px; flex: 0 0 132px; display: block; border: 1px solid #ded8cd; object-fit: cover; background: #e4dfd5; }
.banner-photo-drop { position: relative; min-height: 72px; flex: 1; display: flex; align-items: center; gap: 10px; border: 1px dashed #bdb6aa; padding: 10px; background: rgba(255,255,255,.45); cursor: pointer; }
.banner-photo-drop strong, .banner-photo-drop small { display: block; }
.banner-photo-drop strong { color: #4d4a43; font-size: 12px; }
.banner-photo-drop small { margin-top: 5px; color: #8a847a; font-size: 11px; line-height: 1.45; }
.banner-photo-drop input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.banner-photo-drop:focus-within { outline: 2px solid #817b70; outline-offset: 2px; }
.admin-footnote { margin-top: 19px; border-left: 2px solid #bcb4a6; padding: 8px 10px; color: #827c71; background: #f1ede5; font-size: 8px; line-height: 1.7; }
.toast { position: fixed; z-index: 40; left: 50%; bottom: 23px; width: max-content; max-width: calc(100% - 32px); transform: translate(-50%, 15px); opacity: 0; border: 1px solid #49463f; padding: 12px 17px; color: #f8f5ef; background: var(--ink); box-shadow: 0 8px 30px rgba(0,0,0,.16); font-size: 10px; line-height: 1.5; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.visible { transform: translate(-50%, 0); opacity: 1; }

@media (min-width: 1450px) { .hero { padding-left: max(10.4vw, calc((100vw - 1220px)/2)); padding-right: max(10.4vw, calc((100vw - 1220px)/2)); } }
@media (max-width: 980px) {
  .site-header { gap: 22px; padding-inline: 28px; }
  .brand { min-width: 195px; }
  .desktop-nav { gap: 22px; }
  .hero { grid-template-columns: 1fr .84fr; gap: 42px; padding-inline: 7vw; }
  .hero-image-frame { height: 355px; }
  .catalog-section { padding-inline: 6vw; }
  .story-section { grid-template-columns: 1fr 100px; gap: 33px; padding-inline: 7vw; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 75px; }
  .topline { height: 25px; font-size: 8px; letter-spacing: .14em; }
  .site-header { height: 69px; gap: 10px; padding-inline: 16px; }
  .brand { width: 62px; min-width: 0; }
  .brand-logo { width: 54px; height: 31px; }
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; gap: 10px; }
  .icon-button { width: 35px; height: 35px; }
  .admin-entry { max-width: 100px; font-size: 9px; }
  .admin-entry span { margin-left: 3px; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 28px; padding: 42px 22px 37px; }
  .hero-copy { padding-bottom: 0; }
  .hero .eyebrow { margin-bottom: 16px; font-size: 8px; }
  .hero h1 { margin-bottom: 14px; font-size: clamp(55px, 15vw, 76px); }
  .hero-description { max-width: 340px; font-size: 12px; }
  .hero-actions { gap: 18px; margin-top: 23px; }
  .button { min-height: 45px; padding-inline: 16px; font-size: 10px; }
  .text-button { font-size: 9px; }
  .hero-note { margin-top: 28px; font-size: 9px; }
  .hero-art { width: min(100%, 405px); justify-self: center; padding-right: 17px; padding-bottom: 17px; }
  .hero-image-frame { height: auto; aspect-ratio: 4 / 3.6; }
  .hero-seal { top: 13px; right: -1px; width: 69px; height: 69px; }
  .hero-seal span { font-size: 8px; }
  .hero-index { left: 11px; bottom: 2px; font-size: 7px; }
  .catalog-section { padding: 60px 19px 53px; }
  .section-heading { display: block; margin-bottom: 23px; }
  .section-heading h2, .story-copy h2 { font-size: 37px; }
  .section-aside { margin-top: 11px; font-size: 10px; }
  .sample-notice { align-items: flex-start; margin-top: -3px; font-size: 9px; }
  .sample-notice-dot { margin-top: 4px; }
  .catalog-tools { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 12px; margin-bottom: 17px; padding-bottom: 13px; }
  .search-box { width: 100%; height: 39px; }
  .category-list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 1px; scrollbar-width: none; }
  .category-list::-webkit-scrollbar { display: none; }
  .category-chip { flex: 0 0 auto; min-height: 29px; padding-inline: 11px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 25px 12px; }
  .product-image-button { aspect-ratio: 3 / 4; }
  .product-tag { top: 8px; left: 8px; padding: 6px 7px; font-size: 7px; }
  .product-card-meta { gap: 5px; padding-top: 9px; }
  .product-category { margin-bottom: 4px; font-size: 7px; }
  .product-name { font-size: 17px; }
  .product-price { padding-top: 13px; font-size: 9px; }
  .product-price.empty { font-size: 8px; }
  .product-card-actions { margin-top: 8px; }
  .product-open { font-size: 8px; }
  .product-share { width: 28px; height: 28px; }
  .catalog-bottom { margin-top: 20px; }
  .catalog-bottom .text-button { font-size: 8px; }
  .story-section { min-height: 0; grid-template-columns: 1fr; gap: 18px; padding: 42px 23px; }
  .story-copy { grid-column: 1; grid-row: auto; }
  .story-copy h2 { font-size: 39px; }
  .story-copy > p:not(.eyebrow) { font-size: 11px; }
  .story-aside { display: none; }
  .site-footer { min-height: 0; padding: 18px 20px; }
  .footer-main { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 12px; }
  .footer-main > span { max-width: 100%; }
  .footer-actions { flex-direction: column; align-items: flex-end; gap: 9px; }
  .footer-credit { margin-top: 12px; text-align: center; }
  .product-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); overflow: auto; }
  .product-detail { max-height: none; display: block; }
  .detail-gallery { min-height: 0; }
  .detail-image { min-height: 0; height: min(48vh, 360px); flex: none; }
  .detail-thumb { flex-basis: 52px; width: 52px; height: 52px; }
  .detail-copy { padding: 25px 22px 23px; }
  .detail-copy h2 { font-size: 36px; }
  .admin-panel { padding: 20px 18px 26px; }
  .admin-panel-header h2 { font-size: 31px; }
  .admin-product-row { grid-template-columns: 32px 42px minmax(0,1fr) auto; gap: 6px; padding: 6px; }
  .admin-product-row > img { width: 42px; height: 48px; }
  .admin-product-copy strong { font-size: 13px; }
  .admin-row-actions { flex-direction: column; align-items: stretch; }
  .admin-row-actions button { min-width: 49px; min-height: 23px; }
  .admin-overview { margin-top: 15px; }
  .form-two-col { gap: 8px; }
  .form-status-row { grid-template-columns: 1fr; gap: 8px; }
  .banner-image-editor { grid-template-columns: 1fr; }
  .banner-image-preview { min-height: 0; aspect-ratio: 16 / 9; }
}
/* Texto informativo ampliado para facilitar la lectura. */
.topline { font-size: 10px; }
.eyebrow { font-size: 10px; }
.hero-description { font-size: 16px; }
.hero-note { font-size: 12px; }
.hero-index { font-size: 9px; }
.section-aside { font-size: 13px; }
.sample-notice { font-size: 12px; }
.category-chip { min-height: 35px; font-size: 12px; }
.search-box input { font-size: 12px; }
.search-box kbd { font-size: 9px; }
.product-tag { font-size: 10px; }
.product-category { font-size: 10px; }
.product-name { font-size: 23px; }
.product-price { font-size: 13px; }
.product-price.empty, .product-count { font-size: 11px; }
.product-open, .story-link { font-size: 12px; }
.empty-state p { font-size: 14px; }
.story-copy > p:not(.eyebrow) { font-size: 14px; }
.detail-description { font-size: 14px; }
.detail-availability { font-size: 12px; }
.admin-status { font-size: 12px; }
.auth-kicker { font-size: 10px; }
.admin-auth p, .claim-view p { font-size: 13px; }
.admin-auth small { font-size: 11px; }
.owner-line { font-size: 11px; }
.admin-overview span { font-size: 11px; }
.admin-product-copy small { font-size: 10px; }
.admin-row-actions button { min-height: 31px; font-size: 10px; }
.photo-drop strong { font-size: 11px; }
.photo-drop small { font-size: 10px; }
.field-label { font-size: 11px; }
.field-label input, .field-label textarea, .price-input, .price-input input { font-size: 12px; }
.field-hint { font-size: 10px; }
.check-line strong { font-size: 10px; }
.check-line small { font-size: 9px; }
.settings-form p:not(.eyebrow) { font-size: 11px; }
.admin-footnote { font-size: 10px; }
.toast { font-size: 12px; }
@media (max-width: 700px) {
  .topline { font-size: 9px; }
  .hero .eyebrow { font-size: 9px; }
  .hero-description { font-size: 14px; }
  .hero-note { font-size: 11px; }
  .hero-index { font-size: 8px; }
  .section-aside { font-size: 12px; }
  .sample-notice { font-size: 11px; }
  .category-chip { min-height: 33px; font-size: 11px; }
  .search-box kbd { font-size: 9px; }
  .product-tag { font-size: 9px; }
  .product-category { font-size: 9px; }
  .product-name { font-size: 18px; }
  .product-price { font-size: 11px; }
  .product-price.empty { font-size: 10px; }
  .product-open, .catalog-bottom .text-button { font-size: 10px; }
  .story-copy > p:not(.eyebrow) { font-size: 13px; }
  .footer-main > span, .footer-actions { font-size: 10px; }
  .footer-share { font-size: 10px; }
  .footer-credit { font-size: 11px; }
  .detail-description { font-size: 13px; }
}
/* Refuerzo final de legibilidad: los textos de apoyo nunca quedan diminutos. */
.topline { font-size: 12px; }
.desktop-nav { font-size: 14px; }
.admin-entry { font-size: 13px; }
.eyebrow { font-size: 12px; }
.hero-description { font-size: 17px; }
.hero-note { font-size: 14px; }
.hero-index { font-size: 12px; }
.section-aside { font-size: 14px; }
.sample-notice { font-size: 14px; }
.category-chip { min-height: 38px; font-size: 13px; }
.search-box input { font-size: 14px; }
.search-box kbd { font-size: 11px; }
.product-tag { font-size: 13px; }
.product-category { font-size: 13px; }
.product-name { font-size: 24px; }
.product-price { font-size: 14px; }
.product-price.empty, .product-count { font-size: 13px; }
.product-open, .catalog-bottom .text-button, .text-button, .story-link { font-size: 13px; }
.empty-state p, .story-copy > p:not(.eyebrow), .detail-description { font-size: 15px; }
.detail-availability { font-size: 13px; }
.hero-seal span { font-size: 10px; }
.story-aside { font-size: 13px; }
.footer-main > span, .footer-actions { font-size: 13px; }
.footer-share { font-size: 13px; }
.footer-credit { display: block; font-size: 14px; text-decoration: none; }
.footer-credit:hover strong, .footer-credit:focus-visible strong { text-decoration: underline; }
.footer-credit:focus-visible { outline: 2px solid #d7d1c6; outline-offset: 4px; }
.auth-kicker { font-size: 11px; }
.admin-auth p, .claim-view p { font-size: 14px; }
.admin-auth small { font-size: 12px; }
.owner-line, .admin-overview span { font-size: 12px; }
.quiet-button { font-size: 12px; }
.admin-product-copy small { font-size: 11px; }
.admin-row-actions button { min-height: 34px; font-size: 11px; }
.form-heading .eyebrow, .settings-form .eyebrow { font-size: 10px; }
.photo-drop strong, .field-label { font-size: 12px; }
.photo-drop small, .field-hint, .check-line small { font-size: 11px; }
.field-label input, .field-label textarea, .price-input, .price-input input { font-size: 13px; }
.check-line strong { font-size: 11px; }
.settings-form p:not(.eyebrow), .admin-footnote { font-size: 12px; }
.toast { font-size: 13px; }
@media (max-width: 700px) {
  .topline { font-size: 11px; }
  .desktop-nav { font-size: 13px; }
  .admin-entry { font-size: 12px; }
  .hero .eyebrow { font-size: 11px; }
  .hero-description { font-size: 15px; }
  .hero-note { font-size: 13px; }
  .hero-index { font-size: 11px; }
  .section-aside { font-size: 13px; }
  .sample-notice { font-size: 13px; }
  .category-chip { min-height: 36px; font-size: 13px; }
  .search-box kbd { font-size: 10px; }
  .product-tag, .product-category { font-size: 12px; }
  .product-name { font-size: 19px; }
  .product-price { font-size: 12px; }
  .product-price.empty, .product-count { font-size: 12px; }
  .product-open, .catalog-bottom .text-button, .text-button, .story-link { font-size: 12px; }
  .story-copy > p:not(.eyebrow), .detail-description { font-size: 14px; }
  .hero-seal span { font-size: 9px; }
  .story-aside { font-size: 12px; }
  .footer-main > span, .footer-actions, .footer-share { font-size: 12px; }
  .footer-credit { font-size: 14px; }
  .button { font-size: 13px; }
  .product-category { margin-bottom: 5px; }
  .banner-image-editor { display: flex; align-items: center; gap: 9px; }
  .banner-image-preview { width: 104px; height: 78px; flex-basis: 104px; min-height: 0; aspect-ratio: auto; }
  .banner-photo-drop { min-height: 66px; padding: 8px; }
  .banner-photo-drop strong { font-size: 11px; }
  .banner-photo-drop small { font-size: 10px; }
  .admin-drag-handle { width: 32px; height: 36px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.floating-actions {
  position: fixed;
  inset-inline-end: clamp(16px, 3vw, 28px);
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 35;
  display: grid;
  justify-items: center;
  gap: 11px;
}
.floating-whatsapp,
.back-to-top {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.floating-whatsapp {
  width: 58px;
  height: 58px;
  color: #fff;
  background: #25d366;
  box-shadow: 0 5px 18px rgba(21, 80, 41, .28);
}
.floating-whatsapp svg { width: 29px; height: 29px; fill: currentColor; }
.back-to-top {
  width: 46px;
  height: 46px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 4px 14px rgba(27, 27, 25, .2);
}
.back-to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.floating-whatsapp:hover,
.back-to-top:hover { transform: translateY(-2px); box-shadow: 0 7px 20px rgba(27, 27, 25, .28); }
.floating-whatsapp:focus-visible,
.back-to-top:focus-visible { outline: 3px solid #d4b06f; outline-offset: 4px; }
@media (max-width: 700px) {
  .floating-actions { inset-inline-end: 16px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); gap: 9px; }
  .floating-whatsapp { width: 54px; height: 54px; }
  .floating-whatsapp svg { width: 27px; height: 27px; }
  .back-to-top { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp, .back-to-top { transition: none; }
}
