/* Yellow Professional — mobile-only corrections. Desktop/tablet layout unchanged. */
@media (max-width: 760px) {
  html { scroll-padding-top: 68px; }
  body { overflow-x: clip; }
  .wrap { width: calc(100% - 36px); }
  .site-header { height: 66px; }
  .mobile-nav { top: 66px; max-height: calc(100dvh - 66px); overflow-y: auto; }
  .section-space { padding-top: 68px; padding-bottom: 68px; }
  .section-intro { margin-bottom: 30px; }
  .section-intro h2,
  .repair-story h2,
  .pro-heading h2,
  .collection-browse h2,
  .collection-ending h2,
  .offers-intro h2,
  .deals-section h2 {
    font-size: clamp(34px, 8.7vw, 57px);
    letter-spacing: -.035em;
    line-height: 1.06;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  .hero { display: flex; flex-direction: column; height: auto; min-height: 0; }
  .hero-copy { padding: 26px 24px 23px; min-height: 0; }
  .hero h1 { font-size: clamp(46px, 10.8vw, 60px); letter-spacing: -.055em; line-height: .93; overflow-wrap: normal; }
  .hero-lead { font-size: 14px; line-height: 1.45; margin: 17px 0 19px; }
  .hero-actions { align-items: flex-start; gap: 12px; }
  .hero-actions .button { max-width: 100%; min-height: 46px; padding: 0 17px; font-size: 10px; }
  .hero-stamp { padding-top: 35px; line-height: 1.6; }
  .hero-visual { position: relative; height: auto; aspect-ratio: 1.5; }
  .hero-media-desktop { display: none; }
  .hero-media-mobile { display: block; object-fit: contain; object-position: center; }
  .hero-visual-tag { font-size: clamp(30px, 8vw, 49px); }
  .axis-card { height: 170px; }
  .axis-photo { flex-basis: 49%; width: 49%; }
  .axis-info { min-width: 0; padding: 19px 14px; }
  .axis-info h3 { font-size: clamp(25px, 7vw, 32px); margin-top: 25px; }
  .axis-info .tiny-label { font-size: 8.5px; letter-spacing: .02em; }
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
  .collection-card { min-height: 0; }
  .collection-card .cc-picture { height: auto; aspect-ratio: 1; }
  .cc-content { padding: 14px 12px 15px; }
  .cc-content h3 { font-size: clamp(18px, 5vw, 24px); line-height: 1.08; letter-spacing: -.025em; overflow-wrap: anywhere; }
  .cc-content p { font-size: 12px; line-height: 1.45; min-height: 0; }
  .cc-foot { font-size: 10px; }
  .filter-list { gap: 8px; }
  .filter-chip { min-height: 43px; padding: 10px 12px; font-size: 10px; }
  .search-field { margin-top: 22px; }
  .need-list button { font-size: clamp(20px, 5.3vw, 27px); padding: 19px 5px; gap: 12px; }
  .feature-repair { display: flex; flex-direction: column; }
  .feature-photo { min-height: 350px; }
  .feature-info { min-height: 0; padding: 55px 24px 245px; }
  .feature-heading { font-size: clamp(74px, 20vw, 120px); letter-spacing: -.06em; }
  .feature-info h2 { font-size: clamp(36px, 8.6vw, 55px); letter-spacing: -.035em; line-height: 1.08; }
  .feature-pack { max-height: 260px; width: 70%; object-fit: contain; }
  .pro-card h3 { font-size: clamp(29px, 7.5vw, 40px); letter-spacing: -.035em; }
  .price-banner h2 { font-size: clamp(51px, 14vw, 74px); letter-spacing: -.045em; line-height: .99; }
  .footer-bottom, .footer-top { overflow-wrap: anywhere; }
  .repair-hero { display: flex; flex-direction: column; }
  .repair-hero-content { min-height: 0; padding: 25px 24px 50px; }
  .repair-hero h1 { font-size: clamp(77px, 21vw, 122px); letter-spacing: -.06em; }
  .repair-hero-photo { height: 390px; }
  .repair-story-right > p { font-size: 15px; line-height: 1.6; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 0; }
  .product-image { height: auto; aspect-ratio: 1; }
  .product-details { padding: 22px 19px; }
  .product-details h3 { font-size: 27px; letter-spacing: -.025em; }
  .product-details p { font-size: 13px; }
  .routine-grid h3 { font-size: 25px; }
  .repair-bottom-hero h2 { font-size: clamp(44px, 12vw, 63px); }
  .collection-hero { display: flex; flex-direction: column; min-height: 0; }
  .collection-copy { min-width: 0; padding: 25px 22px 39px; }
  .collection-copy .breadcrumbs { margin-bottom: 38px; }
  .collection-copy h1 { font-size: clamp(43px, 11vw, 68px); letter-spacing: -.055em; line-height: 1; overflow-wrap: anywhere; }
  .collection-copy h2 { font-size: clamp(27px, 7vw, 44px); line-height: 1.08; letter-spacing: -.035em; }
  .collection-copy p { margin: 18px 0 24px; font-size: 15px; line-height: 1.6; }
  .collection-hero-image { min-height: 0; height: auto; aspect-ratio: 1.12; }
  .collection-hero-image > img { padding: 0; object-fit: cover; }
  .collection-image-label { padding: 10px; right: 10px; bottom: 10px; font-size: 9px; }
  .full-products-grid { grid-template-columns: 1fr; gap: 16px; }
  .full-product figure { height: auto; aspect-ratio: 1/1; }
  .full-product figure img { width: 100%; height: 100%; object-fit: cover; padding: 0; }
  .full-product .prod-card-body { padding: 19px; }
  .full-product h3 { font-size: 24px; letter-spacing: -.025em; }
  .full-product p { font-size: 14px; line-height: 1.45; }
  .color-swatch-catalog { margin-top: 22px; padding-top: 27px; }
  .color-swatch-intro { display: block; padding-bottom: 27px; }
  .color-swatch-intro h3 { font-size: clamp(36px, 10vw, 52px); }
  .color-swatch-intro p { margin-top: 16px; font-size: 13px; }
  .color-swatch-group { padding: 23px 0 28px; }
  .color-swatch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .collection-ending h2 { font-size: clamp(42px, 11vw, 58px); }
  .editorial-head { padding: 65px 0; }
  .editorial-head h1 { font-size: clamp(43px, 11vw, 69px); letter-spacing: -.04em; line-height: 1; overflow-wrap: anywhere; }
  .editorial-head p { font-size: 15px; line-height: 1.6; }
  .shade-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .shade-list h3 { overflow-wrap: anywhere; }
  .offer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .offer-grid strong { font-size: clamp(39px, 11vw, 66px); }
  .offers-intro h2 { font-size: clamp(38px, 9.3vw, 55px); }
  .button { max-width: 100%; padding: 0 16px; gap: 14px; }
  .info-modal { max-width: calc(100% - 22px); }
  .info-modal h2, .modal-body h2 { font-size: clamp(32px, 9.2vw, 51px); letter-spacing: -.04em; overflow-wrap: anywhere; }
  /* Product details open at the photo, then show the complete short description and use. */
  .info-modal { width: calc(100% - 20px); max-height: calc(100svh - 20px); }
  .info-modal .modal-close { position: absolute; top: 12px; right: 12px; margin: 0; width: 42px; height: 42px; z-index: 5; }
  .product-detail-modal { padding: 0 16px 22px; }
  .product-detail-modal .full-modal-image { width: min(240px, 100%); height: 240px; margin: 0 auto 12px; }
  .product-detail-modal .product-modal-photo { width: 100%; height: 240px; margin: 0 0 12px; }
  body[data-page="repair"] .product-detail-modal .product-modal-photo { height: 240px; }
  .product-detail-modal .full-product-meta,
  .product-detail-modal .modal-stats { gap: 8px; margin-bottom: 15px; }
  .product-detail-modal .full-product-meta span,
  .product-detail-modal .modal-stat { min-height: 64px; padding: 10px 12px; }
  .product-detail-modal .full-product-meta span { font-size: 10px; }
  .product-detail-modal .modal-stat strong { font-size: 16px; }
  .product-detail-modal .product-summary { font-size: 15px; line-height: 1.48; }
  .product-detail-modal .detail-usage-heading { font-size: 19px; margin: 20px 0 8px; }
  .product-detail-modal .detail-usage-heading + p { font-size: 14px; line-height: 1.48; }
}
@media (max-width: 375px) {
  .hero h1 { font-size: 46px; }
  .hero-copy { padding-left: 20px; padding-right: 20px; }
  .catalog-grid { grid-template-columns: 1fr 1fr; }
  .collection-card .cc-content h3 { font-size: 18px; }
  .collection-copy h1 { font-size: clamp(40px, 10.5vw, 55px); }
  .collection-copy { padding-left: 18px; padding-right: 18px; }
  .filter-chip { font-size: 9px; padding: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* Align the color rules embedded in the source packshots with the card rules. */
@media (max-width: 760px) {
  .collection-card[data-line="nutritive"] { --stripe-align: -2%; }
  .collection-card[data-line="hydra"],
  .collection-card[data-line="scalp"] { --stripe-align: 3%; }
  .collection-card[data-line="curls"] { --stripe-align: -7%; }
  .collection-card[data-line="color"] { --stripe-align: -3.5%; }
}

/* Every catalogue cover receives the same image area and colour-rule baseline. */
@media (max-width: 760px) {
  .collection-card .cc-picture {
    height: 180px;
    aspect-ratio: auto;
    display: grid;
    grid-template-rows: minmax(0, 1fr) 8px;
  }
  .collection-card .cc-picture img {
    grid-row: 1;
    display: block;
    min-height: 0;
  }
  .collection-card .cc-strip {
    position: static;
    grid-row: 2;
    height: 8px;
  }
}
@media (max-width: 400px) {
  .collection-card .cc-picture { height: 153px; }
}
