/* =====================================================================
   PRODUCT & CATEGORY PAGES
   Real pages at the URLs Squarespace used to serve, so the search traffic
   that already lands on them keeps working. They reuse the packing-list
   styles for the header, footer and buttons.
   ===================================================================== */

.pd-crumbs{
  font-family:var(--ts-mono);font-size:11.5px;color:var(--ts-mute);
  padding:26px 0 0;display:flex;gap:7px;flex-wrap:wrap;align-items:center;
}
.pd-crumbs a{color:var(--ts-mute);text-decoration:none;}
.pd-crumbs a:hover{color:var(--ts-ink);}
.pd-crumbs span{color:var(--ts-line);}
.pd-crumbs > span:last-child{color:var(--ts-ink);}

/* ---------- product ---------- */
.pd-grid{display:grid;gap:34px;margin:26px 0 0;}
@media(min-width:760px){.pd-grid{grid-template-columns:1.05fr 1fr;gap:44px;align-items:start;}}
.pd-media{
  border-radius:16px;overflow:hidden;background:var(--ts-white);
  border:1px solid var(--ts-line);aspect-ratio:4/3;
  display:flex;align-items:center;justify-content:center;
}
.pd-media img{width:100%;height:100%;object-fit:contain;display:block;}
.pd-eyebrow{
  font-family:var(--ts-mono);font-size:11px;letter-spacing:0.1em;
  text-transform:uppercase;color:var(--ts-red);margin-bottom:12px;
}
.pd-info h1{
  font-family:var(--ts-display);font-size:clamp(24px,4vw,34px);
  line-height:1.15;font-weight:600;margin:0 0 14px;letter-spacing:-0.01em;
}
.pd-rate{
  font-family:var(--ts-display);font-size:26px;font-weight:600;margin:0;
}

/* Rate and Add to Quote sit together at the top, so the two things a renter
   came for are the first thing they reach rather than being separated by the
   contents list. Wraps to two lines on a narrow screen. */
.pd-buy{
  display:flex;align-items:center;gap:18px;flex-wrap:wrap;
  margin:0 0 4px;
}
.pd-buy .pd-cta{margin:0;flex:none;}
@media(max-width:420px){
  .pd-buy{gap:12px;}
  .pd-buy .pd-cta{width:100%;}
}
.pd-cta{display:inline-block;text-decoration:none;}
.pd-note{
  font-size:13px;line-height:1.6;color:var(--ts-mute);
  margin:20px 0 0;padding-top:18px;border-top:1px solid var(--ts-line);
}
.pd-links{list-style:none;margin:18px 0 0;padding:0;display:flex;gap:18px;flex-wrap:wrap;}
.pd-links a{font-size:13.5px;font-weight:600;color:var(--ts-ink);text-decoration:none;
            border-bottom:1px solid var(--ts-red);}
.pd-links a:hover{color:var(--ts-red);}

/* ---------- category ---------- */
.pd-cathead{padding:24px 0 6px;}
.pd-cathead h1{
  font-family:var(--ts-display);font-size:clamp(27px,5vw,40px);
  line-height:1.1;font-weight:600;margin:0 0 10px;letter-spacing:-0.01em;
}
.pd-cathead p{font-size:15px;line-height:1.6;color:var(--ts-mute);max-width:56ch;margin:0 0 20px;}
.pd-cathead .pk-btn{display:inline-block;text-decoration:none;}

.pd-catlist{list-style:none;margin:30px 0 0;padding:0;border-top:1px solid var(--ts-line);}
.pd-catlist li{border-bottom:1px solid var(--ts-line);}
.pd-catlist a{
  display:flex;justify-content:space-between;align-items:center;gap:18px;
  padding:14px 4px;text-decoration:none;color:var(--ts-ink);font-size:14.5px;
}
.pd-catlist a:hover{color:var(--ts-red);}
.pd-catlist span{
  font-family:var(--ts-mono);font-size:11.5px;color:var(--ts-mute);white-space:nowrap;
}

/* ---------- gallery thumbnails (only rendered when >1 photo) ---------- */
.pd-thumbs{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap;}
.pd-thumb{
  width:76px;height:60px;padding:0;flex:none;cursor:pointer;
  border:1.5px solid var(--ts-line);border-radius:10px;overflow:hidden;
  background:var(--ts-white);transition:border-color .15s;
}
.pd-thumb img{width:100%;height:100%;object-fit:contain;display:block;}
.pd-thumb:hover{border-color:var(--ts-ink);}
.pd-thumb.active{border-color:var(--ts-red);}

/* ---------- included list ---------- */
/* Real contents, recovered from the old site. Longer kits run to 25+ lines,
   so the section headings do the work of making it scannable. */
.pd-inc-head{
  font-family:var(--ts-mono);font-size:10.5px;letter-spacing:0.12em;
  text-transform:uppercase;color:var(--ts-red);font-weight:500;
  margin:16px 0 6px;padding-top:12px;border-top:1px solid var(--ts-line);
}
.pd-included > .pd-inc-head:first-of-type{margin-top:10px;padding-top:0;border-top:none;}
.pd-inc-note{
  display:block;font-size:12.5px;line-height:1.55;color:var(--ts-mute);
  font-style:italic;margin:6px 0;
}
.pd-included li .pd-inc-note{margin:3px 0 0;}

.pd-included{margin:4px 0 0;}
.pd-inc-label{
  font-family:var(--ts-mono);font-size:11px;letter-spacing:0.1em;
  text-transform:uppercase;color:var(--ts-mute);margin-bottom:8px;
}
.pd-included ul{margin:0;padding-left:18px;}
.pd-included li{font-size:14px;line-height:1.6;margin-bottom:4px;}

/* ---------- taxonomy chips ---------- */
.pd-chips{display:flex;gap:6px;flex-wrap:wrap;margin:18px 0 22px;}
.pd-chip{
  font-family:var(--ts-mono);font-size:10.5px;color:var(--ts-mute);
  background:var(--ts-cloud);border:1px solid var(--ts-line);
  padding:4px 9px;border-radius:6px;
}

/* ---------- add to quote ---------- */
.pd-cta{cursor:pointer;border:none;}
.pd-cta.added{background:var(--ts-red);border-color:var(--ts-red);}
.pd-rate.pd-ask{font-size:19px;color:var(--ts-mute);}

/* =====================================================================
   SITE CHROME ON PRODUCT PAGES
   These pages now carry the real nav and footer from styles.css instead of
   the cut-down packing-list ones, so they read as part of the site rather
   than a loose page. styles.css is loaded FIRST and this file LAST, so the
   few overrides below win — see the source-order note in PROJECT-STATE.md.
   ===================================================================== */

/* The lockup is a real link here (the SPA uses a div + JS routing), so it
   needs the link styling taken back off it. */
.ts-logo-lockup{text-decoration:none;color:inherit;}
.ts-logo-lockup:hover{color:inherit;}

/* packing.css sets a page background for the QR-code pages; the product
   pages follow the main site instead. */
body.ts-page{background:var(--ts-paper);}

.pd-main{padding-bottom:64px;}

/* ---------- wider layout ----------
   The old layout inherited .pk-wrap (760px), which is right for a printed
   packing list but left the product photo about 340px wide on a desktop —
   roughly a quarter of the screen. .ts-wrap (1180px) matches the rest of
   the site and roughly doubles the photo. */
@media(min-width:760px){
  .pd-grid{grid-template-columns:1.25fr 1fr;gap:48px;}
  /* product.js moves .pd-panels inside .pd-visual on a wide screen, so the
     grid only ever has two cells side by side. In the markup the panels stay
     after .pd-info, which is the order a phone and a crawler should see. */
  .pd-visual{align-self:start;}
  .pd-info{align-self:start;}
  .pd-visual .pd-panels{margin-top:26px;}
}
.pd-panels:empty{display:none;}
.pd-panels{min-width:0;}

/* ---------- click-to-expand ---------- */
.pd-media{position:relative;cursor:zoom-in;}
.pd-media img{transition:transform .35s ease;}
.pd-media:hover img{transform:scale(1.02);}

/* Affordance — without it there's nothing to say the photo is clickable. */
.pd-zoom-hint{
  position:absolute;right:12px;bottom:12px;width:34px;height:34px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;background:rgba(17,17,17,0.72);color:var(--ts-white);
  opacity:0;transition:opacity .2s;pointer-events:none;
}
.pd-media:hover .pd-zoom-hint{opacity:1;}
.pd-zoom-hint svg{width:17px;height:17px;}

/* Touch screens have no hover, so show it permanently instead. */
@media(hover:none){
  .pd-zoom-hint{opacity:1;}
  .pd-media:hover img{transform:none;}
}

/* ---------- lightbox ---------- */
body.pd-lb-open{overflow:hidden;}

.pd-lightbox{
  position:fixed;inset:0;z-index:400;
  background:rgba(12,12,12,0.94);
  display:none;align-items:center;justify-content:center;
  padding:56px 64px;
  opacity:0;transition:opacity .18s ease;
}
.pd-lightbox.open{display:flex;opacity:1;}
.pd-lightbox img{
  max-width:100%;max-height:100%;
  object-fit:contain;display:block;
  border-radius:10px;background:var(--ts-white);
}

.pd-lb-close{
  position:absolute;top:18px;right:20px;
  width:42px;height:42px;padding:0;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,0.1);border:none;border-radius:50%;
  color:#fff;transition:background .15s;
}
.pd-lb-close:hover{background:rgba(255,255,255,0.22);}
.pd-lb-close svg{width:19px;height:19px;}

.pd-lb-nav{
  position:absolute;top:50%;transform:translateY(-50%);
  width:46px;height:46px;padding:0;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,0.1);border:none;border-radius:50%;
  color:#fff;transition:background .15s;
}
.pd-lb-nav:hover{background:rgba(255,255,255,0.22);}
.pd-lb-nav svg{width:22px;height:22px;}
.pd-lb-nav.prev{left:16px;}
.pd-lb-nav.next{right:16px;}

.pd-lb-count{
  position:absolute;bottom:20px;left:50%;transform:translateX(-50%);
  font-family:var(--ts-mono);font-size:11.5px;letter-spacing:0.08em;
  color:rgba(255,255,255,0.72);
}

/* Single-photo items have nothing to step through. */
.pd-lightbox.solo .pd-lb-nav,
.pd-lightbox.solo .pd-lb-count{display:none;}

@media(max-width:700px){
  .pd-lightbox{padding:60px 14px;}
  .pd-lb-nav{width:40px;height:40px;}
  .pd-lb-nav.prev{left:6px;}
  .pd-lb-nav.next{right:6px;}
}

/* ---------- print ----------
   packing.css hides .pk-header/.pk-footer when printing; these pages carry
   the site nav and footer now, so those need the same treatment. */
@media print{
  .ts-nav,.ts-footer,.pd-links,.pd-cta,.pd-zoom-hint,.pd-lightbox{display:none !important;}
  .pd-media{cursor:auto;}
}

/* =====================================================================
   COLLAPSIBLE PANELS (Specs / More like this)
   Native <details>, so the content is in the HTML whether the panel is
   open or shut. Google indexes collapsed accordion content normally
   under mobile-first indexing, so hiding it costs nothing in search
   while keeping the phone view to what a renter actually needs:
   title, photo, price, Add to Quote, and what's in the case.
   ===================================================================== */
.pd-panel{
  border-top:1px solid var(--ts-line);
  margin:0;
}
.pd-panels > .pd-panel:first-child{border-top:none;}
.pd-panel > summary{
  list-style:none;cursor:pointer;padding:14px 0;
  font-family:var(--ts-mono);font-size:11px;letter-spacing:0.12em;
  text-transform:uppercase;color:var(--ts-mute);
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  transition:color .15s;
}
.pd-panel > summary::-webkit-details-marker{display:none;}
.pd-panel > summary:hover{color:var(--ts-ink);}
.pd-panel > summary::after{
  content:'';width:8px;height:8px;flex:none;
  border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
  transform:rotate(45deg) translate(-2px,-2px);transition:transform .18s;
}
.pd-panel[open] > summary{color:var(--ts-ink);}
.pd-panel[open] > summary::after{transform:rotate(-135deg) translate(-2px,-2px);}

.pd-specs{margin:0 0 16px;padding:0;}
.pd-spec{
  display:flex;gap:14px;padding:7px 0;border-bottom:1px solid var(--ts-line);
  font-size:13.5px;
}
.pd-spec:last-child{border-bottom:none;}
.pd-spec dt{
  flex:0 0 96px;margin:0;color:var(--ts-mute);
  font-family:var(--ts-mono);font-size:11px;letter-spacing:0.06em;
  text-transform:uppercase;padding-top:2px;
}
.pd-spec dd{margin:0;}

.pd-related{list-style:none;margin:0 0 16px;padding:0;}
.pd-related li{border-bottom:1px solid var(--ts-line);}
.pd-related li:last-child{border-bottom:none;}
.pd-related a{
  display:flex;align-items:center;gap:12px;
  padding:8px 0;text-decoration:none;color:var(--ts-ink);font-size:13.5px;
}
.pd-related a:hover{color:var(--ts-red);}
.pd-rel-img{
  flex:0 0 46px;height:36px;border-radius:6px;overflow:hidden;
  background:var(--ts-cloud);display:flex;align-items:center;justify-content:center;
}
.pd-rel-img img{width:100%;height:100%;object-fit:contain;display:block;}
.pd-rel-name{flex:1;min-width:0;line-height:1.35;}
.pd-rel-rate{
  flex:none;font-family:var(--ts-mono);font-size:11px;
  color:var(--ts-mute);white-space:nowrap;
}

@media print{ .pd-panel{display:none;} }

/* ---------- pairs well with ---------- */
.pd-pairs{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
  gap:12px;margin:2px 0 18px;
}
.pd-pair{
  display:flex;flex-direction:column;text-decoration:none;color:var(--ts-ink);
  border:1px solid var(--ts-line);border-radius:12px;overflow:hidden;
  background:var(--ts-white);transition:border-color .15s,transform .15s;
}
.pd-pair:hover{border-color:var(--ts-ink);transform:translateY(-2px);}
.pd-pair-img{
  aspect-ratio:4/3;background:var(--ts-cloud);
  display:flex;align-items:center;justify-content:center;overflow:hidden;
}
.pd-pair-img img{width:100%;height:100%;object-fit:contain;display:block;}
.pd-pair-body{padding:10px 11px 12px;display:flex;flex-direction:column;gap:5px;}
.pd-pair-name{font-size:12.5px;line-height:1.35;font-weight:500;}
.pd-pair-rate{
  font-family:var(--ts-mono);font-size:11px;color:var(--ts-mute);
}
@media(max-width:520px){
  .pd-pairs{grid-template-columns:repeat(2,1fr);gap:10px;}
}
