/* VelaKiss v1.1.22 — true full-width mobile product layout */
@media (max-width: 800px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .vk-announcement,
  .site-header,
  .vk-single-page,
  .vk-breadcrumbs,
  .vk-product-view,
  .vk-gallery,
  .vk-buy-panel {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
  }

  .vk-announcement {
    padding: 8px 16px;
    font-size: 9px;
    line-height: 1.6;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto !important;
    padding-inline: 16px;
  }

  .site-header > .site-brand.site-brand-logo {
    min-width: 0;
    max-width: 54vw;
  }

  .site-header > .site-brand.site-brand-logo img {
    max-width: 100%;
  }

  .vk-header-actions {
    min-width: max-content;
  }

  .vk-breadcrumbs {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    padding: 18px 20px;
    overflow: hidden;
  }

  .vk-breadcrumbs span:last-child {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .vk-product-view {
    display: block !important;
    min-width: 0;
  }

  .vk-gallery {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 8px;
    overflow: hidden;
  }

  .vk-single-page .vk-gallery-main {
    width: 100% !important;
    height: min(60svh, 560px) !important;
    min-height: 390px !important;
    aspect-ratio: auto !important;
  }

  .vk-single-page .vk-gallery-main img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center top !important;
  }

  .vk-thumbs {
    width: 100%;
    max-width: 100%;
    padding-top: 8px;
  }

  .vk-single-page .vk-thumb {
    flex: 0 0 58px !important;
    width: 58px !important;
    height: 72px !important;
    aspect-ratio: auto !important;
  }

  .vk-buy-panel {
    padding: 44px 20px !important;
  }
}

@media (max-width: 380px) {
  .site-header > .site-brand.site-brand-logo {
    max-width: 50vw;
  }

  .vk-single-page .vk-gallery-main {
    height: 56svh !important;
    min-height: 350px !important;
  }
}
