/* Responsive refinements shared by all five pages. Desktop styling stays in styles.css. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.mainbar > *, .footergrid > *, .guidegrid > *, .trustgrid > *,
.detail-layout > *, .order-layout > *, .order-fields > *,
.order-item > div, .order-method > span { min-width: 0; }
.order-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.order-fields > .full { grid-column: 1 / -1; }
.sectiontitle h2, .guidebody h3, .businessbody h3,
.catalog-card h3, .detail-product-info h1, .order-item h3,
.widget-label strong { overflow-wrap: anywhere; }
.minimal-header .brand { min-height: 44px; display: flex; align-items: center; }
.minimal-header .brand-art { width: 100%; }
.minimal-header .account { width: 44px; height: 44px; flex: none; }
.minimal-header .accountnav { gap: 9px; }
.minimal-header .bubble { left: 30px; top: 0; }
.minimal-nav a { min-height: 44px; display: flex; align-items: center; }
.hero-down { width: 44px; height: 44px; }
.socials { gap: 8px; }
.socials a { width: 44px; height: 44px; }
.toast { width: max-content; max-width: min(560px, calc(100% - 32px)); line-height: 1.6; }

@media (max-width: 1100px) {
  .wrap { width: min(1320px, calc(100% - 48px)); }

  /* Two clear header rows leave room for the logo, tools and centred navigation. */
  .minimal-header .mainbar {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 70px 48px; gap: 0 16px;
    height: auto; min-height: 126px; padding: 4px 0;
    align-items: center; flex-wrap: nowrap;
  }
  .minimal-header .brand { width: 180px; grid-column: 1; grid-row: 1; }
  .minimal-header .accountnav { grid-column: 2; grid-row: 1; margin: 0; gap: 6px; }
  .minimal-header .account { display: grid; width: 44px; height: 44px; }
  .minimal-nav {
    position: static; left: auto; right: auto; bottom: auto;
    transform: none; grid-column: 1 / -1; grid-row: 2;
    justify-content: center; gap: clamp(20px, 5vw, 46px); margin: 0;
  }
  .minimal-nav a { font-size: 12px; letter-spacing: 1.4px; padding: 10px 4px; }
  .header-search { padding-bottom: 20px; }
  .minimal-header .search { position: static; height: 48px; max-width: none; }
  .minimal-header .search input { font-size: 16px; }
  .minimal-header .search button { width: 48px; }

  .minimal-hero.hero-with-video { height: auto; min-height: 640px; }
  .hero-with-video .heroinner {
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end;
    height: auto; min-height: 640px; padding-top: 340px; padding-bottom: 44px;
  }
  .hero-with-video .herocopy { position: relative; inset: auto; width: 100%; max-width: 700px; }
  .hero-with-video h1 { font-size: 48px; letter-spacing: -1.8px; }
  .hero-background-video {
    inset: 0 0 auto auto; width: 100%; height: 420px;
    object-fit: contain; object-position: right top; transform: none;
  }

  /* Vertical panels avoid six narrow strips on portrait and landscape tablets. */
  .product-accordion { flex-direction: column; height: auto; gap: 12px; }
  .product-widget, .product-widget.expanded { flex: none; width: 100%; }
  .product-widget .widget-toggle, .product-widget.expanded .widget-toggle {
    display: flex; align-items: center; flex: none; gap: 16px;
    height: auto; min-height: 90px; padding: 20px 22px;
  }
  .product-widget .widget-index, .product-widget.expanded .widget-index,
  .product-widget .widget-plus, .product-widget.expanded .widget-plus {
    position: static; top: auto; left: auto; right: auto; bottom: auto; flex: 0 0 auto;
  }
  .product-widget .widget-index { margin-right: 4px; }
  .product-widget .widget-plus { margin-left: auto; }
  .product-widget .widget-label, .product-widget.expanded .widget-label {
    position: relative; inset: auto; transform: none; writing-mode: horizontal-tb;
    white-space: normal; gap: 7px; width: auto; flex: 1 1 auto; min-width: 0;
  }
  .product-widget .widget-label strong, .product-widget.expanded .widget-label strong {
    font-size: 23px; line-height: 1.25;
  }
  .product-widget .widget-kind, .product-widget.expanded .widget-kind { font-size: 13px; }
  .widget-cover .crop { display: none; }
  .widget-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transform: none; }
  .product-widget .widget-index, .product-widget.expanded .widget-index { position: static; flex: 0 0 auto; top: auto; left: auto; margin-right: 16px; }
  .product-widget .widget-label, .product-widget.expanded .widget-label { width: auto; flex: 1 1 auto; min-width: 0; }
  .product-widget .widget-plus, .product-widget.expanded .widget-plus { position: static; flex: 0 0 auto; left: auto; bottom: auto; margin-left: auto; }
  .widget-content { flex: none; }
  .product-widget.expanded .widget-content-inner {
    height: auto; min-height: 0; padding: 6px 26px 28px;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 32px; align-content: start;
  }
  .widget-content-inner > * { min-width: 0; }
  .widget-content-inner .widget-brand { grid-column: 2; margin-bottom: 12px; }
  .widget-content-inner .widget-image {
    grid-column: 1; grid-row: 1 / span 8; align-self: center;
    width: 100%; height: 255px; margin: 0;
  }
  .widget-content-inner .widget-image .crop { width: 270px; max-width: 100%; }
  .widget-content-inner > :not(.widget-image) { grid-column: 2; }
  .widget-content-inner .widget-description { font-size: 12px; flex-wrap: wrap; }
  .widget-content-inner .widget-prices { flex-wrap: wrap; gap: 10px; }
  .widget-content-inner .widget-prices strong { font-size: 34px; }
  .widget-content-inner .sizes { min-height: 44px; height: auto; flex-wrap: wrap; gap: 8px; }
  .widget-content-inner .size { min-width: 44px; height: 44px; padding: 8px; font-size: 13px; }
  .widget-content-inner .widget-size-label { font-size: 12px; }
  .widget-content-inner .widget-delivery { font-size: 12px; line-height: 1.6; margin: 8px 0 18px; }
  .widget-content-inner .widget-cta { min-height: 48px; font-size: 14px; }
  .widget-content-inner .widget-pending { font-size: 13px; max-width: none; }

  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
  .catalog-card-info { flex: 1; }
  .catalog-card-bottom { margin-top: auto; }
  .catalog-card-image { height: 220px; }
  .catalog-card-image .crop { width: 205px; }
  .catalog-card h3 { font-size: 21px; line-height: 1.3; }
  .catalog-card-price { font-size: 24px; }
  .catalog-card-price > span { font-size: 13px; }

  .ordersection { grid-template-columns: 1fr; gap: 32px; }
  .orderintro > p { max-width: 640px; }
  .orderintro .primary { min-height: 48px; max-width: 100%; white-space: normal; line-height: 1.5; }
  .faq summary { min-height: 52px; font-size: 15px; }
  .faq details p { font-size: 14px; }
  .trustgrid { grid-template-columns: 1fr; gap: 32px; }
  .businesscard { display: grid; grid-template-columns: .9fr 1fr; }
  .businessvisual { height: 100%; min-height: 260px; display: flex; align-items: center; justify-content: center; }
  .businesswordmark-original { width: min(240px, 100%); margin: 0; }
  .businessbody { padding: 26px; }
  .googlereviews { padding: 0; }
  .reviews-marquee { max-width: 100%; }

  .product-detail-page .detail-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .product-detail-page .detail-product-photo { height: 420px; min-height: 0; padding: 32px; }
  .product-detail-page .detail-product-photo .crop { width: 350px; }
  .gallery-thumbs { gap: 14px; }
  .gallery-thumb { height: 106px; padding: 10px 12px 30px; }
  .thumb-label { font-size: 11px; line-height: 1.2; bottom: 8px; }
  .product-detail-page .detail-product-info { padding: 0; }
  .product-detail-page .detail-product-info h1 { font-size: 38px; line-height: 1.15; }
  .product-detail-page .detail-kind { font-size: 14px; margin-bottom: 25px; }
  .product-size-top { font-size: 14px; }
  .product-detail-page .detail-sizes { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; max-width: 550px; }
  .product-detail-page .detail-size { height: 48px; font-size: 14px; }
  .product-purchase { max-width: 620px; gap: 24px; }
  .product-detail-page .detail-order { font-size: 15px; min-height: 52px; }
  .product-detail-page .detail-price { font-size: 33px; max-width: 180px; }
  .product-detail-page .detail-shipping { font-size: 13px; line-height: 1.6; }
  .product-detail-page .detail-back { font-size: 14px; min-height: 44px; padding-block: 12px; }
  .product-tabs { gap: 28px; padding: 4px; margin-inline: -4px; }
  .product-tabs button { min-height: 48px; font-size: 14px; padding-block: 13px; }
  .product-description-grid p, .product-description-grid .size-reference { font-size: 15px; line-height: 1.8; }
  .product-description-grid h2 { font-size: 25px; }
  .detail-breadcrumb, .product-detail-page .detail-breadcrumb { font-size: 12px; gap: 10px; }
  .detail-breadcrumb a { padding-block: 8px; }

  .order-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .order-summary { position: static; order: -1; }
  .order-page-heading { align-items: start; flex-direction: column; gap: 20px; }
  .order-steps { font-size: 13px; flex-wrap: wrap; row-gap: 10px; }
  .order-back { font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
  .order-form-card, .order-summary, .order-payment-card { padding: 28px; }
  .order-fields label { font-size: 14px; }
  .order-fields input, .order-fields select { min-height: 48px; height: auto; font-size: 16px; }
  .order-check { font-size: 13px; gap: 12px; padding-block: 5px; }
  .order-check input { width: 20px; height: 20px; }
  .order-card-heading > span, .order-form-note, .order-smallprint { font-size: 12px; line-height: 1.7; }
  .order-method { min-width: 0; flex-wrap: wrap; }
  .order-method b, .order-method strong { font-size: 14px; }
  .order-method small { font-size: 12px; line-height: 1.5; }
  .order-quantity, .order-sum-row { font-size: 14px; }
  .order-quantity button { width: 44px; height: 44px; font-size: 20px; }
  .order-quantity > div { gap: 12px; }
  .order-submit { min-height: 52px; font-size: 15px; line-height: 1.5; }
  .order-text-button { min-height: 44px; font-size: 14px; }
  .order-item-photo { width: 110px; }
  .order-item h3 { font-size: 20px; }
  .order-item p { font-size: 13px; }
  .order-payment-description, .order-review-person { font-size: 14px; }

  .footergrid { gap: 28px; grid-template-columns: 1.1fr 1fr 1fr; }
  .footercol a { min-height: 44px; padding-block: 9px; margin: 0; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
  .footercol h3 { font-size: 15px; line-height: 1.4; }
  .footerbrand p { font-size: 13px; line-height: 1.7; }
  .copyright { font-size: 12px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .minimal-header .account:first-child, .minimal-header .account:nth-child(3) { display: none; }
  .minimal-header .brand { width: 164px; }
  .sectiontitle h2, .section#ajanlat > .sectiontitle h2, .trustsection > .sectiontitle h2 { font-size: 28px; line-height: 1.2; }
  .sectiontitle { align-items: start; }
  .categories { gap: 12px; }
  .categorytext { left: 16px; right: 16px; bottom: 18px; }
  .category h2 { font-size: 22px; line-height: 1.15; }
  .rides { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; padding-bottom: 10px; }
  .ride { flex: 0 0 37%; min-height: 130px; scroll-snap-align: start; }
  .ridename { font-size: 17px; }
  .guidegrid { grid-template-columns: 1fr; gap: 28px; }
  .guidebody p { font-size: 14px; }
  .guidebody .more { min-height: 44px; font-size: 14px; padding-block: 10px; }
  .guidebody .guideeyebrow { font-size: 11px; line-height: 1.6; }
  .guidebody h3 { font-size: 29px; }
  .businesscard { display: block; }
  .businessvisual { height: 210px; min-height: 0; }
  .businessbody > p { font-size: 14px; }
  .businessaddress b { font-size: 14px; }
  .businessaddress small { font-size: 13px; }
  .reviews-marquee .reviewcard { width: 275px; flex-basis: 275px; }
  .reviewauthor h4 { font-size: 13px; }
  .reviewauthor > div > span, .reviewcard > a { font-size: 11px; }
  .footergrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .footerbrand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .minimal-header .mainbar { grid-template-rows: 64px 48px; min-height: 120px; }
  .minimal-header .brand { width: 152px; }
  .minimal-header .accountnav { gap: 2px; }
  .minimal-nav { gap: clamp(18px, 6vw, 32px); }
  .minimal-nav a { font-size: 11px; letter-spacing: 1.2px; }
  .minimal-hero.hero-with-video { height: auto; min-height: 600px; }
  .hero-with-video .heroinner { min-height: 600px; padding-top: 300px; padding-bottom: 34px; }
  .hero-with-video h1 { font-size: clamp(34px, 7.4vw, 44px); letter-spacing: -1.2px; line-height: 1.12; margin-block: 16px; }
  .hero-with-video .herocopy > p { font-size: 14px; line-height: 1.7; max-width: 100%; }
  .hero-background-video { width: 160%; height: 330px; object-fit: contain; object-position: right top; transform: none; }
  .catalog-page .minimal-hero { height: auto; min-height: 360px; }
  .catalog-page .minimal-hero .heroinner { min-height: 360px; }
  .catalog-page .minimal-hero .herocopy { position: relative; inset: auto; width: 100%; padding: 50px 0 30px; }
  .catalog-page .minimal-hero h1 { font-size: clamp(34px, 8vw, 44px); line-height: 1.15; }
  .catalog-page .minimal-hero .herocopy > p { max-width: 100%; font-size: 14px; }

  .categories { grid-template-columns: 1fr; gap: 14px; padding-top: 16px; }
  .category, .category:last-child { grid-column: auto; aspect-ratio: 2.2; min-height: 145px; }
  .category h2 { font-size: 23px; }
  .category p { display: block; font-size: 12px; line-height: 1.4; }
  .ride { flex-basis: 65%; min-height: 145px; }
  .section { padding-top: 40px; }
  .sectiontitle h2, .section#ajanlat > .sectiontitle h2, .trustsection > .sectiontitle h2 { font-size: 26px; }
  .brandssection > .sectiontitle h2 { font-size: 25px; }
  .collection-intro { font-size: 13px; line-height: 1.7; margin-bottom: 22px; }
  .product-widget .widget-toggle, .product-widget.expanded .widget-toggle { min-height: 88px; padding: 20px; }
  .product-widget .widget-label strong, .product-widget.expanded .widget-label strong { font-size: 22px; }
  .product-widget.expanded .widget-content-inner { display: flex; padding: 6px 20px 22px; }
  .widget-content-inner .widget-brand { margin-bottom: 0; font-size: 11px; }
  .widget-content-inner .widget-image { height: 205px; margin: 16px 0 20px; }
  .widget-content-inner .widget-image .crop { width: 250px; }
  .widget-content-inner .widget-prices strong { font-size: 34px; }
  .widget-content-inner .widget-cta { min-height: 50px; }

  .catalog-grid { gap: 12px; }
  .catalog-card-image { height: 165px; padding: 20px 14px 8px; }
  .catalog-card-image .crop { width: 155px; }
  .catalog-card-info { padding: 12px 15px 18px; }
  .catalog-card h3 { font-size: 17px; margin-bottom: 16px; letter-spacing: -.3px; }
  .catalog-card-price { font-size: 20px; gap: 4px; }
  .catalog-card-price > span { font-size: 11px; }
  .catalog-card-bottom { gap: 5px; }
  .catalog-card-arrow, .catalog-card-arrow .icon { width: 16px; height: 16px; }
  .catalog-card-image .catalog-photo-placeholder > span { font-size: 10px; text-align: center; }
  .orderintro h2 { font-size: 32px; }
  .orderintro > p { font-size: 14px; }
  .onlinebadge { font-size: 14px; }
  .onlinebadge small { font-size: 12px; }
  .businessbody { padding: 22px; }

  .product-detail-page .detail-page { padding-top: 20px; }
  .product-detail-page .detail-product-photo { height: 340px; padding: 25px; }
  .gallery-thumbs { gap: 8px; margin-top: 12px; }
  .gallery-thumb { height: 94px; padding: 8px 6px 32px; }
  .thumb-label { font-size: 10px; bottom: 6px; left: 4px; right: 4px; overflow-wrap: anywhere; }
  .product-detail-page .detail-product-info h1 { font-size: 33px; letter-spacing: -.8px; }
  .product-detail-page .detail-sizes { gap: 8px; }
  .product-information { margin-top: 32px; }
  .product-tab-panel { padding-top: 24px; }
  .product-tabs { gap: 24px; }

  .order-page { padding-top: 16px; }
  .order-page-heading h1 { font-size: 38px; }
  .order-page-heading { margin-top: 16px; }
  .order-form-card, .order-summary, .order-payment-card { padding: 22px; }
  .order-card-heading { flex-wrap: wrap; }
  .order-item { gap: 14px; }
  .order-item-photo { width: 85px; }
  .order-item h3 { font-size: 18px; }
  .order-total strong { font-size: 27px; }
  .order-stripe-mark { flex-wrap: wrap; line-height: 1.7; }
  .order-confirmation h2 { font-size: 34px; }
  footer { padding-bottom: max(26px, env(safe-area-inset-bottom)); }
  .copyright { font-size: 12px; line-height: 1.8; }
}

@media (max-width: 480px) {
  .order-fields { grid-template-columns: minmax(0, 1fr); }
  .order-fields > label { grid-column: 1 / -1; }
  .product-purchase { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
  .product-detail-page .detail-price { order: -1; max-width: 100%; font-size: 32px; }
  .product-detail-page .detail-order { width: 100%; flex: none; }
  .product-detail-page .detail-sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-detail-page .detail-product-photo { height: 305px; }
  .order-method { padding: 13px; gap: 10px; }
  .order-method > span { flex-basis: calc(100% - 40px); }
  .order-method > strong { padding-left: 34px; }
  .footergrid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .footercol a { width: fit-content; max-width: 100%; }
}

@media (max-width: 359px) {
  .wrap { width: calc(100% - 24px); }
  .minimal-header .brand { width: 145px; }
  .minimal-nav { gap: 18px; }
  .minimal-nav a { letter-spacing: .8px; }
  .catalog-grid { grid-template-columns: minmax(0, 1fr); }
  .catalog-card-image { height: 210px; }
  .catalog-card-image .crop { width: 195px; }
  .catalog-card h3 { font-size: 21px; }
  .catalog-card-price { font-size: 24px; }
  .product-widget .widget-toggle, .product-widget.expanded .widget-toggle { padding-inline: 17px; }
  .product-widget.expanded .widget-content-inner { padding-inline: 17px; }
  .widget-content-inner .sizes { gap: 7px; }
  .order-form-card, .order-summary, .order-payment-card { padding: 18px; }
  .order-total { flex-wrap: wrap; gap: 8px; }
  .order-item-photo { width: 68px; }
  .order-quantity { flex-wrap: wrap; }
}

@media (max-width: 1100px) and (orientation: landscape) {
  .wrap {
    width: auto; max-width: 1320px;
    margin-left: max(24px, env(safe-area-inset-left));
    margin-right: max(24px, env(safe-area-inset-right));
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-widget, .widget-content-inner { animation: none; }
}
