





:root {
  --frames-red: #ed111b;
  --frames-black: #111111;
  --frames-text: #181818;
  --frames-muted: #777777;
  --frames-line: #e8e8e8;
  --frames-soft: #f7f7f7;
  --frames-white: #ffffff;
  --frames-container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--frames-text);
  font-family: Arial, Helvetica, sans-serif;
}

body.frames-menu-lock {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.frames-container {
  width: min(
    var(--frames-container),
    calc(100% - 48px)
  );
  margin: 0 auto;
}


/* =================================
   FRAMES HERO — DESKTOP
================================= */

.frames-hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;

  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.94) 25%,
      rgba(255, 255, 255, 0.65) 39%,
      rgba(255, 255, 255, 0.15) 57%,
      rgba(255, 255, 255, 0) 75%
    ),
    url("images/frames-hero-desktop.png");

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.frames-hero-inner {
  min-height: 600px;

  display: flex;
  align-items: center;

  position: relative;
  z-index: 2;
}

.frames-hero-content {
  width: 42%;
  max-width: 470px;

  position: relative;
  z-index: 2;
}

.frames-eyebrow {
  display: block;

  color: var(--frames-red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.frames-hero h1 {
  margin: 17px 0 22px;

  font-size: clamp(52px, 5vw, 76px);
  line-height: 0.94;
  letter-spacing: -2px;
}

.frames-hero p {
  max-width: 370px;
  margin: 0 0 30px;

  color: #333;
  font-size: 16px;
  line-height: 1.65;
}

.frames-primary-button {
  min-height: 52px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;

  padding: 0 25px;

  border-radius: 4px;
  background: var(--frames-red);
  color: #ffffff;

  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

/*
  Фотография уже используется фоном всей hero-секции.
  Поэтому отдельную картинку справа скрываем.
*/

.frames-hero-image {
  display: none;
}

/* BENEFITS */

.frames-benefits {
  transform: translateY(-23px);
  min-height: 94px;
  background: #fff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 10px;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.frames-benefits article {
  padding: 20px 23px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--frames-line);
}

.frames-benefits article:last-child {
  border-right: 0;
}

.frames-benefits img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.frames-benefits b,
.frames-benefits span {
  display: block;
}

.frames-benefits b {
  font-size: 13px;
  margin-bottom: 4px;
}

.frames-benefits span {
  color: #666;
  font-size: 11px;
}

/* COLLECTION SECTIONS */

.frames-collections {
  padding: 24px 0 80px;
}

.frames-loading,
.frames-empty,
.frames-error {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
}

.frames-section {
  margin-bottom: 72px;
}

.frames-section:last-child {
  margin-bottom: 0;
}

.frames-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 25px;
  margin-bottom: 24px;
}

.frames-section-heading > div {
  max-width: 810px;
}

.frames-section-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.frames-section-title-row::before {
  content: "";
  width: 19px;
  height: 3px;
  background: var(--frames-red);
  flex-shrink: 0;
}

.frames-section h2 {
  margin: 0;
  font-size: 23px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.frames-section-heading p {
  margin: 8px 0 0 31px;
  color: var(--frames-muted);
  font-size: 13px;
}

.frames-view-all {
  color: #555;
  font-size: 13px;
  white-space: nowrap;
}

.frames-view-all span {
  color: var(--frames-red);
  margin-left: 8px;
}

.frames-products-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 72px) / 5);
  gap: 18px;
  padding: 3px 2px 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.frames-products-slider::-webkit-scrollbar {
  display: none;
}

.frame-card {
  min-width: 0;
  scroll-snap-align: start;
}

.frame-card-image {
  position: relative;
  display: block;

  /*
    Стандартный вертикальный формат
    для 50×80, Pit Stop и City.
  */
  aspect-ratio: 0.72;

  background: #f2f2f2;
  overflow: hidden;
}


/*
  Квадратный формат только для:
  Modern, Drivers и Track.
*/



.frame-card-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

/*
  Для квадратных коллекций показываем
  изображение полностью без обрезки.
*/

.frames-section--square .frame-card-image {
  aspect-ratio: 1 / 1;
  background: #f5f5f5;
}

.frames-section--square .frame-card-image > img {
  object-fit: contain;
}


/*
  Горизонтальный формат только для Apex Series.
*/

.frames-section--landscape .frame-card-image {
  aspect-ratio: 1.45 / 1;
  background: #f5f5f5;
}

.frames-section--landscape .frame-card-image > img {
  object-fit: cover;
}


.frame-card:hover .frame-card-image > img {
  transform: scale(1.03);
}

.frame-card-favorite {
  position: absolute;
  top: 11px;
  right: 11px;
  width: 29px;
  height: 29px;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 50%;
  padding: 6px;
}

.frame-card-favorite img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.frame-card-info {
  padding-top: 12px;
}

.frame-card-info h3 {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.35;
}

.frame-card-info p {
  min-height: 16px;
  margin: 0 0 10px;
  color: #777;
  font-size: 12px;
}

.frame-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.frame-card-bottom strong {
  font-size: 14px;
}

.frame-card-cart {
  width: 34px;
  height: 34px;
  border: 1px solid #efefef;
  border-radius: 5px;
  background: #fff;
  padding: 8px;
}

.frame-card-cart img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.frames-slider-progress {
  margin: 16px auto 0;
  width: 75px;
  height: 4px;
  background: #e4e4e4;
  border-radius: 20px;
  overflow: hidden;
}

.frames-slider-progress span {
  display: block;
  width: 28%;
  height: 100%;
  background: var(--frames-red);
  border-radius: inherit;
}

/* CUSTOM BANNER */

.frames-custom-banner {
  min-height: 330px;
  margin-bottom: 80px;
  padding: 42px;
  background:
    linear-gradient(
      90deg,

      #050405
    );
  color: #fff;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.frames-custom-banner > div {
  position: relative;
  z-index: 2;
  max-width: 430px;
}

.frames-custom-banner > img {
  position: absolute;
  right: 0;
  top: 0;
  width: 58%;
  height: 100%;
  object-fit: cover;
}

.frames-custom-banner > div > span {
  color: var(--frames-red);
  font-size: 12px;
  font-weight: 900;
}

.frames-custom-banner h2 {
  margin: 11px 0 13px;
  font-size: 39px;
  line-height: 1;
  text-transform: uppercase;
}

.frames-custom-banner p {
  color: #ccc;
  line-height: 1.55;
  font-size: 14px;
}

.frames-custom-banner a {
  margin-top: 18px;
  min-height: 45px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 25px;
  background: var(--frames-red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

/* FOOTER */

.frames-footer {
  padding: 55px 0 25px;
  background: #f8f8f8;
}

.frames-footer > .frames-container {
  display: grid;
  grid-template-columns: 330px 1fr;
  column-gap: 100px;
}

.frames-newsletter h3 {
  margin: 0 0 12px;
  font-size: 14px;
}

.frames-newsletter p {
  margin: 0 0 18px;
  color: #555;
  font-size: 12px;
  line-height: 1.5;
}

.frames-newsletter form {
  display: grid;
  grid-template-columns: 1fr 46px;
}

.frames-newsletter input {
  height: 42px;
  border: 0;
  background: #e8e8e8;
  padding: 0 14px;
  outline: none;
}

.frames-newsletter button {
  border: 0;
  background: var(--frames-red);
  color: #fff;
  font-size: 22px;
}

.frames-socials {
  display: flex;
  gap: 13px;
  margin-top: 16px;
}

.frames-socials a {
  width: 25px;
  height: 25px;
}

.frames-footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 55px;
}

.frames-footer-links details[open] summary {
  margin-bottom: 14px;
}

.frames-footer-links summary {
  list-style: none;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.frames-footer-links summary::-webkit-details-marker {
  display: none;
}

.frames-footer-links a {
  display: block;
  margin-bottom: 9px;
  color: #444;
  font-size: 12px;
}

.frames-footer-bottom {
  grid-column: 1 / -1;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  color: #777;
  font-size: 11px;
  display: flex;
  gap: 8px;
}

/* MOBILE */

@media (max-width: 768px) {
  .frames-container {
    width: min(100% - 24px, var(--frames-container));
  }

  .frames-hero {
    min-height: 510px;

    background-image:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.92) 31%,
        rgba(255, 255, 255, 0.34) 51%,
        rgba(255, 255, 255, 0) 72%
      ),
      url("images/frames-hero-mobile.png");

    background-size: 120% auto;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .frames-hero-inner {
    min-height: 510px;

    display: flex;
    align-items: flex-start;

    padding-top: 125px;
    padding-bottom: 80px;
  }

  .frames-hero-content {
    width: 53%;
    max-width: 225px;
  }

  .frames-eyebrow {
    font-size: 11px;
    line-height: 1.2;
  }

  .frames-hero h1 {
    margin: 15px 0 20px;

    font-size: 33px;
    line-height: 0.98;
    letter-spacing: -1px;
  }

  .frames-hero p {
    max-width: 205px;
    margin-bottom: 25px;

    font-size: 13px;
    line-height: 1.55;
  }

  .frames-primary-button {
    min-height: 48px;
    padding: 0 17px;
    gap: 13px;

    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
  }


  .frames-hero-image {
    display: none;
  }


  .frames-benefits {
    grid-template-columns: repeat(2, 1fr);
    transform: translateY(-18px);
  }

  .frames-benefits article:nth-child(2) {
    border-right: 0;
  }

  .frames-benefits article:nth-child(-n+2) {
    border-bottom: 1px solid var(--frames-line);
  }

  .frames-section {
    margin-bottom: 55px;
  }

  .frames-section-heading {
    align-items: flex-start;
  }

  .frames-section h2 {
    font-size: 16px;
  }

  .frames-section-heading p {
    margin-left: 31px;
    font-size: 11px;
  }

  .frames-view-all {
    font-size: 11px;
  }

  .frames-products-slider {
    grid-auto-columns: 42%;
    gap: 12px;
  }

  .frame-card-info h3 {
    font-size: 12px;
  }

  .frame-card-info p,
  .frame-card-bottom strong {
    font-size: 10px;
  }

  .frames-custom-banner {
    min-height: 320px;
    padding: 28px 22px;
  }

  .frames-custom-banner > img {
    width: 100%;
    opacity: 0.38;
  }

  .frames-custom-banner h2 {
    font-size: 30px;
  }

  .frames-footer > .frames-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .frames-footer-links {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .frames-footer-links details {
    border-top: 1px solid #ddd;
    padding: 16px 0;
  }

  .frames-footer-links summary {
    position: relative;
  }

  .frames-footer-links summary::after {
    content: "+";
    position: absolute;
    right: 0;
  }

  .frames-footer-links details[open] summary::after {
    content: "−";
  }
}

@media (max-width: 520px) {
  .frames-hero {
    min-height: 510px;

    background-image:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.88) 28%,
        rgba(255, 255, 255, 0.22) 50%,
        rgba(255, 255, 255, 0) 70%
      ),
      url("images/frames-hero-mobile.png");

    background-size: auto 100%;
    background-position: 57% center;
  }

  .frames-hero-inner {
    min-height: 510px;

    align-items: flex-start;

    padding-top: 72px;
    padding-bottom: 125px;
  }

  .frames-hero-content {
    width: 52%;
    max-width: 205px;
  }

  .frames-eyebrow {
    font-size: 9px;
  }

  .frames-hero h1 {
    margin: 12px 0 15px;

    font-size: 29px;
    line-height: 0.98;
    letter-spacing: -0.8px;
  }

  .frames-hero p {
    max-width: 175px;

    font-size: 10px;
    line-height: 1.55;
  }

  .frames-primary-button {
    min-height: 38px;
    padding: 0 12px;
    gap: 8px;

    font-size: 8px;
  }

  .frames-benefits article {
    padding: 15px 12px;
  }

  .frames-benefits img {
    width: 27px;
    height: 27px;
  }

  .frames-benefits b {
    font-size: 10px;
  }

  .frames-benefits span {
    font-size: 8px;
  }

  .frames-section-heading {
    gap: 8px;
  }

  .frames-products-slider {
    grid-auto-columns: 44%;
  }
}







/* CITY FRAMES ONLY */

.frames-section[
  data-frame-type="city"
]
.city-frame-card-image {
  aspect-ratio: 0.72;
}

.frames-section[
  data-frame-type="city"
]
.city-frame-card {
  width: 100%;
}

.frames-section[
  data-frame-type="city"
]
.city-frame-card-info {
  padding-top: 14px;
}