/* ============================================================
   COMERÇ — vista d'un comerç específic
   Reutilitza nav, footer, dividers, paper-grain i stamps de styles.css
   ============================================================ */

.comerc-wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; width: 100%; }

/* --- breadcrumb --- */
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 9px;
  font-size: 13.5px; color: #9a8c75; font-weight: 500;
  padding: 116px 0 0;
}
.breadcrumb a { color: #a07a4c; text-decoration: none; }
.breadcrumb a:hover { color: #b1432c; }
.breadcrumb .sep { color: #cdbb9b; }
.breadcrumb .here { color: #2a241d; font-weight: 600; }

/* --- hero del comerç --- */
.comerc-hero {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px;
  align-items: center; padding: 34px 0 64px;
}
.comerc-shot {
  position: relative; align-self: stretch;
  display: flex; align-items: center; justify-content: center;
}
.comerc-scrap {
  position: relative; width: 100%; max-width: 420px;
  transform: rotate(-2deg);
  filter: drop-shadow(0 26px 46px rgba(98, 74, 40, .3));
}
.comerc-scrap-photo {
  width: 100%; aspect-ratio: 4 / 4.4;
  background: repeating-linear-gradient(45deg, #f0e2cb 0 13px, #e7d5b6 13px 26px);
  border: 11px solid #fffdf8; border-radius: 2px;
  display: flex; align-items: flex-end; padding: 14px;
}
.comerc-scrap-photo .tag {
  font-family: 'Young Serif', serif; font-size: 12px; color: #a07a4c;
  background: #fffdf8; padding: 4px 10px; border-radius: 4px; letter-spacing: .03em;
}
.comerc-scrap-tape {
  position: absolute; top: -15px; left: 42px; width: 116px; height: 30px;
  background: rgba(255, 253, 248, 0.78); transform: rotate(-5deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  border-left: 1px dashed rgba(0, 0, 0, .08); border-right: 1px dashed rgba(0, 0, 0, .08);
}
.comerc-since {
  position: absolute; bottom: -20px; right: -10px;
  font-family: 'Permanent Marker', cursive; font-size: 22px; color: #fffdf8;
  background: #b1432c; padding: 4px 18px 8px; transform: rotate(3deg);
  box-shadow: 0 8px 18px rgba(98, 74, 40, .3); white-space: nowrap;
}

.comerc-cat { font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: #a07a4c; font-weight: 600; margin-bottom: 16px; }
.comerc-name {
  font-family: 'Young Serif', serif; font-weight: 400;
  font-size: clamp(40px, 5vw, 70px); line-height: 1.02; letter-spacing: -.02em;
  color: #2a241d; margin: 0 0 14px;
}
.comerc-lede {
  font-family: 'Newsreader', serif; font-style: italic;
  font-size: 20px; line-height: 1.5; color: #6f6555; max-width: 520px; margin: 0 0 26px;
}
.comerc-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.comerc-chips span {
  font-size: 13px; color: #5c5345; font-weight: 600;
  background: #fffdf8; border: 1px solid #e1d4bd; border-radius: 999px; padding: 7px 15px;
}
.comerc-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: #b1432c; color: #fffdf8; text-decoration: none;
  border: none; border-radius: 999px; padding: 14px 26px;
  font-family: 'Atkinson Hyperlegible', sans-serif; font-size: 16px; font-weight: 600; cursor: pointer;
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fffdf8; color: #2a241d; text-decoration: none;
  border: 1px solid #d8cab2; border-radius: 999px; padding: 14px 24px;
  font-family: 'Atkinson Hyperlegible', sans-serif; font-size: 16px; font-weight: 600; cursor: pointer;
}

/* --- bloc fitxa (info pràctica) sobre verd --- */
.fitxa { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; }
.fitxa-block h3 {
  font-family: 'Young Serif', serif; font-size: 13px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; margin: 0 0 18px; color: #f1e7d6;
}
.hours { list-style: none; margin: 0; padding: 0; }
.hours li {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 10px 0; border-bottom: 1px solid rgba(241, 231, 214, .14);
  font-size: 15px; color: rgba(241, 231, 214, .85);
}
.hours li.today { color: #f1e7d6; font-weight: 600; }
.hours li .day { font-weight: 500; }
.hours li .open { color: #c9c; }
.hours li .h { font-family: 'Atkinson Hyperlegible', sans-serif; }
.hours li.today .h { color: #e9c46a; }
.hours li .closed { color: rgba(241, 231, 214, .45); font-style: italic; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(241, 231, 214, .1); border: 1px solid rgba(241, 231, 214, .2);
  display: flex; align-items: center; justify-content: center; color: #e9c46a;
}
.contact-list .lbl { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(241, 231, 214, .55); font-weight: 600; margin-bottom: 2px; }
.contact-list .val { font-size: 15.5px; color: #f1e7d6; line-height: 1.4; }
.contact-list a.val { text-decoration: none; }
.contact-list a.val:hover { color: #e9c46a; }

/* --- història (editorial) --- */
.historia { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.historia-aside .kicker-bracket { margin-bottom: 18px; }
.historia-aside h2 {
  font-family: 'Young Serif', serif; font-weight: 400;
  font-size: clamp(32px, 3.4vw, 46px); line-height: 1.06; letter-spacing: -.02em;
  color: #2a241d; margin: 0;
}
.historia-body p {
  font-family: 'Newsreader', serif; font-size: 19px; line-height: 1.62; color: #4a4236; margin: 0 0 20px;
}
.historia-body p:first-child::first-letter {
  font-family: 'Young Serif', serif; font-size: 64px; line-height: .8;
  float: left; padding: 6px 12px 0 0; color: #b1432c;
}
.historia-body p:last-child { margin-bottom: 0; }

/* --- galeria --- */
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.gallery-head h2 {
  font-family: 'Young Serif', serif; font-weight: 400;
  font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -.02em; color: #2a241d; margin: 0;
}
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery figure { margin: 0; }
.gallery .ph {
  height: 220px; border-radius: 14px; overflow: hidden;
  border: 1px solid #e6dac5; display: flex; align-items: flex-end; padding: 12px;
}
.gallery figcaption { font-family: 'Kalam', cursive; font-weight: 600; font-size: 17px; color: #a07a4c; margin-top: 10px; }
.gallery .ph .tag { font-family: 'Young Serif', serif; font-size: 11px; color: #a07a4c; background: #fffdf8; padding: 3px 8px; border-radius: 4px; letter-spacing: .03em; }
.gallery figure.tall { grid-row: span 2; }
.gallery figure.tall .ph { height: 460px; }

/* --- cita del comerciant --- */
.owner-quote {
  max-width: 900px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.owner-quote blockquote {
  font-family: 'Kalam', cursive; font-weight: 600;
  font-size: clamp(28px, 3.6vw, 46px); line-height: 1.2; color: #f1e7d6; margin: 0;
}
.owner-quote blockquote::before { content: '«'; color: #e9c46a; margin-right: 4px; }
.owner-quote blockquote::after { content: '»'; color: #e9c46a; margin-left: 4px; }
.owner-quote .who { display: flex; align-items: center; gap: 12px; }
.owner-quote .who .dot { width: 10px; height: 10px; border-radius: 50%; background: #e9c46a; }
.owner-quote .who .name { font-size: 16px; font-weight: 600; color: #f1e7d6; }
.owner-quote .who .role { font-size: 14px; color: rgba(241, 231, 214, .6); }

/* --- comerços relacionats --- */
.related-head { margin-bottom: 34px; }
.related-head h2 { font-family: 'Young Serif', serif; font-weight: 400; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.02em; color: #2a241d; margin: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .comerc-hero { grid-template-columns: 1fr; gap: 44px; }
  .comerc-shot { order: -1; }
  .comerc-scrap { max-width: 320px; }
  .fitxa { grid-template-columns: 1fr; gap: 40px; }
  .historia { grid-template-columns: 1fr; gap: 28px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure.tall { grid-row: auto; }
  .gallery figure.tall .ph { height: 220px; }
}
@media (max-width: 720px) {
  .comerc-wrap { padding: 0 22px; }
  .breadcrumb { padding-top: 96px; font-size: 12.5px; }
  .comerc-hero { padding: 26px 0 48px; gap: 36px; }
  .comerc-scrap { max-width: 260px; }
  .comerc-since { font-size: 18px; padding: 3px 14px 6px; }
  .comerc-lede { font-size: 18px; }
  .btn-primary, .btn-ghost { flex: 1 1 100%; justify-content: center; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 14px; }
  .gallery .ph { height: 150px; }
  .historia-body p { font-size: 17px; }
  .historia-body p:first-child::first-letter { font-size: 52px; }
}
@media (max-width: 480px) {
  .comerc-wrap { padding: 0 18px; }
  .comerc-scrap { max-width: 220px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .ph { height: 180px; }
}
