:root{--wine:#542638;--rose:#994361;--line:#eadbe0;--bg:#faf6f4;--muted:#806c73}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--wine);font-family:Arial,sans-serif;line-height:1.5}h1,h2,h3{font-family:Georgia,serif;font-weight:400;line-height:1.2}h2{font-size:26px}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #bd718b;outline-offset:3px}.wrap{max-width:1180px;margin:auto;padding:28px}.top{display:flex;align-items:center;gap:18px;padding:16px 0 30px}.top h2{margin:5px 0;font-size:23px}.logo{width:70px;height:70px;object-fit:contain;border-radius:16px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:var(--rose)}.hero{padding:48px;border-radius:26px;background:linear-gradient(120deg,#f0dce2,#f5e9de);position:relative;overflow:hidden}.hero h1{font-size:58px;letter-spacing:-2px;margin:16px 0}.hero p{color:var(--muted);margin-bottom:0}.catalog-toolbar{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:28px 0 22px}.catalog-toolbar .field{margin:0;width:min(360px,100%)}label{font-size:13px;font-weight:700}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:24px}.product{background:white;border:1px solid var(--line);border-radius:20px;overflow:hidden;transition:transform .2s,box-shadow .2s}.product:hover{transform:translateY(-3px);box-shadow:0 12px 30px #5426380c}.product img,.no-photo{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#f1ece9}.no-photo{display:grid;place-items:center;color:var(--muted)}.product-info{padding:20px}.product h3{font-size:21px;margin:10px 0 16px;overflow-wrap:anywhere}.product-category{font-size:10px;text-transform:uppercase;letter-spacing:1.4px;color:var(--muted)}.price{font-size:20px;font-weight:700}.muted{color:var(--muted);font-size:13px}.card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px}.card h2{margin-top:0}.empty{grid-column:1/-1;text-align:center;padding:48px}.admin-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:22px}.span2{grid-column:1/-1}.field{display:flex;flex-direction:column;gap:8px;margin:16px 0}.row{display:grid;grid-template-columns:1fr 1fr;gap:12px}input,select{min-width:0;width:100%;padding:12px;border:1px solid #dbc8ce;border-radius:10px;background:white;color:var(--wine)}input[type=file]{font-size:13px}button{border:0;border-radius:10px;padding:12px 18px;background:var(--rose);color:#fff;font-weight:700;cursor:pointer}button:disabled{opacity:.5;cursor:default}.secondary{background:#fff;color:var(--rose);border:1px solid #dbc8ce}.danger{background:#fbf0f0;color:#a03546}.admin-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.admin-head h1{font-size:34px}.link{color:var(--rose);text-decoration:none}.login{min-height:100vh;display:grid;place-items:center;padding:20px}.login .card{width:min(390px,100%);padding:32px}.preview{width:90px;height:90px;object-fit:contain;border-radius:12px;background:var(--bg)}.item{display:flex;align-items:center;gap:14px;border-top:1px solid var(--line);padding:16px 0}.item img{width:64px;height:64px;object-fit:contain;border-radius:10px;background:var(--bg)}.grow{flex:1;min-width:0;overflow-wrap:anywhere}.actions{display:flex;gap:8px;flex-wrap:wrap}.notice{padding:12px;border-radius:10px;background:#f8eaf0;color:#762943;font-size:14px}.notice:empty{display:none}footer{text-align:center;color:var(--muted);font-size:13px;padding:48px 0 18px}dialog{border:1px solid var(--line);border-radius:22px;width:min(540px,calc(100% - 28px));max-height:90vh;overflow:auto;padding:28px;color:var(--wine);background:var(--bg)}dialog::backdrop{background:#27172099}dialog h2{margin-top:0}@media(max-width:750px){.hero{padding:30px 24px}.hero h1{font-size:42px}.admin-grid,.row{grid-template-columns:1fr}.wrap{padding:18px}.admin-head{align-items:flex-start;flex-direction:column;gap:0}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-info{padding:14px}.product h3{font-size:18px}.price{font-size:18px}.item{flex-wrap:wrap}.item .actions{width:100%;justify-content:flex-end}.catalog-toolbar{align-items:center}.catalog-toolbar .muted{white-space:nowrap}.card{padding:20px}}@media(prefers-reduced-motion:reduce){.product{transition:none}.product:hover{transform:none}}
/* Complete images and a compact, customizable storefront. */
:root{--hero-start:#efdee3;--hero-end:#f4e9df}html{scroll-behavior:smooth}.top{border-bottom:1px solid var(--line);margin-bottom:26px}.top h2{letter-spacing:.3px}.hero{display:flex;align-items:center;gap:30px;min-height:285px;padding:38px 44px;background:linear-gradient(115deg,var(--hero-start),var(--hero-end));border:1px solid #ffffff80}.hero-copy{flex:1;position:relative;z-index:1}.hero h1{font-size:clamp(36px,5vw,56px);max-width:620px;margin:16px 0;white-space:pre-line}.hero p{max-width:500px}.hero-link{display:inline-block;margin-top:24px;color:var(--wine);font-weight:700;font-size:13px;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:5px}.hero-art{width:220px;height:210px;position:relative;display:flex;align-items:center;justify-content:space-between;color:var(--rose);font-size:48px}.hero-ring{width:140px;height:180px;border:1px solid currentColor;border-radius:80px 80px 20px 20px;transform:rotate(15deg);opacity:.2}.hero-image{width:35%;max-height:280px;object-fit:contain;border-radius:14px}.hero-art[hidden],.hero-image[hidden],[hidden]{display:none!important}.product{align-self:start}.product img{height:auto;aspect-ratio:auto;object-fit:contain;width:100%;max-height:none;border-radius:0}.grid{align-items:start}.product-info{border-top:1px solid var(--line)}.admin-grid{align-items:start}.live-preview{border:1px dashed #dbc8ce;border-radius:14px;padding:14px;margin:16px 0;background:var(--bg)}.live-preview .product{max-width:260px;margin:auto}.live-preview img{width:100%;height:auto;object-fit:contain;max-height:320px}.live-preview .product-info{padding:14px}.live-preview h3{margin:8px 0}.settings-section{grid-column:1/-1}.settings-section details{border-top:1px solid var(--line);padding:18px 0}.settings-section summary{cursor:pointer;font-weight:700}.settings-section textarea{width:100%;min-height:84px;resize:vertical;padding:12px;border:1px solid #dbc8ce;border-radius:10px;font:inherit;color:var(--wine)}input[type=color]{height:46px;padding:5px}.check-label{display:flex;align-items:center;gap:8px;font-weight:400}.check-label input{width:auto}.share-preview{padding:16px;background:var(--bg);border:1px solid var(--line);border-radius:12px}.share-preview img{width:100%;max-height:180px;object-fit:contain}.settings-section .preview{width:140px;height:100px}.photo-preview{display:block;width:100%;height:auto;max-height:320px;object-fit:contain;margin:12px 0}.admin-head h1{overflow-wrap:anywhere}@media(max-width:750px){.hero{padding:28px 24px;gap:12px;min-height:0}.hero-art{display:none}.hero h1{font-size:38px;letter-spacing:-1px}.hero-image{width:30%}.top h2{font-size:20px}.top{gap:12px}.logo{width:60px;height:60px}.live-preview .product{max-width:100%}.settings-section .row{grid-template-columns:1fr}.hero p{font-size:14px}}@media(max-width:420px){.hero{flex-direction:column;align-items:start}.hero-image{width:100%;max-height:180px}.hero h1{font-size:34px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Uniform catalog cards: complete photos inside an equal-size frame. */
#products.grid{align-items:stretch}
#products .product{align-self:stretch;display:flex;flex-direction:column;min-width:0}
#products .product>img,#products .product>.no-photo{width:100%;height:auto;aspect-ratio:1 / 1;object-fit:contain;flex:none;background:#f1ece9}
#products .product-info{display:flex;flex-direction:column;flex:1}
#products .product h3{min-height:2.4em}
#products .product .price{margin-top:auto}
