/* ============================================================
   THEME — Clipper Cuts by Mona
   Western barbershop: hot pink Tuscan lettering with a heavy black
   rim, cream wood, dark-brown cowhide, faceted nautical stars.
   Pinks are sampled off her badge (#E94180 body, #FB8BB5 highlight,
   #B02A5E shade) — the sheet's #E91E8F is bluer than her actual art.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Rye&family=Yellowtail&family=Barlow+Condensed:wght@500;600;700&family=Barlow:wght@300;400;500;600&display=swap');

:root{
  --font-script:  'Yellowtail', cursive;            /* "by Mona" brush script */
  --font-display: 'Rye', serif;                     /* CLIPPER CUTS Tuscan caps */
  --font-body:    'Barlow', sans-serif;

  --cream:     #F5EBDD;   /* her wood / cream */
  --blush:     #FCE1EB;   /* day cells, hover fills */
  --blush-2:   #E6CDBE;   /* hairlines */
  --pink:      #FB8BB5;   /* dotted leaders */
  --pink-deep: #3D2B1F;   /* dark brown — rims */
  --ribbon:    #E94180;   /* her pink, sampled off the badge — selected day/slot, buttons */
  --pink-dark: #B02A5E;   /* prices, category headings */
  --plum:      #000000;   /* headings */

  --ink:       #1d140f;
  --ink-soft:  #6b5646;
  --white:     #FFF9F1;

  --pip-open:  #2f8f4e;   /* green on cream, clear of pink */
  --pip-taken: #cbb8a8;   /* dull tan */

  --glow:      61,43,31;
  --glow-deep: 0,0,0;

  --on-accent: #fff;
  --tab-on-bg:  #000;        /* Morning/Afternoon/Evening tab that is open */
  --tab-on-ink: #fff;
  --tab-on-rim: #000;
  --svc-book-rim: #000;     /* Book Now on each service: her pink sign, black rim */
  --svc-book-sh:  0 3px 0 #000;
  --announce-bg: #000;
  --on-announce: #F8639B;

  --bg-tile:        url(bg-tile.svg);
  --bg-size:        480px;
  --bg-size-mobile: 360px;
  --bg-opacity:     1;
  --bg-opacity-admin: .5;

  --motif: url(motif.png);
}

/* ---- shape: chunky, outlined, sign-painted -------------------- */
:root{
  --r-btn:    12px;
  --r-card:   14px;
  --r-svc-shot: 8px;
  --r-tile:   8px;
  --r-input:  8px;
  --r-msg:    12px;
  --r-img:    10px;
  --r-nav:    50%;
  --r-deal:   14px;

  --bw:       2px;
  --bw-card:  2px;

  --sh-card:  0 5px 0 rgba(0,0,0,.85);
  --sh-btn:   0 4px 0 #000;
  --sh-btn-h: 0 6px 0 #000;
  --sh-soft:  0 3px 0 rgba(61,43,31,.35);
  --sh-lift:  0 5px 0 rgba(0,0,0,.7);
  --sh-deal:  0 6px 0 rgba(0,0,0,.85);

  --motif-rot:      -10deg;
  --motif-bullet-w: 20px;
  --motif-bullet-h: 20px;
  --motif-badge-w:  36px;
  --motif-badge-h:  36px;

  --font-btn:      'Rye', serif;
  --btn-weight:    400;
  --btn-transform: uppercase;
  --btn-tracking:  .06em;

  /* FINISH — her CLIPPER CUTS lettering: hot pink face, thick black
     rim, black slab dropping underneath. That is --wm-sticker. */
  --wm-face:  #EF5793;
  --wm-block: #000000;
  --wm-rim:   #000000;
  --wm-text:  var(--wm-sticker);
  --wm-pad:   .24em;
  --wm-lh:    1.3;

  --wm-btn:       0 .30em 0 #000, 0 .30em 0 2px #000;
  --wm-btn-h:     0 .36em 0 #000, 0 .36em 0 2px #000;
  --wm-btn-press: translateY(.24em);

  --pin-size: 13px;
  --logo-max: 340px;

  --ty-card:  #FFF9F1;
  --ty-line:  #E6CDBE;
  --ty-icon:  #3D2B1F;
  --ty-heart: #E94180;
}

/* Cards wear her black outline, like the badge. */
.card{border-color:#000}

/* Announcement bar: black with her pink, set in the condensed face. */
#announce{
  font-family:'Barlow Condensed',sans-serif;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase
}

/* Buttons: hot pink sign with her black rim, like the lettering. */
.cta{background:var(--ribbon);color:#fff;border-color:#000}
.cta:hover{background:#F8639B;color:#fff;border-color:#000}
.cta.bowed{color:#fff;border-color:#000}
.cta.ghost{background:var(--white);color:#000;border-color:#000}
.cta.ghost:hover{background:var(--blush);color:#000;border-color:#000}

/* Calendar and policy cards sit on HER cowhide (assets/cowhide-bg.jpg,
   a seamless tile she supplied). The dates, times and form stay on a
   cream panel inset in it — like the wood centre of her badge — because
   numbers and labels on top of dark spots cannot be read. Hot pink and
   black rims round the panel, same as the badge's leather edge. */
#booking > .card,
#policy-sec .card{
  border:22px solid transparent;
  background:
    linear-gradient(var(--white),var(--white)) padding-box,
    url(cowhide-bg.jpg) 0 0/170px repeat border-box;
  --cal-pad: 1.3rem .9rem;   /* the frame already gives the panel its air on a phone */
  box-shadow:
    0 0 0 2.5px #000,
    inset 0 0 0 2.5px #000,
    inset 0 0 0 6px var(--ribbon),
    inset 0 0 0 8px #000,
    0 6px 0 2.5px #000;
  border-radius:36px;   /* minus the 22px frame = a 14px curve on the panel */
}
@media (min-width:700px){
  #booking > .card,
  #policy-sec .card{border-width:34px;border-radius:48px;
    background:
      linear-gradient(var(--white),var(--white)) padding-box,
      url(cowhide-bg.jpg) 0 0/240px repeat border-box;
    --cal-pad: 2rem}
}

/* No star under the Services, Book Your Appointment, Booking Policy and Current Deals
   headings (she asked) — the star stays on the button and policy bullets. */
.bow[data-divider="services"],
.bow[data-divider="booking"],
.bow[data-divider="policy"],
.bow[data-divider="deals"]{display:none}

/* Bigger service rows — larger photo, larger name and price. */
.svc .shot{width:190px;height:190px;border-radius:14px;border:2.5px solid #000;box-shadow:0 4px 0 #000}
.svc .shot-gap{width:190px}
.cat.withpics .svc{gap:1.3rem;padding:1.2rem 0}
.svc .name{font-size:1.4rem}
.svc .price{font-size:1.45rem}
.svc-book{font-size:.8rem;padding:.55rem .95rem}
@media (max-width:560px){
  .svc .shot{width:150px;height:150px}
  .svc .shot-gap{width:150px}
  .cat.withpics .svc{gap:.9rem;padding:1.05rem 0}
  .svc .name{font-size:1.25rem}
  .svc .price{font-size:1.3rem}
  .svc-book{font-size:.72rem;padding:.5rem .8rem}
  /* with a photo there is no room for name, price and button in one line
     on a phone: name on top, price and Book Now underneath, beside the photo */
  .cat.withpics:not(.nopics) .svc{display:grid;grid-template-columns:150px 1fr auto;
    grid-template-areas:"shot txt txt" "shot price book";column-gap:.9rem;row-gap:.55rem;align-items:center}
  .cat.withpics:not(.nopics) .svc .shot,
  .cat.withpics:not(.nopics) .svc .shot-gap{grid-area:shot;align-self:center}
  .cat.withpics:not(.nopics) .svc .txt{grid-area:txt;align-self:end}
  .cat.withpics:not(.nopics) .svc .dots{display:none}
  .cat.withpics:not(.nopics) .svc .price{grid-area:price;width:auto;text-align:left;align-self:center}
  .cat.withpics:not(.nopics) .svc .svc-book{grid-area:book;align-self:center;margin:0}
}

/* A service with no photo sits flush left like the rest of the list,
   not indented under an empty photo column (Arreglo de Barba, Diseño). */
.svc .shot-gap{display:none}
.cat.withpics .svc:not(:has(.shot)){display:flex;align-items:center}
.cat.withpics .svc:not(:has(.shot)) .txt{flex:1}
.cat.withpics .svc:not(:has(.shot)) .price{text-align:right}

/* Video header: her lettering sits near the top of the video, the
   buttons stay at the bottom, so the haircut in the middle is clear. */
header.hero{justify-content:space-between;padding-top:1.1rem}
header.hero .header-top{margin-bottom:auto}
header.hero::after{background:
  linear-gradient(180deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,0) 26%),
  linear-gradient(180deg,rgba(0,0,0,0) 62%,rgba(0,0,0,.7) 100%)}
header.hero .tagline{color:#fff;font-weight:600;text-shadow:0 1px 2px #000,0 0 10px rgba(0,0,0,.8)}
