@font-face {
  font-family: 'sirenik';
  src: url('fonts/sirenik.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'tolkien';
  src: url('fonts/tolkien.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'prada';
  src: url('fonts/prada.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'geoform';
  src: url('fonts/geoform.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


:root{
  --bg: #000;
  --paper: #e9e9e9;
  --ink: #000;
  --ink-inv: #fff;
  --shadow: 0 0 20px 1px rgba(0,0,0,.2);
  --gap: clamp(12px, 2vw, 24px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
a { color: inherit; text-decoration: none; }


body {
  font-family: Arial, sans-serif;
  color: var(--ink-inv);
  background: url(element/noise.jpg);
  background-size: 5%;
  background-blend-mode: color;
  line-height: 1.5;
}

.cart-count {
  position: absolute;
  top: 10px;
  right: 24px;
  background: #e91e63;
  color: #fff;
  border-radius: 50%;
  padding: 2px 7px;
  font-size: 12px;
  font-weight: bold;
  min-width: 22px;
  text-align: center;
  z-index: 15;
  pointer-events: none;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 для десктопа */
  height: 0;
  overflow: hidden;
}

.video-container video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
} 
@media (max-width: 768px) {
  .hero,
  .video-container {
    position: relative !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 50%;
    transform: translateX(-50%);
    padding: 0 !important;
    height: calc(100vw * 16 / 9) !important; /* для 9:16 ставьте (100vw * 16 / 9) если видео вертикальное */
    overflow: hidden !important;
    border-radius: 0 !important;
  }
  .video-container video {
    position: absolute !important;
    top: 0; left: 0;
    width: 100vw !important;
    height: 100% !important;
    object-fit: cover !important;
    min-height: 100%;
    min-width: 100vw;
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 75px;
  z-index: 10;
  backdrop-filter: none; /* по умолчанию без размытия */
  -webkit-backdrop-filter: none;
  display: grid;
  place-items: center;
  font-family: sirenik, sans-serif;
  transition: background 0.3s, backdrop-filter 0.3s;
}

.site-header.scrolled {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 -8px 10px 15px rgba(0, 0, 0, 0.50);
  background: rgba(0, 0, 0, 0.45);
  
}

@media (max-width: 480px) {
  .site-header { height: 75px; width: 101vw;}
}

.site-header h1 { 
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-top: 7px;
}

.cart-icon-wrapper {
  position: absolute;
  top: 20px;
  right: 32px;
  z-index: 10;
}

.cart-icon {
  transition: stroke 0.2s, fill 0.2s;
  cursor: pointer;
}



.cart-icon-wrapper a:hover .cart-icon circle,
.cart-icon-wrapper a:hover .cart-icon path {
  stroke: #ff4f4f;
}

.cart-icon-wrapper a:hover .cart-icon circle:last-child,
.cart-icon-wrapper a:hover .cart-icon circle:nth-child(3) {
  fill: #ff4f4f;
}

.ribbon {
  position: absolute;
  left: -55px;   /* немного за пределом для аккуратного вида */
  top: 36px;     /* чуть ниже верхнего края */
  transform: rotate(-45deg);
  background: #b71f1f;
  color: #fff;
  font-weight: 600;
  font-size: clamp(9px, 2vw, 12px);
  padding: 4px 52px; /* ширина под 1/3 карточки, можно увеличить вплоть до 72px */
  z-index: 2;
  letter-spacing: 1px;
  pointer-events: none;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.50);
  font-family: geoform;
}


.about-brand {
  padding: clamp(16px, 4vw, 40px) clamp(12px, 4vw, 24px);
  color: #9b9b9b;
  background-color: var(--bg);
  text-align: center;
  filter: drop-shadow(2px 4px 6px black);
  font-family: tolkien, serif;
  
}

.about-brand h2 { margin: 8px 0; font-size: clamp(1.6rem, 4vw, 3rem);}
.about-brand p  { 
  margin: 6px 0; 
  font-size: clamp(0.9rem, 2.5vw, 1.6rem);
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  filter: blur(8px);
  transition:
    opacity 0.63s cubic-bezier(.46,0,.55,1) var(--p-delay, 0s),
    transform 0.78s cubic-bezier(.27,.7,.55,1.08) var(--p-delay, 0s),
    filter 0.72s cubic-bezier(.27,.7,.55,1.08) var(--p-delay, 0s);
  will-change: opacity, transform, filter;
 }

 .about-brand p.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (max-width: 600px) {
    .about-brand h2 {
      font-size: 2.4em;
};
}

@media (max-width: 600px) {
    .about-brand p {
      font-size: 1.4em;
};
}  



.card-grid {
  max-width: 900px;
  margin: clamp(16px, 4vw, 48px) auto;
  padding: 0 clamp(12px, 4vw, 24px);
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
}

@media (max-width: 600px) {
    .card-grid {
  max-width: 1000px;
  margin: clamp(16px, 4vw, 48px) auto;
  padding: 0 clamp(12px, 4vw, 24px);
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
};
}    

.card {
  background: var(--paper);
  border-radius: 12px;
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: clamp(12px, 2.5vw, 20px);
  display: grid;
  gap: 10px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(55px) scale(0.96);
  filter: blur(8px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.12);
  transition:
    opacity 0.62s cubic-bezier(.46,0,.55,1) var(--delay, 0s),
    transform 0.82s cubic-bezier(.27,.7,.55,1.08) var(--delay, 0s),
    filter 0.82s cubic-bezier(.27,.7,.55,1.08) var(--delay, 0s),
    box-shadow 0.62s cubic-bezier(.46,0,.55,1) var(--delay, 0s);
  will-change: opacity, transform, filter, box-shadow;
}

.card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}


.card .card-link { display: grid; justify-items: center; gap: 10px; }

.card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  transition: all 0.5s;
}

.card img:hover {
  transform: translateY(-6px);
}

.card-title {
  font-family: geoform, sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  text-align: center;
  width: 100%;
  
}
.card-price { font-size: clamp(0.9rem, 1.2vw, 1.1rem); }


.gallery {
    border-bottom: solid;
    width: 100%;
    background: #000;
    padding: 40px 0;
}
.photo {
    gap: 0.67%;
    animation: scroll 30s linear infinite;
}

.gallery-row {
  display: flex;
  gap: 10px;
  width: auto; 
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-color: #676767 #000;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}


.gallery-row::-webkit-scrollbar {
  height: 6px;
}
.gallery-row::-webkit-scrollbar-thumb {
  background: #676767;
  border-radius: 3px;
}
.gallery-row::-webkit-scrollbar-track {
  background: #000;
  border-radius: 3px;
}

.gallery-row img {
  border-radius: 10px;
  max-width: 300px; 
  height: auto;
  flex-shrink: 0;
  object-fit: cover;
  scroll-snap-align: start;
}

@media (max-width: 600px) {
    .gallery-row img{
    border-radius:10px;
    max-width: 75%; 
    height: 400px;
}    
}


.fez {
    background-color: #000;
    width: 100%;
    font-family: tolkien;
    font-size: 29px;
    overflow: hidden;
    white-space: nowrap;
}

.fez div{
    display: inline-flex;
    animation: scrollfez 20s linear infinite;
}
@keyframes scrollfez {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-5%);
  }
}


.site-footer {
  background: var(--bg);
  padding: clamp(20px, 10vw, 40px) 0;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

.footer-columns {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(12px, 4vw, 24px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gap);
  align-items: start;
  justify-items: center;
}
.column {
  display: grid;
  gap: 12px;
  justify-items: center;
}
.brand {
  text-align: center;
  font-family: prada, serif;
  display: grid;
}

.brand h2{
  font-size: 2em;
}

@media (max-width: 600px) {
    .brand h2{
    font-size: 3em;
    }
  }
  

.brand p { font-family: geoform, sans-serif; font-size: clamp(0.5rem, 1vw, 1.3rem); }


@media (max-width: 600px) {
    .brand p{
    font-size: 1em;
    }
  }



h6{
  display: flex;
  justify-content: center;
  margin-top: 50px;
  font-family: geoform;
}


.promo-banner {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 999;
  background: rgba(36,38,43,0.96);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.11);
  border-radius: 18px;
  padding: 32px 28px 28px 28px;
  max-width: 370px;
  min-width: 220px;
  width: 90vw;
  font-family: geoform, Arial, sans-serif;
  color: #f6f8fa;
  transition: opacity 320ms cubic-bezier(.58,.07,.22,1), transform 320ms cubic-bezier(.58,.07,.22,1);
  box-sizing: border-box;
  opacity: 1;
  background: rgba(0,0,0,0.65); 
  backdrop-filter: blur(10px);
  transform: translateY(0);
}

.promo-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  padding: 2px;
  cursor: pointer;
  z-index: 1001;
  border-radius: 6px;
  transition: background 120ms;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.74;
}

.promo-close:hover,
.promo-close:focus {
  background: rgba(255,255,255,0.11);
  opacity: 1;
  outline: none;
}

.promo-close svg {
  display: block;
  pointer-events: none;
}

.promo-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.promo-title {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 500;
  color: #ffd1e4;
  text-align: center;
  line-height: 1.46;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 9px rgba(233, 30, 99, .07);
}

.promo-btn {
  padding: 12px 38px;
  font-size: 1.13em;
  border-radius: 8px;
  background: linear-gradient(90deg, #e91e63 20%, #e62a2a 100%);
  color: #fff;
  border: none;
  box-shadow: 0 2px 12px rgba(233,30,99,.14);
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 180ms, box-shadow 180ms, transform 150ms;
}

.promo-btn:hover, .promo-btn:focus {
  background: linear-gradient(90deg, #f06292 5%, #c50000 100%);
  box-shadow: 0 4px 24px rgba(233,30,99,.17);
  transform: translateY(-2px) scale(1.05);
}
@media (max-width: 600px){
  .promo-banner{ bottom: 8vw; padding: 24px 12px 22px 12px; max-width: 98vw; }
  .promo-content{ gap: 18px; }
  .promo-title{ font-size: clamp(1rem, 4vw, 1.3rem); }
  .promo-btn{ width: 100%; max-width: 260px; }
  .promo-close{ top: 10px; right: 10px; }
}
