/* ============================================================
   TIAREMAC · arte y más — estilos
   Paleta cálida artesanal + estética cozy festoneada
   ============================================================ */

:root {
  /* Paleta principal (imagen 1 + PDF) */
  --olivo:     #A3A380;
  --dorado:    #D7CE93;
  --crema:     #EFEBCE;
  --rosa:      #D8A48F;
  --durazno:   #BB8588;
  --ciruela:   #995D81;
  --caramelo:  #C08552;
  --tan:       #DAB49D;
  --crema2:    #F3E9DC;

  /* Roles */
  --bg:        #FBF6EE;
  --bg-warm:   #F6ECDD;
  --ink:       #4A3F3A;
  --ink-soft:  #776a63;
  --line:      #e7d9c6;
  --primary:   var(--durazno);
  --primary-d: var(--ciruela);
  --accent:    var(--caramelo);

  --radius:    22px;
  --radius-lg: 34px;
  --shadow:    0 14px 34px -18px rgba(120, 85, 70, .45);
  --shadow-sm: 0 8px 20px -14px rgba(120, 85, 70, .4);
  --maxw:      1180px;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Quicksand", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.12; color: var(--ink); margin: 0; }
a { color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: .82em 1.5em; border-radius: 999px; border: none; cursor: pointer;
  text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-d); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 238, .86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  max-width: var(--maxw); margin: 0 auto; padding: .7rem 1.2rem;
  display: flex; align-items: center; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center;
  background: var(--ciruela); color: #fff; border-radius: 50%; font-size: 1rem;
  box-shadow: 0 4px 10px -4px rgba(153,93,129,.6);
}
.brand-name { font-family: var(--font-head); font-size: 1.28rem; line-height: 1; color: var(--ink); display: flex; flex-direction: column; }
.brand-name em { font-style: italic; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-family: var(--font-body); font-weight: 600; margin-top: 2px; }
.main-nav { margin-left: auto; display: flex; gap: 1.5rem; }
.main-nav a { text-decoration: none; font-weight: 600; color: var(--ink-soft); font-size: .98rem; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--primary); border-radius: 2px; transition: width .2s; }
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: .4rem; margin-left: 1rem; }
.cart-btn { position: relative; background: none; border: none; cursor: pointer; font-size: 1.35rem; padding: .25rem .35rem; }
.cart-count {
  position: absolute; top: -2px; right: -4px; background: var(--ciruela); color: #fff;
  font-size: .68rem; font-weight: 700; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; display: grid; place-items: center; font-family: var(--font-body);
}
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--ink); }
.mobile-menu { display: flex; flex-direction: column; padding: .6rem 1.2rem 1rem; gap: .3rem; border-top: 1px solid var(--line); }
.mobile-menu a { text-decoration: none; font-weight: 600; color: var(--ink-soft); padding: .5rem 0; }

/* ---------- Scallop dividers ---------- */
.scallop-divider { position: relative; height: 34px; width: 100%; }
.scallop-top::before, .scallop-bottom::before {
  content: ""; position: absolute; left: 0; right: 0; height: 34px;
  background-image: radial-gradient(circle at 22px 0, transparent 21px, var(--scallop-color, var(--bg)) 22px);
  background-size: 44px 34px; background-repeat: repeat-x;
}
.scallop-top::before { top: -1px; }
.scallop-bottom::before { bottom: -1px; transform: scaleY(-1); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 82vh; display: grid; place-items: center; overflow: hidden; text-align: center; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease;
  background-size: cover; background-position: center;
}
.hero-slide.is-active { opacity: 1; }
/* Placeholders bonitos (reemplaza con background-image real) */
.hero-slide:nth-child(1) { background: linear-gradient(135deg, var(--rosa), var(--tan) 60%, var(--crema2)); }
.hero-slide:nth-child(2) { background: linear-gradient(135deg, var(--olivo), var(--dorado) 70%, var(--crema)); }
.hero-slide:nth-child(3) { background: linear-gradient(135deg, var(--ciruela), var(--durazno) 65%, var(--tan)); }
.hero-slide:nth-child(4) { background: linear-gradient(135deg, var(--caramelo), var(--tan) 60%, var(--crema2)); }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(74,63,58,.12), rgba(74,63,58,.4)); }
.hero-content { position: relative; z-index: 2; max-width: 760px; padding: 3rem 1.4rem 4.5rem; color: #fff; }
.hero-kicker { font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; margin: 0 0 1rem; opacity: .95; }
.hero-title { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 500; text-shadow: 0 2px 20px rgba(74,63,58,.4); }
.hero-title span { font-style: italic; color: var(--crema); }
.hero-sub { font-size: clamp(1rem, 2.2vw, 1.22rem); margin: 1.2rem auto 2rem; max-width: 560px; text-shadow: 0 1px 12px rgba(74,63,58,.5); }
.hero-cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.hero-dots { display: flex; gap: .5rem; justify-content: center; margin-top: 2.2rem; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; transition: all .2s; }
.hero-dots button.is-active { background: #fff; width: 26px; border-radius: 999px; }

/* ---------- Section basics ---------- */
section { position: relative; }
.section-head { max-width: 720px; margin: 0 auto; text-align: center; padding: 3.2rem 1.4rem 1.4rem; }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .74rem; margin: 0 0 .6rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-lead { color: var(--ink-soft); font-size: 1.05rem; margin: .9rem auto 0; max-width: 560px; }

/* ---------- Gallery ---------- */
.gallery-section { background: var(--bg); padding-bottom: 3rem; }
.gallery-grid {
  max-width: var(--maxw); margin: 1.4rem auto 0; padding: 0 1.2rem;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 14px;
}
.g-item {
  margin: 0; border-radius: 26px; overflow: hidden; position: relative;
  background-size: cover; background-position: center; box-shadow: var(--shadow-sm);
  display: flex; align-items: flex-end;
}
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(74,63,58,.55)); }
.g-item figcaption { position: relative; z-index: 2; color: #fff; font-weight: 600; padding: .9rem 1rem; font-size: .92rem; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-item[data-swatch="rosa"]   { background: linear-gradient(160deg, var(--rosa), var(--tan)); }
.g-item[data-swatch="dorado"] { background: linear-gradient(160deg, var(--dorado), var(--crema)); }
.g-item[data-swatch="olivo"]  { background: linear-gradient(160deg, var(--olivo), var(--dorado)); }
.g-item[data-swatch="durazno"]{ background: linear-gradient(160deg, var(--durazno), var(--rosa)); }
.g-item[data-swatch="caramelo"]{ background: linear-gradient(160deg, var(--caramelo), var(--tan)); }
.g-item[data-swatch="ciruela"]{ background: linear-gradient(160deg, var(--ciruela), var(--durazno)); }
.gallery-note { text-align: center; color: var(--ink-soft); font-size: .85rem; margin: 1.6rem 1rem 0; }
.gallery-note code { background: var(--crema); padding: 1px 7px; border-radius: 6px; font-size: .85em; }

/* ---------- Catalog ---------- */
.catalog-section { background: var(--bg-warm); --scallop-color: var(--bg-warm); padding-bottom: 4rem; }
.catalog-filters { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin: .4rem 1rem 2rem; }
.chip {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft);
  padding: .5em 1.2em; border-radius: 999px; font-family: var(--font-body); font-weight: 600;
  cursor: pointer; transition: all .18s; font-size: .92rem;
}
.chip:hover { border-color: var(--primary); color: var(--ink); }
.chip.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.product-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 1.2rem;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px;
}
.product-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-thumb {
  aspect-ratio: 4/3; position: relative; display: grid; place-items: center;
  border-bottom: 3px solid #fff;
}
.product-thumb span.p-emoji { font-size: 3rem; filter: drop-shadow(0 4px 6px rgba(0,0,0,.12)); }
.product-tag { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.9); color: var(--ink); font-size: .72rem; font-weight: 700; padding: .2em .7em; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.product-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.18rem; }
.product-body p { color: var(--ink-soft); font-size: .9rem; margin: .4rem 0 1rem; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.product-price { font-family: var(--font-head); font-size: 1.28rem; color: var(--primary-d); }
.add-btn { background: var(--crema); border: none; color: var(--ink); font-weight: 700; padding: .6em 1.1em; border-radius: 999px; cursor: pointer; transition: background .18s, transform .18s; font-family: var(--font-body); }
.add-btn:hover { background: var(--dorado); transform: scale(1.04); }

/* ---------- Customizer ---------- */
.customizer-section { background: var(--bg); --scallop-color: var(--bg); padding-bottom: 4rem; }
.customizer {
  max-width: var(--maxw); margin: 1rem auto 0; padding: 0 1.2rem;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 34px; align-items: start;
}
.cz-preview { position: sticky; top: 96px; }
.cz-stage {
  background: linear-gradient(160deg, var(--crema2), var(--crema));
  border-radius: var(--radius-lg); padding: 2.4rem 1.5rem 1.6rem; text-align: center;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.cz-stage::before, .cz-stage::after { content: "✿"; position: absolute; color: rgba(153,93,129,.14); font-size: 3rem; }
.cz-stage::before { top: 10px; left: 16px; }
.cz-stage::after { bottom: 4px; right: 18px; font-size: 2rem; }
/* Notebook */
.notebook { position: relative; width: 210px; margin: 0 auto; transition: width .3s, height .3s; }
.notebook { --nb-h: 280px; }
.nb-shadow { position: absolute; inset: auto 0 -14px 0; height: 30px; background: radial-gradient(ellipse at center, rgba(74,63,58,.28), transparent 70%); }
.nb-cover {
  position: relative; width: 100%; height: var(--nb-h); border-radius: 8px 16px 16px 8px;
  box-shadow: 0 18px 36px -14px rgba(74,63,58,.5); overflow: hidden;
  border-left: 7px solid rgba(0,0,0,.14);
}
.nb-fabric { position: absolute; inset: 0; transition: background .25s; }
.nb-pages { position: absolute; top: 4px; bottom: 4px; right: -6px; width: 8px; background: repeating-linear-gradient(to bottom, #fdfaf3, #fdfaf3 2px, #e7ddc9 3px); border-radius: 0 4px 4px 0; box-shadow: 2px 0 4px rgba(0,0,0,.1); }
.nb-elastic { position: absolute; top: 0; bottom: 0; right: 24px; width: 12px; transition: background .2s; box-shadow: inset 0 0 4px rgba(0,0,0,.15); }
.nb-ribbon { position: absolute; top: 0; width: 8px; height: calc(var(--nb-h) + 26px); left: 50%; transform: translateX(30px); transition: background .2s; }
.nb-ribbon::after { content: ""; position: absolute; bottom: 0; left: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 8px solid var(--ink); }
.nb-corner { position: absolute; width: 34px; height: 34px; }
.nb-corner-tr { top: 0; right: 0; }
.nb-corner-br { bottom: 0; right: 0; }
.nb-corner.on { background: linear-gradient(135deg, transparent 50%, var(--corner-col, #b98d4e) 50%); }
.nb-corner-tr.on { transform: rotate(0deg); }
.nb-corner-br.on { transform: scaleY(-1); }
.nb-embroidery { position: absolute; top: 34%; left: 50%; transform: translate(-50%,-50%); width: 96px; height: 96px; border-radius: 10px; overflow: hidden; border: 3px solid rgba(255,255,255,.85); box-shadow: 0 6px 14px rgba(0,0,0,.25); z-index: 3; }
.nb-embroidery img { width: 100%; height: 100%; object-fit: cover; }
.cz-caption { margin: 2rem 0 0; font-family: var(--font-head); font-style: italic; color: var(--ink-soft); }
.cz-price-box { display: flex; align-items: center; justify-content: space-between; background: #fff; border-radius: var(--radius); padding: 1rem 1.4rem; margin-top: 1rem; box-shadow: var(--shadow-sm); }
.cz-price-box span { color: var(--ink-soft); font-weight: 600; }
.cz-price-box strong { font-family: var(--font-head); font-size: 1.7rem; color: var(--primary-d); }

.cz-options { display: flex; flex-direction: column; gap: 1.4rem; }
.cz-group h3 { font-size: 1.12rem; margin-bottom: .7rem; display: flex; align-items: center; gap: .5rem; }
.cz-extra { font-family: var(--font-body); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--dorado); color: var(--ink); padding: .18em .6em; border-radius: 999px; }
.cz-choices { display: flex; flex-wrap: wrap; gap: .55rem; }
.cz-opt {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft);
  padding: .55em 1em; border-radius: 14px; cursor: pointer; font-family: var(--font-body);
  font-weight: 600; font-size: .9rem; transition: all .16s; text-align: left; line-height: 1.2;
}
.cz-opt small { display: block; font-weight: 500; font-size: .74rem; opacity: .7; }
.cz-opt:hover { border-color: var(--primary); }
.cz-opt.is-active { border-color: var(--primary); background: var(--crema); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--primary); }
.cz-swatches .cz-swatch {
  width: 40px; height: 40px; border-radius: 12px; cursor: pointer; position: relative;
  border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--line); transition: transform .15s, box-shadow .15s;
}
.cz-swatch:hover { transform: scale(1.08); }
.cz-swatch.is-active { box-shadow: 0 0 0 2.5px var(--primary-d); transform: scale(1.06); }
.cz-swatch[data-tip]:hover::after { content: attr(data-tip); position: absolute; bottom: 118%; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: .7rem; padding: .2em .6em; border-radius: 6px; white-space: nowrap; z-index: 5; }
.cz-hint { color: var(--ink-soft); font-size: .86rem; margin: 0 0 .7rem; }
.cz-upload { display: block; border: 2px dashed var(--tan); border-radius: 16px; padding: 1rem; text-align: center; cursor: pointer; transition: background .16s, border-color .16s; }
.cz-upload:hover { background: var(--crema2); border-color: var(--primary); }
.cz-upload-inner { font-weight: 600; color: var(--ink-soft); }
.cz-upload-sm { padding: .7rem; }
.cz-remove { margin-top: .6rem; background: none; border: none; color: var(--durazno); font-weight: 700; cursor: pointer; text-decoration: underline; font-family: var(--font-body); }

/* ---------- Workshops ---------- */
.workshops-section { background: var(--bg-warm); --scallop-color: var(--bg-warm); padding-bottom: 4rem; }
.workshops-grid { max-width: var(--maxw); margin: 1rem auto 0; padding: 0 1.2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.workshop-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.workshop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.workshop-media { aspect-ratio: 16/10; display: grid; place-items: center; font-size: 3rem; position: relative; }
.workshop-media .w-badge { position: absolute; bottom: 12px; left: 12px; background: rgba(255,255,255,.92); font-size: .74rem; font-weight: 700; padding: .25em .8em; border-radius: 999px; }
.workshop-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.workshop-body h3 { font-size: 1.32rem; }
.workshop-meta { display: flex; gap: 1rem; color: var(--ink-soft); font-size: .84rem; margin: .5rem 0 .8rem; flex-wrap: wrap; }
.workshop-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.workshop-body p.w-desc { color: var(--ink-soft); font-size: .92rem; flex: 1; margin: 0 0 1.2rem; }
.workshop-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.workshop-price { font-family: var(--font-head); font-size: 1.25rem; color: var(--primary-d); }

/* ---------- Community ---------- */
.community-section { background: var(--bg); --scallop-color: var(--bg); padding-bottom: 4.5rem; }
.community-actions { text-align: center; margin-bottom: 2rem; }
.community-feed { max-width: var(--maxw); margin: 0 auto; padding: 0 1.2rem; columns: 3; column-gap: 20px; }
.post-card { break-inside: avoid; margin-bottom: 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.post-media { min-height: 120px; display: grid; place-items: center; font-size: 2.4rem; }
.post-body { padding: 1rem 1.2rem 1.2rem; }
.post-body p { margin: 0 0 .8rem; font-size: .94rem; color: var(--ink); }
.post-author { display: flex; align-items: center; gap: .5rem; font-size: .84rem; color: var(--ink-soft); font-weight: 600; }
.post-avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .8rem; }
.post-pending { display: inline-block; margin-left: auto; background: var(--dorado); color: var(--ink); font-size: .68rem; font-weight: 700; padding: .1em .6em; border-radius: 999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ciruela); color: #f6e9ef; --scallop-color: var(--ciruela); padding-bottom: 1.5rem; }
.footer-scallop::before { background-image: radial-gradient(circle at 22px 0, transparent 21px, var(--ciruela) 22px); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 2.4rem 1.4rem 1.5rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-brand .brand-name { color: #fff; margin: .4rem 0; }
.footer-brand .brand-name em { color: var(--dorado); }
.footer-brand .brand-mark { background: #fff; color: var(--ciruela); }
.footer-brand p { color: #f0dbe6; font-size: .9rem; max-width: 320px; margin-top: .6rem; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: .8rem; }
.footer-col a { display: block; color: #f0dbe6; text-decoration: none; font-size: .92rem; padding: .22rem 0; font-weight: 600; }
.footer-col a:hover { color: #fff; }
.footer-legal { text-align: center; color: #e6cdda; font-size: .82rem; margin: 1.4rem 1rem 0; }

/* ---------- Cart drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(74,63,58,.45); z-index: 80; backdrop-filter: blur(2px); }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 92vw); background: var(--bg);
  z-index: 90; box-shadow: -20px 0 50px -20px rgba(74,63,58,.5); display: flex; flex-direction: column;
  animation: slideIn .28s ease;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 1.4rem; }
.drawer-close, .modal-close { background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--ink-soft); line-height: 1; }
.cart-body { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; }
.cart-empty { text-align: center; color: var(--ink-soft); padding: 3rem 1rem; }
.cart-item { display: flex; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.cart-item-thumb { width: 56px; height: 56px; border-radius: 14px; flex: none; display: grid; place-items: center; font-size: 1.6rem; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h4 { font-family: var(--font-body); font-weight: 700; font-size: .95rem; }
.cart-item-info .ci-detail { font-size: .78rem; color: var(--ink-soft); margin: .15rem 0; }
.cart-item-info .ci-price { font-weight: 700; color: var(--primary-d); font-size: .92rem; }
.cart-qty { display: inline-flex; align-items: center; gap: .5rem; margin-top: .3rem; }
.cart-qty button { width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 700; color: var(--ink); }
.ci-remove { background: none; border: none; color: var(--ink-soft); cursor: pointer; font-size: 1.1rem; align-self: flex-start; }
.cart-foot { padding: 1.2rem 1.4rem; border-top: 1px solid var(--line); background: var(--bg-warm); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.cart-total strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--primary-d); }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1.2rem; background: rgba(74,63,58,.5); backdrop-filter: blur(3px); overflow-y: auto; }
.modal-card { background: var(--bg); border-radius: var(--radius-lg); padding: 2rem 1.8rem; width: min(480px, 100%); box-shadow: var(--shadow); position: relative; margin: auto; animation: pop .25s ease; }
.modal-lg { width: min(640px, 100%); }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close { position: absolute; top: 1.1rem; right: 1.2rem; }
.modal-title { font-size: 1.7rem; margin-bottom: .3rem; }
.modal-sub { color: var(--ink-soft); margin: 0 0 1.2rem; font-size: .95rem; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: .9rem; }
.form label { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: .88rem; color: var(--ink); }
.form input, .form textarea, .form select {
  font-family: var(--font-body); font-size: .95rem; padding: .7em .9em; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 500;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(216,164,143,.25); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.form-fieldset { border: 1.5px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; }
.form-fieldset legend { font-weight: 700; padding: 0 .5em; font-size: .9rem; }
.radio-line { flex-direction: row !important; align-items: center; gap: .5rem !important; font-weight: 500 !important; padding: .3rem 0; }
.pay-methods { display: grid; gap: .5rem; }
.pay-opt { flex-direction: row !important; align-items: center; gap: .6rem !important; padding: .7em .9em; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 600 !important; background: #fff; transition: border-color .15s; }
.pay-opt:has(input:checked) { border-color: var(--primary); background: var(--crema2); }
.checkout-summary { background: #fff; border-radius: 14px; padding: 1rem 1.2rem; border: 1px solid var(--line); font-size: .9rem; }
.checkout-summary .cs-line { display: flex; justify-content: space-between; padding: .2rem 0; }
.checkout-summary .cs-total { border-top: 1px dashed var(--line); margin-top: .5rem; padding-top: .6rem; font-weight: 700; font-family: var(--font-head); font-size: 1.15rem; }
.form-note { font-size: .8rem; color: var(--ink-soft); text-align: center; margin: .2rem 0 0; }
.paypal-box { margin: .4rem 0; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: .9em 1.4em; border-radius: 999px; font-weight: 600; z-index: 200; box-shadow: var(--shadow); opacity: 0; transition: all .3s; font-size: .92rem; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .customizer { grid-template-columns: 1fr; }
  .cz-preview { position: static; }
  .workshops-grid { grid-template-columns: 1fr; }
  .community-feed { columns: 2; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .g-wide { grid-column: span 2; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .community-feed { columns: 1; }
  .gallery-grid { grid-auto-rows: 150px; }
  .section-head { padding-top: 2.4rem; }
  .hero { min-height: 74vh; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .hero-slide { transition: none; }
}
