/* Small laptop / scaled desktop (992–1366 CSS px, typical 1366×768).
   Keep the desktop composition; tighten type, heroes, and dense grids so
   nothing clips or crowds the first viewport. */

@media (min-width: 992px) and (max-width: 1366px) {
  .site-nav__logo {
    flex-basis: 260px;
    width: 260px;
    height: 62px;
  }

  .site-nav__links,
  .site-nav__icons {
    gap: 32px;
  }

  .site-nav__links a,
  .site-nav__products-btn,
  .site-nav__links a[href$="/offers/"]::after,
  .site-nav__links a[href$="/about-us/"]::after,
  .site-nav__products-btn::after {
    font-size: 13px;
    letter-spacing: 0.39px;
  }

  .top-bar__center {
    max-width: min(420px, 38vw);
    font-size: 11px;
    letter-spacing: 0.55px;
  }

  .top-bar__signin,
  .top-bar__language,
  .top-bar__phone {
    font-size: 13px;
    letter-spacing: 0.39px;
  }

  .top-bar__right {
    gap: 16px;
  }

  /* Homepage first viewport: complete hero in one screen, desktop composition intact. */
  .home .hero-section {
    height:calc(100svh + 122px);
    min-height: 0;
    padding-bottom: 120px;
  }

  .home .hero-slider,
  .home .hero-slider.slick-slider,
  .home .hero-slider .slick-list,
  .home .hero-slider .slick-track,
  .home .hero-slider .slick-slide,
  .home .hero-slider .slick-slide > div {
    height: 100%;
  }

  .home .hero-slide {
    height: 100%;
    min-height: 0;
  }

  .home .hero-slide__inner {
    padding-top: 112px;
    padding-bottom: 38px;
  }

  .home .hero-slide__content {
    max-width: 430px;
    gap: 24px;
  }

  .home .hero-slide__info,
  .home .hero-slide__pricing {
    gap: 14px;
  }

  .home .hero-slide__type,
  .home .hero-slide__from,
  .home .hero-slide__desc {
    font-size: 16px;
  }

  .home .hero-slide__name {
    font-size: 78px;
    letter-spacing: 0;
  }

  .home .hero-slide__strike {
    font-size: 22px;
  }

  .home .hero-slide__price {
    font-size: 34px;
  }

  .home .hero-slide__content .btn-primary-full {
    width: 300px;
    max-width: 300px;
    height: 42px;
    font-size: 13px;
    letter-spacing: 1.3px;
  }

  .home .hero-slide__sidebar {
    padding-top: 42px;
  }

  .home .hero-slide__num {
    font-size: 22px;
  }

  .home .hero-slide__progress {
    height: 150px;
  }

  .home .hero-slide__next {
    width: 230px;
    height: 140px;
  }

  .home .hero-slide__next-img {
    width: calc(100% - 16px);
    height: calc(100% - 16px);
  }

  .home .hero-slide__next-label {
    font-size: 18px;
  }

  .home .hero-dots-area,
  .home .hero-slider .slick-dots {
    bottom: 20px;
  }

  /* Shop / category / projects / about heroes: 850px taller than 768vh. */
  .shop-hero,
  .projects-hero,
  .project-single__hero {
    height: min(850px, 100svh);
  }

  .about-hero,
  .about-hero__inner {
    min-height: min(850px, 100svh);
  }

  .shop-hero__title {
    margin-top: 40px;
    max-width: 94%;
    font-size: clamp(48px, 4.6vw, 64px);
    letter-spacing: 0.14em;
  }

  .projects-hero__title,
  .project-single__title {
    font-size: clamp(56px, 6.4vw, 88px);
    letter-spacing: 0.18em;
  }

  .projects-hero__inner,
  .project-single__hero-inner,
  .about-hero__inner {
    padding-top: 156px;
  }

  .about-story__inner {
    width: 82%;
    padding-top: 88px;
  }

  .about-story {
    padding-bottom: 80px;
  }

  .shop-child-cats {
    margin-top: -64px;
    padding-bottom: 72px;
  }

  .shop-child-card {
    min-height: 340px;
    padding: 48px 40px;
  }

  .shop-child-card__title {
    font-size: 26px;
    letter-spacing: 0.72px;
  }

  .shop-type-nav__inner {
    gap: 48px;
  }

  .shop-brand-logos__inner {
    gap: 48px;
  }

  .shop-products__grid {
    row-gap: 56px;
  }

  .shop-product-card__media {
    height: 400px;
  }

  .pg-title {
    font-size: 40px;
  }

  .pg-card--large .pg-card__img-wrap {
    height: 460px;
    max-height: 460px;
  }

  .pg-card--small .pg-card__img-wrap {
    height: 320px;
    max-height: 320px;
  }

  .pg-card--small .pg-card__name {
    font-size: 16px;
    letter-spacing: 0.4px;
    line-height: 1.25;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pg-card--small .pg-card__price {
    font-size: 16px;
  }

  .pg-nav {
    width: min(520px, 100%);
    padding-right: 24px;
  }

  /* Product summary: CTA was below the 768px fold. */
  .panos-product__main-image {
    height: min(862px, calc(100svh - 148px));
  }

  .panos-product__summary-inner {
    min-height: 0;
    padding: 20px 0 28px 36px;
  }

  .panos-product__summary-content {
    gap: 22px;
  }

  .panos-product__title {
    font-size: clamp(42px, 4.2vw, 56px);
  }

  .panos-product__copy,
  .panos-product__price,
  .panos-product__dimension {
    gap: 14px;
  }

  .panos-product__description {
    font-size: 14px;
    line-height: 1.35;
  }

  .panos-product__price ins {
    font-size: 36px;
  }

  .panos-product-lightbox {
    top: 110px;
  }

  .panos-product-lightbox__stage {
    min-height: calc(100dvh - 110px);
    padding: 48px 40px 64px;
  }

  /* Services / offers heroes */
  .services-hero__band,
  .offers-hero__band {
    min-height: 440px;
  }

  .offers-hero__image {
    min-height: 440px;
  }

  .services-hero__content,
  .offers-hero__content {
    width: auto;
    max-width: calc(100% - 72px);
    margin-left: 48px;
    gap: 28px;
  }

  .services-hero__content h1,
  .offers-hero__content h1 {
    font-size: clamp(48px, 5vw, 64px);
    letter-spacing: 0.06em;
  }

  .services-hero__image {
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 440px;
    background-size: cover;
    transform: scalex(-1) rotate(12deg);
  }

  .services-card {
    min-height: 460px;
    padding: 72px 28px 40px;
  }

  .services-contact__inner {
    padding: 48px 40px;
  }

  .services-contact h2 {
    margin-bottom: 32px;
    font-size: 36px;
  }

  /* Contact / blog / cart titles */
  .contact-hero {
    padding: 36px 0 48px;
  }

  .contact-hero__title,
  .blog-archive__title,
  .cart-hero__title {
    font-size: clamp(40px, 4.4vw, 56px);
    letter-spacing: 0.06em;
  }

  .blog-archive__title {
    padding: 24px 0 40px;
  }

  .blog-archive__grid {
    gap: 40px;
  }

  .blog-card {
    height: 380px;
  }

  .contact-panels {
    margin: 0 40px;
  }

  .contact-map {
    margin-left: 40px;
    margin-right: 40px;
  }

  .contact-form-section .container {
    margin-left: 40px;
    margin-right: 40px;
    width: auto;
  }

  .contact-panels__inner {
    padding: 48px 40px;
    max-width: none;
  }

  .contact-panels__heading {
    margin-bottom: 36px;
    font-size: 24px;
    letter-spacing: 0.6px;
    line-height: 1.15;
    white-space: normal;
  }

  .contact-form-box {
    padding: 48px 40px;
    gap: 36px;
  }

  .contact-form-box__title {
    font-size: 36px;
  }

  .shop-intro__grid {
    gap: 48px;
  }

  .contact-info-list__text,
  .contact-hours-list__day,
  .contact-hours-list__time {
    font-size: 16px;
  }

  .cart-hero {
    padding: 32px 0 40px;
  }

  .cart-layout,
  form.checkout-form {
    gap: 40px;
  }

  .account {
    padding-top: 40px;
  }

  .account__title {
    margin-bottom: 28px;
    font-size: 40px;
  }

  .account__details {
    gap: 56px;
  }

  .auth-section {
    min-height: 0;
  }

  .auth-section__left {
    padding: 48px 5vw 40px;
  }

  .single-post__hero {
    height: min(520px, 58svh);
  }

  /* Footer keeps desktop alignment instead of stacking too early. */
  .site-footer__main {
    grid-template-columns: minmax(280px, 34fr) minmax(0, 66fr);
    padding: 0px 0;
    align-items: start;
  }

  .site-footer__newsletter {
    gap: 64px;
    max-width: none;
    padding: 48px 0;
    padding-right: 48px;
    padding-bottom: 0;
    border-right: 1px solid var(--color-primary);
    border-bottom: 0;
  }

  .site-footer__logo {
    width: clamp(180px, 16vw, 260px);
  }

  .site-footer__form-group {
    gap: 36px;
  }

  .site-footer__form {
    gap: 18px;
  }

  .site-footer__form-title,
  .site-footer__field input,
  .site-footer__column h2 {
    font-size: 17px;
    letter-spacing: 0.45px;
  }

  .site-footer__field input {
    height: 38px;
  }

  .site-footer__field button {
    width: 28px;
    height: 28px;
    font-size: 20px;
  }

  .site-footer__form-note,
  .site-footer__links a,
  .site-footer__contact > a {
    font-size: 14px;
    letter-spacing: 0.35px;
    line-height: 1.35;
  }

  .site-footer__columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px;
    padding: 48px 0;
    padding-left: 64px;
  }

  .site-footer__column h2 {
    margin-bottom: 52px;
  }

  .site-footer__links {
    gap: 26px;
  }

  .site-footer__column:nth-child(2) .site-footer__links {
    gap: 20px;
  }

  .site-footer__contact > a + a {
    margin-top: 26px;
  }

  .site-footer__socials {
    gap: 18px;
    margin-top: 64px;
  }

  .site-footer__socials a,
  .site-footer__socials img {
    width: 24px;
    height: 24px;
  }

  .site-footer__bottom {
    min-height: 42px;
  }

  .site-footer__bottom p {
    font-size: 14px;
  }
}

/* Short laptop height: 1280×720, 1366 with taskbar/chrome (~650–740). */
@media (min-width: 992px) and (max-width: 1366px) and (max-height: 740px) {
  :root {
    --header-h-desktop: 104px;
  }

  body {
    padding-top: 104px;
  }

  .home,
  body.tax-product_cat,
  body.woocommerce-shop,
  body:has(.about-hero),
  body:has(.projects-hero),
  body:has(.blog-post-hero) {
    padding-top: 0;
  }

  .top-bar {
    height: 34px;
  }

  .site-nav__inner {
    height: 70px;
  }

  .site-nav__logo {
    flex-basis: 220px;
    width: 220px;
    height: 52px;
  }

  .site-nav__links,
  .site-nav__icons {
    gap: 26px;
  }

  .site-nav__links a,
  .site-nav__products-btn,
  .site-nav__links a[href$="/offers/"]::after,
  .site-nav__links a[href$="/about-us/"]::after,
  .site-nav__products-btn::after {
    font-size: 12px;
    letter-spacing: 0.33px;
  }

  .top-bar__signin,
  .top-bar__language,
  .top-bar__phone,
  .top-bar__center {
    font-size: 11px;
    letter-spacing: 0.33px;
  }

  .home .hero-slide__inner {
    padding-top: 96px;
    padding-bottom: 20px;
  }

  .home .hero-slide__content {
    max-width: 360px;
    gap: 12px;
  }

  .home .hero-slide__info,
  .home .hero-slide__pricing {
    gap: 8px;
  }

  .home .hero-slide__type,
  .home .hero-slide__from {
    font-size: 13px;
    letter-spacing: 0.39px;
  }

  .home .hero-slide__name {
    font-size: 52px;
  }

  .home .hero-slide__strike {
    font-size: 18px;
  }

  .home .hero-slide__price {
    font-size: 26px;
  }

  .home .hero-slide__desc {
    max-width: 340px;
    font-size: 13px;
    line-height: 1.3;
  }

  .home .hero-slide__content .btn-primary-full {
    width: 250px;
    max-width: 250px;
    height: 36px;
    font-size: 12px;
    letter-spacing: 1.1px;
  }

  .home .hero-slide__sidebar {
    padding-top: 20px;
  }

  .home .hero-slide__num {
    font-size: 18px;
    letter-spacing: 0.54px;
  }

  .home .hero-slide__progress {
    height: 42vh;
  }

  .home .hero-slide__next {
    width: 160px;
    height: 96px;
  }

  .home .hero-slide__next-label {
    font-size: 14px;
    letter-spacing: 0.42px;
  }

  .home .hero-dots-area,
  .home .hero-slider .slick-dots {
    bottom: 12px;
  }

  .shop-hero__title {
    margin-top: 24px;
    font-size: clamp(40px, 4vw, 52px);
  }

  .projects-hero__title,
  .project-single__title {
    font-size: clamp(48px, 5.6vw, 72px);
    letter-spacing: 0.14em;
  }

  .projects-hero__inner,
  .project-single__hero-inner,
  .about-hero__inner {
    padding-top: 128px;
  }

  .shop-child-card {
    min-height: 280px;
    padding: 32px 28px;
  }

  .pg-card--large .pg-card__img-wrap {
    height: 380px;
    max-height: 380px;
  }

  .pg-card--small .pg-card__img-wrap {
    height: 250px;
    max-height: 250px;
  }

  .panos-product__summary,
  .panos-product-lightbox {
    top: 104px;
  }

  .panos-product__main-image {
    height: min(620px, calc(100svh - 118px));
  }

  .panos-product-lightbox__stage {
    min-height: calc(100dvh - 104px);
    padding: 32px 32px 48px;
  }

  .panos-product__summary-inner {
    padding: 12px 0 16px 28px;
  }

  .panos-product__summary-content {
    gap: 12px;
  }

  .panos-product__title {
    font-size: 40px;
  }

  .panos-product__copy,
  .panos-product__price,
  .panos-product__dimension {
    gap: 8px;
  }

  .panos-product__description {
    font-size: 13px;
    line-height: 1.3;
  }

  .panos-product__price ins {
    font-size: 28px;
  }

  .services-breadcrumb,
  .offers-breadcrumb {
    height: 56px;
  }

  .services-hero__band,
  .offers-hero__band,
  .offers-hero__image,
  .services-hero__image {
    min-height: 340px;
  }

  .services-hero__content,
  .offers-hero__content {
    gap: 16px;
    margin-left: 40px;
  }

  .services-hero__content h1,
  .offers-hero__content h1 {
    font-size: 44px;
    letter-spacing: 0.04em;
  }

  .services-card {
    min-height: 380px;
    padding: 48px 24px 32px;
  }

  .contact-hero {
    padding: 16px 0 24px;
  }

  .contact-hero__title,
  .blog-archive__title,
  .cart-hero__title {
    font-size: 40px;
  }

  .blog-archive__title {
    padding: 12px 0 20px;
  }

  .blog-card {
    height: 280px;
  }

  .contact-panels__panel {
    min-height: 0;
  }

  .contact-panels__inner {
    padding: 28px 28px 36px;
  }

  .contact-panels__heading {
    margin-bottom: 20px;
    font-size: 20px;
  }

  .contact-info-list,
  .contact-hours-list {
    gap: 16px;
  }

  .auth-section__left {
    padding: 24px 5vw 28px;
  }

  .account {
    padding-top: 24px;
  }

  .account__title {
    margin-bottom: 16px;
    font-size: 32px;
  }

  .single-post__hero {
    height: min(420px, 52svh);
  }

  .site-footer__main {
    grid-template-columns: minmax(250px, 34fr) minmax(0, 66fr);
    padding: 36px 0;
  }

  .site-footer__newsletter {
    gap: 40px;
    padding-right: 36px;
  }

  .site-footer__logo {
    width: clamp(160px, 14vw, 210px);
  }

  .site-footer__form-group {
    gap: 24px;
  }

  .site-footer__form {
    gap: 12px;
  }

  .site-footer__form-title,
  .site-footer__field input,
  .site-footer__column h2 {
    font-size: 15px;
    letter-spacing: 0.35px;
  }

  .site-footer__field input {
    height: 32px;
  }

  .site-footer__field button {
    width: 24px;
    height: 24px;
    font-size: 18px;
  }

  .site-footer__form-note,
  .site-footer__links a,
  .site-footer__contact > a {
    font-size: 13px;
    letter-spacing: 0.25px;
    line-height: 1.3;
  }

  .site-footer__columns {
    gap: 36px;
    padding-left: 44px;
  }

  .site-footer__column h2 {
    margin-bottom: 32px;
  }

  .site-footer__links,
  .site-footer__column:nth-child(2) .site-footer__links {
    gap: 14px;
  }

  .site-footer__contact > a + a {
    margin-top: 16px;
  }

  .site-footer__socials {
    gap: 12px;
    margin-top: 34px;
  }

  .site-footer__socials a,
  .site-footer__socials img {
    width: 20px;
    height: 20px;
  }

  .site-footer__bottom {
    min-height: 36px;
  }

  .site-footer__bottom p {
    font-size: 12px;
  }
}
