/* ============================================
   FISCHIO — replica
   Matches structure / typography / colour /
   geometry of fischio.webflow.io
   ============================================ */

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

html, body {
  margin: 0;
  padding: 0;
}

:root {
  --banner-h: 30px;
  --nav-h: 60px;
  --player-h: 52px;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-color, #eee);
  color: var(--fg-color, #000);
  font-weight: 300;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

body.body-about,
body.body-3,
body.body-4 {
  background-color: var(--bg-color, #eee);
}

/* Day-of-week themes — primary colors only, high chromatic contrast bg ↔ banner */
body { --sketch-color: rgba(0, 213, 89, 0.1); }
body.theme-sun { --bg-color: #ffe600; --fg-color: #000; --banner-bg: #0000ff; --banner-fg: #fff; }
body.theme-mon { --bg-color: #0000ff; --fg-color: #fff; --banner-bg: #ff0000; --banner-fg: #fff; }
body.theme-tue { --bg-color: #ff0000; --fg-color: #fff; --banner-bg: #0000ff; --banner-fg: #fff; }
body.theme-wed { --bg-color: #00c853; --fg-color: #000; --banner-bg: #ff66cc; --banner-fg: #000; --sketch-color: rgba(255, 0, 0, 0.1); }
body.theme-thu { --bg-color: #0000ff; --fg-color: #fff; --banner-bg: #ff0000; --banner-fg: #fff; }
body.theme-fri { --bg-color: #ff0000; --fg-color: #fff; --banner-bg: #0000ff; --banner-fg: #fff; }
body.theme-sat { --bg-color: #00c853; --fg-color: #000; --banner-bg: #ff66cc; --banner-fg: #000; --sketch-color: rgba(255, 0, 0, 0.1); }

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* ============================================
   Canvas — mouse drawing layer (home only)
   ============================================ */

#sketch-canvas {
  position: fixed;
  inset: 0;
  z-index: 11;
  pointer-events: none;
}

/* ============================================
   Top marquee banner (above the navbar)
   ============================================ */

.marquee-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--banner-h);
  z-index: 14;
  background-color: var(--banner-bg, #ffe600);
  color: var(--banner-fg, #000);
  overflow: hidden;
  display: flex;
  align-items: center;
  font-family: Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.marquee-track {
  display: inline-flex;
  flex-shrink: 0;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 40s linear infinite;
  gap: 60px;
  padding-left: 60px;
}

.marquee-text {
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   Top navbar — logo on the left, menu items on the right
   ============================================ */

/* Standalone big logo container — superseded by the inline logo in the navbar */
.logo_container {
  display: none;
}

.link-block-3 {
  flex: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.image-6 {
  display: block;
  height: 50%;
  width: auto;
}

.navbar,
.navbar_mixati {
  z-index: 12;
  position: fixed;
  top: var(--banner-h);
  left: 0;
  right: 0;
  bottom: auto;
  height: var(--nav-h);
  padding: 0 1em;
  background-color: var(--bg-color, #eee);
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.4s ease;
}

/* Logo on the left */
.div-block-9 {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  height: 100%;
  padding-left: 25px;
}

.link-block-2 {
  display: flex;
  align-items: center;
  height: 100%;
}

.image-5 {
  display: block;
  width: 265px;
  height: auto;
  max-width: 60vw;
  max-height: 80%;
  object-fit: contain;
}

/* Menu items on the right */
.nav-menu {
  display: flex;
  flex: 0 0 auto;
  width: auto;
}

.grid-navbar {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav {
  display: flex;
  align-items: center;
}

.nav.logo {
  justify-content: center;
}

.nav-link {
  color: inherit;
  letter-spacing: 0.09em;
  font-family: Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.2;
  text-decoration: none;
  padding: 0.3em 0.6em;
  margin: 0;
  display: flex;
  align-items: center;
}

/* Image menu items: replace text labels with hand-drawn graphics in assets/menu/ */
.nav-link__img {
  display: block;
  height: 40px;
  width: auto;
  max-height: 80%;
  object-fit: contain;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.nav-link:hover .nav-link__img {
  transform: scale(1.05);
}

.nav-link.is-current .nav-link__img {
  opacity: 0.7;
}

/* Hamburger — hidden on desktop, shown on narrow screens via media query below */
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: #000;
  cursor: pointer;
}

/* Hamburger button (hidden on desktop, visible on mobile/tablet, matches Webflow .menu-button) */
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-right: 0.5em;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: #000;
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #000;
  position: relative;
  transition: transform 0.25s ease, top 0.25s ease, bottom 0.25s ease, opacity 0.2s ease;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before { top: -7px; }
.menu-icon::after  { bottom: -7px; top: auto; }

.menu-button.is-open .menu-icon { background-color: transparent; }
.menu-button.is-open .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu-button.is-open .menu-icon::after  { bottom: 0; top: 0; transform: rotate(-45deg); }

/* ============================================
   Sections / containers
   ============================================ */

.section {
  width: 100%;
  height: 100%;
}

.content {
  width: 100vw;
}

.content.c1 {
  height: calc(100vh - var(--banner-h) - var(--nav-h) - var(--player-h));
  height: calc(100dvh - var(--banner-h) - var(--nav-h) - var(--player-h));
  position: relative;
}

/* Wines page: needs to grow with the list, not be clipped to viewport */
body.body-4 .content.c1 {
  height: auto;
  min-height: calc(100vh - var(--banner-h) - var(--nav-h) - var(--player-h));
  min-height: calc(100dvh - var(--banner-h) - var(--nav-h) - var(--player-h));
}

/* Home is single-page, no scroll */
body.body {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.content_foto {
  height: 100%;
  padding: 100px 15vw;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}

/* ============================================
   Home slider (portrait 2:3, cross-fade)
   ============================================ */

.slider_container_home {
  aspect-ratio: 2 / 3;
  background-color: #fff;
  height: 80%;
  position: relative;
  overflow: hidden;
}

.slide_home {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
}

.slide_home.is-active {
  opacity: 1;
}

/* ============================================
   About page — Webflow-original classes
   ============================================ */

.section_about {
  height: auto;
  max-height: none;
  margin-top: 0;
  position: static;
  overflow: visible;
}

/* Single-column stack: slider on top, text and shop logos below */
.container_about {
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  row-gap: 32px;
  padding: 32px 6.5em;
  max-width: 1200px;
  margin: 0 auto;
}

.slider_container_about {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  max-height: 70vh;
  padding-right: 0;
  position: relative;
  overflow: hidden;
}

.slide_about {
  position: absolute;
  inset: 0;
  padding-right: 0;
  opacity: 0;
}

.slide_about.is-active {
  opacity: 1;
}

.image-8 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.text_about_container {
  display: flex;
  flex-flow: column;
  height: auto;
  row-gap: 32px;
}

.text-block-4 {
  text-align: justify;
  font-family: Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.text-block-4 p {
  margin: 0 0 0.9em;
}

.text-block-4 p:last-child {
  margin-bottom: 0;
}

.text-block-4 strong {
  color: var(--banner-bg, #000);
  font-weight: 700;
  font-size: 1.25em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.about_bio {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 1.5em auto;
}

.brand-name {
  display: inline-block;
  height: 1.25em;
  width: auto;
  vertical-align: middle;
  margin-right: 0.13em;
}

.about_shop {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  column-gap: 20px;
  row-gap: 24px;
  place-items: start center;
  flex: 1;
}

.logo_fischio {
  display: grid;
  grid-template-rows: 60px auto;
  justify-items: center;
  align-items: center;
  row-gap: 14px;
  width: 100%;
}

.logo_fischio .image-7 {
  max-width: 100%;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  align-self: end;
}

.text-block-5 {
  text-align: center;
  font-family: Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

/* ============================================
   Wines page — Webflow-original classes
   ============================================ */

.content_menu {
  min-height: 100%;
  padding: 100px 15vw calc(var(--player-h) + 20px);
  font-family: Helvetica, sans-serif;
  font-weight: 300;
}

.content_menu .title {
  margin-bottom: 1em;
}

.content_menu .heading {
  color: var(--banner-bg, #000);
  font-family: Helvetica, sans-serif;
  font-weight: 400;
  font-size: 2rem;
  margin: 0;
}

/* Wines page: heading image (replaces "THIS MONTH'S WINES" text), intro text, bottom image */
.wines-heading-img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 120px;
  margin: 0 auto 1em;
}

.wines-intro {
  font-family: Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  text-align: justify;
  margin: 0 0 2.5em;
}

.wines-intro p {
  margin: 0 0 0.9em;
}

.wines-intro p:last-child {
  margin-bottom: 0;
}

.wines-bottom-img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 4em auto 0;
}

.div_regione_space {
  margin-top: 20px;
}

.text_wine_type-copy {
  text-align: left;
  text-transform: uppercase;
  font-family: Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.1;
  padding-bottom: 0.4em;
  border-bottom: 1px solid #000;
}

.wine_content {
  margin-top: 12px;
}

.wine_item_grid {
  display: grid;
  grid-template-columns: 1fr 0.25fr;
  column-gap: 16px;
  row-gap: 16px;
  padding: 8px 0;
}

.wine_item_description_grid {
  display: grid;
  grid-template-columns: 1fr;
  font-family: Helvetica, sans-serif;
  font-weight: 300;
}

.wine_title1_title2 {
  display: flex;
  column-gap: 5px;
  row-gap: 5px;
  flex-wrap: wrap;
}

.wine_title_txt {
  padding-top: 5px;
  font-size: 14px;
  font-weight: 700;
}

.wine_title_txt_2 {
  padding-top: 5px;
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
}

.wine_description {
  padding-left: 20px;
  font-size: 14px;
  font-weight: 700;
}

.wine_price_content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.text-block-2 {
  text-align: right;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ============================================
   Shop page (product grid)
   ============================================ */

.section-2 {
  margin-top: 2vh;
  padding-bottom: 6vh;
}

.collection_container {
  padding: 0 6vw;
}

.collection-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.product_grid_container {
  padding: 30px;
}

.product_grid__image {
  aspect-ratio: 4 / 5;
  border: 1px solid #000;
  background-color: #d9d3c4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Helvetica, sans-serif;
  font-size: 0.8rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product_grid_info {
  padding: 16px 30px 0;
}

.product_grid__product_title {
  font-family: Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product_grid__product_descr {
  padding-top: 10px;
  font-size: 0.85rem;
  color: #444;
}

.price_container_btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
}

.btn_buy {
  color: #000;
  background-color: transparent;
  padding: 0;
  font-family: Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.btn_buy:hover { opacity: 0.6; }

/* ============================================
   Mixati page (replaced with SoundCloud list)
   ============================================ */

.mixati-wrap {
  padding: 3vh 8vw 6vh;
  font-family: Helvetica, sans-serif;
  font-weight: 300;
}

.mixati-heading {
  text-align: center;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 2em;
}

/* ============================================
   Minimal persistent player (pill, play/stop)
   ============================================ */

body.page-transitioning main,
body.page-transitioning .section_about,
body.page-transitioning .content_menu,
body.page-transitioning .mixati-wrap,
body.page-transitioning .section-2,
body.page-transitioning section {
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

/* Hidden SoundCloud iframe — keeps the widget alive across pages */
.player__sc-host {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.player__sc-host iframe {
  width: 400px;
  height: 200px;
  border: 0;
}

/* Full-width player bar (NTS-style): title | controls | progress + time.
   Always at the bottom of the viewport — navbar is at the top. */
.mini-player {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 52px;
  padding: 0 20px;
  background-color: #000;
  color: #eee;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.18);
  transition: opacity 0.15s ease;
  font-family: Helvetica, sans-serif;
}

.mini-player.is-loading {
  opacity: 0.55;
}

/* Left: track title — fixed-width marquee container, text scrolls inside */
.mp-title {
  flex: 0 0 220px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  position: relative;
  /* mask so text fades at the edges instead of cutting hard */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
}

.mp-title__track {
  display: inline-flex;
  white-space: nowrap;
  will-change: transform;
  animation: mp-title-scroll 22s linear infinite;
}

.mp-title__text {
  flex-shrink: 0;
  padding-right: 48px;
}

.mp-title:hover .mp-title__track {
  animation-play-state: paused;
}

@keyframes mp-title-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Center: 4 control buttons */
.mp-controls {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

/* Right: seek bar + time */
.mp-progress-wrap {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.mp-progress {
  flex: 1 1 auto;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.18);
  position: relative;
  cursor: pointer;
  border-radius: 2px;
  min-width: 60px;
  max-width: 360px;
}

.mp-progress:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 3px;
}

.mp-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background-color: #eee;
  width: 0%;
  border-radius: 2px;
}

.mp-time {
  flex: 0 0 auto;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  opacity: 0.75;
  white-space: nowrap;
}

/* Leave room so page content isn't covered by the banner + top navbar + bottom player bar */
body {
  padding-top: calc(var(--banner-h) + var(--nav-h));
  padding-bottom: var(--player-h);
}

.mp-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.mp-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mp-btn:active {
  transform: scale(0.94);
}

.mp-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Center triangle optical alignment */
.mp-btn--play svg {
  transform: translateX(1px);
}

.mp-btn--play.is-playing .mp-icon--play  { display: none; }
.mp-btn--play             .mp-icon--pause { display: none; }
.mp-btn--play.is-playing  .mp-icon--pause { display: block; }
.mp-btn--play.is-playing svg { transform: none; }

.mp-btn--next svg {
  width: 16px;
  height: 16px;
}

/* Mixati tile grid — square thumbnails (~224px) with info stacked below */
#inline-track-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(224px, 1fr));
  gap: 32px 24px;
  padding: 24px 0;
}

.track-tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  border: 0;
  background: none;
  text-align: left;
  font-family: Helvetica, sans-serif;
}

.track-tile__cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #d9d3c4;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.track-tile:hover .track-tile__cover,
.track-tile:focus-visible .track-tile__cover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.track-tile__num {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  font-variant-numeric: tabular-nums;
}

.track-tile__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.35);
  color: #fff;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.track-tile:hover .track-tile__play,
.track-tile:focus-visible .track-tile__play {
  opacity: 1;
}

.track-tile__play svg {
  width: 48px;
  height: 48px;
  transform: translateX(2px);
}

.track-tile.is-current .track-tile__cover {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.track-tile__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.track-tile__title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
  /* clamp to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.track-tile.is-current .track-tile__title::before {
  content: "▸ ";
}

.track-tile__sub {
  font-size: 0.78rem;
  color: inherit;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.75;
}

.track-tile__duration {
  font-size: 0.78rem;
  color: inherit;
  font-variant-numeric: tabular-nums;
  opacity: 0.7;
}

.track-panel__loading,
.track-panel__error {
  padding: 24px 0;
  text-align: center;
  color: #555;
  font-size: 0.85rem;
}


/* ============================================
   Tablet + Mobile: navbar moves to TOP,
   small logo LEFT, hamburger RIGHT
   (matches original Webflow behaviour at <=991px)
   ============================================ */

@media (max-width: 991px) {
  /* Collapse inline menu into a dropdown triggered by the hamburger */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-color, #eee);
    color: inherit;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    padding: 0.5em 0.7em;
    width: auto;
  }

  .nav-menu.is-open {
    display: block;
  }

  .grid-navbar {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0;
  }

  .nav,
  .nav.logo {
    justify-content: center;
    min-width: 0;
  }

  .nav-link {
    font-size: clamp(0.65rem, 2.6vw, 1.1rem);
    margin: 0;
    padding: 0.5em clamp(0.2em, 1.2vw, 0.7em);
    text-align: center;
    white-space: nowrap;
  }

  .nav-link__img {
    height: 32px;
  }

  .menu-button {
    display: flex;
  }

  /* Page-content tweaks */
  .content_foto { padding: 80px 8vw; }
  .section_about { height: auto; padding: 1em 0 2em; }
  .container_about {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .slider_container_about {
    height: 50vh;
    padding-right: 0;
    aspect-ratio: auto;
  }
  .slide_about { padding-right: 0; }
  .text_about_container { height: auto; row-gap: 28px; }
  .about_shop {
    grid-template-columns: 1fr 1fr;
    row-gap: 24px;
  }
  .collection-list { grid-template-columns: 1fr; }
  .content_menu { padding: 60px 5vw calc(var(--player-h) + 20px); }

  .wine_item_description_grid { column-gap: 0; row-gap: 0; }
  .wine_title_txt { padding-top: 3px; font-size: 12px; }
  .wine_title_txt_2 { font-size: 12px; }
  .wine_description { padding-left: 3px; font-size: 11px; }
  .text-block-2 { font-size: 12px; }
}

@media (max-width: 540px) {
  .about_shop {
    grid-template-columns: 1fr 1fr;
  }
}

/* Player bar on small screens: tighten everything so progress + time
   never overflow into the control buttons */
@media (max-width: 600px) {
  .mini-player {
    gap: 10px;
    padding: 0 12px;
  }
  .mp-title {
    flex: 0 0 110px;
  }
  .mp-controls {
    gap: 0;
  }
  .mp-btn {
    width: 32px;
    height: 32px;
  }
  .mp-btn svg {
    width: 16px;
    height: 16px;
  }
  .mp-progress-wrap {
    gap: 8px;
  }
  .mp-progress {
    min-width: 36px;
  }
  .mp-time {
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .mp-title {
    flex: 0 0 80px;
  }
  .mp-time {
    font-size: 9px;
  }
}

/* Mixati tiles: always at least 2 columns, even on narrow phones */
@media (max-width: 600px) {
  #inline-track-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }
}
