/* ============================================
   YOU1S — Mobile & Responsive v3 — Premium
   Desktop untouched
   ============================================ */

/* ====== MOBILE (≤767px) ====== */

@media (max-width: 767px) {

  html, body {
    overflow-x: hidden;
  }

  /* — HEADER — */
  :root {
    --header-h: 73px;
  }

  .header__top {
    height: 73px;
    padding: 0 var(--sp-16);
    box-sizing: border-box;
  }

  .header__logo {
    font-size: var(--fs-20);
  }

  .header__icons {
    right: var(--sp-16);
    gap: var(--sp-12);
  }

  .header__icon-link svg {
    width: 18px;
    height: 18px;
  }

  .header__icon-count {
    min-width: 14px;
    height: 14px;
    font-size: 8px;
    top: -4px;
    right: -6px;
  }

  .header__burger {
    left: var(--sp-16);
  }

  /* — MEGA MENU: hidden on mobile — */
  .mega {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .mega__overlay {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* — DRAWER — */
  .drawer {
    width: 300px;
    max-width: 80vw;
    padding: var(--sp-24) var(--sp-20);
    top: 52px;
  }

  .drawer__trigger {
    font-size: var(--fs-12);
    font-weight: var(--fw-medium);
    padding: var(--sp-14) 0;
  }

  .drawer__submenu a {
    font-size: var(--fs-13);
    padding: var(--sp-8) 0 var(--sp-8) var(--sp-16);
  }

  .drawer__link {
    font-size: var(--fs-12);
    padding: var(--sp-14) 0;
  }

  /* — HOMEPAGE PANELS — */
  .panel {
    min-height: 480px;
    height: 85vh;
  }

  .panel__content {
    padding: 0 var(--sp-24);
  }

  .panel__label {
    font-size: var(--fs-10);
    margin-bottom: var(--sp-12);
  }

  .panel__title {
    font-size: var(--fs-24);
    margin-bottom: var(--sp-14);
  }

  .panel__subtitle {
    font-size: var(--fs-13);
    margin-bottom: var(--sp-20);
    max-width: 300px;
  }

  .panel__cta {
    padding: var(--sp-12) var(--sp-24);
    font-size: var(--fs-10);
    min-height: 42px;
  }

  .scroll-hint {
    bottom: var(--sp-20);
    font-size: 8px;
  }

  .scroll-hint__line {
    height: 20px;
  }

  .dots-nav {
    display: none !important;
  }

  /* — LOGO CLOUD — */
  .logo-cloud {
    padding: var(--sp-12) 0;
  }

  .logo-cloud__track {
    gap: var(--sp-32);
  }

  .logo-cloud__logo {
    height: 16px;
  }

  .logo-cloud::before,
  .logo-cloud::after {
    width: 30px;
  }

  /* — CATALOGUE — */
  .catalogue {
    padding: var(--sp-24) var(--sp-16) var(--sp-56);
  }

  .catalogue__title {
    font-size: var(--fs-20);
    padding: var(--sp-24) 0 var(--sp-24);
  }

  .catalogue__vlabel-wrap--visible {
    left: var(--sp-12);
  }
  .catalogue__vlabel {
    font-size: var(--fs-11);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-16);
  }

  .pcard__media {
    aspect-ratio: 1/1;
  }

  .pcard__name {
    font-size: var(--fs-13);
    margin-bottom: var(--sp-2);
  }

  .pcard__desc {
    font-size: var(--fs-11);
  }

  .pcard__price {
    font-size: var(--fs-13);
    font-weight: var(--fw-semibold);
  }

  /* — PRODUCT PAGE — */
  .product {
    padding: var(--sp-12) 0 var(--sp-40);
  }

  .product__layout {
    grid-template-columns: 1fr;
    gap: var(--sp-24);
    padding: 0 var(--sp-16);
  }

  .gallery {
    gap: 0;
    margin: 0 calc(-1 * var(--sp-16));
  }

  .gallery__slide {
    flex: 0 0 100%;
  }

  .gallery__dots {
    margin-top: var(--sp-12);
    padding: 0 var(--sp-16);
  }

  .product__info {
    padding-top: var(--sp-4);
  }

  .product__brand {
    font-size: var(--fs-10);
    margin-bottom: var(--sp-6);
  }

  .product__name {
    font-size: var(--fs-20);
    margin-bottom: var(--sp-8);
  }

  .product__price {
    font-size: var(--fs-16);
    margin-bottom: var(--sp-6);
  }

  .product__desc-short {
    font-size: var(--fs-13);
    margin-bottom: var(--sp-20);
    line-height: var(--lh-body);
  }

  .sizes__label {
    font-size: var(--fs-10);
    margin-bottom: var(--sp-10);
  }

  .sizes__grid {
    gap: var(--sp-6);
  }

  .sizes__btn {
    min-width: 44px;
    height: 40px;
    font-size: var(--fs-12);
    padding: 0 var(--sp-10);
  }

  .sizes__guide {
    font-size: var(--fs-10);
    margin-bottom: var(--sp-20);
  }

  .product__actions {
    margin-bottom: var(--sp-24);
    gap: var(--sp-8);
  }

  .product__actions .btn--primary {
    font-size: var(--fs-10);
    min-height: 46px;
  }

  .product__wish-btn {
    width: 46px;
    height: 46px;
  }

  /* Tabs */
  .tabs__nav {
    gap: var(--sp-16);
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .tabs__nav::-webkit-scrollbar {
    display: none;
  }

  .tabs__btn {
    font-size: var(--fs-10);
    padding: var(--sp-14) 0;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .tabs__panel {
    font-size: var(--fs-13);
    padding: var(--sp-16) 0;
    line-height: var(--lh-relaxed);
  }

  /* Reviews */
  .review {
    padding: var(--sp-14) 0;
  }

  .review__author { font-size: var(--fs-13); }
  .review__stars { font-size: var(--fs-11); }
  .review__text { font-size: var(--fs-12); line-height: var(--lh-body); }
  .review__date { font-size: var(--fs-10); }

  /* Similar */
  .similar {
    padding: var(--sp-40) 0;
  }

  .similar .container {
    padding: 0 var(--sp-16);
  }

  .similar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-10);
  }

  .section-label {
    font-size: var(--fs-10);
    margin-bottom: var(--sp-16);
  }

  /* Modal */
  .modal__box {
    padding: var(--sp-24);
    width: 92%;
  }

  .modal__title { font-size: var(--fs-16); }

  .size-table th,
  .size-table td {
    padding: var(--sp-8);
    font-size: var(--fs-11);
  }

  /* — CART — */
  .cart {
    padding: var(--sp-20) 0 var(--sp-48);
  }

  .cart__title {
    font-size: var(--fs-20);
    margin-bottom: var(--sp-20);
  }

  .cart__layout {
    grid-template-columns: 1fr;
    gap: var(--sp-32);
  }

  .cart-item {
    gap: var(--sp-14);
    padding: var(--sp-16) 0;
  }

  .cart-item__img {
    width: 80px;
    height: 100px;
  }

  .cart-item__brand { font-size: var(--fs-10); }
  .cart-item__name { font-size: var(--fs-14); }
  .cart-item__meta { font-size: var(--fs-11); }
  .cart-item__price { font-size: var(--fs-14); }

  .qty__btn { width: 32px; height: 32px; font-size: var(--fs-14); }
  .qty__val { width: 32px; font-size: var(--fs-12); }

  .cart-item__remove { font-size: var(--fs-10); }

  .cart-summary { position: static; }
  .cart-summary__title { font-size: var(--fs-10); }
  .summary-row { font-size: var(--fs-13); }
  .summary-row--total { font-size: var(--fs-16); }

  .promo-row .input { font-size: var(--fs-12); min-height: 40px; }
  .promo-row .btn { min-height: 40px; }

  .cart-empty__title { font-size: var(--fs-20); }
  .cart-empty__text { font-size: var(--fs-13); }

  /* — WISHLIST — */
  .wishlist { padding: var(--sp-20) 0 var(--sp-48); }
  .wishlist__title { font-size: var(--fs-20); }
  .wishlist__count { font-size: var(--fs-11); margin-bottom: var(--sp-24); }

  .wishlist__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-10);
  }

  .wishlist-card__actions {
    flex-direction: column;
    gap: var(--sp-6);
  }

  .wishlist-card__actions .btn {
    font-size: var(--fs-10);
    min-height: 38px;
  }

  .wishlist-empty__title { font-size: var(--fs-20); }
  .wishlist-empty__text { font-size: var(--fs-13); }

  /* — FAQ — */
  .faq { padding: var(--sp-20) 0 var(--sp-48); }
  .faq__title { font-size: var(--fs-20); margin-bottom: var(--sp-20); }

  .faq-tabs {
    gap: var(--sp-6);
    margin-bottom: var(--sp-24);
    padding-bottom: var(--sp-12);
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

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

  .faq-tabs__btn {
    font-size: var(--fs-10);
    padding: var(--sp-8) var(--sp-12);
    white-space: nowrap;
    flex-shrink: 0;
  }

  .accordion__trigger {
    font-size: var(--fs-14);
    padding: var(--sp-14) 0;
  }

  .accordion__content {
    font-size: var(--fs-13);
    padding-bottom: var(--sp-16);
    line-height: var(--lh-relaxed);
  }

  .faq-contact { margin-top: var(--sp-32); padding-top: var(--sp-24); }
  .faq-contact__text { font-size: var(--fs-13); }
  .faq-contact__wa {
    font-size: var(--fs-10);
    padding: var(--sp-12) var(--sp-20);
  }

  /* — RESTOCKS — */
  .restocks-hero {
    padding: var(--sp-32) var(--sp-20) var(--sp-16);
  }

  .restocks-hero__label { font-size: var(--fs-10); }
  .restocks-hero__title { font-size: var(--fs-24); }
  .restocks-hero__sub { font-size: var(--fs-13); }

  .card-stack { padding: var(--sp-16) var(--sp-8) var(--sp-32); }
  .card-stack__stage { height: 260px; }

  .card-stack__card {
    width: 220px !important;
    height: 150px !important;
    border-width: 2px;
    border-radius: 12px;
  }

  .card-stack__card-content { padding: var(--sp-10); }
  .card-stack__card-title { font-size: var(--fs-12); }
  .card-stack__card-desc { font-size: var(--fs-10); -webkit-line-clamp: 1; }
  .card-stack__card-date { font-size: 8px; padding: var(--sp-4) var(--sp-8); top: var(--sp-8); left: var(--sp-8); }
  .card-stack__card-tag { font-size: 8px; }

  .card-stack__info { margin-top: var(--sp-20); }
  .card-stack__info-brand { font-size: var(--fs-10); }
  .card-stack__info-name { font-size: var(--fs-18); }
  .card-stack__info-desc { font-size: var(--fs-13); max-width: 320px; }
  .card-stack__info-date { font-size: var(--fs-11); }
  .card-stack__info-cta { font-size: var(--fs-10); padding: var(--sp-12) var(--sp-24); min-height: 42px; }

  .card-stack__dots { margin-top: var(--sp-16); gap: var(--sp-8); }
  .card-stack__dot { width: 6px; height: 6px; }

  /* Drop panels (restocks editorial) */
  .drop-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .drop-panel--reverse { direction: ltr; }

  .drop-panel__text { padding: var(--sp-40) var(--sp-24); }
  .drop-panel__brand { font-size: var(--fs-20); }
  .drop-panel__desc { font-size: var(--fs-13); }
  .drop-panel__media { min-height: 280px; }

  .restock-notify { padding: var(--sp-40) var(--sp-20); }
  .restock-notify__title { font-size: var(--fs-18); }
  .restock-notify__sub { font-size: var(--fs-13); }
  .restock-notify__form { flex-direction: column; border: none; gap: var(--sp-8); }
  .restock-notify__input { border: 1px solid var(--c-border); min-height: 46px; font-size: var(--fs-14); }
  .restock-notify__btn { min-height: 46px; width: 100%; }

  /* — FOOTER — */
  .footer { padding: var(--sp-40) 0 var(--sp-24); }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-32);
    margin-bottom: var(--sp-32);
  }

  .footer .header__logo { font-size: var(--fs-20); }

  .footer__heading {
    font-size: var(--fs-10);
    margin-bottom: var(--sp-12);
  }

  .footer__links a {
    font-size: var(--fs-13);
    padding: var(--sp-4) 0;
  }

  .footer__newsletter {
    flex-direction: column;
    border: none;
    gap: var(--sp-8);
  }

  .footer__newsletter-input {
    border: 1px solid var(--c-border);
    padding: var(--sp-12) var(--sp-14);
    min-height: 44px;
    font-size: var(--fs-14);
  }

  .footer__newsletter-btn {
    border: 1px solid var(--c-border);
    padding: var(--sp-12) var(--sp-16);
    text-align: center;
    min-height: 44px;
  }

  .footer__socials { margin-top: var(--sp-16); gap: var(--sp-14); }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--sp-10);
    padding-top: var(--sp-16);
    font-size: var(--fs-10);
  }

  .footer__bottom-links { gap: var(--sp-16); font-size: var(--fs-10); }

  /* — CHATBOT — */
  .chatbot__trigger { width: 42px; height: 42px; bottom: var(--sp-16); right: var(--sp-16); }
  .chatbot__trigger svg { width: 18px; height: 18px; }

  .chatbot__window {
    bottom: calc(var(--sp-16) + 54px);
    right: var(--sp-12);
    left: var(--sp-12);
    width: auto;
    max-width: none;
    height: 400px;
  }

  .chatbot__header { font-size: var(--fs-10); padding: var(--sp-12) var(--sp-14); }
  .chatbot__msg { font-size: var(--fs-12); }
  .chatbot__input { font-size: var(--fs-13); padding: var(--sp-12) var(--sp-14); }

  /* — WHATSAPP — */
  .whatsapp { bottom: var(--sp-16); right: calc(var(--sp-16) + 54px); width: 36px; height: 36px; }
  .whatsapp svg { width: 20px; height: 20px; }

  /* — SPOTLIGHT — */
  .spotlight__bar { height: 48px; padding: 0 var(--sp-16); }
  .spotlight__bar svg { width: 18px; height: 18px; }
  .spotlight__input { font-size: var(--fs-16); }

  .spotlight__shortcuts { gap: var(--sp-16); }
  .spotlight__shortcut-icon { width: 44px; height: 44px; }
  .spotlight__shortcut-icon svg { width: 18px; height: 18px; }
  .spotlight__shortcut-label { font-size: 8px; }

  .spotlight__result { padding: var(--sp-10) var(--sp-12); gap: var(--sp-10); }
  .spotlight__result-name { font-size: var(--fs-13); }
  .spotlight__result-meta { font-size: var(--fs-10); }
  .spotlight__hint { font-size: var(--fs-10); bottom: var(--sp-24); }

  /* — TOAST — */
  .toast {
    font-size: var(--fs-10);
    padding: var(--sp-12) var(--sp-24);
    max-width: calc(100vw - var(--sp-32));
  }

  /* — PAGE — */
  .page { padding-top: var(--header-h); }
  .container { padding: 0 var(--sp-16); }
}

/* ====== VERY SMALL (≤359px) ====== */

@media (max-width: 359px) {
  .header__logo { font-size: var(--fs-18); }
  .header__icons { gap: var(--sp-8); }
  .header__icon-link svg { width: 16px; height: 16px; }

  .panel__title { font-size: var(--fs-20); }
  .panel__subtitle { font-size: var(--fs-12); max-width: 260px; }

  .catalogue__title { font-size: var(--fs-18); }

  .products-grid { gap: var(--sp-8); }
  .pcard__name { font-size: var(--fs-12); }
  .pcard__price { font-size: var(--fs-12); }

  .product__name { font-size: var(--fs-18); }
  .sizes__btn { min-width: 38px; height: 36px; font-size: var(--fs-11); }

  .card-stack__card { width: 180px !important; height: 120px !important; }
  .card-stack__stage { height: 220px; }
  .card-stack__info-name { font-size: var(--fs-16); }

  .cart__title { font-size: var(--fs-18); }
  .cart-item__img { width: 64px; height: 80px; }

  .spotlight__shortcuts { gap: var(--sp-12); }
  .spotlight__shortcut-icon { width: 40px; height: 40px; }
}

/* ====== TABLET (768–1023px) ====== */

@media (min-width: 768px) and (max-width: 1023px) {
  .page { padding-top: 52px; }
  .header__logo { font-size: var(--fs-28); }

  .panel__title { font-size: var(--fs-32); }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-16);
  }

  .catalogue__title { font-size: var(--fs-24); }
  .catalogue__vlabel--visible {
    font-size: var(--fs-12);
    padding-right: var(--sp-20);
  }

  .catalogue__title {
    font-size: var(--fs-24);
    padding: var(--sp-32) 0 var(--sp-32);
  }

  .products-grid {
    gap: var(--sp-20);
  }

  .product__layout { gap: var(--sp-32); }
  .product__name { font-size: var(--fs-24); }

  .cart__layout {
    grid-template-columns: 1fr 320px;
    gap: var(--sp-32);
  }

  .wishlist__grid { grid-template-columns: repeat(3, 1fr); }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-32);
  }

  .card-stack__card {
    width: 380px !important;
    height: 240px !important;
  }
  .card-stack__stage { height: 360px; }
}
