* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: #ffffff;
  color: #111111;
}

body.no-scroll {
  overflow: hidden;
}

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

button {
  font: inherit;
  cursor: pointer;
}


/* ANNOUNCEMENT */

.announcement-bar {
  width: 100%;
  height: 32px;

  overflow: hidden;

  display: flex;
  align-items: center;

  background: #000000;
  color: #ffffff;
}

.announcement-track {
  width: max-content;

  display: flex;
  align-items: center;

  gap: 32px;

  white-space: nowrap;

  font-size: 10px;
  font-weight: 600;

  letter-spacing: 1.2px;

  animation: announcementScroll 26s linear infinite;
}

@keyframes announcementScroll {

  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }

}


/* HEADER */

.site-header {
  width: 100%;
  height: 66px;

  position: sticky;
  top: 0;

  z-index: 100;

  background: #ffffff;

  border-bottom: 1px solid #eeeeee;
}

.header-inner {
  width: 100%;
  max-width: 1400px;
  height: 100%;

  margin: 0 auto;

  padding: 0 32px;

  display: grid;

  grid-template-columns: 1fr auto 1fr;

  align-items: center;
}

.desktop-nav {
  display: flex;

  gap: 28px;

  font-size: 12px;
}

.logo {
  font-family: "Playfair Display", serif;

  font-size: 26px;
  font-style: italic;
  font-weight: 600;
}

.header-actions {
  justify-self: end;

  display: flex;

  gap: 17px;
}

.header-icon {
  border: none;
  background: none;

  display: flex;

  position: relative;
}

.cart-count {
  width: 17px;
  height: 17px;

  position: absolute;

  top: -8px;
  right: -10px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #000;
  color: #fff;

  font-size: 8px;
}

.mobile-menu-button,
.mobile-nav {
  display: none;
}


/* PRODUCTS */

.products-section {
  max-width: 1400px;

  margin: 0 auto;

  padding: 52px 32px 80px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 28px;
}

.section-heading h1 {
  font-size: 19px;
}

.view-all {
  font-size: 12px;

  text-decoration: underline;
}

.product-grid {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 34px 22px;
}

.product-image-wrapper {
  width: 100%;

  aspect-ratio: 1 / 1;

  display: block;

  position: relative;

  overflow: hidden;

  background: #f4f4f4;
}

.product-image {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  transition:
    opacity 0.3s ease,
    transform 0.4s ease;
}

.hover-image {
  position: absolute;

  inset: 0;

  opacity: 0;
}

.product-image-wrapper:hover .primary-image {
  opacity: 0;
}

.product-image-wrapper:hover .hover-image {
  opacity: 1;
}

.product-image-wrapper:hover .product-image {
  transform: scale(1.015);
}

.sale-badge {
  position: absolute;

  top: 11px;
  left: 11px;

  z-index: 5;

  background: #000;
  color: #fff;

  padding: 6px 8px;

  font-size: 8px;
  font-weight: 600;

  letter-spacing: 1px;
}

.product-info {
  padding-top: 12px;
}

.product-title {
  margin-bottom: 7px;

  font-size: 12px;
  font-weight: 500;

  line-height: 1.45;
}

.product-price {
  display: flex;

  gap: 8px;

  font-size: 12px;
}

.sale-price {
  font-weight: 600;
}

.compare-price {
  color: #888;

  text-decoration: line-through;
}


/* PRODUCT BUTTONS */

.product-actions {
  margin-top: 12px;

  display: grid;

  grid-template-columns: 44px 1fr;

  gap: 7px;
}

.product-cart-button,
.product-buy-button {
  height: 42px;

  border: 1px solid #111;

  background: #111;
  color: #fff;

  border-radius: 5px;
}

.product-cart-button {
  display: flex;

  align-items: center;
  justify-content: center;
}

.product-buy-button {
  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.8px;
}

.product-cart-button:hover,
.product-buy-button:hover {
  background: #fff;
  color: #111;
}


/* COMMUNITY */

.community-section {
  max-width: 1400px;

  margin: 0 auto;

  padding: 65px 32px 90px;
}

.community-section > h2 {
  margin-bottom: 34px;

  text-align: center;

  font-size: 21px;
  font-weight: 600;
}

.review-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 20px;
}

.review-card {
  overflow: hidden;

  border: 1px solid #e1e1e1;

  background: #ffffff;
}

.review-image {
  width: 100%;
  height: 330px;

  display: block;

  object-fit: cover;
}

.review-content {
  padding: 20px;
}

.review-name {
  font-size: 12px;
  font-weight: 700;
}

.verified {
  margin-top: 4px;

  color: #16834f;

  font-size: 9px;
  font-weight: 500;
}

.stars {
  margin-top: 10px;

  font-size: 13px;

  letter-spacing: 2px;
}

.review-text {
  margin-top: 12px;

  color: #444;

  font-size: 11px;

  line-height: 1.7;
}


/* ABOUT */

.about-section {
  padding: 90px 20px;

  background: #f5f5f5;
}

.about-content {
  max-width: 600px;

  margin: auto;

  text-align: center;
}

.about-content h2 {
  margin-bottom: 20px;

  font-size: 21px;
}

.about-content p {
  margin-bottom: 30px;

  color: #555;

  font-size: 12px;

  line-height: 1.9;
}

.black-button {
  min-width: 210px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 15px 30px;

  background: #000;
  color: #fff;

  font-size: 10px;
  font-weight: 600;
}


/* FOOTER */

.site-footer {
  padding: 65px 32px 25px;

  background: #050505;
  color: #fff;
}

.footer-grid {
  max-width: 1400px;

  margin: auto;

  display: grid;

  grid-template-columns: 2fr 1fr 1fr;

  gap: 80px;
}

.footer-logo {
  font-family: "Playfair Display", serif;

  font-size: 25px;
  font-style: italic;

  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 330px;

  color: #999;

  font-size: 11px;

  line-height: 1.8;
}

.footer-column {
  display: flex;

  flex-direction: column;

  gap: 12px;
}

.footer-column h3 {
  font-size: 10px;
}

.footer-column a {
  color: #999;

  font-size: 11px;
}

.footer-bottom {
  max-width: 1400px;

  margin: 60px auto 0;

  padding-top: 20px;

  border-top: 1px solid #222;

  color: #666;

  font-size: 9px;
}


/* CART */

.cart-overlay {
  position: fixed;

  inset: 0;

  z-index: 190;

  background: rgba(0, 0, 0, 0.45);

  opacity: 0;
  visibility: hidden;

  transition: 0.3s;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  width: 410px;
  max-width: 100%;
  height: 100%;

  position: fixed;

  top: 0;
  right: 0;

  z-index: 200;

  display: flex;

  flex-direction: column;

  background: #fff;

  transform: translateX(100%);

  transition: 0.3s;
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-header {
  height: 70px;

  padding: 0 22px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid #eee;
}

.cart-header h2 {
  font-size: 13px;
}

.cart-header button {
  border: 0;

  background: none;

  font-size: 30px;
}

.cart-items {
  flex: 1;

  overflow-y: auto;

  padding: 22px;
}

.empty-cart {
  margin-top: 50px;

  text-align: center;

  color: #777;

  font-size: 12px;
}

.cart-item {
  display: grid;

  grid-template-columns: 72px 1fr;

  gap: 15px;

  padding: 15px 0;

  border-bottom: 1px solid #eee;
}

.cart-item-image {
  width: 72px;
  height: 72px;

  object-fit: cover;
}

.cart-item-top {
  display: flex;

  justify-content: space-between;

  gap: 12px;
}

.cart-item-name,
.cart-item-price {
  font-size: 11px;
}

.cart-item-bottom {
  margin-top: 12px;

  display: flex;

  align-items: center;
  justify-content: space-between;
}

.quantity-controls {
  display: flex;

  border: 1px solid #ddd;
}

.quantity-controls button {
  width: 30px;
  height: 28px;

  border: 0;

  background: #fff;
}

.quantity-controls span {
  min-width: 26px;

  display: flex;

  align-items: center;
  justify-content: center;

  font-size: 11px;
}

.remove-item {
  border: 0;

  background: none;

  color: #777;

  font-size: 9px;

  text-decoration: underline;
}

.cart-footer {
  padding: 22px;

  border-top: 1px solid #eee;
}

.cart-total {
  margin-bottom: 18px;

  display: flex;

  justify-content: space-between;

  font-size: 12px;
}

.checkout-button {
  width: 100%;

  padding: 16px;

  border: none;

  background: #000;
  color: #fff;
}


/* TABLET */

@media (max-width: 1000px) {

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


/* MOBILE */

@media (max-width: 768px) {

  .announcement-bar {
    height: 30px;
  }

  .announcement-track {
    font-size: 8px;
  }


  /* HEADER */

  .site-header {
    height: 60px;
  }

  .header-inner {
    width: 100%;
    height: 60px;

    padding: 0 15px;

    display: grid;

    grid-template-columns: 40px minmax(0, 1fr) auto;

    align-items: center;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-button {
    width: 40px;
    height: 40px;

    padding: 0;

    display: flex;

    align-items: center;
    justify-content: flex-start;

    border: none;

    background: transparent;
    color: #111111;

    appearance: none;
    -webkit-appearance: none;
  }

  .mobile-menu-button svg {
    width: 22px;
    height: 22px;

    display: block;

    stroke: #111111;
  }

  .account-icon {
    display: none;
  }

  .logo {
    justify-self: center;

    font-size: 20px;
    line-height: 1;

    white-space: nowrap;

    color: #111111;
  }

  .header-actions {
    justify-self: end;

    display: flex;
    align-items: center;

    gap: 16px;
  }

  .header-icon {
    width: 24px;
    height: 40px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;

    background: transparent;
    color: #111111;

    appearance: none;
    -webkit-appearance: none;
  }

  .header-icon svg {
    display: block;

    stroke: #111111;
  }


  /* MOBILE NAV */

  .mobile-nav {
    width: 100%;

    position: fixed;

    top: 90px;
    left: 0;
    right: 0;

    z-index: 95;

    padding: 20px;

    flex-direction: column;

    gap: 20px;

    border-bottom: 1px solid #eeeeee;

    background: #ffffff;

    font-size: 13px;
  }

  .mobile-nav.active {
    display: flex;
  }


  /* PRODUCTS */

  .products-section {
    padding: 35px 15px 60px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 26px 10px;

    align-items: stretch;
  }

  .product-card {
    height: 100%;

    display: flex;
    flex-direction: column;
  }

  .product-info {
    flex: 1;

    display: flex;
    flex-direction: column;
  }

  .product-title {
    min-height: 29px;

    font-size: 10px;
    line-height: 1.45;

    display: -webkit-box;

    line-clamp: 2;
    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;
  }

  .product-price {
    font-size: 10px;
  }

  .product-actions {
    margin-top: auto;

    padding-top: 10px;

    grid-template-columns: 38px 1fr;

    gap: 6px;
  }

  .product-cart-button,
  .product-buy-button {
    height: 38px;
  }

  .product-buy-button {
    font-size: 9px;
  }


  /* REVIEWS */

  .community-section {
    padding: 50px 15px 65px;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-image {
    height: 230px;
  }

  .review-content {
    padding: 15px;
  }


  /* ABOUT */

  .about-section {
    padding: 65px 20px;
  }


  /* FOOTER */

  .site-footer {
    padding: 50px 20px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;

    gap: 40px;
  }


  /* CART */

  .cart-drawer {
    width: 100%;
  }

}

.flash-sale-bar {
  height: 62px;
  background: radial-gradient(ellipse at center, #261314 0%, #111 65%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flash-sale-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: Inter, sans-serif;
  white-space: nowrap;
}

.flash-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff4248;
  box-shadow: 0 0 12px #ff4248;
  animation: flashPulse 1.5s infinite;
}

.flash-text {
  color: #ff4248;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
}

.flash-separator {
  color: #777;
}

.flash-timer {
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 2px;
  font-variant-numeric: tabular-nums;
}

.flash-particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, #ff4545 1.5px, transparent 5px),
    radial-gradient(circle, #ff4545 2px, transparent 7px);
  background-size: 230px 65px, 350px 95px;
  background-position: 35px 12px, 145px 34px;
  opacity: .6;
  animation: particleGlow 3s ease-in-out infinite alternate;
}

@keyframes flashPulse {
  50% { opacity: .45; }
}

@keyframes particleGlow {
  from { opacity: .25; }
  to { opacity: .75; }
}

@media (max-width: 600px) {
  .flash-sale-bar { height: 48px; }
  .flash-sale-content { gap: 8px; }
  .flash-text { font-size: 11px; }
  .flash-timer { font-size: 17px; }
}

.sticky-flash {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translate(-50%, -15px);
  z-index: 9999;

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

  padding: 9px 13px;
  background: #fff;
  border: 1px solid #ffd8d8;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);

  font-family: Inter, sans-serif;
  font-size: 11px;
  white-space: nowrap;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all .25s ease;
}

.sticky-flash.visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.sticky-flash-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff4545;
  box-shadow: 0 0 6px #ff4545;
}

.sticky-flash strong,
.sticky-flash b {
  color: #ff4545;
  font-weight: 700;
}

.sticky-flash b {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 380px) {
  .sticky-flash {
    padding: 8px 10px;
    gap: 5px;
    font-size: 10px;
  }
}
