@font-face {
  font-family: "TikTok";
  src: url("assets/tiktok.ttf");
}

:root{
  --color-text: #000;
  --color-accent: #ff0100;
  --color-bg: #ffffff;
}

/* Reset */
html {
  font-size: 16px;
}
*,*::before,*::after{box-sizing:border-box; outline: none;}
html,body,div,span,h1,h2,h3,h4,p,ul,li,figure,figcaption,blockquote,dl,dd{margin:0;padding:0}
body{font-family:"TikTok", Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;line-height:1.45;color:var(--color-text);background:var(--color-bg);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
a.underlined{text-decoration:underline}
p a:hover{text-decoration:underline}
ul{list-style:none}
h1{font-size: 3.5rem; font-weight: 600; line-height: 1.1;}
h2{font-size: 1.6rem; font-weight: 600; line-height: 1.1;}
h3{font-size: 1.3rem; font-weight: 600; line-height: 1.1;}

.mb-0 {margin-bottom: 0;}
p, .mb-1 {margin-bottom: 1rem;}
.mt-1 {margin-top: 1rem;}
.fa-light {font-size: 1.4rem;}

select {
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
    border-radius: .5rem;
    background-color: #00000010;
    background-image: url('img/chevron-down.png');
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: right;
}

button, .button {
    background: #000;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    line-height: 1;
    text-align: center;
    cursor: pointer;
}

.line-buy-buttons {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr;
    gap: 1rem;
    align-items: center;
}

.line-buy-buttons button.buyhere {
  height: 60px;
}
.line-buy-buttons .buyavito {
  height: 40px;
  font-size: 1rem;
  background-color: gray;
}


button:hover, .button:hover { background: #333; }

select, button, .button {
    width: 100%;
    padding: 12px 16px;
    font-size: 1.3rem;
    border: none;
    font-family:"TikTok", Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

select option:disabled {
    text-decoration: line-through;
}

.line {
    display: flex;
    gap:1rem;
    align-items: center;
}

.line.space {
  justify-content: space-between;
}

hr {border: 1px solid #0000002e; margin: 1rem 0;}

/*Ticker*/
.ticker-wrap {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  white-space: nowrap;
  position: fixed;
  top: 0;
  height: 50px;
  background-color: var(--color-accent);
  display: flex;
  align-items: center;
}
.ticker {
  display: inline-block;
  animation: marquee 40s linear infinite;
}
.item-collection-1 {
  position: relative;
  left: 0%;
  animation: swap 40s linear infinite;
}
.ticker .item {
  display: inline-block;
  padding: 0 3rem;
  font-size: 1rem;
  color: var(--color-bg);
  font-weight: 600;
  font-family: sans-serif;
}
@keyframes marquee {
  0% {
    transform: translateX(0)
  }
  100% {
    transform: translateX(-100%)
  }
}
@keyframes swap {
  0%, 50% {
    left: 0%;
  }
  50.01%,
  100% {
    left: 100%;
  }
}

img {
    max-width: 100%;
}

/*Header*/
header {
    margin-top: 50px;
    padding: 50px 0;
    display: flex;
    justify-content: center;
}
header .logo {
    width: 150px;
}
.top-banner {
    width: 100%;
    height: 400px;
    background-color: black;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-banner video {
  max-width: 100%;
  margin-top: 200px;
}

/*Gallery*/

.gallery {
    display: flex;
    gap: 10px;
    max-height: 465px;
}

.gallery__list {
    max-width: 75px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 465px;
    overflow-y: scroll;
}

.gallery .gallery__list::-webkit-scrollbar {
  display: none;
}

.gallery__list img {border-radius: .5rem; cursor: pointer;}
.gallery__image img {border-radius: 1rem;}

/*Product*/



/*Section*/
section {
    width: 1200px;
    margin: 0 auto 150px;
}

.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap:100px;
    align-items: center;
}

.dual-grid>div {
}

.media-block {
    display: flex;
    max-height: 700px;
    margin: 20px 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 1rem;
}

.media-block video {
    max-height: 700px;
}



/*MODAL*/

.modal {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.modal-close:hover {
    color: #000;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/*FOOTER*/

footer {
  background-color: var(--color-accent);
  height: 200px;
  width: 100%;
  color: var(--color-bg);
  display: flex;
}

.footer-container {
    width: 1200px;
    margin: 0 auto;
}

.centered-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}




















@media (max-width: 1280px) {

  html {
    font-size: 14px;
  }

  section, .footer-container {
    width: 960px;
  }

  .gallery__list {
    max-width: 48px;
    max-height: 372px;
  }

  .dual-grid {
    gap: 70px;
  }
  .media-block {
    max-height: 539px;
  }
  .media-block video {
    max-height: 539px;
  }

  .top-banner video {
    margin-top: 100px;
  }
  .top-banner {
    height: 300px;
  }
}
@media (max-width: 1024px) {
  .ticker-wrap {
    height: 40px;
  }
  header {
    margin-top: 40px;
    padding: 30px 0;
  }
  header .logo {
    width: 130px;
  }

  section {
    width: 100%;
    margin: 0 auto 100px;
  }

  .dual-grid {
    display: flex;
    flex-direction: column;
  }

  .gallery {
    max-height: fit-content;
  }

  .gallery__image {
    display: none;
  }

  .gallery__list {
    max-width: 100%;
    max-height: max-content;
    overflow-y: hidden;
    overflow-x: scroll;
    flex-direction: row;
  }
  .gallery__list img {
    border-radius: .5rem;
    cursor: default;
    max-width: 70%;
  }

  .lowres-reverse {
    flex-direction: column-reverse;
  }

  .lowres-padding {
    padding: 0 4rem;
  }

  .media-block {
    margin: 0;
  }

  .media-block {
    max-height: unset;
    width: 100%;
    border-radius: 0;
    height: 600px;
  }

  .media-block video {
    max-height: unset;
  }
  .top-banner video {
    margin-top: 140px;
  }

  .top-banner video {
    max-width: 160%;
  }

  footer {
    height: auto;
    padding: 47px 0px;
  }

  footer .dual-grid {
    align-items: start;
  }
}
@media (max-width: 630px)  {
  .top-banner video {
    margin-top: 80px;
    margin-right: 150px;
    max-width: 200%;
  }

  .lowres-padding {
    padding: 0 2rem;
  }

  .line {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-direction: column;
  }

  .media-block {
    max-height: unset;
    width: 100%;
    border-radius: 0;
    height: fit-content;
  }

  .media-block video {
    max-width: 100%;
  }

  .hidden-lowres {
    display:none;
  }

  h2#total-price {
    font-size: 2.5rem;
  }
}

/* Модальное окно галереи */
.gallery-modal {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    animation: fadeIn 0.3s;
}

.gallery-modal-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    animation: zoomIn 0.3s;
}

.gallery-modal-content img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.gallery-modal-close {
    position: absolute;
    right: 35px;
    top: 15px;
    font-size: 40px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    z-index: 10001;
}

.gallery-modal-close:hover {
    color: #bbb;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}