/* seems so — site styles */

/* Montserrat, same as the original SumUp store (self-hosted, SIL Open Font License) */
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-latin-ext-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-latin-ext-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --magenta: #da1684;
  --berry: #9a1f70;
  --ink: #3a0f2e;       /* deep berry, used for text */
  --blush: #fde9f2;     /* towel pink, quiet surfaces */
  --sun: #f7c948;       /* the yellow in half the towels */
  --white: #ffffff;
  --line: #f1c6dc;
  --muted: #7a4a6a;
  --ok: #1f7a4d;
  --radius-sm: 6px;
  --radius-lg: 18px;
  --wrap: 1180px;
  --serif: "Montserrat", system-ui, sans-serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--berry); text-underline-offset: 3px; }
a:hover { color: var(--magenta); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--sun); color: var(--ink); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; text-transform: lowercase; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.measure { max-width: 64ch; }

/* The signature: a woven towel border. Stripes vary in width like a real jacquard edge. */
.towel-edge {
  height: 22px;
  background:
    repeating-linear-gradient(90deg, transparent 0 3px, rgba(255,255,255,.18) 3px 4px),
    linear-gradient(180deg,
      var(--berry) 0 3px, var(--white) 3px 5px, var(--magenta) 5px 13px,
      var(--white) 13px 15px, var(--sun) 15px 19px, var(--white) 19px 20px, var(--berry) 20px 22px);
}
.towel-edge.flip { transform: scaleY(-1); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: 64px; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; gap: 1.1rem; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; text-transform: lowercase; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--magenta); }
.bag-link { display: inline-flex; align-items: center; gap: .4rem; }
.bag-count { min-width: 1.5em; height: 1.5em; padding: 0 .35em; border-radius: 1em; background: var(--magenta); color: var(--white); font-size: .8rem; display: inline-grid; place-items: center; font-weight: 700; }
.bag-count[data-count="0"] { background: var(--blush); color: var(--berry); }
@media (max-width: 720px) {
  .site-header .wrap { flex-wrap: wrap; gap: .25rem 1rem; padding-top: .6rem; padding-bottom: .6rem; }
  .nav { width: 100%; margin-left: 0; overflow-x: auto; gap: 1rem; font-size: .95rem; }
  .nav .bag-link { margin-left: auto; }
}

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; align-items: stretch; background: var(--blush); }
.hero-text { padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem); align-self: center; }
.hero-text h1 { color: var(--berry); }
.hero-text p { font-size: 1.15rem; max-width: 34ch; }
.hero-img { min-height: 360px; background: var(--line) center/cover no-repeat; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; } .hero-img { min-height: 300px; order: -1; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 700 1rem/1 var(--sans); text-transform: lowercase; padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid var(--magenta); background: var(--magenta); color: var(--white); text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--berry); border-color: var(--berry); color: var(--white); }
.btn.ghost { background: transparent; color: var(--magenta); }
.btn.ghost:hover { background: var(--magenta); color: var(--white); }
.btn[disabled] { background: var(--blush); border-color: var(--line); color: var(--muted); cursor: not-allowed; }
.btn.wide { width: 100%; }

/* Sections */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.section-head h2 { margin: 0; }
.lede { color: var(--muted); max-width: 60ch; }

.cat-strip { display: flex; flex-wrap: wrap; gap: .6rem; }
.cat-strip a { text-decoration: none; padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink); text-transform: lowercase; font-weight: 500; }
.cat-strip a:hover, .cat-strip a[aria-current="page"] { border-color: var(--magenta); color: var(--magenta); }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2rem 1.25rem; }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr 1fr; gap: 1.5rem .8rem; } }
.card { position: relative; text-decoration: none; color: var(--ink); display: block; }
.card .ph { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--blush); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover img { transform: scale(1.03); }
.card .nm { margin: .7rem 0 .1rem; font-weight: 500; line-height: 1.3; text-transform: lowercase; }
.card .pr { color: var(--berry); font-weight: 700; }
.tag { position: absolute; top: .7rem; left: .7rem; background: var(--white); color: var(--berry); font-size: .8rem; font-weight: 700; padding: .25rem .65rem; border-radius: 999px; text-transform: lowercase; }
.tag.sold { background: var(--ink); color: var(--white); }
.card.is-sold .ph img { filter: saturate(.55); opacity: .8; }

/* Product page */
.crumbs { font-size: .9rem; color: var(--muted); margin: 1.25rem 0; text-transform: lowercase; }
.crumbs a { color: var(--muted); }
.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding-bottom: 3rem; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }
.gallery-main { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--blush); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: .6rem; margin-top: .75rem; overflow-x: auto; padding-bottom: .25rem; }
.thumbs button { flex: 0 0 72px; height: 88px; padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: var(--blush); }
.thumbs button[aria-current="true"] { border-color: var(--magenta); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info { position: sticky; top: 88px; }
.info h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: var(--berry); }
.price { font-size: 1.5rem; font-weight: 700; margin-bottom: .25rem; }
.vat { font-size: .85rem; color: var(--muted); margin-bottom: 1.25rem; }
.one-of-one { background: var(--blush); border-left: 5px solid var(--sun); padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-weight: 500; margin: 1.25rem 0; }
.buy-status { min-height: 1.6em; font-size: .95rem; margin-top: .6rem; }
.specs { margin: 1.75rem 0 0; }
.specs h2 { font-size: 1.15rem; margin: 1.4rem 0 .4rem; }
.specs ul { margin: 0; padding-left: 1.1rem; }
.specs li { margin-bottom: .2rem; }
.blurb { margin-top: 1.5rem; }
.small { font-size: .9rem; color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.about img { border-radius: var(--radius-lg); }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } }
.signoff { font-family: var(--serif); font-weight: 700; font-size: 1.6rem; color: var(--magenta); text-transform: lowercase; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; color: var(--magenta); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .6rem 0 0; }

/* Bag + checkout */
.checkout { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding-bottom: 4rem; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } }
.panel { border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.1rem, 3vw, 1.75rem); }
.panel h2 { font-size: 1.5rem; }
.line-item { display: grid; grid-template-columns: 72px 1fr auto; gap: .9rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.line-item img { width: 72px; height: 88px; object-fit: cover; border-radius: var(--radius-sm); }
.line-item .nm { display: block; font-weight: 500; text-transform: lowercase; line-height: 1.3; }
.line-item .warn { color: var(--magenta); font-size: .9rem; font-weight: 500; }
.linkish { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; }
.totals { margin-top: 1rem; }
.totals div { display: flex; justify-content: space-between; padding: .25rem 0; }
.totals .grand { font-weight: 700; font-size: 1.2rem; border-top: 2px solid var(--ink); margin-top: .4rem; padding-top: .6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 500; font-size: .95rem; margin-bottom: .9rem; }
label .opt { color: var(--muted); font-weight: 400; }
input, select { display: block; width: 100%; margin-top: .3rem; font: inherit; color: var(--ink); padding: .7rem .8rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
input:focus, select:focus { border-color: var(--magenta); outline: none; box-shadow: 0 0 0 3px rgba(218, 22, 132, .18); }
.invalid input, .invalid select { border-color: var(--magenta); background: #fff6fa; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; }
.check input { width: auto; margin-top: .3rem; accent-color: var(--magenta); }
.form-error { background: #fff0f6; border: 1.5px solid var(--magenta); color: var(--berry); padding: .8rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; }
.empty { text-align: center; padding: 3rem 1rem; }
.pay-note { font-size: .88rem; color: var(--muted); margin-top: .8rem; text-align: center; }

/* Legal + text pages */
.prose { max-width: 72ch; padding-bottom: 4rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; text-transform: none; font-family: var(--sans); font-weight: 700; }
.prose h3 { font-size: 1.1rem; text-transform: none; font-family: var(--sans); font-weight: 700; margin-top: 1.5rem; }
.todo { background: #fff7d6; border: 1px dashed #c9a100; padding: 0 .3em; border-radius: 3px; }

/* Footer */
.site-footer { margin-top: 2rem; background: var(--berry); color: var(--white); }
.site-footer .wrap { padding-top: 2.5rem; padding-bottom: 2.5rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 720px) { .site-footer .wrap { grid-template-columns: 1fr; } }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--sun); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer .big { font-family: var(--serif); font-weight: 700; font-size: 1.8rem; text-transform: lowercase; line-height: 1.15; margin-bottom: .6rem; }
.site-footer .fine { font-size: .85rem; opacity: .85; }

/* Admin */
.admin table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.admin th, .admin td { text-align: left; padding: .55rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.pill { display: inline-block; padding: .1rem .6rem; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--blush); color: var(--berry); }
.pill.paid { background: var(--sun); color: var(--ink); }
.pill.shipped { background: #d9f2e5; color: var(--ok); }
.pill.sold { background: var(--ink); color: var(--white); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
