/* My Heart Is – Scotland tartan page ([mhi_scotland]). Everything is scoped to #mhi-scotland. */
#mhi-scotland { --ink:#111; --red:#e8394d; --line:#e6e1da; --muted:#6f685d; color:var(--ink); font:16px/1.5 "DM Sans", Arial, sans-serif; max-width:1180px; margin:0 auto; padding:30px 0 50px; }
#mhi-scotland * { box-sizing:border-box; }
#mhi-scotland .mhs-kick { color:var(--red); font-weight:700; font-size:12px; letter-spacing:.18em; text-transform:uppercase; margin:0 0 6px; }
#mhi-scotland h1.mhs-h1 { font:900 clamp(34px,5vw,56px)/1.05 "Playfair Display", Georgia, serif; margin:0 0 10px; color:var(--ink); }
#mhi-scotland .mhs-sub { color:var(--muted); max-width:620px; margin:0 0 28px; }
#mhi-scotland .mhs-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:36px; align-items:start; }
@media (max-width:860px){ #mhi-scotland .mhs-grid { grid-template-columns:1fr; gap:18px; } }
@media (min-width:861px){ #mhi-scotland .mhs-left { position:sticky; top:90px; } }

#mhi-scotland .mhs-stage { position:relative; background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; aspect-ratio:538/383; }
#mhi-scotland .mhs-stage.umb { aspect-ratio:1/1; background:radial-gradient(circle at 50% 40%, #fff, #efebe4); }
#mhi-scotland .mhs-tee { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
#mhi-scotland .mhs-print { position:absolute; left:59%; top:41%; width:12%; opacity:.95; mix-blend-mode:multiply; pointer-events:none; }
#mhi-scotland .mhs-umb { position:absolute; inset:5%; width:90%; height:90%; transform:rotate(22.5deg); display:none; filter:drop-shadow(0 10px 18px rgba(0,0,0,.18)); }
#mhi-scotland .mhs-stage.umb .mhs-tee, #mhi-scotland .mhs-stage.umb .mhs-print { display:none; }
#mhi-scotland .mhs-stage.umb .mhs-umb { display:block; }
#mhi-scotland .mhs-zoom { display:flex; gap:14px; align-items:center; margin-top:14px; }
#mhi-scotland .mhs-zoom .box { width:120px; height:120px; flex:none; background:#fff; border:1px solid var(--line); border-radius:12px; padding:10px; }
#mhi-scotland .mhs-zoom .box img { width:100%; height:100%; object-fit:contain; display:block; }
#mhi-scotland .mhs-zoom button.box { position:relative; cursor:zoom-in; background:#fff !important; }
#mhi-scotland .mhs-zoom button.box span { position:absolute; right:6px; bottom:6px; width:24px; height:24px; border-radius:50%; background:#111; color:#fff; font-size:13px; line-height:24px; text-align:center; }
#mhi-scotland .mhs-lb { position:fixed; inset:0; z-index:100000; background:rgba(255,255,255,.97); display:flex; align-items:center; justify-content:center; padding:24px; cursor:zoom-out; }
#mhi-scotland .mhs-lb[hidden] { display:none; }
#mhi-scotland .mhs-lb { flex-direction:column; gap:12px; }
#mhi-scotland .mhs-lb img { max-width:min(92vw,900px); max-height:80vh; object-fit:contain; touch-action:none; user-select:none; }
#mhi-scotland .mhs-lbhint { margin:0; font-size:15px; color:#111; text-align:center; }
#mhi-scotland .mhs-lbhint[hidden] { display:none; }
#mhi-scotland .mhs-lbhint button { border:0; background:none !important; color:#e8394d !important; text-decoration:underline; font:inherit; cursor:pointer; padding:0; }
#mhi-scotland .mhs-lb .x { position:absolute; top:14px; right:18px; border:0; background:none !important; color:#111 !important; font-size:34px; line-height:1; cursor:pointer; }
#mhi-scotland .mhs-zoom p { margin:0; color:var(--muted); font-size:14px; }

#mhi-scotland .mhs-panel { background:#fff; border:1px solid var(--line); border-radius:14px; padding:22px; }
#mhi-scotland .mhs-step { margin:0 0 20px; }
#mhi-scotland .mhs-lbl { display:block; font-size:11px; font-weight:900; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin:0 0 8px; }
#mhi-scotland .mhs-seg { display:flex; gap:8px; flex-wrap:wrap; }
#mhi-scotland .mhs-seg button { flex:1; min-width:0; padding:12px 10px; border:1.5px solid var(--line) !important; background:#fff !important; color:var(--ink) !important; border-radius:10px; font:700 14px/1.2 "DM Sans", Arial, sans-serif; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; text-transform:none; letter-spacing:0; box-shadow:none; }
#mhi-scotland .mhs-seg button.on { border-color:var(--ink) !important; box-shadow:0 0 0 1px var(--ink); }
#mhi-scotland .mhs-seg button small { display:block; font-weight:500; color:var(--muted); font-size:12px; }
#mhi-scotland .mhs-seg.sizes button { flex:0 0 calc(16.66% - 7px); padding:10px 0; min-width:48px; }
#mhi-scotland .mhs-seg .ico { width:26px; height:26px; flex:none; }
#mhi-scotland input[type=search] { width:100%; padding:12px 14px; border:1.5px solid var(--line); border-radius:10px; font:16px "DM Sans", Arial, sans-serif; background:#fff; color:var(--ink); }
#mhi-scotland input[type=search]:focus { outline:none; border-color:var(--ink); }
#mhi-scotland .mhs-sw { display:grid; grid-template-columns:repeat(auto-fill,minmax(64px,1fr)); gap:8px; max-height:236px; overflow-y:auto; margin-top:10px; padding:2px; }
#mhi-scotland .mhs-sw button { border:2px solid transparent !important; padding:0; background:none !important; cursor:pointer; text-align:center; font:600 10.5px/1.2 "DM Sans", Arial, sans-serif; color:var(--ink) !important; border-radius:8px; text-transform:none; letter-spacing:0; }
#mhi-scotland .mhs-sw button span { display:block; aspect-ratio:1; border-radius:6px; background-size:56px 56px; margin-bottom:3px; box-shadow:inset 0 0 0 1px rgba(0,0,0,.08); }
#mhi-scotland .mhs-sw button.on { border-color:var(--red) !important; }
#mhi-scotland .mhs-sw button[hidden] { display:none; }
#mhi-scotland .mhs-chosen { margin-top:10px; font-weight:700; min-height:1.5em; }
#mhi-scotland .mhs-none { color:var(--muted); font-size:14px; margin-top:8px; }
#mhi-scotland .mhs-buy { display:flex; align-items:center; justify-content:space-between; gap:14px; border-top:1px solid var(--line); padding-top:18px; }
#mhi-scotland .mhs-buy b { font-size:22px; }
#mhi-scotland .mhs-go { background:var(--red) !important; color:#fff !important; border:0 !important; border-radius:0; padding:16px 22px; font:900 13px/1 "DM Sans", Arial, sans-serif; letter-spacing:.12em; cursor:pointer; text-transform:uppercase; }
#mhi-scotland .mhs-go[disabled] { opacity:.6; cursor:wait; }
#mhi-scotland .mhs-msg { margin-top:10px; font-size:14px; min-height:1.3em; }
#mhi-scotland .mhs-msg.err { color:#b3261e; }
#mhi-scotland .mhs-admin { background:#fff8e5; border:1px solid #e8c36a; padding:10px 14px; border-radius:6px; font-size:14px; margin-bottom:16px; }
@media (max-width:700px){
  #mhi-scotland { padding-top:10px; }
  #mhi-scotland .mhs-buy { position:fixed; left:0; right:0; bottom:0; z-index:9999; background:#111; color:#fff; margin:0; padding:10px 14px calc(10px + env(safe-area-inset-bottom)); border:0; }
  #mhi-scotland .mhs-buy small { color:#aaa !important; }
  body { padding-bottom:84px; }
}

/* v1.21: My Club */
#mhi-scotland select, #mhi-scotland input[type=text] { width:100%; padding:12px 14px; border:1.5px solid var(--line); border-radius:10px; font:16px "DM Sans", Arial, sans-serif; background:#fff; color:var(--ink); height:auto; }
#mhi-scotland .mhs-own { display:flex; flex-wrap:wrap; gap:8px 16px; margin-top:10px; font-size:14px; }
#mhi-scotland .mhs-own[hidden], #mhi-scotland .mhs-own label[hidden], #mhi-scotland .mhs-okrow[hidden], #mhi-scotland #mhs-fontrow[hidden] { display:none; }
#mhi-scotland .mhs-own label { display:flex; align-items:center; gap:6px; }
#mhi-scotland .mhs-own input[type=color] { width:46px; height:38px; padding:2px; border:1.5px solid var(--line); border-radius:8px; background:#fff; }
#mhi-scotland .mhs-okrow { display:flex; gap:8px; align-items:flex-start; margin-top:12px; font-size:14px; color:var(--muted); }
#mhi-scotland .mhs-okrow input { flex:none; width:20px; height:20px; margin:1px 0 0; }
#mhi-scotland.mhs-club .mhs-sw { max-height:none; overflow:visible; }


/* v1.21.2: phones */
#mhi-scotland #mhs-mini { display:none; }
@media (max-width:700px){
  #mhi-scotland #mhs-mini.on { display:flex; align-items:center; justify-content:center; gap:14px; position:fixed; left:0; right:0; top:0; z-index:9998; width:100%; height:124px; margin:0; padding:8px 12px !important; border:0 !important; border-bottom:1px solid var(--line) !important; border-radius:0; background:#fff !important; box-shadow:0 4px 14px rgba(0,0,0,.1); cursor:pointer; }
  #mhi-scotland #mhs-mini .mhs-stage { height:108px; width:auto; flex:none; border-radius:8px; }
  #mhi-scotland #mhs-mini .mhs-minibig { width:100px; height:100px; object-fit:contain; flex:none; }
  #mhi-scotland .mhs-step, #mhi-scotland .mhs-okrow { scroll-margin-top:140px; }
  #cookie-law-info-again { bottom:calc(78px + env(safe-area-inset-bottom)) !important; }
  #mha-btn { padding:7px !important; }
  #mha-btn span { display:none !important; }
}

/* v1.22: photos on the My Club umbrella */
#mhi-scotland .mhs-addph { display:block; cursor:pointer; }
#mhi-scotland .mhs-addph input { position:absolute; width:1px; height:1px; opacity:0; }
#mhi-scotland .mhs-addph span { display:block; padding:14px; border:1.5px dashed #111; border-radius:10px; text-align:center; font-weight:700; font-size:15px; }
#mhi-scotland .mhs-addph input:focus-visible + span { outline:2px solid #e8394d; outline-offset:2px; }
#mhi-scotland .mhs-phnote { margin:8px 0 0; font-size:14px; color:var(--muted); }
#mhi-scotland .mhs-phnote:empty { display:none; }
#mhi-scotland .mhs-phs { display:flex; flex-wrap:wrap; gap:8px; margin:10px 0; }
#mhi-scotland .mhs-phs:empty { display:none; }
#mhi-scotland .mhs-phs button { width:60px; height:60px; padding:0; border:2px solid transparent !important; border-radius:8px; background-color:#eee !important; background-size:cover !important; background-position:center !important; cursor:pointer; }
#mhi-scotland .mhs-phs button.on { border-color:var(--red) !important; }
#mhi-scotland .mhs-phopts[hidden] { display:none; }
#mhi-scotland .mhs-phadj label { display:flex; align-items:center; gap:12px; font-size:14px; min-height:40px; }
#mhi-scotland .mhs-phadj input[type=range] { flex:1; min-width:0; margin-left:auto; max-width:68%; accent-color:#e8394d; }
#mhi-scotland .mhs-phdel { border:0 !important; background:none !important; color:#c8102e !important; text-decoration:underline; padding:8px 0; font:700 14px "DM Sans", Arial, sans-serif; text-transform:none; letter-spacing:0; cursor:pointer; box-shadow:none; }

/* v1.23: photo layouts */
#mhi-scotland .mhs-phdrop { display:flex; align-items:center; justify-content:space-between; width:100%; min-height:48px; padding:12px 14px; border:1.5px solid var(--line) !important; border-radius:10px; background:#fff !important; color:var(--ink) !important; font:16px "DM Sans", Arial, sans-serif; text-transform:none; letter-spacing:0; text-align:left; cursor:pointer; box-shadow:none; }
#mhi-scotland .mhs-phdrop b { width:9px; height:9px; border:solid #111; border-width:0 2px 2px 0; transform:translateY(-2px) rotate(45deg); flex:none; }
#mhi-scotland .mhs-phdrop[aria-expanded=true] b { transform:translateY(2px) rotate(225deg); }
#mhi-scotland .mhs-phtpls { display:grid; grid-template-columns:repeat(auto-fill,minmax(76px,1fr)); gap:8px; margin-top:8px; }
#mhi-scotland .mhs-phtpls[hidden], #mhi-scotland .mhs-phmain[hidden] { display:none; }
#mhi-scotland .mhs-phtpls button { padding:6px 4px; border:2px solid var(--line) !important; border-radius:10px; background:#fff !important; color:var(--ink) !important; font:700 13px/1.2 "DM Sans", Arial, sans-serif; text-transform:none; letter-spacing:0; cursor:pointer; box-shadow:none; min-width:0; }
#mhi-scotland .mhs-phtpls button.on { border-color:#111 !important; }
#mhi-scotland .mhs-phtpls svg { display:block; width:100%; max-width:64px; margin:0 auto 4px; }
#mhi-scotland .mhs-phtpls span { display:block; }
#mhi-scotland .mhs-phshape .mhs-seg { display:grid; grid-template-columns:1fr 1fr; }
#mhi-scotland .mhs-phmain .mhs-addph { margin-top:14px; }
#mhi-scotland .mhs-phtip { margin:0 0 4px; font-size:14px; color:var(--muted); }
