/*
 * INDOJAWA88
 * Responsive layout: desktop, tablet, mobile and print
 */

@media (min-width: 761px) {
  .header-actions {
    grid-column: 3;
  }

}

@media (max-width: 1000px) {
  .header-inner {
    grid-template-columns: 170px minmax(0,1fr) auto;
    gap: 20px;
  }

  .hero {
    gap: 26px;
    padding: 24px;
    align-items: start;
  }

  h1 {
    font-size: 28px;
    letter-spacing: -.6px;
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-labels {
    margin-bottom: 12px;
  }

  .hero-media figcaption {
    padding: 12px;
  }

  .info-panel {
    gap: 28px;
    padding: 26px;
  }

  .review-card,
  .review-summary {
    padding: 20px;
  }

}

@media (max-width: 820px) {
  .container {
    width: calc(100% - 36px);
  }

  .header-inner {
    gap: 16px;
    grid-template-columns: 150px minmax(0,1fr) auto;
  }

  .brand img {
    width: 150px;
    height: 44px;
  }

  .header-actions .button {
    min-width: 72px;
    padding-inline: 14px;
  }

  .hero {
    gap: 24px;
    grid-template-columns: 1fr;
  }

  .hero-media {
    width: min(100%,560px);
    justify-self: center;
  }

  .hero-content {
    padding: 0 4px;
  }

  h1 {
    font-size: 30px;
    line-height: 1.25;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-meta {
    margin-top: 14px;
  }

  .review-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .info-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .specifications {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .related {
    align-items: flex-start;
    flex-direction: column;
  }

  .related-links {
    width: 100%;
  }

  .related-links a {
    flex: 1;
  }

}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 155px;
  }

  .header-inner {
    grid-template-columns: minmax(0,1fr) auto;
    gap: 12px;
    min-height: 0;
    padding-block: 12px;
  }

  .brand img {
    height: 40px;
    width: 150px;
  }

  .search-form {
    grid-column: 1/-1;
    grid-row: 2;
    max-width: none;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .search-form input {
    height: 42px;
    font-size: 13px;
  }

  .search-form button {
    top: 1px;
  }

  .page {
    padding-top: 18px;
    padding-bottom: 32px;
  }

  .breadcrumbs {
    font-size: 11px;
    margin-bottom: 18px;
    gap: 8px;
  }

  .hero {
    padding: 20px;
    gap: 24px;
  }

  .hero-content {
    padding: 0;
  }

  h1 {
    font-size: 28px;
  }

  .trust-strip {
    padding: 20px 0;
  }

  .trust-strip>span {
    font-size: 11px;
    gap: 7px;
  }

  .section-nav {
    gap: 24px;
    padding: 18px 0 22px;
    font-size: 11px;
  }

  .section-block,
  .faq-panel,
  .related {
    margin-top: 28px;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  h2 {
    font-size: 22px;
  }

  .info-panel,
  .faq-panel {
    padding: 24px;
  }

  .faq-item {
    scroll-margin-top: 155px;
  }

  .specifications {
    scroll-margin-top: 155px;
  }

  .faq-item summary {
    padding-block: 18px;
  }

  .related {
    padding: 24px;
  }

  .site-footer {
    padding-bottom: calc(90px + env(safe-area-inset-bottom));
  }

  .mobile-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px max(18px,env(safe-area-inset-left)) calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.98);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 18px #16362308;
  }

  .mobile-actions .button {
    min-height: 46px;
  }

  .back-to-top {
    bottom: calc(88px + env(safe-area-inset-bottom));
    right: 16px;
    width: 38px;
    height: 38px;
  }

}

@media (max-width: 520px) {
  :root {
    --radius: 16px;
  }

  .container {
    width: calc(100% - 28px);
  }

  .header-inner {
    gap: 10px;
  }

  .brand img {
    width: 142px;
    height: 40px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .button {
    min-width: 62px;
    padding: 9px 12px;
    min-height: 40px;
    font-size: 12px;
    gap: 6px;
    border-radius: 8px;
  }

  .hero {
    padding: 14px;
    gap: 22px;
  }

  .hero-media {
    border-radius: 10px;
  }

  .hero-media figcaption {
    font-size: 10px;
    padding: 11px 12px;
  }

  h1 {
    font-size: 25px;
    letter-spacing: -.5px;
  }

  .hero-description {
    font-size: 13px;
    line-height: 1.8;
  }

  .price strong {
    font-size: 28px;
  }

  .offer-note {
    font-size: 10px;
  }

  .supplier {
    margin-top: 18px;
  }

  .trust-strip>span {
    font-size: 10px;
    flex-direction: column;
    gap: 3px;
    text-align: center;
    padding-inline: 4px;
  }

  .trust-strip {
    padding-block: 16px;
  }

  .section-nav {
    gap: 0;
    justify-content: space-between;
    font-size: 11px;
  }

  .info-panel,
  .faq-panel {
    padding: 20px;
  }

  .information-copy>p {
    font-size: 13px;
  }

  .category-list {
    gap: 6px;
  }

  .section-heading h2 {
    font-size: 21px;
  }

  .section-count {
    font-size: 10px;
    max-width: 90px;
  }

  .review-grid {
    grid-template-columns: minmax(0,1fr);
    gap: 12px;
    grid-auto-rows: auto;
  }

  .review-card,
  .review-summary {
    min-height: 0;
    padding: 22px;
  }

  .review-summary {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 20px;
    align-items: center;
  }

  .review-summary .eyebrow {
    grid-column: 1;
  }

  .review-summary>strong {
    grid-column: 2;
    grid-row: 1/3;
    margin: 0;
    font-size: 40px;
  }

  .review-summary>strong span {
    font-size: 12px;
  }

  .review-summary p {
    grid-column: 1;
    grid-row: 2;
    font-size: 11px;
  }

  .review-summary a {
    grid-column: 1/-1;
  }

  .review-person h3 {
    font-size: 13px;
  }

  .faq-item summary {
    grid-template-columns: 20px minmax(0,1fr) 24px;
    gap: 10px;
    padding-block: 18px;
  }

  .faq-item .faq-question {
    font-size: 13px;
  }

  .faq-toggle {
    width: 24px;
    height: 24px;
  }

  .faq-item>p {
    margin: 0 0 0 30px;
    font-size: 12px;
    padding-bottom: 18px;
  }

  .related {
    padding: 22px;
  }

  .related-links {
    flex-direction: column;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .footer-top nav {
    gap: 20px;
    font-size: 11px;
  }

}

@media (max-width: 360px) {
  .brand img {
    width: 128px;
  }

  .header-actions .button {
    min-width: 56px;
    padding-inline: 9px;
  }

  .hero {
    padding: 12px;
  }

  h1 {
    font-size: 23px;
  }

  .hero-actions {
    gap: 8px;
  }

  .price {
    gap: 8px;
  }

  .price strong {
    font-size: 26px;
  }

  .deal-label {
    font-size: 8px;
    padding: 4px 5px;
  }

  .info-panel,
  .faq-panel {
    padding: 18px;
  }

}

@media print {
  .site-header,
  .search-form,
  .hero-actions,
  .mobile-actions,
  .back-to-top,
  .section-nav {
    display: none!important;
  }

  body {
    background: #fff;
  }

  .container {
    width: 100%;
  }

  .panel {
    box-shadow: none;
  }

  .site-footer {
    padding-bottom: 0;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
  }

  details>p {
    display: block!important;
  }

  .review-grid {
    grid-template-columns: repeat(2,1fr);
  }

}
