@import url('https://fonts.cdnfonts.com/css/geometria');


body {
    background-color: #FFFDFD;
    font-family: 'Geometria', sans-serif;
}

.container-my {
    padding: 0 2rem;
}

.my-h1 {
    font-weight: 100;
    font-size: clamp(26px, 3.4vw, 62px);
    text-transform: uppercase;
    font-family: 'Forum', sans-serif;
    letter-spacing: .09rem;
}

  
.my-h2 {
    font-weight: 400;
    font-size: clamp(22px, 2vw, 36px);
    text-transform: uppercase;
    font-family: 'Forum', sans-serif;
    letter-spacing: .09rem;
}

.my-p {
    font-weight: 300;
    font-size: clamp(12px, 1vw, 20px);
        line-height: 1.7rem;
}

.my-p2 {
    font-weight: 400;
    font-size: clamp(12px, 1.2vw, 20px);
}

/*@media (min-width: 768px) {
    .container-my {
      padding: 0 32px;  
    }
}

@media (min-width: 1024px) {
    .container-my {
      padding: 0 64px;  
    }
}*/

.header__huinia {
    height: 99px;
}

.collection__wrapper{
  display: grid;
  grid-template-columns: 1fr 1fr; /* фото | блок товаров (по ширине совпадают) */
  gap: 1rem;
  box-sizing: border-box;
  align-items: stretch;
  max-width: 1980px;
  margin: 0 auto;
}

.collection__photo {
    position: relative;
    overflow: hidden;
}

.collection__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* не сжимает, а обрезает */
}

/* блок товаров — вложенный грид с тем же gap */
.collection__products{
  grid-column: 2 / 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.product-card img{ display:block; width:100%; height:auto; }

.product-card {
    display: flex;
    flex-direction: column;
}

.product-card__image {
    overflow: hidden;
}

.product-card:hover .product-card__image img {
    transform: scale(1.035);
}

.product-card__image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.6s cubic-bezier(0.5, 0, 0, 1), scale 1s cubic-bezier(0.5, 0, 0, 1);
    background-color: #F6F3F3;
}

/*.product-card p {
    margin: 4px 0 0;
    color: #555555;
    text-transform: uppercase;
    line-height: 1.4;
    text-align: left; 
}*/

.product-title {
    margin: .5rem 0 0;
    color: black;
    text-transform: uppercase;
    line-height: 1.4;
    text-align: left;
    min-height: calc(1.4em * 2); 
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 70%;
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* прижимает цвета к низу */
    margin: .5rem 0 .8rem;
}

.product-title {
    width: 70%; /* название занимает 70% */
    margin: 0;
}

.product-colors {
  display: flex;
  align-items: center;
  width: 30%;
  justify-content: flex-end;
  gap: 4px;
  color: #555555 !important;
  font-weight: 300;
  font-size: 1rem;
  padding: 5px 5px 0 0;
}

.product-colors .color {
  width: 20px;
  height: 20px;
  display: inline-block;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}





.photo__wide {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.photo__wide.about {
    max-width: 1980px;
    margin: 0 auto;
}

.photo__wide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.text-center {
    display: flex;
    flex-direction: column;
    gap: 1vw;
    justify-content: center;
    text-align: center;
    width: 60vw;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2vw 2vw;
}

.text-center.about {
    padding: 3vw 2vw;
}

.text-center.second {
    padding: 2vw;
    gap: .2rem;
}

.text-center__button {
    position: relative;
    width: fit-content;
    margin: 0 auto;
    line-height: normal;
    text-transform: uppercase;
    cursor: pointer;
}

.text-center__button::before,
.text-center__button::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 0.5px;
    background-color: black;
    width: 100%;
}

.text-center__button::before {
    transform-origin: right; /* исчезает справа налево */
    transform: scaleX(1);
    z-index: 1;
}

.text-center__button::after {
    transform-origin: left; /* появляется слева направо */
    transform: scaleX(0);
    z-index: 2;
}

.text-center__button:hover::before {
    animation: line-disappear 0.4s forwards;
}

.text-center__button:hover::after {
    animation: line-appear 0.4s forwards;
    animation-delay: 0.4s;
}

@keyframes line-disappear {
    0% { transform: scaleX(1); }
    100% { transform: scaleX(0); }
}

@keyframes line-appear {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}




.text-center__button a {
    color: black !important;
}

.text-center__button a {
    position: relative;
    color: inherit;
    text-decoration: none;
    display: inline-block;
}

/*.text-center__button a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
}

.text-center__button a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.text-center__button a:hover::before {
    transform: scaleX(1);
}*/


.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  justify-content: center;
  gap: 1rem;
  max-width: 1980px;
  margin: 0 auto;
  padding: 0 0 6rem 0;
}

.features a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: black !important;
  overflow: hidden;
  text-align: center;
}

.features a:hover img {
  transform: scale(0.98);
}

.features img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.5, 0, 0, 1);
}

.features p {
  margin: .8rem 0 0;
  font-weight: 400;
  text-transform: uppercase;
}


/* Изначальное состояние */
.scroll-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card__image,
.features a {
  overflow: hidden;
}

/* Исходный масштаб чуть больше, чтобы сделать эффект «антизум» при появлении */
.scroll-zoom {
  transform: scale(1.06);
  transition: transform 0.8s ease;
}

/* При появлении на экране масштаб возвращается к 1 */
.scroll-zoom.visible {
  transform: scale(1);
}

.footer-my {
  bottom: 0;
  background-color: #000;
}

.footer__container {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 5vw 0 4vw 0;
  gap: 1vw;
}

.footer__line {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  position: relative;
  z-index: 2000;
  padding-left: 0 !important;
  font-size: 16px;
  letter-spacing: 1px;
  gap: 0.8vw;
  margin: 0;
  color: white;
}

.footer__line li {
  list-style: none;
}

.footer__line li a {
  color: #FFF !important;
  text-decoration: none;
}
.footer__line li:nth-child(0) {
  padding-right: 2%;
  padding-bottom: 2%;
}

.footer__logo {
  width: 25vw;
  max-width: 450px;
}

.footer__rights {
  color: #FFF;
  padding: 0 1% 0 1%;
}

.footer__rights__line {
  display: flex;
  border-top: #FFF solid 1px;
}

.footer__rights__text {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0.6% 0 0.6% 0;
  color: white;
}

.collection__products.about {
  grid-column: 2 / 3;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.text-center.contacts {
  width: 80%;
  padding: 0;
}

.btn-overlay {
  position: absolute;
  left: 50%;
  bottom: 3rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.btn-bg {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.9);
  background: rgba(0,0,0,.10);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition-duration: .8s;
    transition-property: transform;
    transition-timing-function: cubic-bezier(.5,0,0,1);
  z-index: 2;
}

.btn-text {
  position: relative;
  z-index: 5; /* выше фона */
  padding: 1rem 2rem;
}

.btn-overlay:hover .btn-bg {
  transform: scale(0.97); /* сжимается только фон */
}

.collection__wrapper.about {
    padding-bottom: 8rem;
}

/* Грид блока */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1980px;
  margin: 0 auto;
}

.products-grid.brows {
    padding-bottom: 6rem;
}

/* Чёрная полоса сверху на все 5 колонок */
.products-banner {
  grid-column: 1 / -1;
  background: #000;
  min-height: 86px;
  display: flex;
  align-items: center;      /* по вертикали по центру */
  padding: 0 2rem;        /* слева отступ для текста */
}

.products-banner.face {
    margin-top: 2rem;
}

.products-banner span {
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Горизонтальная картинка на 2 колонки (во 2-й строке станет в колонки 4–5) */
.eyes-wide {
  grid-column: span 3;
  display: block;
  align-items: stretch;
}

.eyes-wide.face {
    grid-column: span 2;
    display: block;
  align-items: stretch;
}

.eyes-wide .product-card__image {
  height: 94%;
}

.eyes-wide.face .product-card__image {
    height: 87.6%;
}

.eyes-wide.lips .product-card__image {
    height: 87.6%;
}

.eyes-wide.brows .product-card__image {
    height: 87.6%;
}
.product-card {
  display: flex;
  flex-direction: column;
}
.product-card__image {
  overflow: hidden;
}
.eyes-wide.product-card:hover .product-card__image img {
  transform: none;
}

.eyes-wide  .product-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  transition: none;
  background-color: #F6F3F3;
}

/*.product-title {
  margin: .5rem 0 0;
  color: black;
  text-transform: uppercase;
  line-height: 1.4;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 70%;
}*/

.eyes-wide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-product__wrapper {
    display: flex;
    width: 100%;
}

.page-product__left, .page-product__right {
    height: 100%;
    box-sizing: border-box;
}

.page-product__left {
    width: calc(65% + 1vw);
    padding: 2rem 0 0 2rem;
}

.page-product__right {
    width: calc(50% - 1vw);
}

.page-product__right {
    position: sticky;
    top: 100px;
    right: 0;
}

.page-product__left img {
    width: 100%;
    height: auto;
    display: block;
    padding-bottom: 2rem;
}

.product-card__wrapper {
    padding: 15% 10% 10% 10%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    
}

.product-card__notes__wrapper p {
    padding-bottom: .4rem;
}

.product-card__notes__wrapper p span {
    font-weight: 600;
}

.page-product__right h1 {
    width: fit-content;
    padding-left: 4px;
}

.product-card__cit {
    font-weight: 500;
    text-transform: uppercase;
}

.product-card__text__main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2% 0;
    max-width: 1000px;
}

.circles {
    
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 0.2vw;
  
}

.circle {
    position: relative;
  width: 1vw;
  height: 1vw;
  max-width: 40px;
  max-height: 40px;
  cursor: pointer;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.circles-card {
    gap: 0.4vw;
}

.circles-card .circle {
    width: 2.5vw;
  height: 2.5vw;
  max-width: 50px;
  max-height: 50px;
}

.circles-card {
  display: flex;
  gap: 10px;
    flex-wrap: wrap;
  max-width: 650px;
}

.circle-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.label {
  font-size: 12px;
  padding-top: 3px;
  display: none;
}

.products-grid.also {
    padding: 6rem 0 10rem;
}

.product-card__shades {
    color: gray;
    font-size: 14px;
    padding-bottom: 10px;
}

@media (max-width: 980px) {
  .photo__wide {
    padding-top: 100%; /* создаёт квадрат */
  }

  .photo__wide img {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .footer__line {
        flex-direction: column;
        gap: 2.6vw;
    }
    
    .footer__logo {
        width: 40vw;
        padding-bottom: 0;
    }
    
    .footer__container {
        gap: 2vw;
        padding: 20vw 0 18vw 0;
    }
    
    .footer__rights {
        padding: 0 3% 0 3%;
    }
    
    .footer__rights__text {
        padding: 0 0 5% 0;
    }
    
    .collection__photo .btn-overlay {
    padding: 0.5rem 0.9rem;
    font-size: 0.9rem;
    bottom: 1.8rem;
  }
  
  .eyes-grid { grid-template-columns: 1fr; }
  
  .page-product__left {
        display: none;
    }
    
    .product-card__wrapper {
        padding: 10% 8% 6% 6%;
        gap: .3rem;
    }
    
    .page-product__right {
        width: 100%;
    }
    
    .product-card__notes__wrapper {
        width: 100%;
    }
    
    .header__huinia {
    height: 80px;
    }
    
    .text-center {
        width: 85%;
        padding: 2rem 0;
        gap: 1rem;
    }
    
    .container-my {
        padding: 0 1rem;
    }
    
    .collection__wrapper {
        grid-template-columns: 1fr;
        gap: 0;
        row-gap: 1rem;
    }
    
    .collection__photo {
        grid-column: 1 / 3;
    }
    
    .text-center.second {
        padding: 2rem 0;
    }
    
    .product-colors .color {
        width: 14px;
        height: 14px;
    }
    
    .features {
        padding-bottom: 3rem;
        row-gap: .4rem;
    }
    
    .product-colors {
        font-size: 12px;
    }
    
    .text-center.about .text-center__p {
        padding: 4rem 0;
    }
    
    .text-center.about .text-center__title {
        padding: 2rem 0;
    }
    
    .btn-text {
        padding: .5rem 1rem;
    }
    
    .collection__products.about {
        grid-column: 1 / 3;
        padding: 3rem 0 0 0;
    }
    
    .collection__wrapper.about {
        padding-bottom: 4rem;
    }
    
    .product-info {
        margin: .5rem 0 0rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-banner {
        min-height: 50px;
    }
    
    .eyes-wide {
        grid-column: span 1;
    }
    
    .eyes-wide.face p {
        display: none;
    }
    
    .eyes-wide.face .product-card__image {
        height: 100%;
    }
    
    .products-banner.face {
        margin-top: 1rem;
    }
    
    .eyes-wide.brows .product-card__image {
        height: 82.2%;
    }
    
    .circles-card {
        gap: 4px;
    }
    
    .circles-card .circle {
        width: 25px;
        height: 25px;
    }
    
    .product-card__shades {
        font-size: 10px;
    }
    
    .page-product__right h1 {
        padding-left: 0;
    }
    
    .product-card__text__main {
        gap: 1.3rem;
    }
    
    .products-grid.also {
        padding: 1rem 0 4rem;
    }
    
    .my-p {
        line-height: 1.1rem;
}


}


