/**
 * Responsive Styles — Landmann
 * Consolidated: responsive.css + catalog-cards.css
 * Breakpoints: 1600, 1366, 1199, 992, 768, 480, 375
 * Approach: max-width (desktop-first)
 *
 * Updated: 2026-02-24
 */

/* ========== 1600px — Large Desktop ========== */
@media screen and (max-width: 1600px) {
  :root {
    --hero-height: 480px;
    --hero-aspect-ratio: 21 / 8;
  }

  .wrapper {
    max-width: 90%;
  }

  .miniWrapper {
    max-width: 60%;
  }

  .heroAdsTop::after {
    bottom: -40%;
    right: -30%;
  }

  .footerBox {
    gap: 48px;
  }
}

/* ========== 1366px — Small Laptop ========== */
@media screen and (max-width: 1366px) {
  :root {
    --catalog-price-size: 26px;
    --catalog-price-old-size: 16px;
  }

  .footerMenu {
    flex-wrap: wrap;
    gap: 20px;
  }

  .footerMenu ul {
    gap: 20px;
    flex-wrap: wrap;
  }

  .productTitle {
    font-size: 1.5rem;
    text-transform: none;
  }

  .productCart {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
  }

  .aboutItem {
    width: calc(33.333% - 45px);
  }

  /* catalog-cards: 1366 */
  .catalogBox {
    row-gap: 168px;
  }

  .woocommerce-shop .site-main.catalogBox {
    row-gap: 64px;
  }

  .catalogItem {
    width: calc(50% - 12px);
    min-width: 144px;
  }
}

/* ========== 1199px — Tablet Landscape ========== */
@media screen and (max-width: 1199px) {
  :root {
    --hero-slider-width: 100%;
    --hero-ads-width: 100%;
  }
  .heroGrid {
    grid-template-columns: 1fr; /* single column on tablet */
  }

  .productOverview {
    flex-direction: column;
  }

  .productImage {
    width: 100%;
    padding: 24px;
    border-radius: 0;
  }

  .productImage > img {
    height: auto;
    max-height: 400px;
  }

  .productSpecification {
    align-items: flex-start;
    gap: 100px;
  }

  .productSubbuy {
    width: calc(40% - 50px);
  }

  /* Hero секция */
  .heroGrid {
    flex-direction: column;
  }

  

  .heroAds {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  /* Отключаем Swiper для heroAds - показываем все слайды в ряд */
  .heroAds.adsSlider {
    overflow: visible;
  }

  .heroAds.adsSlider .swiper-wrapper {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    transform: none !important;
  }

  .heroAds.adsSlider .swiper-slide {
    flex: 1;
    min-height: 280px;
    max-height: none;
    aspect-ratio: auto;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
  }

  .heroAdsTop,
  .heroAdsBot {
    min-height: 280px;
  }

  

  .heroAdsDecor {
    width: 220px;
    height: 220px;
    top: auto;
    bottom: -50px;
    right: -50px;
  }

  /* Скрываем пагинацию adsSlider - все слайды видны */
  .heroAds.adsSlider .swiper-pagination {
    display: none;
  }

  

  

  .headerCatalog {
    gap: 8px;
    padding: 16px;
    font-size: 0.875rem;
    min-height: 56px;
  }

  .aboutTeam {
    flex-direction: column;
  }

  .aboutMission {
    width: 100%;
    margin-right: 0;
  }

  .aboutMission > img {
    height: 470px;
    width: 100%;
    object-fit: cover;
  }

  .aboutEmployees {
    margin-top: 0;
  }

  .aboutAds::after {
    width: 100%;
    background-size: contain;
  }

  .aboutAdsIntro {
    max-width: 75%;
  }

  .catalogFilter,
  .catalogBoxPage {
    width: 100%;
  }

  .catalogPluginFilter {
    width: 100%;
  }

  #fe-catalog {
    width: 100%;
  }

  .catalogContainer {
    flex-direction: column;
  }

  .bestBox {
    flex-wrap: wrap;
  }

  .bestItem {
    flex-grow: 1;
  }

  /* catalog-cards: 1199 */
  .catalogBox {
    justify-content: center;
  }

  .related.products .catalogBoxPage .catalogItemPage {
    width: calc(50% - 30px);
  }
}

/* ========== 992px — Tablet Portrait ========== */
@media screen and (max-width: 992px) {
  :root {
    --catalog-price-size: 22px;
    --catalog-price-old-size: 14px;
    --hero-slider-width: 100%;
    --hero-ads-width: 100%;
  }

  .swiper-wrapper {
    height: auto;
  }

  .recommendSlider .swiper-wrapper,
  .promoSlider .swiper-wrapper {
    padding: 0;
  }

  .catalog .promoSlider,
  .catalog .recommendSlider {
    padding-top: 40px;
  }

  .swiper-pagination-bullet {
    width: 99px;
    min-width: var(--touch-target-min, 44px);
    margin: 0;
  }

  .heroGrid {
    flex-direction: column;
  }

  

  .heroAds {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }

  /* Отключаем Swiper для heroAds на планшете */
  .heroAds.adsSlider {
    overflow: visible;
  }

  .heroAds.adsSlider .swiper-wrapper {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    transform: none !important;
  }

  .heroAds.adsSlider .swiper-slide {
    flex: 1;
    min-height: 250px;
    max-height: none;
    aspect-ratio: auto;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
  }

  .heroAdsTop,
  .heroAdsBot {
    min-height: 250px;
  }

  

  .heroAdsDecor {
    width: 200px;
    height: 200px;
    top: auto;
    bottom: -40px;
    right: -40px;
  }

  .headerLogo div {
    line-height: 0;
  }

  .headerLogo div:first-child svg {
    max-width: 103px;
  }

  .headerLogo div:last-child svg {
    max-width: 72px;
  }

  .headerBot {
    flex-direction: row-reverse;
  }

  .headerContacts {
    gap: 8px;
  }

  .headerContacts div {
    align-items: center;
    font-size: 0.875rem;
    line-height: 100%;
  }

  .headerContacts a.headerLogin {
    display: none;
  }

  .headerCatalog {
    gap: 8px;
    padding: 16px 24px;
    font-size: 0.875rem;
    line-height: 100%;
    min-height: 56px;
  }

  .headerBtnFilter,
  .headerBtnReg,
  .headerMobileSearch {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-main);
    padding: 16px;
    border-radius: 50%;
    width: 57px;
    height: 57px;
  }

  .headerBtnsGroup {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .headerFilter {
    z-index: 10;
    position: fixed;
    top: 20%;
    left: 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    background: var(--color-bg-main, #10111e);
    width: 100%;
    height: 100%;
    padding: 32px;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease, background-color 0.3s ease;
  }

  .headerFilter.active {
    opacity: 1;
    visibility: visible;
  }

  .headerFilter.active button {
    width: 100%;
  }

  .headerFilter select {
    width: 100%;
    flex: unset;
  }

  .headerFilter form {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
  }

  .headerFilter form .select-wrapper {
    width: 100%;
  }

  .headerFilterSub {
    display: flex;
  }

  .headerFilterSub span {
    font-size: 1.25rem;
    line-height: 100%;
  }

  

  

  

  .heroAdsTop {
    overflow: hidden;
  }

  .heroAdsTop h3 {
    font-size: 1.5rem;
    line-height: 150%;
  }

  .heroAdsTop p {
    font-size: 1rem;
    line-height: 150%;
    max-width: 244px;
  }

  .heroAdsTop::after {
    width: 241px;
    bottom: -32%;
    right: -85px;
  }

  .heroAdsBot h3 {
    font-size: 1.5rem;
    line-height: 150%;
  }

  .categoriesTitle {
    font-size: 2.25rem;
    line-height: 100%;
  }

  /* categoriesSlider: текст пропорционально уменьшается */
  .categoriesSlider {
    padding-left: 24px;
    padding-right: 24px;
  }

  .categoriesSlider .swiper-slide {
    min-width: 0;
    overflow: hidden;
  }

  .categoriesSlider .categoriesInfo {
    min-width: 0;
    overflow: hidden;
    gap: 16px;
  }

  .categoriesSlider .categoriesInfo div {
    min-width: 0;
    overflow: hidden;
  }

  .categoriesSlider .categoriesInfo h3,
  .categoriesSlider .categoriesInfo h5 {
    font-size: clamp(11px, 3.5vw, 16px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .categoriesSlider .categoriesInfo p {
    font-size: clamp(10px, 2.8vw, 16px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .categoriesTitle + p {
    font-size: 1rem;
    line-height: 100%;
    margin-bottom: 30px;
  }

  .catalog .recommendSlider,
  .catalog .promoSlider {
    padding-bottom: 0;
  }

  /* Уменьшаем padding слайдеров на планшетах */
  .recommendSlider.swiper,
  .promoSlider.swiper {
    padding-left: 24px;
    padding-right: 24px;
  }

  .catalogTitle + p {
    font-size: 1rem;
  }

  .catalogCategories {
    overflow-x: visible;
  }

  .catalogCategories ul {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(100px, 1fr));
    gap: 12px;
    justify-items: stretch;
  }

  .catalogCategories ul li a {
    font-size: 0.875rem;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
  }

  .catalogFilterName {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 100%;
    color: var(--color-accent);
  }

  .catalogFilterWrapper {
    display: none;
  }

  .catalogTitle {
    font-size: clamp(24px, 6vw, 36px);
    line-height: 1.1;
    margin-bottom: 12px;
  }

  .catalogBtns,
  .saleCatalog .catalogBtns,
  .featureCatalog .catalogBtns {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    width: 100%;
  }

  /* Button + arrows always on ONE line */
  /* Beat index.css (.saleCatalog .catalogBtnsRight) specificity */
  .saleCatalog .catalogBtnsRight,
  .featureCatalog .catalogBtnsRight,
  .catalogBtnsRight {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .saleCatalog .catalogBtnsRight > a,
  .featureCatalog .catalogBtnsRight > a,
  .saleCatalog .catalogBtnsRight .catalogMoreBtn,
  .featureCatalog .catalogBtnsRight .catalogMoreBtn,
  .catalogBtns .catalogMoreBtn {
    width: auto !important;
    flex: 0 0 auto;
    font-size: 0.75rem;
    padding: 8px 14px;
  }

  .catalogBtns .catalogNav {
    display: flex;
    gap: 4px;
    margin-left: auto;
  }

  .catalogBtns .catalogNav button {
    width: 36px;
    height: 36px;
  }

  .partnersItem {
    padding: 8px;
  }

  .bestBox {
    flex-direction: column;
  }

  .bestItem {
    width: 100%;
    padding: 8px;
  }

  .bestTitle {
    font-size: 1.5rem;
    line-height: 100%;
  }

  .bestText {
    font-size: 1rem;
    line-height: 150%;
  }

  .bestImage {
    right: -75px;
    bottom: -75px;
  }

  .bestImage img {
    width: 228px;
    height: 228px;
  }

  .blogSub {
    flex-direction: column;
    margin-bottom: 48px;
  }

  .blogSub p {
    font-weight: 400;
    font-size: 1rem;
    line-height: 100%;
    margin-bottom: 48px;
  }

  .blogTitle {
    font-size: 2.25rem;
    line-height: 100%;
    margin-bottom: 36px;
  }

  .blogName {
    font-size: 1.5rem;
    line-height: 100%;
  }

  .blogText {
    font-size: 1rem;
    line-height: 100%;
  }

  .footerBox {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footerLogo {
    text-align: center;
  }

  .footerMenu {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 48px;
    order: 1;
  }

  .footerMenu div {
    width: 100%;
  }

  .footerContacts ul li {
    justify-content: center;
    text-align: center;
  }

  .footerData {
    flex-direction: column;
    gap: 48px;
    padding: 0 16px;
  }

  .footerSocials {
    order: 2;
    justify-content: center;
  }

  .productInfo {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
  }

  .productInfoLeft {
    width: 100%;
  }

  .productTitle {
    font-size: 1.5rem;
    line-height: 1.2;
    text-transform: none;
  }

  .productCart {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
  }

  .productCart div {
    justify-content: space-between;
    width: 100%;
  }

  .productCart div button {
    flex-grow: 1;
    min-height: 44px;
  }

  .productSubbuy button,
  .productSubbuy .quick-order-btn {
    min-height: 44px;
  }

  .flex-control-nav.flex-control-thumbs img {
    min-width: 56px;
    min-height: 56px;
  }

  .productShorts {
    flex-direction: row;
    gap: 12px;
  }

  .productShorts a {
    width: auto;
  }

  .productShorts div {
    width: auto;
    padding: 10px 16px;
  }

  .productSpecification {
    flex-direction: column;
    gap: 48px;
    margin-bottom: 64px;
  }

  .productSubbuy {
    width: 100%;
    padding: 24px;
    border-radius: 0;
  }

  .productDelivery {
    width: 100%;
    padding: 24px;
    border-radius: 0;
  }

  .brandDescriptionItem {
    flex-direction: column;
  }

  .brandDescriptionItem div:first-child {
    width: 100%;
  }

  .brandCatalog .catalogBtns {
    margin-bottom: 166px;
  }

  .catalogFilterName.active .catalogFilterWrapper {
    display: block;
  }

  article {
    margin-bottom: 50px;
  }

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

  #contactsLeafletMap {
    height: clamp(250px, 60vw, 400px);
  }

  .contactsForm form {
    padding: 24px;
  }

  .aboutText {
    padding: 24px;
    left: 0;
  }

  .aboutText h1 {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 150%;
  }

  .aboutInfo {
    left: 38px;
    padding-right: 30px;
  }

  .aboutItem {
    width: calc(50% - 45px);
    flex: 1 0 auto;
  }

  .deliveryTr:last-child > div {
    margin-left: 0;
  }

  .aboutAds {
    padding-left: 56px;
    padding-right: 48px;
  }

  .aboutAds::after {
    width: 100%;
    height: 100%;
    background-size: contain;
  }

  .aboutAds h3 {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 150%;
  }

  .aboutPlus {
    flex-direction: column;
  }

  .aboutPlus div {
    flex: 0 0 auto;
    text-align: center;
    width: 100%;
  }

  .aboutPlus div h4 {
    font-weight: 700;
    font-size: 1rem;
    line-height: 150%;
  }

  .aboutInvite {
    flex-direction: column;
    gap: 50px;
  }

  .aboutInvite > div {
    width: 100%;
  }

  .aboutInvite h3 {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 150%;
  }

  .aboutInvite > div:last-child {
    height: 280px;
  }

  .aboutInvite > div:last-child img {
    object-fit: cover;
  }

  .contactsForm form {
    padding: 36px 44px;
  }

  .policyBanner,
  .faqBanner,
  .deliveryBanner {
    margin-bottom: 48px;
  }

  .deliveryTable {
    flex-direction: column;
  }

  .deliveryTr:first-child {
    border-bottom: 1px solid var(--color-bg-main);
    border-right: 0;
  }

  .deliveryTr:first-child > div {
    margin-bottom: 48px;
  }

  .deliveryTr:last-child {
    margin-top: 48px;
  }

  .aboutPost {
    text-align: center;
  }

  .aboutName {
    font-size: 1.125rem;
  }

  .footer .faqItem .faqName {
    display: flex;
    justify-content: center;
  }

  .header {
    display: none !important;
  }

  .header.headerMobile {
    display: block !important;
    padding-top: 0;
    padding-bottom: 0;
  }

  .header.headerMobile .headerTop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
  }

  .header.headerMobile .headerLogo svg {
    max-width: 80px;
  }

  .header.headerMobile .headerFiltres {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
  }

  .header.headerMobile .headerFiltres > * {
    width: 44px;
    height: 44px;
    padding: 10px;
  }

  .header.headerMobile .headerBot {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    padding: 12px 0;
    gap: 8px;
  }

  .header.headerMobile .headerContacts {
    font-size: 0.6875rem;
    gap: 4px;
  }

  .header.headerMobile .headerContacts div {
    gap: 4px;
  }

  .header.headerMobile .headerContacts svg {
    width: 14px;
    height: 14px;
  }

  .header.headerMobile .headerCatalog {
    padding: 0;
    font-size: 0.75rem;
    min-height: 0;
  }

  /* Hide catalog button — replaced by bottom nav "Каталог" */
  .header.headerMobile .headerCatalog > .headerCatalogLink {
    display: none;
  }

  .block_color_fon {
    width: 81px !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Legacy mobile search — now always visible via .headerMobileSearchBar */

  /* Mega-menu: 2 columns */
  .catalogMegaMenu {
    min-width: 420px;
    left: 0;
    right: auto;
  }

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

  /* catalog-cards: 992 */
  .catalogBox {
    row-gap: 48px;
  }

  .catalogItem {
    width: calc(50% - 12px);
    min-height: 285px;
    padding: 16px;
    padding-top: 40px;
    padding-bottom: 16px;
    margin-top: 32px;
  }

  .catalogItem:last-of-type {
    margin-bottom: 0;
  }

  .promoSlider .catalogItem,
  .recommendSlider .catalogItem {
    min-height: 320px;
    padding: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 24px;
  }

  .catalogName {
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 150%;
    -webkit-line-clamp: 3;
    min-height: calc(14px * 1.5 * 2);
  }

  .catalogImage {
    height: 180px;
    min-height: 160px;
    max-height: 180px;
  }

  .catalogImage img {
    max-height: 160px;
  }

  .single-product .catalogPrice {
    align-items: flex-start;
  }

  .catalogCart a.button {
    min-width: 44px;
    min-height: 44px;
    width: 48px;
    height: 48px;
  }

  .catalogMarks {
    gap: 8px;
    margin-bottom: 8px;
  }

  .catalogBox .catalogQuality,
  .catalogBoxPage .catalogQuality {
    top: auto;
    left: auto;
    position: relative;
    transform: none;
    margin-bottom: 12px;
    align-self: center;
  }

  .catalogMarks img {
    width: 25px;
    height: 25px;
  }

  .catalogPurpose {
    top: 8px;
    left: 8px;
  }

  .catalogPurpose img {
    width: 26px;
    height: 26px;
  }

  .related.products .catalogBoxPage .catalogItemPage {
    width: calc(50% - 15px);
  }

  .catalogQuality {
    top: -20px; /* sit on the top frame */
  }
}

/* ========== 768px — Mobile ========== */
@media screen and (max-width: 768px) {
  :root {
    --hero-height: auto;
    --hero-aspect-ratio: 4 / 3;
    --hero-min-height: clamp(16rem, 45vw, 20rem);
    --hero-max-height: clamp(20rem, 55vw, 28rem);
    --hero-slider-width: 100%;
    --hero-ads-width: 100%;
    --catalog-price-size: 22px;
    --catalog-price-old-size: 14px;
    --section-intrinsic-size: 300px;
  }

  /* ─── GLOBAL: Wrapper padding ─── */
  .wrapper {
    padding: 0 16px;
  }

  /* ─── GLOBAL: Section spacing ─── */
  section {
    margin-top: 32px;
    margin-bottom: 48px;
  }

  /* ─── Content-visibility: reduce intrinsic size on mobile ─── */
  section.partners,
  section.blog {
    content-visibility: visible;
    contain-intrinsic-size: auto;
  }

  /* ─── HERO - полный фикс для мобильного ─── */
  .hero {
    padding: 0;
    overflow-x: clip !important;
    overflow-y: visible !important;
    position: relative;
    z-index: 2;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
    isolation: isolate;
  }

  .hero .wrapper {
    max-width: 100% !important;
    padding: 0 !important;
    width: 100% !important;
    overflow: visible;
  }

  .heroGrid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0;
    width: 100%;
    overflow: visible;
  }

  

  

  

  

  

  

  

  

  

  

  .hero .swiper-pagination {
    bottom: 12px !important;
  }

  /* Swiper кнопки - компактные на мобильном */
  .swiper-button-prev,
  .swiper-button-next {
    width: 36px !important;
    height: 36px !important;
    min-width: 44px;
    min-height: 44px;
    padding: 4px;
  }

  .swiper-button-prev svg,
  .swiper-button-next svg {
    width: 16px !important;
    height: 16px !important;
  }

  

  

  /* Categories секция — все уровни overflow: visible для иконок с negative margin */
  .categories,
  .categories .wrapper,
  .categories .categoriesSlider,
  .categories .swiper,
  .categories .swiper-wrapper,
  .categories .swiper-slide {
    overflow: visible !important;
  }

  .categories {
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
    isolation: isolate;
    clear: both;
  }

  .categories .wrapper {
    min-height: auto;
    padding: 0 1rem;
  }

  .categories .categoriesSlider {
    padding-left: 0;
    padding-right: 0;
  }

  .categoriesSlider .swiper-slide {
    height: auto;
    min-height: 5rem;
    padding: 0.75rem;
    overflow: visible;
  }

  .categoriesInfo img {
    width: 4rem;
    height: 4rem;
    margin-top: -1.25rem;
    margin-bottom: -0.5rem;
    position: relative;
    z-index: 2;
  }

  .categoriesSlider svg {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
    object-position: center;
  }

  .categoriesInfo h3,
  .categoriesInfo h5 {
    font-size: 0.75rem;
  }

  .categoriesInfo p {
    font-size: 0.6875rem;
  }

  .categoriesNav {
    margin-top: 16px;
  }

  /* ─── Product grid: compact spacing ─── */
  .catalogBox {
    row-gap: 24px !important;
    column-gap: 8px;
  }

  .catalogItem {
    margin-top: 24px;
  }

  .promoSlider .catalogItem,
  .recommendSlider .catalogItem {
    margin-top: 24px;
  }

  .catalog .catalogCategories {
    margin-bottom: 32px;
  }

  .catalog .wrapper > p {
    margin-bottom: 24px;
  }

  .catalogMore {
    margin-top: 24px;
  }

  /* ─── Partners: compact ─── */
  .partners .partnersSlider {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* ─── Footer: space for bottom nav ─── */
  .footer {
    padding-top: 32px;
    padding-bottom: 100px !important;
  }

  .footerBox {
    flex-direction: column;
    gap: 24px;
  }

  /* Ads под слайдером - скрываем на мобильном */
  .heroAds {
    display: none;
  }

  .heroAds.adsSlider {
    overflow: hidden;
  }

  .heroAds.adsSlider .swiper-slide {
    min-height: 200px;
    width: 100% !important;
  }

  .heroAdsTop,
  .heroAdsBot {
    min-height: 200px;
    padding: 24px;
  }

  /* Показываем пагинацию adsSlider на мобильном */
  .heroAds.adsSlider .swiper-pagination {
    display: flex;
    bottom: 16px;
  }

  .heroAdsTop h3,
  .heroAdsBot h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
  }

  .heroAdsTop p,
  .heroAdsBot p {
    font-size: 0.875rem;
    max-width: 100%;
  }

  .heroAdsTop button,
  .heroAdsBot button {
    padding: 12px 24px;
    font-size: 0.875rem;
  }

  .heroAdsDecor {
    width: 150px;
    height: 150px;
    top: auto;
    bottom: -30px;
    right: -30px;
  }

  /* ═══ SHOWCASE CONVEYOR — Mobile: Flat carousel (no zoom) ═══ */
  /*
   * На мобильном убираем кинематографический зум.
   * Товары одного размера, фокусный выделяется яркостью + обводкой.
   * Стандарт e-commerce: горизонтальная карусель без масштабирования.
   */

  /* 1. overflow:visible structurally; height = --hero-h перебивается ниже единым clamp */
  .showcase-swiper-wrap {
    overflow: visible;
  }

  /* 2. Reduce header location bar */
  .header.headerMobile .headerBot {
    padding: 6px 0;
    gap: 6px;
  }

  .header.headerMobile .headerBot .headerContacts {
    font-size: 0.625rem;
  }

  /* 3. Showcase header — extracted below hero on mobile
     Specificity must beat index.css (.showcase-swiper-wrap .showcase-header) */
  .showcase-swiper-wrap .showcase-header {
    position: relative;
    z-index: 60;
    background: var(--color-bg-main, #241C1A);
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: unset;
    border-bottom: none;
  }

  /* 4. Remove duplicate CTA — keep only showcase-header CTA on mobile */
  .hero-cta-wrap {
    display: none;
  }

  .showcase-swiper-wrap .showcase-header .btn-hero-action {
    display: inline-flex;
    width: auto;
    flex-shrink: 0;
    min-height: var(--touch-target-min, 44px);
    padding: 8px 14px;
    font-size: 0.6875rem;
    gap: 6px;
    order: 0;
    justify-content: center;
  }

  .showcase-swiper-wrap .showcase-header .btn-hero-action svg {
    width: 14px;
    height: 14px;
  }

  /* 5. Category tabs — horizontal scroll on the same row as CTA */
  .showcase-swiper-wrap .showcase-cats {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .showcase-cats::-webkit-scrollbar {
    display: none;
  }

  .showcase-cat-link {
    font-size: 0.625rem;
    padding: 6px 12px;
    min-height: var(--touch-target-min, 44px);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
  }

  /* 6. Conveyor — убираем edge mask, показываем всё */
  .showcase-conveyor {
    min-height: clamp(12rem, 48vw, 16rem);
    mask-image: none;
    -webkit-mask-image: none;
  }

  /* 7. Track — плотнее, без зума нужно меньше пространства */
  .showcase-track {
    gap: 12px;
    padding: 0 12px;
    align-items: center;
  }

  /* 8. Items на mobile (JS-3D off, use3D=false @ <768px).
     Brockmann perfect-fifth ratio (1.5) для focused/default — фокус доминирует. */
  .showcase-swiper-wrap {
    --hero-h: clamp(17.5rem, 50vh, 26.25rem); /* Frain: rem-based fluid range */
    --si-width: clamp(10rem, 42vw, 14rem);
    --si-padding-y: 0.5rem;
    --si-opacity-default: 0.4;
    --si-filter-default: grayscale(30%) brightness(0.7);
    --si-scale-default: 0.667;  /* 1/1.5 — inverse perfect-fifth */
    --si-scale-focused: 1.5;    /* perfect-fifth */
    --si-filter-focused: none;
    --si-z-focused: 2;
    --si-transition: opacity 0.3s, filter 0.3s;
  }

  /* Подсветка фокусного товара — золотая обводка внизу */
  .showcase-item.is-focused::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--color-accent, #C78C47);
    transform: none;
    border-radius: 0;
    box-shadow: 0 0 12px rgba(199, 140, 71, 0.4);
  }

  /* Убираем десктопный ::before и ::after эффекты */
  .showcase-item.is-focused::after {
    display: none;
  }

  .showcase-product__img {
    height: clamp(8.5rem, 36vw, 12rem);
    width: 100%;
  }

  .showcase-product__img img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  /* hover/focus — не увеличиваем картинку */
  .showcase-item:hover .showcase-product__img,
  .showcase-item.is-focused .showcase-product__img {
    transform: none;
  }

  .showcase-item:hover .showcase-product__img img,
  .showcase-item.is-focused .showcase-product__img img {
    transform: none;
  }

  /* 9. Показываем имя товара на фокусном элементе */
  .showcase-item.is-focused .showcase-product__name {
    display: block;
    font-size: 0.625rem;
    text-align: center;
    line-height: 1.2;
    max-width: 110px;
    margin: 0 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--color-text-white, #FAF8F7);
  }

  .showcase-item.is-focused .showcase-product__info {
    opacity: 1;
  }

  /* 10. Декоративные элементы — упрощаем (font-size через clamp в base) */
  .showcase-big-title {
    top: auto;
    bottom: 50%;
    transform: translateY(50%);
    -webkit-text-stroke: 0.5px var(--hero-border-subtle);
  }

  .showcase-big-title--extra {
    font-size: 8vw;
    bottom: 50px;
  }

  .showcase-swiss-circle {
    width: 40vw;
    height: 40vw;
  }

  .hero-hover-info {
    display: none;
  }

  .hero-field-bg {
    display: none;
  }

  .showcase-swiper-wrap {
    --st-x: 0.75rem;        /* 12px */
    --st-y: 0.625rem;       /* 10px */
    --st-fs: 0.625rem;
    --st-max-w: 12.5rem;    /* 200px */
    --st-pad-l: 0.5rem;     /* 8px */
    --hs-display: none;
  }

  /* 11. Спеки на элементах — компактнее.
     На mobile JS-3D off → scale=1, поднимаем base font-size до читаемого размера. */
  .showcase-swiper-wrap {
    --is-fs: 0.625rem;        /* нет масштабирования на mobile */
    --is-fs-size: 0.6875rem;  /* акцент */
    --is-sep-margin: 0.1875rem; /* 3px */
    --is-sep-fs: 0.6875rem;
  }
  .showcase-item__specs {
    gap: 3px;
  }

  /* bestItem */
  .bestItem {
    padding: 8px;
  }

  .bestItem .bestInfo {
    max-width: 55%;
  }

  .bestItem .bestTitle {
    font-size: 1rem;
  }

  .bestItem .bestText {
    font-size: 1rem;
    max-width: 100%;
  }

  .bestItem .bestImage {
    right: -60px;
    bottom: -60px;
  }

  .bestItem .bestImage img {
    width: 180px;
    height: 180px;
  }

  /* Слайдеры padding */
  .recommendSlider.swiper,
  .promoSlider.swiper {
    padding-left: 16px;
    padding-right: 16px;
  }

  .singleImage {
    height: 267px;
  }

  .footerMenu ul {
    flex-direction: column;
    gap: 16px;
  }

  .footerMenu li,
  .footerMenu li a {
    font-size: 0.875rem;
  }

  .footerContacts ul li {
    font-size: 0.875rem;
  }

  .footerCopyright {
    font-size: 0.75rem;
  }

  /* WCAG 2.5.5: Touch targets ≥44×44px */
  .footerMenu li a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
  }

  .footer .faqItem .faqName {
    justify-content: center;
    min-height: 44px;
    padding: 12px 0;
  }

  .wc-block-cart-item__image {
    width: 100%;
  }

  .wc-block-cart-item__product {
    padding-left: 0 !important;
  }

  /* Legacy mobile search — removed */

  /* Mega-menu: full-screen overlay */
  .catalogMegaMenu,
  .catalogMegaMenu--mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-width: 100%;
    width: 100%;
    border-radius: 0;
    z-index: 9999;
    padding: 0;
  }

  .catalogMegaMenu__inner {
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
  }

  .catalogMegaMenu__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .catalogMegaMenu__item {
    padding: 12px;
  }

  .catalogMegaMenu__item img {
    width: 32px;
    height: 32px;
  }

  .catalogMegaMenu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
  }

  .catalogMegaMenu__title {
    font-size: 1.25rem;
    font-weight: 700;
  }

  .catalogMegaMenu__close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .catalogMegaMenu__allLink {
    margin-bottom: 16px;
  }

  /* catalog-cards: 768 */
  .catalogItem {
    min-width: 200px;
    width: calc(50% - 8px);
    flex: 0 0 auto;
    height: auto;
    padding: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 64px;
  }

  .catalogBox .catalogBoxPage {
    margin-top: 100px;
  }

  .catalogQuality {
    top: -8px;
  }

  .promoSlider .catalogItem,
  .recommendSlider .catalogItem {
    font-size: 0.875rem;
  }

  /* Contacts page — mobile */
  .contactsSwitcher {
    gap: 4px;
  }
  .contactsSwitcher button {
    padding: 10px 12px;
    font-size: 0.875rem;
  }
  .contactsContent ul {
    margin-bottom: 32px;
  }
  .contactsContent ul li {
    font-size: 0.875rem;
    gap: 8px;
  }
  .contactsContent ul li svg {
    width: 20px;
    height: 20px;
  }
  .contactsMap {
    margin-bottom: 32px;
  }
  .contactsForm form {
    padding: 20px;
  }
}

/* ========== 480px — Small Mobile ========== */
/* (consolidated: 504px, 480px, 460px) */
@media screen and (max-width: 480px) {
  :root {
    --catalog-price-size: 18px;
    --catalog-price-old-size: 14px;
  }

  /* Hero на маленьких экранах */
  

  

  

  

  /* Swiper кнопки ещё меньше */
  .swiper-button-prev,
  .swiper-button-next {
    width: 28px !important;
    height: 28px !important;
  }

  .swiper-button-prev svg,
  .swiper-button-next svg {
    width: 12px !important;
    height: 12px !important;
  }

  

  

  .heroAdsTop,
  .heroAdsBot {
    padding: 16px;
  }

  .heroAdsTop h3,
  .heroAdsBot h3 {
    font-size: 1.125rem;
  }

  .heroAdsTop p,
  .heroAdsBot p {
    font-size: 0.8125rem;
  }

  .heroAdsTop button,
  .heroAdsBot button {
    padding: 10px 20px;
    font-size: 0.8125rem;
  }

  .heroAdsDecor {
    width: 120px;
    height: 120px;
    bottom: -25px;
    right: -25px;
  }

  /* ═══ SHOWCASE CONVEYOR — Small mobile (≤480px). hero-h наследует от 768px clamp. ═══ */
  .showcase-swiper-wrap {
    --si-width: clamp(9.5rem, 48vw, 12rem);
    --si-img-height: clamp(8rem, 42vw, 10rem);
    --si-img-max-h: 100%;
    --st-display: none;
    overflow: visible;
  }

  .showcase-conveyor {
    min-height: clamp(11rem, 50vw, 14rem);
  }

  .showcase-product__img img {
    max-width: 100%;
  }

  .showcase-track {
    gap: 10px;
    padding: 0 10px;
  }

  .showcase-big-title--extra {
    display: none;
  }

  .showcase-cat-link {
    font-size: 0.5625rem;
    padding: 5px 10px;
  }

  .showcase-swiper-wrap .showcase-header {
    padding: 6px 10px;
    gap: 3px;
  }

  .showcase-swiper-wrap .showcase-header .btn-hero-action {
    padding: 7px 14px;
    font-size: 0.625rem;
  }

  .block_color_fon_item {
    justify-content: center;
  }

  .header .search-form input.active {
    min-width: 150px;
    margin-top: 30px;
    margin-left: -158px !important;
  }

  .woocommerce-order-received
    .wc-bacs-bank-details.order_details.bacs_details
    li {
    width: 100%;
  }

  .woocommerce-order-received .woocommerce ul.order_details li {
    width: 100%;
  }

  .header.headerMobile .headerContacts {
    flex-direction: column;
    align-items: flex-start;
  }

  /* WCAG 2.5.5: Touch targets ≥44×44px */
  .header.headerMobile .headerFiltres > * {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .header.headerMobile .headerFiltres svg {
    width: 18px;
    height: 18px;
  }

  .header.headerMobile .headerCatalog {
    min-height: 0;
    padding: 0;
    font-size: 0.875rem;
  }

  .headerCart span {
    width: 12px;
    height: 12px;
    font-size: 0.625rem;
    top: -4px;
    right: -4px;
  }

  .headerLogo div:first-child svg {
    max-width: 72px;
  }

  .error404error div {
    font-size: 26px;
  }

  /* WCAG 2.5.5 + читаемость */
  .catalogCategories ul li a {
    font-size: 0.75rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
  }

  /* Фильтры каталога */
  #fe-filters-root .fe-tab {
    min-height: 44px;
    padding: 12px 16px;
  }

  #fe-filters-root .wpc-filters-section .wpc-filter-header {
    min-height: 44px;
    padding: 12px 16px;
  }

  .footerCopyright {
    margin-top: 24px;
  }

  /* Legacy mobile search — removed */

  .no-results.not-found input {
    min-width: unset;
  }

  .wc-toast__message {
    flex-direction: column;
    row-gap: 20px;
  }

  #wc-toasts .wc-toast {
    align-items: flex-start;
  }

  /* Absorbed from 504px */
  .headerContacts div svg {
    flex-shrink: 0;
  }

  .headerLang select {
    font-size: 0.625rem;
    padding: 8px;
  }

  .blogSub p {
    margin-bottom: 20px;
  }

  /* Absorbed from 460px */
  .catalogCategories ul {
    grid-template-columns: 1fr;
  }

  .recommendSlider.swiper,
  .promoSlider.swiper {
    padding-left: 12px;
    padding-right: 12px;
  }

  .wrapper {
    max-width: 100%;
    padding: 0 12px;
  }

  /* Mega-menu: 1 column on narrow phones */
  .catalogMegaMenu__grid {
    grid-template-columns: 1fr;
  }

  /* catalog-cards: 480 + 460 consolidated */
  .catalogItem {
    width: calc(50% - 5px);
    min-width: 150px;
    padding: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 16px;
  }

  .catalogQuality {
    top: -8px;
  }

  .catalogBox {
    justify-content: space-between;
    column-gap: 0;
    row-gap: 16px !important;
  }

  .catalogImage {
    height: 140px;
    min-height: 120px;
    max-height: 140px;
  }

  .catalogImage img {
    max-height: 120px;
  }

  .catalogName {
    font-size: 0.75rem;
    -webkit-line-clamp: 2;
    min-height: calc(12px * 1.5 * 2);
  }
}

/* ========== 375px — Tiny Mobile (iPhone SE) ========== */
@media screen and (max-width: 375px) {
  :root {
    --catalog-price-size: 16px;
    --catalog-price-old-size: 12px;
  }

  .wc-block-cart-item__total {
    display: none;
  }

  .woocommerce .custom-pagination a,
  .woocommerce .custom-pagination .dots {
    margin-right: 0;
  }

  .woocommerce .custom-pagination {
    width: 100%;
    justify-content: space-between;
  }

  

  

  

  

  .heroAdsTop,
  .heroAdsBot {
    padding: 16px;
  }

  .heroAdsTop h3,
  .heroAdsBot h3 {
    font-size: 1.125rem;
  }

  .heroAdsTop p,
  .heroAdsBot p {
    font-size: 0.8125rem;
  }

  /* ═══ SHOWCASE CONVEYOR — Tiny mobile (≤375px). hero-h наследует от 768px clamp. ═══ */
  .showcase-swiper-wrap {
    overflow: visible;
  }

  .showcase-conveyor {
    min-height: 8rem;
  }

  .showcase-item {
    width: clamp(7rem, 36vw, 9rem);
  }

  .showcase-product__img {
    height: clamp(6rem, 30vw, 8rem);
  }

  .showcase-product__img img {
    max-height: 60px;
  }

  .showcase-track {
    gap: 10px;
    padding: 0 8px;
  }

  /* catalog-cards: 375 */
  .catalogItem {
    padding: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 16px;
  }

  .catalogQuality {
    top: -8px;
  }
}

/* ========== Desktop-only ========== */
@media screen and (min-width: 992px) {
  .footer .faqContent {
    overflow: visible !important;
  }
}

/* ========== Touch devices (WCAG 2.5.5) ========== */
@media (pointer: coarse) {
  .headerCart,
  .headerBtnReg,
  .headerBtnFilter,
  .swiper-button-prev,
  .swiper-button-next {
    min-width: 44px;
    min-height: 44px;
  }

  /* Все интерактивные элементы */
  .catalogCart a.button,
  .productSubbuy button,
  .productSubbuy .quick-order-btn,
  .footerMenu li a,
  .catalogCategories ul li a,
  #fe-filters-root .fe-tab,
  .catalogMegaMenu__close {
    min-height: 44px;
  }
}

/* ========== Accessibility: prefers-reduced-motion ========== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .swiper-wrapper {
    transition-duration: 0ms !important;
  }

  .headerFilter {
    transition: none;
  }
}

/* ========== iOS zoom prevention ========== */
@media screen and (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  input[type="url"],
  select,
  textarea {
    font-size: 1rem !important;
  }
}

/* ========== Product images: CLS prevention ========== */
.catalogImage img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.productImage > img {
  aspect-ratio: auto;
}

/* ========== Sticky "В корзину" на mobile ========== */
@media screen and (max-width: 768px) {
  .single-product .product .cart {
    position: sticky;
    bottom: 0;
    background: var(--color-bg-main);
    padding: 12px 16px;
    z-index: 99;
    box-shadow: 0 -2px 0 var(--color-accent);
    margin: 0 -16px;
    width: calc(100% + 32px);
  }

  .single-product .product .cart .single_add_to_cart_button {
    flex: 1;
    min-height: 48px;
    background: var(--color-accent);
    color: var(--color-text-on-accent);
    font-size: 1rem;
    font-weight: 700;
    border: none;
  }
}

/* ========== Mobile Bottom Navigation Bar ========== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--color-bg-main, #241C1A);
  border-top: 2px solid var(--color-accent, #C78C47);
  z-index: 9998;
  justify-content: space-around;
  align-items: center;
  padding: 0 8px;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

@media screen and (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
  }

  body {
    padding-bottom: 64px;
  }

  /* Sticky cart above bottom nav */
  .single-product .product .cart {
    bottom: 64px;
  }
}

button.mobile-bottom-nav__item {
  background: none;
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
}

.mobile-bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--color-text-muted, #DAD1C8);
  text-decoration: none;
  font-size: 0.625rem;
  font-weight: 500;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  transition: color 0.2s;
  position: relative;
}

.mobile-bottom-nav__item:hover,
.mobile-bottom-nav__item:active,
.mobile-bottom-nav__item.is-active {
  color: var(--color-accent, #C78C47);
}

.mobile-bottom-nav__item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.mobile-bottom-nav__badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--color-accent, #C78C47);
  color: var(--color-text-on-accent, #0d0b0a);
  font-size: 0.625rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* White theme overrides for mobile bottom nav */

/* ========== FIX 1: Filter drawer on mobile ========== */
.filter-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.filter-overlay.is-visible {
  display: block;
}

.filter-drawer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  background: none;
  border: 2px solid var(--color-border, #443D3A);
  color: var(--color-text-white, #FAF8F7);
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Mobile filter trigger button (visible only on shop/archive on mobile) */
.mobile-filter-trigger {
  display: none;
}

@media screen and (max-width: 768px) {
  /* Filter panel → offcanvas drawer (slide from right like chat) */
  #fe-filters-root {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 360px;
    height: 100%;
    z-index: 10000;
    background: var(--color-bg-main, #241C1A);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 64px 16px 80px;
    box-shadow: none;
    margin: 0;
  }

  #fe-filters-root.is-open {
    transform: translateX(0);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.4);
  }

  #fe-filters-root .filter-drawer-close {
    display: flex;
  }

  .mobile-filter-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid var(--color-accent, #C78C47);
    color: var(--color-text-white, #FAF8F7);
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    min-height: 44px;
    margin-bottom: 16px;
  }

  .mobile-filter-trigger svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
}

/* ========== FIX 2: Hide duplicate header buttons on mobile ========== */
@media screen and (max-width: 768px) {
  /* Cart & Profile are in bottom nav — hide from header */
  .header.headerMobile .headerCart,
  .header.headerMobile .headerBtnReg {
    display: none;
  }
}

/* ========== FIX 3: FAB buttons above bottom nav on mobile ========== */
@media screen and (max-width: 768px) {
  .fab-twobtn {
    bottom: 80px !important;
    right: 16px !important;
  }
}
