/* Padel Pro homepage. Scoped so the shared Mirava template and every inner page stay intact. */
.padel-home {
  --ph-ink: var(--primary);
  --ph-green: var(--accent);
  --ph-chalk: #f4f7f3;
  --ph-glass: #bfd6d8;
  --ph-ball: #ddf247;
  --ph-line: color-mix(in srgb, var(--primary) 13%, #fff);
  overflow: hidden;
  background: #fff;
  color: var(--ph-ink);
}

.padel-home h1,
.padel-home h2,
.padel-home h3,
.padel-home p { margin-top: 0; }

.ph-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: color-mix(in srgb, var(--ph-green) 82%, #000);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
}
.ph-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.ph-hero {
  position: relative;
  padding: clamp(28px, 4vw, 58px) 0 clamp(42px, 6vw, 80px);
  background:
    linear-gradient(90deg, rgba(31,169,124,.055) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(rgba(31,169,124,.055) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(135deg, #fff 0%, var(--ph-chalk) 100%);
}
.ph-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ph-green) 0 32%, var(--ph-ball) 32% 34%, var(--ph-ink) 34% 100%);
}
.ph-hero-grid { display: grid; grid-template-columns: minmax(360px,.82fr) minmax(0,1.18fr); min-height: 620px; align-items: stretch; }
.ph-hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 32px clamp(28px, 5vw, 72px) 32px 0; }
.ph-kicker--hero { margin-bottom: 24px; }
.ph-hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--ph-ink);
  font-size: clamp(54px, 7vw, 102px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .86;
  text-wrap: balance;
}
.ph-hero-copy > p { max-width: 530px; margin-bottom: 30px; color: #53616a; font-size: clamp(16px,1.25vw,19px); line-height: 1.6; }
.ph-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.ph-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px; padding: 0 22px; border: 1px solid transparent; border-radius: 5px; font-size: 14px; font-weight: 800; text-decoration: none; transition: transform .2s, background .2s, border-color .2s, color .2s; }
.ph-button:hover { transform: translateY(-2px); }
.ph-button--primary { background: var(--ph-ink); color: #fff; }
.ph-button--primary:hover { background: var(--ph-green); color: #fff; }
.ph-button--ghost { border-color: var(--ph-line); background: rgba(255,255,255,.72); color: var(--ph-ink); }
.ph-button--ghost:hover { border-color: var(--ph-green); color: var(--ph-green); }

.ph-search { position: relative; max-width: 580px; margin-bottom: 34px; }
.ph-search form { display: grid; grid-template-columns: 20px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 7px 7px 7px 17px; border: 1px solid var(--ph-line); border-radius: 7px; background: #fff; box-shadow: 0 18px 50px -30px rgba(18,24,31,.55); transition: border-color .2s, box-shadow .2s; }
.ph-search form:focus-within { border-color: var(--ph-green); box-shadow: 0 0 0 4px color-mix(in srgb,var(--ph-green) 13%,transparent),0 18px 50px -30px rgba(18,24,31,.55); }
.ph-search svg { color: #76828a; }
.ph-search input { min-width: 0; height: 43px; border: 0; outline: 0; background: transparent; color: var(--ph-ink); font: 500 15px/1 Inter,sans-serif; }
.ph-search input::placeholder { color: #89949a; }
.ph-search button { height: 43px; padding: 0 20px; border: 0; border-radius: 4px; background: var(--ph-green); color: #fff; font: 800 13px/1 Inter,sans-serif; cursor: pointer; }
.ph-search button:hover { background: color-mix(in srgb,var(--ph-green) 80%,#000); }
.ph-search-dropdown { display: none; position: absolute; z-index: 30; top: calc(100% + 6px); right: 0; left: 0; max-height: 360px; overflow-y: auto; border: 1px solid var(--ph-line); border-radius: 7px; background: #fff; box-shadow: 0 18px 42px rgba(18,24,31,.14); }

.ph-hero-facts { display: flex; gap: clamp(22px,4vw,50px); margin: 0; }
.ph-hero-facts div { position: relative; padding-left: 14px; border-left: 2px solid var(--ph-green); }
.ph-hero-facts dt { font-family: 'Barlow Condensed',sans-serif; font-size: 23px; font-weight: 700; line-height: 1; }
.ph-hero-facts dd { margin: 5px 0 0; color: #76828a; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

.ph-hero-media { position: relative; min-height: 620px; overflow: hidden; border-radius: 8px 0 0 8px; clip-path: polygon(8% 0,100% 0,100% 100%,0 100%); background: var(--ph-ink); box-shadow: 0 35px 75px -45px rgba(18,24,31,.65); }
.ph-hero-media > img { width: 100%; height: 100%; object-fit: cover; object-position: 53% 50%; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.ph-hero:hover .ph-hero-media > img { transform: scale(1.015); }
.ph-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(18,24,31,.16),transparent 42%),linear-gradient(0deg,rgba(18,24,31,.32),transparent 38%); pointer-events: none; }
.ph-court-mark { position: absolute; z-index: 2; inset: 22px; border: 1px solid rgba(255,255,255,.42); pointer-events: none; }
.ph-hero-card { position: absolute; z-index: 3; right: 22px; bottom: 22px; display: grid; grid-template-columns: 1fr auto; width: min(320px,calc(100% - 44px)); padding: 17px 18px; border: 1px solid rgba(255,255,255,.3); border-radius: 5px; background: rgba(18,24,31,.84); color: #fff; text-decoration: none; backdrop-filter: blur(12px); }
.ph-hero-card span,.ph-hero-card strong { grid-column: 1; }
.ph-hero-card span { margin-bottom: 4px; color: var(--ph-ball); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ph-hero-card strong { font-size: 14px; }
.ph-hero-card i { grid-column: 2; grid-row: 1/3; align-self: center; font-style: normal; font-size: 22px; }

.ph-category-nav { position: relative; z-index: 3; margin-top: -30px; padding-bottom: 34px; }
.ph-category-grid { display: grid; grid-template-columns: repeat(6,1fr); border: 1px solid var(--ph-line); border-radius: 7px; background: #fff; box-shadow: 0 24px 65px -42px rgba(18,24,31,.45); overflow: hidden; }
.ph-category-link { position: relative; display: flex; min-width: 0; align-items: center; gap: 12px; padding: 11px 14px; border-right: 1px solid var(--ph-line); color: inherit; text-decoration: none; transition: background .25s; }
.ph-category-link::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--ph-ball); transform: scaleX(0); transform-origin: left; transition: transform .28s cubic-bezier(.2,.7,.2,1); }
.ph-category-link:last-child { border-right: 0; }
.ph-category-link:hover { background: var(--ph-chalk); }
.ph-category-link:hover::after { transform: scaleX(1); }
.ph-category-icon { display: grid; width: 58px; height: 58px; flex: 0 0 58px; place-items: center; overflow: hidden; border: 2px solid #fff; border-radius: 50%; background: #dce9e4; box-shadow: 0 0 0 1px rgba(22,122,95,.16); }
.ph-category-icon img { width: 100%; height: 100%; object-fit: cover; transition: transform .38s cubic-bezier(.2,.7,.2,1); }
.ph-category-link:hover .ph-category-icon img { transform: scale(1.08); }
.ph-category-copy { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.ph-category-copy strong { overflow: hidden; font-family: 'Barlow Condensed','Barlow',sans-serif; font-size: 17px; font-weight: 700; letter-spacing: .01em; text-overflow: ellipsis; white-space: nowrap; }
.ph-category-copy small { color: #7d898f; font-size: 10px; font-weight: 600; }
.ph-category-arrow { display: none; margin-left: auto; color: var(--ph-green); }

/* Shortcut chips under the category bar. One horizontal scroller on every width: the list is
   server-built and can grow, so wrapping it would push the page down by a row without warning. */
.ph-chips { padding: 4px 0 8px; }
.ph-chips-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ph-chips-label { flex: 0 0 auto; color: #76828a; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ph-chips-scroll { display: flex; min-width: 0; flex: 1; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ph-chips-scroll::-webkit-scrollbar { display: none; }
.ph-chips-scroll a { flex: 0 0 auto; padding: 7px 15px; border: 1px solid var(--ph-line); border-radius: 20px; background: #fff; color: #4a575f; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: border-color .2s, color .2s; }
.ph-chips-scroll a:hover { border-color: var(--ph-green); color: var(--ph-green); }
.ph-chips-all { flex: 0 0 auto; padding: 7px 15px; border-radius: 20px; background: var(--ph-ink); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ph-chips-all:hover { background: var(--ph-green); }

.ph-section { padding: clamp(46px,4.6vw,64px) 0; }
.ph-product-section { padding-block: clamp(44px,4vw,56px); }
.ph-product-section + .ph-product-section { border-top: 1px solid var(--ph-line); }
.ph-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 24px; }
.ph-section-head h2 { margin: 8px 0 6px; font-size: clamp(36px,4vw,54px); font-weight: 700; letter-spacing: -.035em; line-height: .95; }
.ph-section-head p { margin: 0; color: #6d797f; font-size: 14px; }
.ph-text-link { display: inline-flex; align-items: center; gap: 9px; padding-bottom: 4px; border-bottom: 1px solid currentColor; color: var(--ph-ink); font-size: 13px; font-weight: 800; text-decoration: none; transition: color .2s; }
.ph-text-link:hover { color: var(--ph-green); }
.ph-product-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; }
.ph-product-grid .prod-card { border-radius: 5px; box-shadow: none; }

/* Brand showcase. Production can provide either a licensed logo or a catalogue product shot.
   They need different crops: a logo is contained; a product remains a clean retail still-life.
   The monogram underneath is a designed fallback for local checkouts without the image store. */
.ph-brand-showcase {
  position: relative;
  padding: clamp(42px,3.8vw,48px) 0 clamp(48px,4.4vw,56px);
  border-block: 1px solid var(--ph-line);
  background:
    linear-gradient(90deg,transparent 0 74%,rgba(31,169,124,.055) 74% calc(74% + 1px),transparent calc(74% + 1px)),
    var(--ph-chalk);
}
.ph-brand-head { margin-bottom: 24px; }
.ph-brand-head > div { max-width: 720px; }
.ph-brand-head h2 { font-size: clamp(42px,4.4vw,62px); }
.ph-brand-head p { max-width: 590px; font-size: 15px; line-height: 1.55; }
.ph-brand-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.ph-brand-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 166px;
  overflow: hidden;
  grid-template-columns: minmax(104px,42%) minmax(0,1fr);
  align-items: stretch;
  border: 1px solid color-mix(in srgb,var(--ph-ink) 14%,#fff);
  border-radius: 7px;
  background: #fff;
  color: var(--ph-ink);
  text-decoration: none;
  box-shadow: 0 18px 36px -34px rgba(18,24,31,.7);
  transition: border-color .22s,box-shadow .22s,transform .22s;
}
.ph-brand-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 42%;
  height: 3px;
  background: var(--ph-ball);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
}
.ph-brand-card:hover,
.ph-brand-card:focus-visible { border-color: color-mix(in srgb,var(--ph-green) 60%,#fff); box-shadow: 0 24px 44px -30px rgba(18,24,31,.48); transform: translateY(-3px); }
.ph-brand-card:hover::after,
.ph-brand-card:focus-visible::after { transform: scaleX(1); }
.ph-brand-card:focus-visible { outline: 3px solid color-mix(in srgb,var(--ph-green) 24%,transparent); outline-offset: 3px; }
.ph-brand-visual {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  place-items: center;
  border-right: 1px solid var(--ph-line);
  background: #fff;
}
.ph-brand-visual::after { content: ""; position: absolute; inset: 10px; border: 1px solid color-mix(in srgb,var(--ph-green) 9%,transparent); pointer-events: none; }
.ph-brand-visual img { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.ph-brand-visual--logo img { padding: 25px 18px; object-fit: contain; }
.ph-brand-visual--product img { padding: 9px; object-fit: contain; }
.ph-brand-card:hover .ph-brand-visual--product img { transform: scale(1.055) rotate(-1deg); }
.ph-brand-monogram {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--ph-ink);
  color: var(--ph-ball);
  font-family: 'Barlow Condensed',sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .04em;
}
.ph-brand-visual:not(.is-fallback) .ph-brand-monogram { visibility: hidden; }
.ph-brand-copy { display: flex; min-width: 0; align-self: center; flex-direction: column; gap: 7px; padding: 24px 42px 24px 18px; }
.ph-brand-copy strong { overflow: hidden; font-family: 'Barlow Condensed',sans-serif; font-size: 24px; font-weight: 700; letter-spacing: -.015em; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
.ph-brand-copy small { color: #728087; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.ph-brand-arrow { position: absolute; right: 17px; bottom: 18px; color: var(--ph-green); font-size: 19px; line-height: 1; transition: transform .2s; }
.ph-brand-card:hover .ph-brand-arrow { transform: translateX(4px); }

/* Collections. The cover is optional on purpose — the rules that build these lists pick the
   first member with a photo, and a rule can match products that have none. */
.ph-collection-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.ph-collection { position: relative; display: flex; min-height: 260px; overflow: hidden; align-items: flex-end; border-radius: 7px; background: var(--ph-ink); color: #fff; text-decoration: none; }
.ph-collection > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.ph-collection:hover > img { transform: scale(1.04); }
.ph-collection::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(18,24,31,.88),rgba(18,24,31,.12) 68%); }
.ph-collection-body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 6px; padding: 20px; }
.ph-collection-body strong { font-family: 'Barlow Condensed',sans-serif; font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.ph-collection-body em { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: rgba(255,255,255,.74); font-size: 13px; font-style: normal; line-height: 1.5; }
.ph-collection-body small { color: var(--ph-ball); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

/* Journal: one lead feature plus two concise supporting reads. Its images are made for the
   articles, not borrowed from catalogue/category tiles. */
.ph-journal { position: relative; overflow: hidden; background: #eef3f0; border-block: 1px solid var(--ph-line); }
.ph-journal::after { content: ""; position: absolute; right: -7vw; bottom: -18vw; width: 34vw; aspect-ratio: 1; border: 5vw solid rgba(31,169,124,.06); border-radius: 50%; pointer-events: none; }
.ph-journal > .container { position: relative; z-index: 1; }
.ph-journal-grid { display: grid; grid-template-columns: minmax(0,1.22fr) minmax(360px,.78fr); grid-template-rows: repeat(2,minmax(0,1fr)); gap: 14px; }
.ph-journal-card { display: grid; min-width: 0; overflow: hidden; grid-template-columns: 190px minmax(0,1fr); border: 1px solid var(--ph-line); border-radius: 7px; background: rgba(255,255,255,.94); color: inherit; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.ph-journal-card:hover { border-color: var(--ph-green); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(18,24,31,.08); }
.ph-journal-card--lead { grid-row: 1 / 3; grid-template-columns: 1fr; }
.ph-journal-shot { display: block; min-height: 0; overflow: hidden; background: var(--ph-ink); }
.ph-journal-card:not(.ph-journal-card--lead) .ph-journal-shot { min-height: 190px; }
.ph-journal-card--lead .ph-journal-shot { aspect-ratio: 16/8.9; }
.ph-journal-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.ph-journal-card:hover .ph-journal-shot img { transform: scale(1.035); }
.ph-journal-body { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 7px; padding: 18px 20px; }
.ph-journal-card--lead .ph-journal-body { padding: 22px 24px 24px; }
.ph-journal-body small { color: color-mix(in srgb,var(--ph-green) 82%,#000); font-size: 9px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.ph-journal-body strong { font-family: 'Barlow Condensed',sans-serif; font-size: 22px; font-weight: 720; letter-spacing: -.02em; line-height: 1.06; }
.ph-journal-card--lead .ph-journal-body strong { max-width: 680px; font-size: clamp(28px,2.4vw,38px); }
.ph-journal-body em { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: #657279; font-size: 12px; font-style: normal; line-height: 1.5; }
.ph-journal-card--lead .ph-journal-body em { max-width: 680px; font-size: 13px; -webkit-line-clamp: 2; }
.ph-journal-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 7px; color: #89949a; font-size: 10px; font-weight: 750; }
.ph-journal-meta b { color: var(--ph-deep); font-size: 10px; }

.ph-series-index { background: var(--ph-chalk); border-top: 1px solid var(--ph-line); }
.ph-series-frame { min-height: 440px; display: grid; grid-template-columns: minmax(280px,.64fr) minmax(0,1.36fr); overflow: hidden; padding: 0!important; background: #fff; border: 1px solid var(--ph-line); border-radius: 7px; box-shadow: 0 22px 55px rgba(18,24,31,.06); }
.ph-series-intro { position: relative; z-index: 1; overflow: visible; padding: clamp(34px,4vw,54px); display: flex; flex-direction: column; justify-content: center; color: #fff; background: var(--ph-ink); }
.ph-series-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -92px 0 0;
  background:
    linear-gradient(90deg,rgba(18,24,31,.94) 0%,rgba(18,24,31,.89) 46%,rgba(18,24,31,.7) 68%,rgba(255,255,255,.98) 100%),
    url('/static/img/padel/home-hero-v1.webp') 57% 50% / cover no-repeat;
}
.ph-series-intro::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,transparent 49.8%,rgba(255,255,255,.07) 50%,transparent 50.2%),linear-gradient(0deg,transparent 69.8%,rgba(255,255,255,.06) 70%,transparent 70.2%); pointer-events: none; }
.ph-series-intro > * { position: relative; z-index: 1; }
.ph-series-intro .ph-kicker { color: var(--ph-ball); }
.ph-series-intro h2 { margin: 18px 0 20px; color: #fff; font-family: 'Barlow Condensed',sans-serif; font-size: clamp(48px,4.5vw,66px); font-weight: 750; letter-spacing: -.035em; line-height: .86; text-transform: uppercase; }
.ph-series-intro p { max-width: 37ch; margin: 0 0 27px; color: rgba(255,255,255,.66); font-size: 13px; line-height: 1.65; }
.ph-series-intro .ph-text-link { align-self: flex-start; }
.ph-series-track { position: relative; z-index: 2; min-width: 0; padding: 18px; display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 12px; background: linear-gradient(90deg,rgba(255,255,255,0),#fff 92px); }
.ph-series-line { min-width: 0; display: grid; grid-template-rows:minmax(210px,1fr) auto; overflow: hidden; color: var(--ph-ink); background: #fff; border: 1px solid var(--ph-line); border-radius: 5px; text-decoration: none; transition: transform .24s,border-color .24s,box-shadow .24s; }
.ph-series-line:hover { transform: translateY(-4px); border-color: var(--ph-green); box-shadow: 0 18px 35px rgba(18,24,31,.11); }
.ph-series-line__visual { position: relative; min-height: 0; display: grid; place-items: center; overflow: hidden; background: #DDEDE7; border-bottom: 1px solid var(--ph-line); }
.ph-series-line:nth-child(2) .ph-series-line__visual { background: #E6EBE8; }
.ph-series-line:nth-child(3) .ph-series-line__visual { background: #EFF2D2; }
.ph-series-line__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,transparent 68%,rgba(22,124,94,.11) 68% calc(68% + 1px),transparent calc(68% + 1px)),linear-gradient(0deg,transparent 72%,rgba(22,124,94,.1) 72% calc(72% + 1px),transparent calc(72% + 1px)); pointer-events: none; }
.ph-series-line__ghost { position: absolute; top: 8px; left: 11px; color: rgba(18,24,31,.08); font-family:'Barlow Condensed',sans-serif; font-size: 88px; font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.ph-series-line__visual img { position: relative; z-index: 1; width: 88%; height: 92%; padding: 14px; object-fit: contain; mix-blend-mode: multiply; filter: saturate(.9) contrast(1.03); transform: rotate(-4deg); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.ph-series-line:nth-child(2) .ph-series-line__visual img { transform: rotate(3deg); }
.ph-series-line:nth-child(3) .ph-series-line__visual img { transform: rotate(-2deg); }
.ph-series-line:hover .ph-series-line__visual img { transform: rotate(0) translateY(-5px) scale(1.025); }
.ph-series-line__body { position: relative; min-height: 164px; padding: 18px 18px 20px; display: flex; flex-direction: column; }
.ph-series-line__body small { color: var(--ph-green); font-size: 9px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.ph-series-line__body strong { margin-top: 7px; padding-right: 34px; overflow: hidden; font-family:'Barlow Condensed',sans-serif; font-size: 29px; font-weight: 750; letter-spacing: -.02em; line-height: 1; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.ph-series-line__body em { margin-top: 10px; display: -webkit-box; overflow: hidden; color: #6C787E; font-size: 10px; font-style: normal; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.ph-series-line__go { position: absolute; top: 17px; right: 16px; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(18,24,31,.15); border-radius: 50%; font-size: 15px; transition: background .2s,border-color .2s; }
.ph-series-line:hover .ph-series-line__go { background: var(--ph-ball); border-color: var(--ph-ball); }

.ph-editorial { background: var(--ph-chalk); }
.ph-section-head--editorial { max-width: 720px; }
.ph-editorial-grid { display: grid; grid-template-columns: 1.18fr .82fr; min-height: 500px; gap: 18px; }
.ph-story { position: relative; min-height: 460px; overflow: hidden; border-radius: 7px; background: var(--ph-ink); color: #fff; text-decoration: none; }
.ph-story > img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.ph-story--wide > img { object-position: 57% 50%; }
.ph-story:hover > img { transform: scale(1.035); }
.ph-story-shade { position: absolute; inset: 0; background: linear-gradient(0deg,rgba(18,24,31,.78),rgba(18,24,31,.05) 64%); }
.ph-story-copy { position: absolute; right: 0; bottom: 0; left: 0; display: flex; align-items: flex-start; flex-direction: column; padding: clamp(24px,4vw,42px); }
.ph-story-copy small { margin-bottom: 9px; color: var(--ph-ball); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.ph-story-copy strong { max-width: 14ch; margin-bottom: 15px; font-family: 'Barlow Condensed',sans-serif; font-size: clamp(30px,3.3vw,48px); font-weight: 700; letter-spacing: -.025em; line-height: .98; }
.ph-story-copy em { padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.55); font-size: 12px; font-style: normal; font-weight: 800; }

.ph-service { position: relative; background: var(--ph-ink); color: #fff; }
.ph-service::before { content: ""; position: absolute; inset: 0; opacity: .14; background: linear-gradient(90deg,transparent 49.9%,rgba(255,255,255,.22) 50%,transparent 50.1%) 0 0/120px 100%,linear-gradient(rgba(255,255,255,.18) 1px,transparent 1px) 0 0/100% 80px; pointer-events: none; }
.ph-service-grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px,8vw,120px); align-items: center; }
.ph-service-intro h2 { margin: 12px 0 22px; color: #fff; font-size: clamp(48px,6vw,80px); letter-spacing: -.04em; line-height: .88; }
.ph-service-intro p { max-width: 48ch; margin-bottom: 26px; color: rgba(255,255,255,.68); font-size: 15px; line-height: 1.7; }
.ph-text-link--light { color: #fff; }
.ph-service-points { display: flex; flex-direction: column; }
.ph-service-points article { display: grid; grid-template-columns: 52px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.17); }
.ph-service-points article:last-child { border-bottom: 1px solid rgba(255,255,255,.17); }
.ph-service-points article > span { color: var(--ph-ball); font-family: 'Barlow Condensed',sans-serif; font-size: 19px; font-weight: 700; }
.ph-service-points h3 { margin: 0 0 7px; color: #fff; font-size: 23px; }
.ph-service-points p { max-width: 55ch; margin: 0; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.6; }

@media (max-width: 1100px) {
  .ph-hero-grid { grid-template-columns: .9fr 1.1fr; min-height: 560px; }
  .ph-hero-media { min-height: 560px; }
  .ph-hero h1 { font-size: clamp(52px,7.4vw,78px); }
  .ph-category-grid { grid-template-columns: repeat(3,1fr); }
  .ph-category-link:nth-child(3) { border-right: 0; }
  .ph-category-link:nth-child(-n+3) { border-bottom: 1px solid var(--ph-line); }
  .ph-product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .ph-brand-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ph-series-frame { grid-template-columns: 1fr; }
  .ph-series-intro { min-height: 290px; }
  .ph-series-intro::before {
    inset: 0 0 -64px;
    background:
      linear-gradient(180deg,rgba(18,24,31,.9) 0%,rgba(18,24,31,.84) 54%,rgba(255,255,255,.98) 100%),
      url('/static/img/padel/home-hero-v1.webp') 50% 42% / cover no-repeat;
  }
  .ph-series-intro h2 { max-width: 760px; }
  .ph-series-intro p { max-width: 62ch; }
  .ph-series-track { padding-top: 28px; background: linear-gradient(180deg,rgba(255,255,255,0),#fff 64px); }
  .ph-collection-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ph-journal-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto auto; }
  .ph-journal-card--lead { grid-column: 1 / 3; grid-row: auto; }
}

@media (max-width: 780px) {
  .ph-hero { padding-top: 18px; }
  .ph-hero-grid { grid-template-columns: 1fr; }
  .ph-hero-copy { padding: 34px 0 32px; }
  .ph-hero h1 { font-size: clamp(54px,16vw,78px); }
  .ph-hero-copy > p { font-size: 16px; }
  .ph-search { margin-bottom: 26px; }
  .ph-hero-media { min-height: min(92vw,520px); clip-path: none; border-radius: 7px; }
  .ph-hero-media > img { object-position: 58% 50%; }
  .ph-category-nav { margin-top: -16px; }
  .ph-category-grid { grid-template-columns: repeat(2,1fr); }
  .ph-category-link:nth-child(n) { border-right: 1px solid var(--ph-line); border-bottom: 1px solid var(--ph-line); }
  .ph-category-link:nth-child(2n) { border-right: 0; }
  .ph-category-link:nth-last-child(-n+2) { border-bottom: 0; }
  .ph-product-grid { display: flex; gap: 13px; margin-right: -16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ph-product-grid::-webkit-scrollbar { display: none; }
  .ph-product-grid > * { width: min(68vw,260px); flex: 0 0 min(68vw,260px); scroll-snap-align: start; }
  .ph-series-track { display: flex; margin-right: -16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ph-series-track::-webkit-scrollbar { display: none; }
  .ph-series-line { width: min(72vw,280px); flex: 0 0 min(72vw,280px); scroll-snap-align: start; }
  .ph-collection-grid { grid-template-columns: 1fr; }
  .ph-journal-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .ph-journal-card,.ph-journal-card--lead { grid-column: auto; grid-row: auto; grid-template-columns: 1fr; }
  .ph-journal-card:not(.ph-journal-card--lead) .ph-journal-shot { min-height: 0; aspect-ratio: 16/9; }
  .ph-collection { min-height: 220px; }
  .ph-editorial-grid { grid-template-columns: 1fr; }
  .ph-story { min-height: 430px; }
  .ph-service-grid { grid-template-columns: 1fr; gap: 46px; }
}

@media (max-width: 520px) {
  .ph-kicker { font-size: 10px; }
  .ph-hero h1 { font-size: clamp(49px,15.5vw,68px); }
  .ph-hero-actions { display: grid; grid-template-columns: 1fr; }
  .ph-button { width: 100%; }
  .ph-search form { grid-template-columns: 18px minmax(0,1fr); padding-right: 14px; }
  .ph-search button { display: none; }
  .ph-hero-facts { justify-content: space-between; gap: 9px; }
  .ph-hero-facts div { padding-left: 9px; }
  .ph-hero-facts dt { font-size: 20px; }
  .ph-hero-facts dd { font-size: 8px; }
  .ph-hero-media { min-height: 430px; }
  .ph-hero-card { right: 14px; bottom: 14px; width: calc(100% - 28px); }
  .ph-court-mark { inset: 14px; }
  .ph-brand-showcase { padding-block: 40px 44px; }
  .ph-brand-head { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 24px; }
  .ph-brand-head h2 { font-size: 44px; }
  .ph-brand-grid { grid-template-columns: 1fr; gap: 10px; }
  .ph-brand-card { min-height: 128px; grid-template-columns: 126px minmax(0,1fr); }
  .ph-brand-card::after { left: 126px; }
  .ph-brand-copy { padding: 20px 42px 20px 16px; }
  .ph-brand-copy strong { font-size: 23px; }
  .ph-category-link { gap: 9px; padding: 10px; }
  .ph-category-icon { width: 46px; height: 46px; flex-basis: 46px; }
  .ph-category-copy strong { font-size: 16px; }
  .ph-category-copy small { display: none; }
  .ph-section { padding: 40px 0; }
  .ph-product-section { padding-block: 40px; }
  .ph-section-head { align-items: flex-start; margin-bottom: 24px; }
  .ph-section-head h2 { font-size: 40px; }
  .ph-text-link { white-space: nowrap; }
  .ph-chips-label { display: none; }
  .ph-series-frame { margin-right: -16px; border-right: 0; border-radius: 5px 0 0 5px; }
  .ph-series-intro { min-height: 330px; padding: 31px 24px; }
  .ph-series-intro h2 { font-size: 49px; }
  .ph-series-track { padding: 24px 14px 18px; }
  .ph-series-line { grid-template-rows: 210px auto; }
  .ph-editorial-grid { gap: 12px; }
  .ph-story { min-height: 380px; }
  .ph-story-copy strong { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .ph-hero-media > img,
  .ph-story > img,
  .ph-collection > img,
  .ph-journal-shot img,
  .ph-journal-card,
  .ph-series-line,
  .ph-series-line__visual img,
  .ph-button { transition: none; }
  .ph-series-line:hover { transform: none; }
}

/* ─── Buying guides + Reference ─────────────────────────────────────────────────────
   Guides solve a shopping decision; Reference defines one specification. The layout makes
   that distinction structural: the hardest decision leads, short look-ups stay compact. */
.ph-learn { overflow: hidden; background: var(--ph-chalk); border-top: 1px solid var(--ph-line); }
.ph-learn-guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 14px;
}
.ph-learn-guide-side { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; min-width: 0; }
.ph-learn-guide-visuals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; min-width: 0; }
.ph-learn-guide-utility { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; min-width: 0; }
.ph-learn-guide-card {
  position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--ph-line);
  border-radius: 8px; color: var(--ph-ink); text-decoration: none;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.ph-learn-guide-card:hover { border-color: rgba(22, 124, 94, .62); box-shadow: 0 18px 42px rgba(18, 24, 31, .1); transform: translateY(-3px); }
.ph-learn-guide-card:focus-visible,
.ph-learn-ref-link:focus-visible { outline: 3px solid var(--ph-lime); outline-offset: 3px; }
.ph-learn-guide-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.ph-learn-guide-card:hover img { transform: scale(1.035); }
.ph-learn-guide-copy { position: relative; z-index: 2; display: flex; flex-direction: column; height: 100%; }
.ph-learn-guide-copy small,
.ph-learn-guide-card--compact small,
.ph-learn-ref-link small {
  font-size: 9px; font-style: normal; font-weight: 850; letter-spacing: .13em; text-transform: uppercase;
}
.ph-learn-guide-copy strong,
.ph-learn-guide-card--compact strong {
  font-family: 'Barlow Condensed', sans-serif; font-style: normal; font-weight: 760; letter-spacing: -.01em; line-height: .98;
}
.ph-learn-guide-copy em,
.ph-learn-guide-card--compact em { font-style: normal; line-height: 1.45; }
.ph-learn-guide-copy b,
.ph-learn-guide-card--compact b { margin-top: auto; font-style: normal; }

.ph-learn-guide-card--lead { min-height: 390px; background: var(--ph-ink); }
.ph-learn-guide-card--lead::after,
.ph-learn-guide-card--visual::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; }
.ph-learn-guide-card--lead::after { background: linear-gradient(90deg, rgba(18,24,31,.93) 0%, rgba(18,24,31,.73) 46%, rgba(18,24,31,.05) 82%), linear-gradient(0deg, rgba(18,24,31,.66), transparent 56%); }
/* A single court-service line is the signature: useful spatial language from padel, not decoration. */
.ph-learn-guide-card--lead::before { content: ""; position: absolute; z-index: 2; top: 31%; left: 0; width: 48%; height: 2px; background: var(--ph-lime); opacity: .88; }
.ph-learn-guide-card--lead .ph-learn-guide-copy { max-width: 66%; padding: 30px; color: #fff; }
.ph-learn-guide-card--lead small { color: var(--ph-lime); }
.ph-learn-guide-card--lead strong { max-width: 430px; margin-top: 58px; font-size: clamp(38px, 3.2vw, 58px); }
.ph-learn-guide-card--lead em { max-width: 390px; margin-top: 14px; color: rgba(255,255,255,.8); font-size: 13px; }
.ph-learn-guide-card--lead b { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 12px; }
.ph-learn-guide-card--lead b i { color: var(--ph-lime); font-style: normal; }

.ph-learn-guide-card--visual { min-height: 242px; background: var(--ph-ink); }
.ph-learn-guide-card--visual::after { background: linear-gradient(0deg, rgba(18,24,31,.94) 0%, rgba(18,24,31,.22) 72%, transparent); }
.ph-learn-guide-card--visual .ph-learn-guide-copy { justify-content: flex-end; padding: 20px; color: #fff; }
.ph-learn-guide-card--visual small { margin-bottom: 8px; color: var(--ph-lime); }
.ph-learn-guide-card--visual strong { max-width: 260px; font-size: clamp(24px, 2vw, 33px); }
.ph-learn-guide-card--visual em { max-width: 290px; margin-top: 7px; color: rgba(255,255,255,.75); font-size: 11px; }
.ph-learn-guide-card--visual b { position: absolute; right: 18px; top: 16px; color: #fff; font-size: 17px; }

.ph-learn-guide-card--compact { display: flex; min-height: 134px; flex-direction: column; padding: 16px; background: #fff; }
.ph-learn-guide-card--compact small { color: var(--ph-green); }
.ph-learn-guide-card--compact strong { margin-top: 12px; font-size: 20px; }
.ph-learn-guide-card--compact em { display: none; margin-top: 7px; color: var(--ph-muted); font-size: 11px; }
.ph-learn-guide-card--compact b { align-self: flex-end; color: var(--ph-green); font-size: 15px; }

.ph-learn-ref {
  display: grid; grid-template-columns: minmax(250px, .36fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 84px);
  margin-top: 52px; padding-top: 34px; border-top: 1px solid var(--ph-line);
}
.ph-learn-ref-intro h3 { margin: 14px 0 8px; font-family: 'Barlow Condensed', sans-serif; font-size: clamp(32px, 3vw, 46px); line-height: .98; }
.ph-learn-ref-intro p { max-width: 350px; margin: 0 0 22px; color: var(--ph-muted); font-size: 13px; line-height: 1.6; }
.ph-learn-ref-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ph-line); border-left: 1px solid var(--ph-line); }
.ph-learn-ref-link {
  position: relative; display: grid; min-height: 190px; grid-template-rows: 88px 1fr; overflow: hidden;
  border-right: 1px solid var(--ph-line); border-bottom: 1px solid var(--ph-line);
  background: #fff; color: var(--ph-ink); text-decoration: none;
  transition: color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ph-learn-ref-link::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--ph-lime); transform: scaleY(0); transform-origin: bottom; transition: transform .22s ease; }
.ph-learn-ref-media { position: relative; display: block; overflow: hidden; background: #dfe7e2; }
.ph-learn-ref-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(18,24,31,.18)); pointer-events: none; }
.ph-learn-ref-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.ph-learn-ref-scale {
  position: absolute; z-index: 2; top: 10px; left: 11px; width: max-content; max-width: calc(100% - 52px); padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.58); border-radius: 3px; background: rgba(255,255,255,.9); color: #225e4d; font-size: 8px; font-weight: 820;
  letter-spacing: .07em; line-height: 1.15; text-transform: uppercase; white-space: nowrap;
}
.ph-learn-ref-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 13px 42px 14px 17px; }
.ph-learn-ref-link small { margin-bottom: 4px; color: var(--ph-green); }
.ph-learn-ref-link strong { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 720; line-height: 1.05; }
.ph-learn-ref-link em { margin-top: 4px; color: var(--ph-muted); font-size: 9px; font-style: normal; line-height: 1.25; }
.ph-learn-ref-arrow { position: absolute; z-index: 2; top: 10px; right: 12px; display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: rgba(18,24,31,.82); color: #fff; font-size: 13px; transition: transform .2s ease, background .2s ease; }
.ph-learn-ref-link:hover { z-index: 1; color: var(--ph-green); box-shadow: 0 16px 34px rgba(18,24,31,.11); transform: translateY(-2px); }
.ph-learn-ref-link:hover::before { transform: scaleY(1); }
.ph-learn-ref-link:hover .ph-learn-ref-media img { transform: scale(1.045); }
.ph-learn-ref-link:hover .ph-learn-ref-arrow { background: var(--ph-green); transform: translate(2px,-2px); }

@media (max-width: 1050px) {
  .ph-learn-guide-layout { grid-template-columns: 1fr; }
  .ph-learn-guide-card--lead { min-height: 380px; }
  .ph-learn-guide-card--lead .ph-learn-guide-copy { max-width: 58%; }
  .ph-learn-ref { grid-template-columns: 1fr; gap: 24px; }
  .ph-learn-ref-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .ph-learn .ph-section-head { margin-bottom: 22px; }
  .ph-learn .ph-section-head h2 { font-size: clamp(44px, 13vw, 60px); }
  .ph-learn-guide-card--lead { min-height: 370px; }
  .ph-learn-guide-card--lead::after { background: linear-gradient(0deg, rgba(18,24,31,.96) 0%, rgba(18,24,31,.62) 64%, rgba(18,24,31,.1)); }
  .ph-learn-guide-card--lead::before { top: 37%; width: 58%; }
  .ph-learn-guide-card--lead .ph-learn-guide-copy { max-width: none; padding: 22px; }
  .ph-learn-guide-card--lead strong { margin-top: auto; font-size: 42px; }
  .ph-learn-guide-card--lead em { margin-bottom: 22px; font-size: 12px; }
  .ph-learn-guide-side { display: block; margin-top: 12px; }
  .ph-learn-guide-visuals,
  .ph-learn-guide-utility { display: flex; gap: 12px; margin-right: -16px; overflow-x: auto; padding: 0 16px 10px 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ph-learn-guide-utility { margin-top: 2px; }
  .ph-learn-guide-visuals::-webkit-scrollbar,
  .ph-learn-guide-utility::-webkit-scrollbar { display: none; }
  .ph-learn-guide-card--visual { width: 82vw; min-height: 230px; flex: 0 0 82vw; scroll-snap-align: start; }
  .ph-learn-guide-card--compact { width: 62vw; min-height: 126px; flex: 0 0 62vw; scroll-snap-align: start; }
  .ph-learn-guide-card--compact em { display: block; }
  .ph-learn-ref { margin-top: 38px; padding-top: 28px; }
  .ph-learn-ref-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ph-learn-ref-link { min-height: 176px; grid-template-rows: 78px 1fr; }
  .ph-learn-ref-copy { padding: 12px 32px 13px 13px; }
  .ph-learn-ref-scale { max-width: calc(100% - 48px); overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 430px) {
  .ph-learn-guide-card--visual { width: 84vw; flex-basis: 84vw; }
  .ph-learn-guide-card--compact { width: 70vw; flex-basis: 70vw; }
  .ph-learn-ref-grid { grid-template-columns: 1fr 1fr; }
  .ph-learn-ref-link { min-height: 118px; gap: 10px; padding: 12px 12px 13px; }
  .ph-learn-ref-scale { padding-inline: 6px; font-size: 7px; letter-spacing: .035em; }
  .ph-learn-ref-link strong { font-size: 18px; }
  .ph-learn-ref-link em { display: none; }
  .ph-learn-ref-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ph-learn-guide-card,
  .ph-learn-guide-card img,
  .ph-learn-ref-link { transition: none; }
  .ph-learn-guide-card:hover { transform: none; }
  .ph-learn-guide-card:hover img { transform: none; }
  .ph-learn-ref-link::before,
  .ph-learn-ref-arrow { transition: none; }
}

/* Mobile homepage edit: one purposeful pass through the catalogue rather than a stack of
   repeated shelves. Every rail leaves the next card visible and carries its own swipe cue. */
.ph-rail-hint { display: none; }

@media (min-width: 1101px) {
  .ph-hero-grid { grid-template-columns: minmax(430px,.92fr) minmax(0,1.08fr); min-height: 560px; }
  .ph-hero-media { min-height: 560px; }
  .ph-hero h1 { max-width: none; font-size: clamp(58px,5.8vw,84px); line-height: .88; }
}

@media (max-width: 780px) {
  .padel-home { --ph-mobile-gutter: 16px; }
  .padel-home .container { width: calc(100% - (var(--ph-mobile-gutter) * 2)); }

  .ph-hero { padding: 12px 0 30px; }
  .ph-hero-grid { min-height: 0; }
  .ph-hero-copy { padding: 22px 0 20px; }
  .ph-kicker--hero { margin-bottom: 13px; }
  .ph-hero h1 { max-width: none; margin-bottom: 14px; font-size: clamp(48px, 14.6vw, 62px); line-height: .87; }
  .ph-hero-copy > p { max-width: 34ch; margin-bottom: 18px; font-size: 14px; line-height: 1.45; }
  .ph-hero-actions { display: grid; grid-template-columns: 1.05fr .95fr; gap: 8px; margin-bottom: 18px; }
  .ph-button { width: auto; min-height: 43px; padding-inline: 12px; font-size: 12px; }
  .ph-hero-facts { justify-content: flex-start; gap: 20px; }
  .ph-hero-facts div { padding-left: 9px; }
  .ph-hero-facts dt { font-size: 19px; }
  .ph-hero-facts dd { margin-top: 3px; font-size: 8px; }
  .ph-hero-media { min-height: 300px; border-radius: 6px; }
  .ph-hero-media > img { object-position: 58% 48%; }
  .ph-court-mark { inset: 12px; }
  .ph-hero-card { right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 12px 14px; }
  .ph-hero-card strong { font-size: 12px; }

  .ph-category-nav { margin-top: -17px; padding-bottom: 18px; }
  .ph-category-grid {
    display: flex; gap: 0; margin-right: calc(var(--ph-mobile-gutter) * -1); overflow-x: auto;
    border-right: 0; border-radius: 6px 0 0 6px; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .ph-category-grid::-webkit-scrollbar { display: none; }
  .ph-category-link:nth-child(n) {
    width: 142px; min-height: 92px; flex: 0 0 142px; flex-direction: column; align-items: flex-start;
    justify-content: center; gap: 6px; padding: 10px 12px; border-right: 1px solid var(--ph-line); border-bottom: 0;
    scroll-snap-align: start;
  }
  .ph-category-link:last-child { margin-right: var(--ph-mobile-gutter); }
  .ph-category-icon { width: 42px; height: 42px; flex-basis: 42px; }
  .ph-category-copy strong { font-size: 16px; }
  .ph-category-copy small { display: block; font-size: 9px; }

  .ph-section,
  .ph-product-section { padding-block: 32px; }
  .ph-section-head { align-items: flex-start; gap: 12px; margin-bottom: 18px; }
  .ph-section-head h2 { margin-block: 6px 4px; font-size: clamp(36px, 10.5vw, 46px); }
  .ph-section-head p { max-width: 32ch; font-size: 12px; line-height: 1.45; }
  .ph-text-link { flex: 0 0 auto; font-size: 11px; }
  .ph-product-grid { gap: 10px; margin-right: calc(var(--ph-mobile-gutter) * -1); padding-right: var(--ph-mobile-gutter); }
  .ph-product-grid > * { width: min(64vw, 238px); flex-basis: min(64vw, 238px); }
  .ph-rail-hint {
    display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 12px 0 0;
    color: #758188; font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase;
  }
  .ph-rail-hint span { color: var(--ph-green); font-size: 14px; }

  .ph-brand-showcase { padding-block: 34px; }
  .ph-brand-head { margin-bottom: 18px; }
  .ph-brand-head > .ph-text-link { margin-top: 4px; }
  .ph-brand-grid {
    display: flex; gap: 10px; margin-right: calc(var(--ph-mobile-gutter) * -1); overflow-x: auto;
    padding-right: var(--ph-mobile-gutter); scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .ph-brand-grid::-webkit-scrollbar { display: none; }
  .ph-brand-card { width: 74vw; min-height: 144px; flex: 0 0 74vw; grid-template-columns: 118px minmax(0,1fr); scroll-snap-align: start; }
  .ph-brand-card::after { left: 118px; }
  .ph-brand-copy { padding: 18px 34px 18px 14px; }
  .ph-brand-copy strong { font-size: 22px; }

  .ph-editorial-grid {
    display: flex; gap: 10px; min-height: 0; margin-right: calc(var(--ph-mobile-gutter) * -1);
    overflow-x: auto; padding-right: var(--ph-mobile-gutter); scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .ph-editorial-grid::-webkit-scrollbar { display: none; }
  .ph-story { width: 82vw; min-height: 360px; flex: 0 0 82vw; scroll-snap-align: start; }
  .ph-story-copy { padding: 22px; }
  .ph-story-copy strong { font-size: 34px; }

  .ph-collection-grid {
    display: flex; gap: 10px; margin-right: calc(var(--ph-mobile-gutter) * -1); overflow-x: auto;
    padding-right: var(--ph-mobile-gutter); scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .ph-collection-grid::-webkit-scrollbar { display: none; }
  .ph-collection { width: 76vw; min-height: 270px; flex: 0 0 76vw; scroll-snap-align: start; }

  .ph-series-frame { min-height: 0; margin-right: calc(var(--ph-mobile-gutter) * -1); }
  .ph-series-intro { min-height: 250px; padding: 26px 22px; }
  .ph-series-intro h2 { margin-block: 9px 12px; font-size: 43px; }
  .ph-series-intro p { margin-bottom: 16px; font-size: 12px; line-height: 1.5; }
  .ph-series-track { gap: 10px; padding: 18px 14px 16px; }
  .ph-series-line { width: 72vw; flex-basis: 72vw; grid-template-rows: 184px auto; }
  .ph-series-line__body { min-height: 132px; padding: 15px; }
  .ph-series-line__body strong { font-size: 25px; }
  .ph-series-line__body em { -webkit-line-clamp: 2; }

  .ph-journal-grid {
    display: flex; gap: 10px; margin-right: calc(var(--ph-mobile-gutter) * -1); overflow-x: auto;
    padding-right: var(--ph-mobile-gutter); scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .ph-journal-grid::-webkit-scrollbar { display: none; }
  .ph-journal-card,
  .ph-journal-card--lead { width: 82vw; flex: 0 0 82vw; grid-template-columns: 1fr; scroll-snap-align: start; }
  .ph-journal-card .ph-journal-shot,
  .ph-journal-card:not(.ph-journal-card--lead) .ph-journal-shot { min-height: 0; aspect-ratio: 16 / 9; }
  .ph-journal-body,
  .ph-journal-card--lead .ph-journal-body { min-height: 176px; padding: 17px 18px; }
  .ph-journal-card--lead .ph-journal-body strong { font-size: 27px; }

  .ph-service-grid { gap: 25px; }
  .ph-service-intro h2 { margin-block: 9px 14px; font-size: 47px; }
  .ph-service-intro p { margin-bottom: 17px; font-size: 13px; line-height: 1.55; }
  .ph-service-points article { grid-template-columns: 34px 1fr; gap: 12px; padding: 16px 0; }
  .ph-service-points h3 { font-size: 20px; }
  .ph-service-points p { font-size: 11px; line-height: 1.5; }
}

@media (max-width: 380px) {
  .padel-home { --ph-mobile-gutter: 14px; }
  .ph-hero h1 { font-size: 49px; }
  .ph-hero-media { min-height: 282px; }
  .ph-button { font-size: 11px; }
  .ph-brand-card { width: 78vw; flex-basis: 78vw; }
}

/* ─── No ragged last row in a product rail ───────────────────────────────────────────
   A rail draws up to ten products into a fixed grid, and the two never divide evenly at
   every width: ten into four columns leaves two stragglers, and a shelf that only has six
   in stock leaves one card alone under a row of five. On the live site the Shoes rail was
   showing exactly that — five, then a single card on its own line.

   So a final row that cannot be filled is not drawn. The selector finds the card that
   STARTS a row (nth-child(Nn+1)) while sitting among the last N-1 cards — that can only be
   the beginning of an incomplete row — and hides it and everything after it.

   :not(:first-child) is what keeps a short rail alive: without it, a rail holding four cards
   would match on card one and hide the entire row.

   Scoped to the two widths that lay out in rows. Below 780px the rail is a horizontal
   scroller, where there is no second row to leave ragged and every card should stay.

   !important is not decoration here: product_card writes style="...;display:flex" onto every
   card inline, and an inline declaration beats any stylesheet selector however specific. The
   alternative is editing that macro, which every product grid on the site renders through. */
@media (min-width: 1101px) {
  .ph-product-grid > :nth-child(5n+1):nth-last-child(-n+4):not(:first-child),
  .ph-product-grid > :nth-child(5n+1):nth-last-child(-n+4):not(:first-child) ~ * { display: none !important; }
}
@media (min-width: 781px) and (max-width: 1100px) {
  .ph-product-grid > :nth-child(4n+1):nth-last-child(-n+3):not(:first-child),
  .ph-product-grid > :nth-child(4n+1):nth-last-child(-n+3):not(:first-child) ~ * { display: none !important; }
}
