* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0d6efd;
  --gray-200: #e3e8ee;
  --gray-400: #9da1a7;
  --dark: #1c1c1c;
  --white: #ffffff;
  --blue: #0d6efd;
  --gray-border: #e3e8ee;
  --text-main: #1c1c1c;
  --text-gray: #8b96a5;
  --star-orange: #ff9017;
}
body {
  font-family: sans-serif;
  background-color: #f7fafc;
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
header .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
}

.icon-hover :hover {
  color: var(--primary);
}

header {
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 40px;
}

.search-bar {
  flex: 1;
  display: flex;
  border: 2px solid var(--primary);
  border-radius: 6px;
  overflow: hidden;
}
.category-select {
  margin-right: 5px;
}

.search-bar input {
  flex: 1;
  border: none;
  padding: 10px;
  outline: none;
}

.search-bar select {
  border: none;
  border-left: 1px solid var(--primary);
  padding: 0 7px;
  outline: none;
  background: var(--white);
}

.search-bar button {
  border-radius: 0;
  padding: 0 25px;
}

.header-actions {
  display: flex;
  gap: 20px;
  color: var(--gray-400);
}

.action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  cursor: pointer;
}

.action-item i {
  font-size: 18px;
  margin-bottom: 5px;
}

.navbar {
  border-top: 1px solid var(--gray-200);
  padding: 15px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  gap: 25px;
  font-weight: 500;
}

.nav-extras span {
  padding-left: 20px;
}

.nav-extras {
  display: flex;
  gap: 5px;
  color: var(--dark);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px;
}

.page-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px;
}
.breadcrumbs span {
  margin-right: 15px;
}

.breadcrumbs {
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 20px;
}
.main-layout {
  display: flex;
  gap: 20px;
}
.sidebar {
  width: 240px;
  flex-shrink: 0;
}
.content {
  flex-grow: 1;
}

.filter-group {
  border-top: 1px solid var(--gray-border);
  padding: 20px 0;
}
.filter-group label {
  font-size: 17px;
}
.filter-group h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.filter-header {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 18px;
}
.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar label {
  display: block;
  margin-bottom: 8px;
  color: #505050;
}
.sidebar li {
  margin-bottom: 8px;
  cursor: pointer;
  color: #505050;
  font-size: 17px;
}
.active-blue {
  color: var(--blue) !important;
}

.filter-container {
  background-color: white;
  border-top: 1px solid #e0e0e0;
}

.filter-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 8px;
  border-bottom: 1px solid #e0e0e0;
  cursor: pointer;
}

.filter-label {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}

.content-header {
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 20px;
}
.header-top {
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-controls {
  display: flex;
  align-items: center;
}
.header-top .header-controls select {
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid var(--gray-200);
  margin: 0 10px 0 20px;
}
.content-header .view-btns button {
  font-size: 25px;
  padding: 0 5px;
  background-color: #f8f9fa;
  border: 1px solid #e3e8ee;
  border-radius: 4px;
}

.filter-tags {
  display: flex;
  gap: 8px;
  margin: 15px 0;
  align-items: center;
}
.tag {
  border: 1px solid var(--blue);
  padding: 4px 10px;
  border-radius: 5px;
  color: #505050;
  font-size: 15px;
}
.clear-link {
  color: var(--blue);
  font-size: 13px;
  cursor: pointer;
  margin-left: 10px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  padding: 15px;
  position: relative;
}
.product-img img {
  width: 100%;
  height: 180px;
  object-fit: contain;
}
.price-row {
  margin-top: 25px;
}
.price {
  font-size: 18px;
  font-weight: bold;
}
.old-price {
  color: var(--text-gray);
  text-decoration: line-through;
  font-size: 14px;
  margin-left: 5px;
}
.rating-row {
  padding: 7px 0 8px 0;
}
.stars {
  color: var(--star-orange);
}
.wishlist-btn {
  position: absolute;
  right: 15px;
  top: 15px;
  border: 1px solid var(--gray-border);
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--blue);
  cursor: pointer;
  font-size: 22px;
}

.pagination-bar {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 30px;
}
.show-select {
  padding: 0 10px;
  border: 1px solid var(--gray-border);
  border-radius: 4px;
}
.pag-btns {
  display: flex;
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  overflow: hidden;
}
.pag-btns button {
  background: #fff;
  border: none;
  border-right: 1px solid var(--gray-border);
  padding: 8px 15px;
  cursor: pointer;
}
.pag-btns button.active {
  background: #eff2f4;
  color: var(--text-gray);
}

.newsletter {
  background: var(--gray-200);
  padding: 40px 0;
  text-align: center;
}

.input-group {
  display: flex;
  width: 280px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 5px;
  align-items: center;
}

.input-group i {
  padding: 0 5px;
  color: var(--gray-400);
}
.input-group input {
  border: none;
  flex: 1;
  outline: none;
}
.input-btn {
  gap: 5px;
  margin: 20px 0;
  justify-content: center;
  display: flex;
}

.suppliers-section {
  max-width: 1200px;
  margin: 40px auto;
  font-family: Arial, sans-serif;
  padding-left: 10px;
}

.suppliers-section h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #1c1c1c;
}

.suppliers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.supplier-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.supplier-item img {
  width: 28px;
  height: 20px;
  object-fit: cover;
}

.supplier-item .info .country {
  margin: 0;
  font-size: 16px;
  color: #1c1c1c;
}

.supplier-item .info .url {
  margin: 0;
  font-size: 13px;
  color: #8b96a5;
}

@media (max-width: 768px) {
  .suppliers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

footer {
  background: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 40px;
}

.brand-col p {
  color: var(--gray-600);
  font-size: 14px;
  margin: 15px 0;
}

.socials i {
  font-size: 25px;
  color: var(--gray-400);
  margin-right: 10px;
  cursor: pointer;
}

.footer-col h4 {
  margin-bottom: 15px;
}
.footer-col ul li {
  color: var(--gray-400);
  margin-bottom: 8px;
  font-size: 14px;
  cursor: pointer;
}
.app-btn span {
  font-size: 10px;
  padding-left: 18px;
}
.btn-text {
  font-size: 18px;
}
.btn-text i {
  font-size: 22px;
}
.app-btn {
  background: black;
  color: white;
  border: none;
  width: 100%;
  padding: 0px 0px 6px 6px;
  border-radius: 6px;
  margin-bottom: 10px;
  text-align: left;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.footer-bottom {
  background: var(--gray-200);
  border-top: 1px solid var(--gray-200);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-600);
}
.lang-selector {
  display: flex;
  gap: 8px;
  align-items: center;
}
.en {
  background-color: var(--gray-200);
  border: none;
}
