/* ===== Global Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.5;
}

.container {
  width: 90%;
  max-width: 1170px;
  margin: 0 auto;
}

/* ===== Header ===== */
.site-header {
  padding: 20px 0;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.site-title {
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.site-tagline {
  font-size: 14px;
  color: #666;
}

/* ===== Shop Header ===== */
.shop-header {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shop-title {
  font-size: 36px;
  font-weight: bold; text-align: center;
}

.shop-count {
  font-size: 14px;
  color: #444;
}

.shop-sorting select {
  padding: 6px 10px;
  border: 1px solid #ddd;
  background: #fff;
}

/* ===== Product Grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  padding: 30px 0;
}

/* ===== Product Card ===== */
.product-card {
  position: relative;
  border: 1px solid #eee;
  padding: 15px;
  text-align: center;
  background: #fff;
  transition: 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.product-image img {
  width: 100%;
  height: auto;
  margin-bottom: 12px;
}

.product-name {
  font-size: 16px;
  font-weight: bold;
  margin: 10px 0;
}
.product-name a{ color:#000; text-decoration:none;
}

.product-price {
  font-size: 14px;
  margin-bottom: 15px;
}

.product-price .old-price {
  text-decoration: line-through;
  color: #999;
  margin-right: 6px;
}

.product-price .new-price {
  font-weight: bold;
  color: #111;
}

/* ===== Sale Badge ===== */
.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #a3a130;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 50%;
  font-weight: bold;
}

/* ===== Buttons ===== */
.product-btn {
  display: inline-block;
  background: #00b5e2;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 3px;
  transition: background 0.3s ease;
}

.product-btn:hover {
  background: #008cb0;
}

/* ===== Footer ===== */
.site-footer {
  background: #111;
  color: #fff;
  padding: 15px 0;
  text-align: center;
  font-size: 13px;
  margin-top: 40px;
}
/* ===== Breadcrumb ===== */
.breadcrumb {
  background: #f9f9f9;
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px solid #eee;
}
.breadcrumb a {
  color: #00b5e2;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb span {
  color: #666;
}

/* ===== Product Page Layout ===== */
.product-page {
  padding: 30px 0;
}

.product-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

/* Product Image Section */
.product-gallery {
  flex: 0 0 45%;
  position: relative;
}
.product-gallery img {
  width: 100%;
  height: auto;
  border: 1px solid #eee;
  padding: 8px;
  background: #fff;
}

/* Product Info Section */
.product-summary {
  flex: 0 0 50%;
}
.product-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}
.product-meta {
  margin-top: 20px;
  font-size: 14px;
}
.product-meta a {
  color: #00b5e2;
  text-decoration: none;
}
.product-meta a:hover {
  text-decoration: underline;
}

/* ===== Product Description ===== */
.product-description {
  margin-top: 40px;
}
.product-description h3 {
  font-size: 20px;
  margin: 25px 0 10px;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}
.product-description p {
  margin-bottom: 15px;
  color: #444;
}
.product-description ul {
  margin: 10px 0 20px 20px;
  list-style: disc;
}
.product-description li {
  margin-bottom: 8px;
}

/* ===== Table Styling ===== */
.product-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.product-table th,
.product-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}
.product-table th {
  background: #f2f2f2;
  font-weight: bold;
}

/* ===== Related Products ===== */
.related-products {
  margin-top: 50px;
}
.related-products h3 {
  font-size: 20px;
  margin-bottom: 20px;
}
.related-products .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}
.related-products .product-card {
  border: 1px solid #eee;
  padding: 15px;
  text-align: center;
}

/* Tablets */
@media (max-width: 991px) {
  .shop-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .product-wrapper {
    flex-direction: column;
  }
  .product-gallery,
  .product-summary {
    flex: 1 1 100%;
  }
  .product-title {
    font-size: 22px;
  }
}

/* Mobiles */
@media (max-width: 600px) {
  .site-title {
    font-size: 18px;
  }
  .shop-title {
    font-size: 20px;
  }
  .product-title {
    font-size: 20px;
  }
  .product-description h3 {
    font-size: 18px;
  }
  .product-btn {
    font-size: 12px;
    padding: 8px 12px;
  }
  .product-table th,
  .product-table td {
    font-size: 12px;
    padding: 8px;
  }
  .breadcrumb {
    font-size: 12px;
  }
}