/* Moved out of _locations_partial.php on 2026-10-18 (cached file instead of inline). Edit THIS file now; the partial only links it. */
/* ===== PaperBakes Locations ===== */
.pb-loc{font-family:"Trebuchet MS",Trebuchet,Arial,sans-serif;color:#2b1d10;padding:10px 0 56px;box-sizing:border-box;-webkit-font-smoothing:antialiased}
.pb-loc *,.pb-loc *::before,.pb-loc *::after{box-sizing:border-box}
/* Honor 5px page side-padding: zero the SP Page Builder container gutter. The ~15px side
   padding lives on .sppb-container-inner. This stylesheet only loads on /locations (page-scoped). */
.sppb-section .sppb-container-inner{padding-left:0!important;padding-right:0!important;max-width:100%!important}
.sppb-section .sppb-row-column,.sppb-section .sppb-column,.sppb-section .sppb-column-addons{padding-left:0!important;padding-right:0!important}
/* Title + subtitle follow the Contact page: Druk Medium, dark brown, left-aligned. */
.pb-loc__head{max-width:1180px;margin:0 auto 22px;padding:0 5px;text-align:left}
.pb-loc__title{font-family:'Druk Medium','Druk Bold',sans-serif;color:rgb(72,33,14);margin:0 0 4px;line-height:1.04;font-size:70px;font-weight:400;text-align:center}
.pb-loc__intro{font-family:"Trebuchet MS",Trebuchet,Arial,sans-serif;color:#48210e;margin:0 auto;line-height:1.4;font-size:18px;max-width:760px;text-align:center}
@media (max-width:767.98px){.pb-loc__title{font-size:50px}.pb-loc__intro{font-size:16px}}
@media (max-width:575.98px){.pb-loc__title{font-size:40px}}

.pb-loc__layout{max-width:1180px;margin:0 auto;padding:0 5px;display:grid;gap:22px;grid-template-columns:minmax(0,1fr) minmax(320px,420px);align-items:start}

/* Panel / list */
.pb-loc__panel{display:flex;flex-direction:column;min-width:0;order:2;height:72vh;min-height:440px;border:1.5px solid #e7ddd0;border-radius:16px;padding:14px;background:#fffdf9}
.pb-loc__search{position:relative;margin-bottom:14px}
.pb-loc__search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:#b08c74;pointer-events:none}
.pb-loc__search-input{width:100%;padding:13px 16px 13px 42px;border:1.5px solid #e7ddd0;border-radius:11px;background:#fff;font-family:inherit;font-size:15px;color:#2b1d10;transition:border-color .15s ease,box-shadow .15s ease}
.pb-loc__search-input::placeholder{color:#b3a594}
.pb-loc__search-input:focus{outline:none;border-color:#cb333b;box-shadow:0 0 0 3px rgba(203,51,59,.12)}
/* Defensive override: Helix template form CSS resets input padding, sliding the
   placeholder under the search icon. Pin the left padding under the #pbLoc id. */
#pbLoc .pb-loc__search-input{padding-left:42px!important}
.pb-loc__swipe-hint{display:none}
.pb-loc__dots{display:none}
.pb-loc__dot{width:8px;height:8px;padding:0;border:none;border-radius:50%;background:#e0cbb8;cursor:pointer;transition:width .2s ease,background .2s ease,border-radius .2s ease}
.pb-loc__dot.is-active{background:#cb333b;width:22px;border-radius:5px}
@keyframes pbLocNudge{0%,100%{transform:translateX(0)}50%{transform:translateX(3px)}}

.pb-loc__list{list-style:none;margin:0;padding:2px;display:flex;flex-direction:column;gap:12px;flex:1 1 auto;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#e0cbb8 transparent}
.pb-loc__list::-webkit-scrollbar{width:8px;height:8px}
.pb-loc__list::-webkit-scrollbar-thumb{background:#e0cbb8;border-radius:8px}

.pb-loc-card{position:relative;background:#fff;border:1.5px solid #efe6da;border-radius:14px;padding:10px 18px 12px;cursor:pointer;display:flex;flex-direction:column;transition:border-color .15s ease,box-shadow .18s ease,transform .18s ease}
.pb-loc-card__main{margin-top:auto;width:100%}
.pb-loc-card::before{content:"";position:absolute;left:14px;right:14px;bottom:0;height:3px;border-radius:3px;background:transparent;transition:background .18s ease}
.pb-loc-card:hover{border-color:#e3cbb8;box-shadow:0 6px 18px rgba(58,42,28,.10);transform:translateY(-1px)}
.pb-loc-card:focus-visible{outline:none;border-color:#cb333b;box-shadow:0 0 0 3px rgba(203,51,59,.14)}
.pb-loc-card.is-active{border-color:#cb333b;box-shadow:0 8px 22px rgba(203,51,59,.14)}
.pb-loc-card.is-active::before{background:#cb333b}

.pb-loc-card__top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.pb-loc-card__name{font-size:1.06rem;font-weight:700;color:#23303a;margin:0;line-height:1.25}
.pb-loc-card__addr{margin:6px 0 0;color:#6b5b4a;font-size:13.5px;line-height:1.45}

.pb-loc-card__badge{align-self:flex-end;flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;margin-bottom:0;padding:4px 10px 4px 8px;border-radius:999px;font-size:11.5px;font-weight:700;letter-spacing:.02em;white-space:nowrap;line-height:1}
.pb-loc-card__dot{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px rgba(255,255,255,.0)}
.pb-loc-card__badge.is-open{color:#1f7a43;background:#e7f6ec}
.pb-loc-card__badge.is-soon{color:#9a6b00;background:#fbf0d8}
.pb-loc-card__badge.is-closed{color:#9aa0a6;background:#f0f1f2}

.pb-loc-card__actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}
.pb-loc-act{display:inline-flex;align-items:center;gap:6px;padding:8px 13px;border-radius:9px;border:1.5px solid #e7ddd0;background:#fff;color:#5a4634;font-family:inherit;font-size:13px;font-weight:600;line-height:1;cursor:pointer;text-decoration:none;transition:background .14s ease,color .14s ease,border-color .14s ease}
.pb-loc-act svg{width:15px;height:15px;flex:0 0 auto}
.pb-loc-act:hover{border-color:#cb333b;color:#cb333b}
.pb-loc-act--primary{background:#cb333b;border-color:#cb333b;color:#fff}
.pb-loc-act--primary:hover{background:#b21f27;border-color:#b21f27;color:#fff}

.pb-loc-card__hours-list{margin:0;padding:0;display:grid;grid-template-columns:auto 1fr;gap:6px 18px}
.pb-loc-card__day{display:contents}
.pb-loc-card__day dt{margin:0;color:#9a8a76;font-size:13px}
.pb-loc-card__day dd{margin:0;color:#3a2e22;font-size:13px;text-align:right}
.pb-loc-card__day--today dt,.pb-loc-card__day--today dd{font-weight:700;color:#cb333b}
.pb-loc-card__closed{color:#b3a594}
.pb-loc-card__hours-none,.pb-loc-card__nomap{margin:10px 0 0;color:#b3a594;font-size:12.5px;font-style:italic}
.pb-loc-card__contact{margin:8px 0 0;border-top:1px solid #f1e9dd;padding-top:8px;display:flex;align-items:center;gap:8px;font-size:13.5px;color:#8a6d52}
.pb-loc-card__contact svg{width:13px;height:13px;flex:0 0 auto;color:#cb333b}
.pb-loc-card__contact a{color:#5a4634;text-decoration:none;font-weight:600}
.pb-loc-card__contact a:hover{color:#cb333b}

.pb-loc__empty{list-style:none;text-align:center;color:#9a8a76;padding:26px 10px;font-size:14px}

/* Map */
.pb-loc__mapwrap{order:1;position:relative}
.pb-loc__map{height:72vh;min-height:440px;border-radius:16px;overflow:hidden;border:1.5px solid #efe6da;box-shadow:0 10px 30px rgba(58,42,28,.10);background:#eee}
.pb-loc__noscript{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:24px;color:#6b5b4a;background:#faf4ec;border-radius:16px}

/* Opening-hours modal (portaled to <body> on first open, so z-index beats the nav) */
.pb-loc-modal{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:20px}
.pb-loc-modal[hidden]{display:none}
.pb-loc-modal__backdrop{position:absolute;inset:0;background:rgba(40,25,12,.5)}
.pb-loc-modal__box{position:relative;background:#fffaf3;border-radius:16px;max-width:380px;width:100%;max-height:85vh;overflow-y:auto;padding:24px 24px 22px;box-shadow:0 20px 60px rgba(40,25,12,.4);animation:pbLocModalIn .2s ease;font-family:"Trebuchet MS",Trebuchet,Arial,sans-serif}
@keyframes pbLocModalIn{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
.pb-loc-modal__close{position:absolute;top:10px;right:12px;border:none;background:none;font-size:28px;line-height:1;color:#b08c74;cursor:pointer;padding:2px 8px}
.pb-loc-modal__close:hover{color:#cb333b}
.pb-loc-modal__title{font-family:'Druk Medium','Druk Bold',sans-serif;color:rgb(72,33,14);font-size:25px;font-weight:400;margin:0 30px 18px 0;line-height:1.08}
.pb-loc-modal__body .pb-loc-card__hours-list{margin:0}
.pb-loc-modal__body .pb-loc-card__day dt,.pb-loc-modal__body .pb-loc-card__day dd{font-size:14.5px}
.pb-loc-modal__body .pb-loc-card__hours-none{font-size:14px}

/* Google Maps InfoWindow: outlet name sits in the header next to the X (no empty gap),
   and content runs flush (0 left/right padding). */
.pb-loc .gm-style-iw-c{padding:0!important;border-radius:14px!important}
.pb-loc .gm-style-iw-d{overflow:auto!important;padding:0 16px 16px 16px!important}
.pb-loc .gm-style-iw-ch{padding:14px 44px 8px 16px!important;font-family:"Trebuchet MS",Trebuchet,Arial,sans-serif;font-weight:700;color:#23303a;font-size:15px;line-height:1.2}
.pb-loc-gpop{font-family:"Trebuchet MS",Trebuchet,Arial,sans-serif;min-width:0;padding:0}
.pb-loc-gpop__addr{color:#6b5b4a;font-size:12.5px;line-height:1.45;margin-bottom:9px}
.pb-loc-gpop__link{display:inline-block;color:#cb333b;font-weight:700;font-size:13px;text-decoration:none}
.pb-loc-gpop__link:hover{text-decoration:underline}

@media (max-width:860px){
  .pb-loc{padding-top:34px}
  .pb-loc__head{margin-bottom:10px}
  /* List container sits 10px from the screen edge (5px page padding + 5px panel margin) */
  .pb-loc__panel{height:auto;min-height:0;margin-left:5px;margin-right:5px}
  .pb-loc__list{flex:0 0 auto}
  .pb-loc__layout{grid-template-columns:1fr;gap:16px}
  .pb-loc__panel{order:1}
  .pb-loc__mapwrap{order:2}
  .pb-loc__map{height:56vh;min-height:340px}
  /* Mobile: horizontal swipe carousel (one card at a time, snap), instead of a tall stack. */
  .pb-loc__list{flex-direction:row;flex-wrap:nowrap;max-height:none;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-left:2px;-webkit-overflow-scrolling:touch;padding:2px 2px 8px;align-items:stretch}
  .pb-loc-card{flex:0 0 84%;max-width:84%;scroll-snap-align:start}
  .pb-loc__empty{flex:1 0 100%}
  /* Directions + Opening hours share one row, each half-width */
  .pb-loc-card__actions{flex-wrap:nowrap}
  .pb-loc-card__actions .pb-loc-act{flex:1 1 0;justify-content:center}
  .pb-loc__swipe-hint{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 0 10px;color:#cb333b;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
  .pb-loc__swipe-arrow{display:inline-block;font-size:17px;line-height:1;animation:pbLocNudge 1.1s ease-in-out infinite}
  .pb-loc__swipe-arrow--l{animation-direction:reverse}
  .pb-loc__dots{display:flex;justify-content:center;gap:7px;margin-top:12px}
}
@media (prefers-reduced-motion:reduce){
  .pb-loc-card{transition:none}
  .pb-loc__swipe-arrow,.pb-loc-modal__box{animation:none}
}
