* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Graphik",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #fff;
  color: #222;
}

.header {
  background: #fff;
  border-bottom: 1px solid #e1e3df;
  padding: 12px 24px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  font-size: 40px;
  font-weight: bold;
  color: #f1641e;
  text-decoration: none;
  font-family: "Guardian-EgypTT", serif;
}

.menu-icon {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #222;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hamburger i {
  font-size: 20px;
}

.search-bar {
  flex: 1;
  position: relative;
  max-width: 800px;
}

.search-bar input {
  width: 100%;
  padding: 13px 50px 13px 17px;
  border: 2px solid #222;
  border-radius: 24px;
  font-size: 14px;
  outline: none;
}

.search-bar input:focus {
  border-color: #f1641e;
}

.search-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: #f1641e;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.header-icons {
  display: flex;
  margin-left: 30px;
  gap: 20px;
  align-items: center;
  justify-content: end;
}

.header-icons a {
  color: #222;
  text-decoration: none;
  font-size: 20px;
}

.icon {
  font-size: 20px;
}

.breadcrumb {
  padding: 16px 24px;
  background: #fff;
  border-bottom: 1px solid #e1e3df;
}

.breadcrumb-container {
  max-width: 1400px;
  margin: 0 auto;
  font-size: 13px;
  color: #595959;
  text-align: center;
}

.breadcrumb a {
  color: #222;
  text-decoration: underline;
}

.breadcrumb a:hover {
  color: #f1641e;
}

.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 65% 30%;
  justify-content: space-between;
}

.image-gallery {
  max-height: 670px;
  display: flex;
  gap: 12px;
}

.thumbnails {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.thumbnail {
    width: 71px;
    height: 67px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnail.active {
  border-color: #222;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-image-container {
  flex: 1;
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  padding: 70px 135px;
  /* aspect-ratio: 4/5; */
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.15);
  font-size: 24px;
  color: #222;
}

.nav-arrow.prev {
  left: 16px;
}

.nav-arrow.next {
  right: 16px;
}

.favorite-btn i {
  font-size: 22px;
}
.favorite-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 20px;
}

.product-info {
  position: relative;
}

.visitors-badge {
  background: #fef7f5;
  border: 1px solid #f1641e;
  color: #c44601;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  display: inline-block;
  margin-bottom: 16px;
}

.price-section {
  margin-bottom: 16px;
}

.current-price {
  font-size: 32px;
  font-weight: bold;
  color: #222;
}

.original-price {
  font-size: 18px;
  color: #858585;
  text-decoration: line-through;
  margin-left: 12px;
}

.discount-badge {
  display: inline-block;
  background: #b8e7d6;
  color: #004c3f;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 8px;
}

.sale-info {
  color: #007e3d;
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
}

.vat-info {
  color: #858585;
  font-size: 13px;
  margin-top: 4px;
}

.product-badge {
  margin: 20px 0;
}

.product-badge img {
  max-width: 280px;
  height: auto;
}

.product-title {
  font-size: 28px;
  font-weight: 600;
  color: #222;
  margin: 20px 0;
  line-height: 1.3;
}

.product-description {
  font-size: 15px;
  color: #595959;
  line-height: 1.6;
  margin-bottom: 20px;
}

.seller-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.seller-name {
  font-weight: 600;
  color: #222;
}

.stars {
  color: #ffc107;
  font-size: 20px;
}

.add-to-cart-btn {
  width: 100%;
  background: #222;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 16px;
  transition: background 0.2s;
}

.add-to-cart-btn:hover {
  background: #000;
}

.seller-info {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: #f9f9f9;
  border-radius: 8px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.seller-icon {
  width: 40px;
  height: 40px;
  background: #e0d5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.seller-details {
  flex: 1;
}

.seller-title {
  font-weight: 600;
  font-size: 14px;
  color: #222;
}

.seller-text {
  font-size: 13px;
  color: #595959;
  line-height: 1.5;
  margin-top: 4px;
}

.accordion-section {
  border-top: 1px solid #e1e3df;
  padding: 20px 0;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #222;
}

.accordion-icon {
  font-size: 20px;
  color: #858585;
}

.report-link {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #e1e3df;
}

.report-link a {
  color: #595959;
  text-decoration: underline;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .main-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .image-gallery {
    flex-direction: column-reverse;
  }

  .thumbnails {
    flex-direction: row;
    overflow-x: auto;
  }

  .thumbnail {
    flex-shrink: 0;
  }

  .main-image-container {
    aspect-ratio: 1;
  }
}

@media (max-width: 768px) {
  .header-container {
    gap: 12px;
  }

  .logo {
    font-size: 32px;
  }

  .search-bar {
    display: none;
  }

  .header-icons a span {
    display: none;
  }

  .main-content {
    padding: 16px;
  }

  .product-title {
    font-size: 24px;
  }

  .current-price {
    font-size: 28px;
  }

  .nav-arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .favorite-btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 8px 12px;
  }

  .main-content {
    padding: 12px;
    gap: 20px;
  }

  .thumbnails {
    gap: 6px;
  }

  .thumbnail {
    width: 50px;
    height: 50px;
  }

  .product-badge img {
    max-width: 200px;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a0a0a0;
}
