*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1600px) {
  .hero-rings {
    width: min(34vw, 520px);
  }
}

@media (max-width: 1440px) {
  :root {
    --container: 1080px;
  }

  .product-summary {
    padding-top: 20px;
  }

  .cta-bg,
  .footer-bg {
    width: calc((100vw - var(--container)) / 2 + var(--container) + 116px);
  }
}

@media (max-width: 1366px) {
  :root {
    --container: 1040px;
  }

  .logo-link img {
    width: 260px;
  }

  .cta-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 287px 1fr;
    gap: 126px;
    align-items: start;
  }

  .product-details-grid {
    grid-template-columns: 82px minmax(0, 1fr) minmax(320px, 500px);
    gap: 26px;
  }

  .main-image-card {
    width: min(445px, 100%);
  }

  .product-tabs {
    gap: 18px;
  }

  .tab-button {
    padding-inline: 48px;
  }
}

@media (max-width: 1199px) {
  :root {
    --container: 920px;
  }

  .logo-link img,
  .footer-brand img {
    width: 238px;
  }

  .product-details-grid {
    grid-template-columns: 76px minmax(0, 1fr) minmax(280px, 430px);
    gap: 22px;
  }

  .product-thumbnails {
    gap: 14px;
  }

  .thumbnail-button {
    width: 78px;
    height: 86px;
    border-radius: 18px;
  }

  .thumbnail-button img {
    width: 100%;
    height: 100%;
  }

  .main-image-card {
    width: 100%;
    min-height: 390px;
    padding: 18px;
  }

  .product-summary {
    padding-top: 8px;
  }

  .product-summary h1 {
    font-size: clamp(36px, 4vw, 48px);
  }

  .product-checklist li,
  .related-card li {
    font-size: 16px;
  }

  .tabs-shell {
    padding-inline: 24px;
  }

  .product-tabs {
    gap: 10px;
  }

  .tab-button {
    padding: 0 36px 22px;
    font-size: 18px;
  }

  .related-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .cta-inner {
    gap: 44px;
    grid-template-columns: minmax(300px, 410px) minmax(0, 1fr);
  }
}

@media (max-width: 1024px) {
  .header-inner {
    width: min(100% - 48px, var(--container));
    min-height: 78px;
  }

  .logo-link img {
    width: 226px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 24px;
    right: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    border: 1px solid rgba(1, 170, 255, 0.18);
    border-radius: 0 0 14px 14px;
    background: var(--white);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
    padding: 0 18px;
    transition: max-height 240ms ease, opacity 180ms ease, transform 180ms ease, visibility 180ms ease, padding 180ms ease;
  }

  .site-nav.is-open {
    max-height: 300px;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    padding: 10px 18px 18px;
  }

  .site-nav a {
    padding: 14px 0;
    font-size: 16px;
  }

  .nav-button {
    width: 154px;
    margin-top: 8px;
  }

  .product-details-section {
    padding-top: 96px;
  }

  .product-details-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    gap: 24px;
    align-items: start;
  }

  .product-thumbnails {
    grid-column: 1 / -1;
    order: 3;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    padding-top: 0;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .product-main-image {
    order: 1;
  }

  .product-summary {
    order: 2;
    padding-top: 0;
  }

  .main-image-card {
    min-height: 380px;
  }

  .gallery-arrow {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
  }

  .gallery-arrow img {
    width: 14px;
    height: 14px;
    transform: rotate(-90deg);
  }

  .cta-section {
    min-height: auto;
  }

  .cta-bg {
    inset: 80px 0 0 0;
    width: auto;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cta-image {
    width: min(490px, calc(100% + 18px));
    height: auto;
    aspect-ratio: 490 / 246;
    margin-left: -21px;
  }

  .cta-image img {
    border-radius: 0;
  }

  .cta-content {
    padding: 52px 0 0;
  }
}

@media (max-width: 991px) {
  :root {
    --container: 720px;
  }

  .container {
    width: 100%;
    padding: 0 20px;
  }

  .product-details-section {
    padding-top: 88px;
  }

  .product-shell::before {
    display: none;
  }

  .product-details-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-main-image {
    order: 1;
  }

  .product-thumbnails {
    grid-column: auto;
    order: 2;
  }

  .main-image-card {
    margin-inline: auto;
    min-height: 370px;
    border-radius: 24px;
  }

  .product-summary {
    max-width: 100%;
    order: 3;
  }

  .product-summary h1 {
    font-size: clamp(36px, 8vw, 48px);
  }

  .tabs-shell {
    padding-inline: 0;
  }

  .product-tabs-section {
    padding-bottom: 46px;
  }

  .tab-button {
    padding-inline: 28px;
  }

  .related-products-section {
    padding-bottom: 52px;
  }

  .listing-rings {
    bottom: -360px;
    width: min(430px, 56vw);
  }

  .email-button {
    min-width: min(458px, 100%);
  }

  .footer-bg {
    left: 0;
    width: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 44px;
  }
}

@media (max-width: 900px) {
  .product-summary h1 {
    font-size: clamp(34px, 7vw, 44px);
  }

  .action-row {
    gap: 12px;
  }

  .action-button {
    flex: 1 1 0;
    min-width: 0;
  }
}

@media (max-width: 820px) {
  .product-details-section {
    padding-top: 84px;
  }

  .main-image-card {
    min-height: 348px;
  }

  .main-image-card img {
    max-width: min(277px, 100%);
    max-height: 330px;
  }

  .product-thumbnails {
    gap: 10px;
  }

  .thumbnail-button {
    width: 74px;
    height: 82px;
  }

  .tab-button {
    padding-inline: 22px;
  }
}

@media (max-width: 767px) {
  .header-inner {
    min-height: 78px;
  }

  .site-nav {
    top: 78px;
    left: 18px;
    right: 18px;
  }

  .logo-link img,
  .footer-brand img {
    width: 204px;
  }

  .product-details-section {
    padding-top: 82px;
  }

  .product-thumbnails {
    scrollbar-width: none;
  }

  .product-thumbnails::-webkit-scrollbar {
    display: none;
  }

  .gallery-arrow {
    display: block;
  }

  .product-checklist li,
  .related-card li,
  .tab-panel p {
    font-size: 16px;
  }

  .action-row {
    flex-direction: column;
    align-items: stretch;
  }

  .action-button,
  .details-button,
  .email-button {
    width: 100%;
  }

  .product-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .product-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-button {
    padding: 0 22px 16px;
    font-size: 18px;
    white-space: nowrap;
  }

  .tab-button::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    border-radius: 999px;
    background: transparent;
    transition: background-color 180ms ease;
  }

  .tab-panel h2 {
    font-size: 28px;
  }

  .spec-grid,
  .related-products-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    margin-bottom: 20px;
  }

  .related-card {
    min-height: 0;
  }

  .cta-content h2 {
    font-size: clamp(31px, 10vw, 40px);
  }

  .email-button {
    height: 58px;
    margin-bottom: 34px;
    font-size: 19px;
    padding: 0 18px;
  }

  .footer-links nav {
    flex-direction: column;
    gap: 14px;
  }
}

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

  .header-inner {
    width: calc(100% - 32px);
  }

  .main-image-card {
    min-height: 330px;
    padding: 18px;
  }

  .product-summary h1 {
    margin-bottom: 18px;
  }

  .product-checklist {
    gap: 14px;
    margin-bottom: 24px;
  }
}

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

  .header-inner {
    width: calc(100% - 30px);
    gap: 16px;
  }

  .logo-link img {
    width: 186px;
  }

  .product-details-section {
    padding-top: 76px;
  }

  .product-details-grid {
    gap: 18px;
  }

  .thumbnail-button {
    width: 70px;
    height: 78px;
    padding: 0;
  }

  .thumbnail-button img {
    width: 100%;
    height: 100%;
  }

  .main-image-card {
    min-height: 310px;
    width: 100%;
    padding: 24px 20px;
  }

  .main-image-card img {
    max-width: 235px;
    max-height: 300px;
  }

  .product-category {
    font-size: 15px;
  }

  .product-summary h1 {
    font-size: clamp(30px, 9vw, 38px);
    margin-bottom: 20px;
  }

  .product-tabs {
    gap: 0;
  }

  .tab-button {
    padding-inline: 18px;
  }

  .tab-panels {
    padding-top: 24px;
  }

  .spec-item,
  .compare-card {
    padding: 20px;
  }

  .listing-rings {
    bottom: -250px;
    width: min(360px, 82vw);
  }

  .cta-bg {
    inset: 58px 0 0 0;
  }

  .cta-image {
    width: calc(100% + 15px);
    margin-left: -15px;
    border-radius: 0 100px 100px 0;
  }

  .cta-content {
    padding: 42px 0 0;
  }

  .footer-brand img {
    width: 220px;
  }
}

@media (max-width: 480px) {
  .hero-rings {
    width: min(330px, 85vw);
  }

  .logo-link img {
    width: 170px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .product-details-section {
    padding-top: 74px;
  }

  .product-thumbnails {
    gap: 8px;
  }

  .main-image-card {
    min-height: 280px;
  }

  .main-image-card img {
    max-width: 210px;
    max-height: 260px;
  }

  .product-summary h1 {
    font-size: 34px;
  }

  .section-title {
    font-size: 32px;
  }

  .related-card {
    padding-inline: 16px;
  }

  .cta-content h2 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .email-button {
    font-size: 17px;
  }
}

@media (max-width: 430px) {
  .container,
  .header-inner {
    width: calc(100% - 24px);
  }

  .logo-link img {
    width: 164px;
  }

  .site-nav {
    left: 12px;
    right: 12px;
  }

  .tabs-shell {
    overflow: hidden;
  }

  .product-tabs {
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .main-image-card {
    min-height: 270px;
  }

  .tab-button {
    padding-inline: 0;
    font-size: 17px;
  }
}

@media (max-width: 414px) {
  .product-checklist li,
  .related-card li {
    padding-left: 22px;
    font-size: 15px;
  }

  .related-card li::before {
    top: 4px;
  }

  .action-button,
  .details-button {
    font-size: 15px;
  }
}

@media (max-width: 390px) {
  .logo-link img {
    width: 160px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    padding: 8px;
  }

  .thumbnail-button {
    width: 64px;
    height: 72px;
  }

  .main-image-card {
    min-height: 262px;
    padding: 18px 16px;
  }

  .main-image-card img {
    max-width: 190px;
    max-height: 238px;
  }
}

@media (max-width: 375px) {
  .container,
  .header-inner {
    width: calc(100% - 24px);
  }

  .logo-link img {
    width: 198px;
  }

  .main-image-card {
    min-height: 250px;
    padding: 18px;
  }

  .email-button {
    font-size: 15px;
  }

  .footer-brand img {
    width: 190px;
  }
}

@media (max-width: 360px) {
  .container,
  .header-inner {
    width: calc(100% - 20px);
  }

  .product-details-section {
    padding-top: 72px;
  }

  .logo-link img {
    width: 148px;
  }

  .tab-button {
    padding-inline: 14px;
    font-size: 16px;
  }

  .product-summary h1 {
    font-size: 30px;
  }
}

@media (max-width: 320px) {
  .container,
  .header-inner {
    width: calc(100% - 18px);
  }

  .logo-link img {
    width: 140px;
  }

  .menu-toggle {
    width: 36px;
    height: 36px;
    padding: 7px;
  }

  .product-thumbnails {
    gap: 6px;
  }

  .thumbnail-button {
    width: 58px;
    height: 66px;
    border-radius: 16px;
  }

  .tab-button {
    padding-inline: 12px;
  }

  .main-image-card {
    min-height: 228px;
    padding: 14px;
    border-radius: 20px;
  }

  .main-image-card img {
    max-width: 168px;
    max-height: 210px;
  }

  .product-checklist li,
  .related-card li {
    font-size: 14px;
  }

  .action-button,
  .details-button,
  .email-button {
    padding-inline: 14px;
  }

  .email-button {
    font-size: 14px;
  }
}
