/* Desktop uses the original image box. Mobile uses a compact content layout. */
.hero-visual,.hero-visual picture{display:contents}
@media(max-width:760px){
  .top-line{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;align-items:center;padding:6px 8px;font-size:10px;line-height:1.2}
  .top-line>*{min-width:0;padding:0 7px;text-align:center}
  .site-header{display:flex;justify-content:center;align-items:center;padding:12px 20px;min-height:60px}
  .site-header .brand{gap:12px;min-width:0;justify-content:center}
  .site-header .peugeot-logo{width:30px;height:36px;object-fit:contain}
  .site-header .forum-logo{width:130px;height:auto}
  .site-header .brand-divider{height:28px}
  .site-header .header-button{display:none}
  .campaign-hero.annual-offer-hero.santa-hero{display:grid;grid-template-columns:minmax(0,1fr);height:auto;min-height:0;max-height:none;aspect-ratio:auto;overflow:hidden;padding:0;background:#3c010e}
  .santa-hero .rooftop-heading{display:contents;position:static}
  .santa-hero .hero-brand{grid-row:1;margin:16px 18px 9px;font-size:12px;line-height:1.25;letter-spacing:.025em;text-align:center}
  .santa-hero .rooftop-heading h1{grid-row:2;margin:0 18px 12px;font-size:clamp(28px,7.2vw,36px);line-height:1.08;letter-spacing:-.03em;text-align:center}
  .santa-hero .hero-visual{display:block;position:relative;grid-row:3;isolation:isolate;width:100%;height:auto;aspect-ratio:1.55;overflow:hidden;background:#3c010e}
  .santa-hero .hero-visual:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(to bottom,#3c010e,transparent 42px)}
  .santa-hero .hero-visual .rooftop-scene{position:absolute;inset:auto;top:-40vw;left:0;bottom:auto;width:100%;height:auto;max-width:none;object-fit:initial;object-position:initial;transform:none;mask-image:none}
  .santa-hero .hero-image-actions{position:static;grid-row:4;display:block;inset:auto;width:auto;margin:0 20px 14px;padding:0;pointer-events:auto}
  .santa-hero .hero-test-drive{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:54px;padding:17px 12px;font-size:15px;line-height:1.3;text-align:center;white-space:normal;background:#d2eaf7;border:0;color:#111!important}
  .santa-hero>.hero-white-guarantee{position:relative;grid-row:5;inset:auto;justify-self:center;align-self:center;width:138px;margin:2px 0 18px;filter:none}
  .santa-hero .hero-gift-copy{grid-row:6;margin:0 22px 10px;max-width:none;font-size:16px;line-height:1.4;text-align:center}
  .santa-hero .hero-deadline{grid-row:7;margin:0 20px 24px;font-size:14px;line-height:1.4;text-align:center}
  .section{padding-block:42px}
  .section-intro{margin-bottom:28px}
  .essential-bonus{padding:20px;gap:22px}
  .essential-bonus-copy h3{font-size:28px}
  .essential-bonus-copy>p{font-size:23px}
  .catalog-grid{width:100%;max-width:none;gap:24px}
  .catalog-grid .model-body{padding:24px}
  .catalog-grid .model-button{font-size:16px;min-height:54px;line-height:1.3;text-align:center}
  .gallery-thumb,.gallery-close,.gallery-modal-tab{min-height:44px}
  .booking-grid{gap:28px}
  .booking-intro h2{font-size:clamp(36px,10vw,44px)}
  .booking .model-radio-grid span{min-height:48px}
  .booking input:not([type=hidden],[type=radio],[type=checkbox]),.booking select{min-width:0;font-size:16px}
  .booking form{min-width:0;padding:24px 20px}
  .booking .submit-button{width:100%;min-height:54px;font-size:16px;white-space:normal;text-align:center}
  .catalog-reel video{width:100%;max-width:100%;height:auto}
}
@media(max-width:360px){
  .top-line{font-size:9px;padding-inline:4px}
  .top-line>*{padding-inline:5px}
  .santa-hero .hero-brand{font-size:11px}
  .santa-hero .rooftop-heading h1{font-size:27px;margin-inline:16px}
  .santa-hero .hero-image-actions{margin-inline:16px}
  .santa-hero .hero-test-drive{font-size:14px}
  .catalog-grid .model-body{padding:22px 20px}
}

/* Consistent mobile gutters and compact form rhythm, including iOS date controls. */
@media(max-width:760px){
  .container{width:calc(100% - 40px)}
  .section{padding-block:40px}
  .santa-hero .hero-brand,.santa-hero .rooftop-heading h1{margin-inline:20px}
  .santa-hero .hero-image-actions{margin-top:16px;margin-bottom:16px}
  .santa-hero>.hero-white-guarantee{margin:0 0 16px}
  .santa-hero .hero-gift-copy{margin:0 20px 12px}
  .santa-hero .hero-deadline{margin:0 20px 24px}
  #drive-form{display:grid;gap:14px;width:100%;min-width:0;max-width:100%;padding:20px;box-sizing:border-box}
  #drive-form[hidden]{display:none!important}
  #drive-form>*{min-width:0;max-width:100%}
  #drive-form .model-picker{min-inline-size:0;border:0;padding:0;margin:0}
  #drive-form .model-picker legend{font-size:16px;line-height:1.35;margin:0 0 8px;padding:0}
  #drive-form .model-radio-grid{gap:8px}
  #drive-form .model-radio-grid>label{margin:0}
  #drive-form .model-radio-grid span{height:44px;min-height:44px;padding:10px 6px;font-size:18px;line-height:1.2}
  #drive-form>label,#drive-form .field-grid>label{display:block;min-width:0;margin:0;font-size:16px;line-height:1.35}
  #drive-form label>small{font-size:13px;font-weight:400;line-height:1.35}
  #drive-form .field-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;min-width:0;margin:0}
  #drive-form input:not([type=hidden],[type=radio],[type=checkbox]),#drive-form select{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:48px;min-height:48px;margin-top:6px;padding:11px 12px;border-radius:0;font-size:16px;font-weight:400;line-height:24px}
  #drive-form select{padding-right:34px}
  #drive-form input[type=date]{-webkit-appearance:none;appearance:none;min-inline-size:0;inline-size:100%;max-inline-size:100%;text-align:left}
  #drive-form input[type=date]::-webkit-date-and-time-value{min-width:0;min-height:24px;line-height:24px;text-align:left}
  #drive-form input[type=date]::-webkit-datetime-edit{padding:0;line-height:24px}
  #drive-form input[type=date]::-webkit-datetime-edit-fields-wrapper{padding:0}
  #drive-form .checkline{display:flex!important;align-items:flex-start;gap:10px;min-height:44px;margin:0!important;line-height:1.4}
  #drive-form .checkline input{width:18px;height:18px;flex-shrink:0;margin:2px 0 0}
  #drive-form .checkline span{font-size:15px;line-height:1.4}
  #drive-form .consent span{font-size:14px;line-height:1.4}
  #drive-form .submit-button{width:100%;min-height:52px;margin-top:2px;padding:14px 16px;font-size:16px;line-height:1.35}
  #drive-form .form-note{font-size:13px;line-height:1.4;margin:0}
  #drive-form .form-error{font-size:15px;line-height:1.4;margin:0}
  .booking-success{padding:24px 20px}
}
@media(max-width:360px){
  .container{width:calc(100% - 32px)}
  .site-header{padding-inline:16px}
  .santa-hero .hero-brand,.santa-hero .rooftop-heading h1,.santa-hero .hero-gift-copy,.santa-hero .hero-deadline{margin-inline:16px}
  #drive-form{padding:18px}
}
