:root {
  --light-background: #f2f2f2;
  --light-text-color: #121212;
  --dark-background: #121212;
  --dark-text-color: #f2f2f2;
  --accent-color: #d4af37;
  --primary-color: #f2f2f2;
  --secondary-color: #121212;
  --hamburger-link-color: #272114;
  --background-color-hover: rgba(212, 175, 55, 0.1);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "DM Sans", sans-serif;
  background-color: var(--dark-background);
  color: var(--light-text-color);
}
body.dark-theme {
  background-color: var(--light-background);
  color: var(--dark-text-color);
}
/* ======================
   SHOP HEADER
====================== */

.shop-header {
  text-align: center;
  padding: 100px 20px 0 40px;
}
.shop-header::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;

  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.15) 0%,
    transparent 70%
  );
  z-index: -1;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.shop-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  font-weight: 600;
  /* margin: 10px 0; */
  color: #fff;
}

/* Small tag */

.section-tag {
  font-size: 12px;
  letter-spacing: 4px;
  color: #d4af37;
  font-weight: 600;
}

/* underline */

.underline {
  width: 60px;
  height: 2px;
  background: #d4af37;
  margin: 10px auto 0;
  margin-bottom: 0;
}

/* Dark theme */

body.dark-theme .shop-header h2 {
  color: #111;
}
.shop-toolbar {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 0 20px 20px 20px;
  flex-wrap: wrap;
}

/* =========================
   SEARCH BAR
========================= */

.shop-search {
  flex: 1;
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 10px 14px;
  border: 2px solid #d4af37;
  transition: all 0.25s ease;
}

.shop-search:hover {
  border-color: #d4af37 2px solid;
  background: #fafafa;
}

.shop-search:focus-within {
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.shop-search input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 14px;
  color: #333;
}

/* =========================
   SEARCH ICON
========================= */

.search-icon {
  width: 18px;
  margin-right: 10px;
  stroke: #000;
  stroke-width: 2;
  fill: none;
}

/* =========================
   SORT DROPDOWN
========================= */

#sortSelect {
  padding: 10px 16px;
  border-radius: 8px;
  border: 2px solid #d4af37;
  background: #f5f5f5;
  font-size: 14px;
  cursor: pointer;
  color: #333;
  outline: none;
  transition: all 0.25s ease;
}

#sortSelect:hover {
  border-color: #d4af37;
}

#sortSelect:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* =========================
   DARK THEME SUPPORT
========================= */

body.dark-theme .shop-search,
body.dark-theme #sortSelect {
  /* background: #1a1a1a; */
  border: #d4af37 2px solid;
  color: #333;
}

body.dark-theme .shop-search input {
  color: #333;
}

body.dark-theme .search-icon {
  stroke: #bbb;
}
.product-arrival {
  margin: 20px;
}
/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 768px) {
  .shop-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  #sortSelect {
    width: 100%;
  }
  #sortSelect option {
    padding: 10px;
    width: 100%;
    display: block;
  }
  .shop-header h2 {
    font-size: 32px;
  }
  .shop-header::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;

    background: radial-gradient(
      circle,
      rgba(212, 175, 55, 0.15) 0%,
      transparent 70%
    );

    top: 0;
    right: 0;
    z-index: -1;
  }
}
