:root {
  --color-bg: #ffffff;
  --main-text: #22272f;
  --main-accent: #028d6a;
  --button-bg: #f0ebe4;
}
@media (min-width: 300px) and (max-width: 767px) {
  body.sidebar-open {
    overflow: hidden;
  }
  .layout-container {
    display: flex;
    padding: 65px 10px 15px;
    margin: 0;
    width: 100%;
  }
  .layout-content {
    padding: 0;
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: repeat(1, 1fr);
    text-align: center;
    gap: 5px;
  }
  .footer-text {
    font-size: 14px;
  }
  .footer-col ul li a {
    font-size: 14px;
  }
  .footer-bottom {
    text-align: center;
  }
  .footer-col ul li {
    margin-bottom: 0;
  }
  .num-list a {
    font-size: 16px;
  }
  /*.site-header {
        left: 0;
        right: 0;
    }*/
  .nav-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 10px;
    margin: 0;
    height: 50px;
  }
  .nav-logo {
    position: static;
    left: auto;
    transform: none;
    margin: 0;
  }
  .nav-left {
    gap: 5px;
    display: none;
  }
  .logo-text {
    font-size: 18px;
    margin: 0;
  }
  .nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
  }
  .burger {
    display: block;
    text-align: end;
    z-index: 9999;
    font-size: 30px;
  }
  .icon-list {
    width: 25px;
  }
  .sidebar-nav {
    position: fixed;
    display: flex;
    padding: 20px 15px 30px;
    top: 50px;
    left: 50%;
    justify-content: center;
    transform: translateX(-50%);
    width: calc(100% - 5px);
    background: #fff;
    box-sizing: border-box;
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
  }
  .sidebar-nav.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
    text-align: center;
    border: 0.5px solid var(--main-text);
  }
  .mobile-menu__list--top a {
    font-size: 16px;
    font-family: "Clash Display", "Wix Madefor Display";
  }
  .mobile-menu__list--top {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    margin: 0;
    padding-bottom: 10px;
    list-style: none;
    text-transform: uppercase;
  }
  .mobile-menu__list--top .mobile-menu__item {
    margin: 0;
  }
  .mobile-menu__list {
    list-style: none;
    padding: 20px 0 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: start;
  }
  .mobile-menu__item a {
    font-size: 13px;
    display: block;
    border-radius: 12px;
    color: var(--main-text);
    position: relative;
    transition: all 0.2s ease;
    font-family: "Space Grotesk", "Manrope";
  }
  .mobile-menu__item a:hover,
  .mobile-menu__item.is-active a {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--main-accent);
    color: var(--main-accent);
    font-weight: 400;
  }
  .site-footer {
    padding: 10px 0;
    margin: 0;
  }
  .homepage {
    flex-direction: column;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  .hero-content {
    gap: 30px;
    padding: 30px 10px 30px;
    margin: 0;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
    margin: 0 auto;
  }
  .hero-photo {
    width: 100%;
    max-height: 380px;
  }
  .breed-marquee {
    -webkit-mask-image: none;
    mask-image: none;
    padding: 14px 0;
    font-size: 12px;
  }
  .breed-marquee__item {
    letter-spacing: 0.02em;
  }
  .breed-marquee__author {
    font-weight: 400;
  }
  .hero-left {
    max-width: 100%;
    align-items: center;
    margin: 0 auto;
    gap: 15px;
  }
  .homepage-title-1 {
    margin: 0;
    padding: 0;
    font-size: 60px;
    text-align: center;
  }
  .footer-col h4 {
    font-size: 15px;
  }
  .homepage-subtitle {
    padding: 0 10px;
    font-size: 23px;
    font-weight: 600;
    text-align: center;
  }
  .homepage-subsubtitle {
    font-size: 14px;
    text-align: center;
    margin: 10px auto 0;
  }
  .homepage-search-block {
    flex-direction: column;
    align-items: center;
  }
  .homepage select {
    width: 230px;
    font-size: 16px;
    color: var(--main-text);
    padding: 10px 15px;
    height: 50px;
    text-align: center;
    align-items: center;
    justify-content: center;
  }
  .hero-right .homepage-search-block {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hero-right {
    order: -1;
  }
  .home-text-block {
    min-height: 180px;
    padding-bottom: 5px;
    margin-bottom: 5px;
    padding-top: 0;
    justify-content: flex-end;
  }
  .home-text-block-title {
    font-size: 25px;
  }
  .wave {
    height: 100%;
  }
  .section-title {
    font-size: 20px;
    margin: 0;
    padding: 10px 0;
    line-height: 1.4;
  }

  .section-title-group {
    margin: 0 auto;
  }

  .catalog-structure {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .group-row {
    grid-template-columns: 1fr;
    gap: 0;
    height: auto;
    padding: 0;
    border-radius: 12px;
  }
  .group-sections {
    padding: 16px 18px;
    gap: 10px;
    height: 210px;
  }

  .group-desc {
    -webkit-line-clamp: 3;
  }

  .guide-card {
    padding: 16px 18px;
    gap: 10px;
    height: 100%;
  }

  .group-dogs li {
    font-size: 15px;
  }
  .groups-link {
    font-size: 16px;
    text-align: left;
  }
  .dog-groups {
    width: 100%;
    margin-top: 20px;
    gap: 0;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }

  .group-more,
  .guide-more {
    margin-top: 10px;
  }

  .group-item {
    padding: 10px;
    text-align: center;
  }
  .group-title {
    margin: 3px 0;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    padding: 10px 14px 10px 0;
    width: 100%;
    font-size: 16px;
    text-align: center;
  }
  .slider-inner {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
    padding: 0;
  }
  .homepage .slider-inner {
    width: 100%;
    margin: 0 auto;
  }
  .homepage .slider-block {
    padding: 0 10px 30px;
  }
  .post-container .slider-wrapper,
  .layout-content .slider-wrapper {
    display: none;
  }
  .dog-slider {
    width: 100%;
    margin: 10px 0 0;
  }
  .dog-card-link.is-active {
    transform: scale(1);
    opacity: 1;
    z-index: 2;
  }
  .dog-card-link {
    display: flex;
    justify-content: center;
  }
  .dog-slider .dog-card-link {
    scroll-snap-align: center;
    background-image: radial-gradient(#999 0.8px, transparent 0.8px);
    flex: 0 0 100%;
  }
  .dog-slider.single-card {
    justify-content: center;
  }
  .dog-slider-track {
    gap: 20px;
  }
  .dog-card {
    width: 100%;
    max-width: 330px;
    height: 410px;
  }
  .dog-card__image {
  }
  .dog-card__title {
    font-size: 21px;
  }
  .dog-card__section {
    font-size: 12px;
  }
  .post-container {
    padding: 0;
    text-align: justify;
  }
  .breadcrumbs-wrapper {
    font-size: 16px;
    padding: 0;
    margin: 0 0 5px 0;
    flex-direction: column;
    align-items: start;
    gap: 15px;
  }
  .desktop-text {
    display: none;
  }
  .mobile-text {
    display: inline;
  }
  .post-header {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin: 0 0 10px;
  }
  .post-title {
    font-size: 28px;
    line-height: 1.3;
    text-align: center;
    margin: 5px auto 10px;
    width: fit-content;
  }
  .post-title-cat {
    font-size: 28px;
    line-height: 1.3;
    text-align: center;
    margin: 10px 0;
  }
  .post-navigation i,
  .btn-back i {
    top: 0;
  }
  .post-media {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 65px 0 20px;
    margin: 10px 0;
    background-image: none;
    background-position:
      right 5% top 65%,
      right 35% top 50%,
      right 0 top 40%;
    background-size: 45px, 45px, 50px;
    background-repeat: no-repeat;
  }
  .post-media::before,
  .slider-inner::before {
    height: 40px;
  }
  .post-media::after,
  .slider-inner::after {
    width: 14px;
    height: 14px;
  }
  .post-media-nav {
    left: 0;
    top: 0;
    right: 0;
    width: auto;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  .post-media-arrow {
    font-size: 13px;
    text-align: center;
    min-width: 0;
    max-width: 50%;
    white-space: nowrap;
    flex: 0 1 auto;
  }
  .post-media-arrow span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    max-width: 100%;
  }
  .character-tags {
    width: 100%;
    text-align: center;
  }
  .img-enlarge-hint {
    right: 5px;
    font-size: 9px;
  }
  .main-img-viewport {
    width: 100%;
    height: auto;
  }
  .post-text-cols {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .main-img-arrow {
    border: 0px solid var(--main-text);
  }

  .main-img-arrow.next {
    right: 6px;
    left: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    font-size: 24px;
    color: #1c2b27;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.2);
    width: 35px;
    height: 35px;
    z-index: 20;
  }
  .main-img-arrow.prev {
    left: 6px;
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    font-size: 24px;
    color: #1c2b27;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.2);
    width: 35px;
    height: 35px;
    z-index: 20;
  }
  .post-main-image {
    width: 100%;
    margin: 0 auto;
    height: auto;
  }
  .post-image {
    width: 100%;
    margin: 0;
    height: 400px;
    object-fit: cover;
    cursor: pointer;
  }
  .post-main-image::after {
    top: -50px;
    left: -30px;
  }
  .post-photo-author {
    position: static;
    width: 100%;
    margin: 8px 0 0;
    padding: 0;
    font-size: 10px;
    color: #8a8a8a;
    background: none;
    text-align: center;
    border-radius: 0;
  }
  .param-info:hover .param-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-90%) translateY(-2px);
  }
  .photo-author {
    font-size: 14px;
    margin-top: 5px;
  }
  #modal-author {
    font-size: 14px;
  }
  .post-right {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 0;
    gap: 5px;
    width: 100%;
  }
  .images-rule {
    margin: 0 0 15px;
    font-size: 10px;
    color: gray;
    line-height: 1.2;
  }
  .modal-arrow.prev,
  .modal-arrow.next {
    top: 50%;
  }
  .breed-tag {
    padding: 0 0 10px;
    font-size: 16px;
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .post-params-grid {
    gap: 5px 10px;
    grid-template-columns: 1fr 1fr;
    padding-top: 10px;
  }
  .param-card {
    padding: 5px 0;
    gap: 2px;
  }
  .param-card strong {
    font-size: 15px;
    width: fit-content;
    padding: 4px 10px 4px 0;
    letter-spacing: 0.04em;
    font-weight: 400;
    text-align: start;
  }
  .param-card span {
    font-size: 13px;
  }
  .param-title {
    gap: 5px;
  }
  .mini-gallery {
    display: none;
  }
  .gallery-image {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border: 1.5px solid #1c2b27;
  }
  .post-text,
  .post-text-explore {
    font-size: 14px;
    line-height: 1.8;
    text-align: justify;
  }
  .post-text strong {
    font-size: 16px;
  }

  .compare-section {
    margin: 40px 0;
  }
  .compare-table th,
  .compare-table td {
    line-height: 1.3;
    font-size: 13px;
    padding: 4px;
  }
  .compare-breed-head {
    height: 100%;
  }
  .compare-controls {
    flex-direction: column;
    gap: 2px;
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: none;
    padding: 0 0 12px;
  }
  .compare-wrap {
    padding: 14px 10px 16px;
  }
  .custom-select {
    width: 100%;
  }
  .custom-select-trigger {
    width: 100%;
    min-width: 0;
    max-width: none;
    justify-content: center;
  }
  .homepage .custom-select-trigger {
    width: 270px;
    max-width: none;
  }
  .custom-select-list {
    width: 100%;
    left: 0;
    transform: none;
  }
  .current-post-dog {
    font-size: 18px;
  }
  .compare-table {
    margin: 5px auto;
    padding: 50px 0 20px;
  }
  .compare-table .header-row th {
    font-size: 13px;
    vertical-align: top;
  }
  .compare-breed-link {
    font-size: 16px;
  }
  .value-row td {
    padding: 5px 3px;
  }
  .value-a,
  .value-b {
    border-radius: 0;
  }
  .compare-table-header {
    margin-bottom: 0;
  }
  .compare-close-btn {
    width: 30px;
    height: 30px;
    top: 10px;
    right: 10px;
  }
  .compare-select {
    color: var(--main-text);
    padding: 0 35px 0 10px;
    font-size: 16px;
  }
  .compare-table {
    display: block;
    table-layout: auto;
    border-spacing: 0;
  }
  .compare-table .header-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
  }
  .compare-table .header-row th:first-child {
    display: none;
  }
  .compare-table .value-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
  }
  .compare-table .value-row .param-name {
    grid-column: 1 / -1;
    width: 100%;
    padding: 2px 0 0;
  }
  .compare-table th:nth-child(2),
  .compare-table td:nth-child(2),
  .compare-table th:nth-child(3),
  .compare-table td:nth-child(3) {
    width: 100%;
  }
  .guides-list {
    grid-template-columns: repeat(1, 1fr);
  }
  .guide-title {
    font-size: 18px;
  }
  .policy-container {
    font-size: 16px;
  }
  .bulleted-list li {
    font-size: 16px;
  }
  .cat-desc {
    text-align: justify;
  }
  .form-check-wrapper {
    width: 100%;
  }
  .hero-inner-contact {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-right-contact {
    border: none;
  }
  .contact-list li {
    font-size: 16px;
    letter-spacing: 0.1px;
  }
  .policy-container form p,
  .form-check-wrapper {
    width: 100%;
  }
  #btn-custom {
    margin: 0 0 10px;
  }
  .slider-next,
  .slider-prev {
    color: #1c2b27;
    font-size: 18px;
  }

  .category-chip {
    height: 42px;
  }
  .category-chip:hover,
  .category-chip.active {
    -webkit-text-stroke: 0.5px #1c2b27;
  }
  p {
    font-size: 16px;
    padding: 0;
    line-height: 1.8;
    margin: 10px 0;
  }
  h2 {
    font-size: 20px;
  }
  .num-list {
    grid-template-columns: 1fr;
  }
  .updated {
    padding-top: 10px;
  }
  .dog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }
  .modal-content {
    max-height: 550px;
    width: 100%;
  }
  #modal-img {
    background-image: radial-gradient(#525252 0.8px, transparent 0.8px);
    background-size: 6px 6px;
  }
  #theme-switch__icon {
    font-size: 1.8rem;
  }
  .nav-2 {
    display: block;
  }
  #scroll-top-button {
    right: 8px;
    padding: 5px 10px;
    bottom: 8px;
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
  }
  .close {
    font-size: 21px;
    top: 1px;
    right: 10px;
  }
  .modal-arrow {
    display: none !important;
  }
}

@media (min-width: 300px) and (max-width: 767px) {
  /* Mobile language switch: full names don't fit — short en/ru */
  .lang-form-desktop {
    display: none;
  }
  .lang-form-mobile {
    display: inline-block;
  }
  .lang-select-mobile {
    font-size: 12px;
    padding: 5px 26px 5px 10px;
    letter-spacing: 0.4px;
  }
  /* Slider on mobile: arrows at the sides, pagination below the slider */
  .slider-nav {
    gap: 10px;
  }
  .slider-arrow {
    width: 30px;
    height: 30px;
  }
  .slider-pagination {
    margin-top: 6px;
    font-size: 10px;
  }
  .dog-slider {
    touch-action: pan-y;
  }
}

@media (min-width: 300px) and (max-width: 767px) {
  /* Breadcrumbs on mobile: first and last crumbs fully,
       middle — ellipsis */
  .breadcrumbs {
    display: flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    flex-wrap: wrap;
  }

  .breadcrumbs a {
    flex-shrink: 0;
  }

  .breadcrumbs .current {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  /* Group page: long names truncate at the right edge,
       short ones stay whole */
  .group-breadcrumbs,
  .group-breadcrumbs .breadcrumbs {
    flex-wrap: nowrap;
  }

  .group-breadcrumbs .current {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (min-width: 768px) and (max-width: 912px) {
  /* The select dropdown opens downward as usual, but must sit
       above the photo. .hero-inner > * gives both columns z-index:2,
       and the photo comes later in DOM and used to cover the list
       (9999 works only within its own column). Raise the selects
       column above the photo. */
  .hero-left {
    z-index: 3;
  }

  .footer-grid {
    margin: 40px 20px 40px;
  }

  .lang-select {
    font-size: 10px;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
  }

  .guide-card {
    height: 190px;
  }

  .post-title-cat {
    margin: 20px 0;
  }

  .post-text-cols {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }

  .nav-left-list li a {
    padding: 0 2px;
    font-size: 11px;
  }

  .homepage select,
  .compare-select {
    color: var(--main-text);
  }

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

  .post-media {
    padding: 90px 0 0;
  }

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

  .hero-content {
    padding: 20px 40px 70px;
  }

  .hero-left {
    gap: 50px;
  }

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

  .hero-photo {
    max-height: 700px;
  }

  .homepage-title-1 {
    font-size: 100px;
    text-align: center;
  }

  .homepage-search-block {
    justify-content: center;
  }

  .homepage-subtitle {
    margin: 0 auto;
  }

  .homepage-subsubtitle {
    margin: 0 auto;
  }

  .homepage .slider-inner {
    width: 100%;
    margin: 0;
  }

  /*
    .layout-content {
        padding: 15px 20px 100px;
        width: 768px;
    }
*/

  .post-main-image {
    margin: 0 auto;
  }

  .post-image {
    margin: 0;
    width: 100%;
  }

  .character-tags {
    width: 100%;
    text-align: center;
  }

  .main-img-arrow.prev {
    left: -70px;
    right: auto;

    bottom: auto;
    transform: translateY(-50%);
  }

  .main-img-arrow.next {
    right: -70px;
    left: auto;

    bottom: auto;
    transform: translateY(-50%);
  }

  .post-title,
  .breed-tag {
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    justify-content: center;
  }

  .breed-tag {
    text-align: center;
    width: 100%;
    justify-content: center;
  }

  .post-right {
    width: 100%;
  }

  .post-photo-author {
    padding-top: 10px;
  }

  .nav-main {
    padding: 5px 10px;
  }

  .post-media {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .post-params-grid {
    padding-left: 10px;
    padding-top: 10px;
  }

  .dog-groups,
  .catalog-structure,
  .guides-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .dog-card {
    width: 300px;
  }

  .dog-card__title {
    font-size: 20px;
  }

  .dog-card__image {
    width: 100%;
    height: 300px;
  }

  .dog-slider {
    width: 100%;
    justify-content: center;
    gap: 18px;
    overflow: hidden;
  }

  .dog-slider-track {
    gap: 18px;
  }

  .dog-slider .dog-card-link {
    flex: 0 0 270px;
    width: 270px;
  }

  .slider-inner {
    width: 100%;
    padding: 10px 0px 20px;
  }
  .homepage .slider-inner {
    width: 100%;
    margin: 0 auto;
  }
  .slider-arrow {
    width: 36px;
    height: 36px;
  }

  .homepage {
    padding: 0 20px;
  }
}

@media (min-width: 913px) and (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-left {
    gap: 30px;
  }

  .hero-photo {
    max-height: 650px;
  }

  .homepage-title-1 {
    font-size: 110px;
    text-align: center;
  }

  .homepage-search-block {
    justify-content: center;
  }

  .hero-block-1 {
    min-height: calc(95vh);
    padding-top: 100px;
  }

  .group-title {
    margin: 3px 0;
    border-top: 0;
    border-left: 0;
    border-right: 0;
  }

  .homepage-subtitle {
    max-width: 100%;
  }

  .homepage-subsubtitle {
    max-width: 700px;
    margin: 0 auto;
  }

  .homepage select {
    color: var(--main-text);
  }

  .hero-block {
    min-height: calc(60vh - 10px);
  }

  .hero-content {
    padding: 20px 40px 60px;
  }

  .layout-container {
    padding: 15px 20px 25px;
    width: 100%;
    margin: 60px auto 0;
  }

  .nav-left-list {
    gap: 0;
  }

  .post-header {
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0;
  }

  .post-media {
    display: flex;
    flex-direction: column;
    padding: 100px 0 0;
    margin: 10px 0 30px;
    gap: 30px;
  }

  .post-main-image,
  .post-image {
    margin: 0 auto;
  }

  .post-params-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    padding-top: 20px;
  }

  .mini-gallery {
    display: none;
  }

  .character-tags {
    margin: 0 auto;
  }

  .dog-card {
    height: 360px;
  }

  .dog-card__image {
    height: 270px;
  }

  .groups-link {
    text-align: left;
  }

  p {
    font-size: 16px;
  }

  .slider-inner {
    margin: 0;
    padding: 50px 0 20px;
  }

  .dog-slider {
    gap: 15px;
    scroll-snap-type: x proximity;
  }

  .dog-slider .dog-card-link {
    flex: 0 0 calc((100% - 36px) / 3);
  }

  .dog-card__title {
    font-size: 20px;
  }

  .compare-select {
    padding: 0 0 0 10px;
    text-align: center;
    color: var(--main-text);
    font-size: 14px;
  }

  .post-navigation i,
  .btn-back i {
    top: 0;
  }

  .post-title,
  .post-title-cat {
    font-size: 30px;
    margin: 20px 0;
  }

  .post-title {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .param-card {
    padding: 5px 20px 5px 0;
  }

  .breed-tag {
    padding: 6px 0;
    font-size: 22px;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .post-right {
    gap: 0;
    width: 100%;
  }

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

  .images-rule {
    font-size: 11px;
    margin: 10px 0 0;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(7px);
  }

  .close {
    font-size: 21px;
  }

  .guides-list,
  .catalog-structure {
    grid-template-columns: repeat(3, 1fr);
  }

  .breed-tag,
  .section-title {
    font-size: 20px;
    margin: 10px auto 0;
  }

  .layout-content .dog-slider::after,
  .dog-slider::after {
    height: 317px;
    width: 90px;
  }

  .sidebar-nav.active {
    top: 85px;
  }

  .footer-grid {
    margin: 40px 20px;
  }

  .guides-list,
  .catalog-structure {
    gap: 20px;
  }

  .param-card strong {
    font-size: 16px;
  }

  .param-name {
    font-size: 15px;
  }

  .num-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  #btn-custom {
    font-weight: 300;
  }

  .nav-main {
    padding: 5px;
  }

  .main-img-arrow {
    font-size: 35px;
  }

  .main-img-arrow.next {
    right: -80px;
    left: auto;
    bottom: auto;
    transform: translateY(-50%);
  }

  .main-img-arrow.prev {
    left: -80px;
    right: auto;
    bottom: auto;
    transform: translateY(-50%);
  }

  .layout-content {
    padding: 0;
    width: 100%;
  }

  .hero-inner {
    margin: 0 auto;
  }

  .home-text-block {
    justify-content: flex-end;
    min-height: 150px;
  }

  .dog-slider-track {
    gap: 30px;
  }
}

/* ==========================================================================
   EXPERIMENT 2026 (mobile part): moved from styles.css
   @media (max-width: 767px) => phone block 300-767px. Revert: delete block.
   ========================================================================== */
@media (min-width: 300px) and (max-width: 767px) {
  .nav-main {
    height: 54px;
    padding: 5px 16px;
  }

  .nav-left-list li a {
    font-size: 11.5px;
    letter-spacing: 0.06em;
    padding: 0 6px;
  }

  .logo-text {
    font-size: 22px;
  }
}
/* === END EXPERIMENT 2026 (mobile part) === */
