/* ===== HERO CAROUSEL ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero__carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero__slide.active {
  opacity: 1;
  z-index: 1;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.hero__button {
  display: inline-block;
  padding: 18px 40px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid #fff;
  transition: all 0.3s ease;
}

.hero__button:hover {
  background: #0000cc;
  border-color: #0000cc;
  opacity: 1;
}

@media (max-width: 767px) {
  .hero__button {
    padding: 15px 30px;
    font-size: 13px;
  }

  .hero__content {
    bottom: 40px;
  }
}

/* Hero Navigation Arrows */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 11;
  width: 60px;
  height: 60px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.hero__arrow:hover {
  opacity: 0.7;
}

.hero__arrow svg {
  width: 100%;
  height: 100%;
}

.hero__arrow-bg {
  fill: rgba(0, 0, 0, 0.2);
}

.hero__arrow-icon {
  fill: #fff;
}

.hero__arrow--prev {
  left: 30px;
  transform: translateY(-50%) rotate(180deg);
}

.hero__arrow--next {
  right: 30px;
}

@media (max-width: 767px) {
  .hero__arrow {
    width: 40px;
    height: 40px;
  }

  .hero__arrow--prev {
    left: 10px;
  }

  .hero__arrow--next {
    right: 10px;
  }
}

/* Hero Dots */
.hero__dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #000;
  border: 2px solid #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero__dot.active {
  background: #0000cc;
  border-color: #0000cc;
}

/* ===== BEST SELLERS ===== */
.best-sellers {
  padding: 80px 0;
}

@media (max-width: 767px) {
  .best-sellers {
    padding: 60px 0;
  }
}

.best-sellers__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.best-sellers__title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}

@media (max-width: 767px) {
  .best-sellers__title {
    font-size: 24px;
  }

  .best-sellers__header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

.best-sellers__button {
  display: inline-block;
  padding: 14px 32px;
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.best-sellers__button:hover {
  background: #333;
  opacity: 1;
  transform: translateY(-2px);
}

.best-sellers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .best-sellers__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .best-sellers__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

/* Product Card */
.product-card {
  position: relative;
}

.product-card__link {
  display: block;
}

.product-card__image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #f5f5f5;
  margin-bottom: 16px;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #000;
  color: #fff;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card__badge--sold {
  background: #999;
}

.product-card__info {
  padding: 0 4px;
}

.product-card__title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__price {
  display: flex;
  gap: 8px;
  align-items: center;
}

.product-card__price-new {
  font-size: 14px;
  font-weight: 600;
}

.product-card__price-old {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
}

/* ===== LATEST NEWS ===== */
.latest-news {
  padding: 80px 0;
  background: #fff;
}

@media (max-width: 767px) {
  .latest-news {
    padding: 60px 0;
  }
}

.latest-news__title {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 50px;
}

.latest-news__title a {
  color: #000;
}

@media (max-width: 767px) {
  .latest-news__title {
    font-size: 24px;
    margin-bottom: 40px;
  }
}

.latest-news__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 900px) {
  .latest-news__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .latest-news__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* News Card */
.news-card__link {
  display: block;
}

.news-card__image {
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 20px;
  background: #f5f5f5;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card__image img {
  transform: scale(1.05);
}

.news-card__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__excerpt {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1568px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 767px) {
  .container {
    padding: 0 20px;
  }
}

/* ===== HEADER / NAVBAR ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.header.scrolled {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header__container {
  max-width: 1568px;
  margin: 0 auto;
  padding: 15px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

@media (max-width: 767px) {
  .header__container {
    padding: 15px 20px;
  }
}

.header__left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.header__hamburger span {
  width: 20px;
  height: 1.5px;
  background: #000;
  transition: background 0.3s ease;
}

.header:not(.scrolled) .header__hamburger span {
  background: #fff;
}

@media (max-width: 900px) {
  .header__hamburger {
    display: flex;
  }
}

.header__nav {
  display: flex;
  gap: 32px;
}

@media (max-width: 900px) {
  .header__nav {
    display: none;
  }
}

.header__link {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #000;
  transition: opacity 0.3s ease;
}

.header:not(.scrolled) .header__link {
  color: #fff;
}

.header__link:hover {
  opacity: 0.7;
}

.header__link--highlight {
  color: #0000cc;
}

.header:not(.scrolled) .header__link--highlight {
  color: #fff;
}

.header__logo {
  display: block;
}

.header__logo-img {
  height: 30px;
  width: auto;
  display: block;
}

.header__logo-img--white {
  display: none;
}

.header:not(.scrolled) .header__logo-img {
  display: none;
}

.header:not(.scrolled) .header__logo-img--white {
  display: block;
}

.header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.header__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #000;
  transition: color 0.3s ease;
}

.header:not(.scrolled) .header__icon {
  color: #fff;
}

.header__icon svg {
  width: 100%;
  height: 100%;
}

.header__icon--cart {
  position: relative;
}

.header__cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #000;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header:not(.scrolled) .header__cart-count {
  background: #fff;
  color: #000;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transition:
    visibility 0.3s ease,
    opacity 0.3s ease;
}

.mobile-menu.active {
  visibility: visible;
  opacity: 1;
}

.mobile-menu__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.mobile-menu__content {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 380px;
  max-width: 90vw;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding: 20px;
  overflow-y: auto;
}

.mobile-menu.active .mobile-menu__content {
  transform: translateX(0);
}

.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: auto;
  margin-bottom: 32px;
}

.mobile-menu__close svg {
  width: 20px;
  height: 20px;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu__link {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-menu__link--highlight {
  color: #0000cc;
}

/* ===== FOOTER ===== */
.footer {
  background: #fff;
  padding: 100px 0 65px;
  border-top: 1px solid #f0f0f0;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

@media (max-width: 767px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.footer__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  font-size: 14px;
  color: #666;
}

.footer__links a:hover {
  color: #000;
  opacity: 1;
}

.footer__newsletter-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer__newsletter-input-group {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
}

.footer__newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-right: none;
  font-size: 14px;
  font-family: inherit;
}

.footer__newsletter-input:focus {
  outline: none;
  border-color: #000;
}

.footer__newsletter-button {
  padding: 12px 24px;
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.3s ease;
}

.footer__newsletter-button:hover {
  background: #333;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.footer__social svg {
  width: 100%;
  height: 100%;
}
