@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
:root {
  --primary: #222;
  --primary-light: #444;
  --accent: #e53935;
  --accent-light: #ffe0b2;
  --bg: #f9f9f9;
  --card-bg: #fff;
  --border: #eee;
  --shadow: 0 2px 8px rgba(0,0,0,0.03);
  --radius: 5px;
  --tag-bg: #eee;
  --tag-color: #444;
  --tag-selected-bg: #ffe066;
  --tag-selected-color: #222;
  --btn-bg: #f5f5f5;
  --btn-color: #222;
  --btn-hover-bg: #e0e0e0;
  --notif-bg: #e53935;
  --notif-color: #fff;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  margin: 0;
  font-size: 16px;
  background: #f9f9f9;
  min-height: 100vh;
  overflow-x: hidden;
}
button, .buy-btn, .detail-btn, .subscribe-btn {
  font-family: 'Roboto', Arial, sans-serif !important;
}
.top-bar {
  background: #222;
  color: #fff;
  padding: 20px 24px 18px 24px;
  text-align: left;
  font-size: 1.5em;
  letter-spacing: 1px;
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 2000;
  box-shadow: none;
}
.content {
  min-height: 60vh;
  padding: 32px 0 80px 0;
  background: none;
}
.footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 16px 0;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  font-size: 1em;
  z-index: 1300;
  box-shadow: none;
}
.footer-link {
  color: #e53935;
  text-decoration: underline;
}
.search-bar-container,
.controls-container {
  display: none !important;
}
.search-bar {
  width: 90%;
  max-width: 350px;
  padding: 10px 36px 10px 36px;
  border: 1px solid #eee;
  border-radius: 8px;
  font-size: 1em;
  background: #fafafa;
  outline: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  background-image: url('data:image/svg+xml;utf8,<svg fill="gray" height="18" viewBox="0 0 24 24" width="18" xmlns="http://www.w3.org/2000/svg"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99c.41.41 1.09.41 1.5 0s.41-1.09 0-1.5l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>');
  background-repeat: no-repeat;
  background-position: 10px center;
}
.shop-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
}
.product-grid {
  width: 90%;
  margin:auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  justify-self: center;
  justify-items: center;
  padding-bottom: 60px;
  margin-top: 0px;
}
@media (min-width: 700px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (min-width: 1600px) {
  .product-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}
.product-card {
  background: #fff;
  border: 1.5px solid #eee;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px 10px 16px 10px;
  transition: box-shadow 0.18s, border 0.18s, transform 0.18s;
  cursor: pointer;
}
.product-card:hover {
  box-shadow: 0 8px 32px rgba(35,41,70,0.13);
  border-color: var(--accent);
  transform: translateY(-2px) scale(1.025);
}
.discount-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #e53935;
  color: #fff;
  font-size: 0.95em;
  font-weight: bold;
  padding: 4px 12px;
  border-top-right-radius: var(--radius);
  border-bottom-left-radius: 8px;
  z-index: 2;
  height: 28px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.product-info {
  margin-top: auto;
}
.product-title {
  font-size: 1em;
  color: #888;
  margin: auto;
  margin-bottom: 2px;
  font-weight: 300;
  letter-spacing: 0.01em;
}
.product-price {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--primary);
}
.old-price {
  font-size: 0.9em;
  color: #aaa;
  text-decoration: line-through;
}
@media (max-width: 600px) {
  .search-bar {
    width: 98%;
  }
  .filter-panel {
    left: 50%;
    transform: translateX(-50%);
    min-width: unset;
    width: 92vw;
    max-width: 380px;
    border-radius: 12px;
    margin-top: 0;
    padding: 16px 16px 12px 16px;
    box-sizing: border-box;
    position: fixed;
    top: 80px;
    z-index: 1000;
  }
  .dropdown-menu {
    left: 50%;
    transform: translateX(-50%);
    min-width: unset;
    width: 92vw;
    max-width: 380px;
    border-radius: 12px;
    margin-top: 0;
    position: fixed;
    top: 80px;
    z-index: 1000;
  }
  .product-detail {
    width: 90vw;
    max-width: 420px;
    margin: 0 auto;
    border-radius: 12px;
    box-sizing: border-box;
  }
}
.sort-buttons {
  display: flex;
  gap: 10px;
}
.sort-buttons button {
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 7px 16px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s;
}
.sort-buttons button:hover {
  background: #e0e0e0;
}
.filter-container {
  display: flex;
  gap: 8px;
}
.filter-container input[type="number"] {
  width: 90px;
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1em;
}
.filter-container button {
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s;
}
.filter-container button:hover {
  background: #e0e0e0;
}
.main-controls {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 0;
}
.main-controls button {
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 22px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s;
}
.main-controls button:hover {
  background: #e0e0e0;
}
.dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 8px 0;
  position: absolute;
  z-index: 10;
  min-width: 180px;
  margin-top: 6px;
  left: 50%;
  transform: translateX(-50%);
}
.dropdown-menu button {
  background: none;
  border: none;
  text-align: left;
  padding: 10px 20px;
  font-size: 1em;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}
.dropdown-menu button:hover {
  background: #f5f5f5;
}
.filter-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 18px 20px 14px 20px;
  position: absolute;
  z-index: 10;
  min-width: 220px;
  margin-top: 6px;
  left: 50%;
  transform: translateX(-50%);
}
.filter-panel input[type="number"] {
  margin-bottom: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  background: #fafbfc;
  font-size: 1.08em;
  color: #222;
  transition: border 0.2s, box-shadow 0.2s;
  outline: none;
}
.filter-panel input[type="number"]:focus {
  border: 1.5px solid #888;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  background: #fff;
}
.filter-panel button {
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 4px;
}
.filter-panel button:hover {
  background: #e0e0e0;
}
.product-detail {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  max-width: 700px;
  width: 100vw;
  margin: 0 auto;
  position: relative;
  display: block;
  animation: fadeIn 0.2s;
}
.product-detail-title {
  text-align: center;
  font-size: 2.1em;
  font-weight: 700;
  color: #222;
  display: block;
  width: 100%;
  margin: 20px auto 25px 24px;
  letter-spacing: 0.01em;
}
.product-detail-img-wrap {
  width: 70%;
  margin: auto;
  background: #f8fafc;
  border-radius: 5px;
  box-shadow: 0 2px 12px rgba(35,41,70,0.07);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-detail-img {
  object-fit: contain;
  display: block;
  background: #f8fafc;
}
.product-detail-tags {
  margin-bottom: 20px;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-tag {
  display: inline-block;
  background: #eee;
  color: #444;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 4px 12px;
  font-size: 0.98em;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.18s, border 0.18s;
}
.product-tag:not(.tag-alias):hover {
  background: #e0e0e0;
  color: #222;
  border-color: #444;
}
.product-compat {
  margin-bottom: 8px;
  font-size: 1.08em;
  color: #444;
  font-weight: 500;
}
.product-detail-top {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 0;
  background: none;
  box-shadow: none;
}
.product-detail-info-block {
  display: flex;
  flex-direction: column;
  width: auto;
  height: fit-content;
  background: none;
  box-shadow: none;
}
.product-detail-rating {
  color: #f5b301;
  font-size: 30px;
  letter-spacing: -5px;
  margin-top: 2px;
}
.product-detail-summary {
  font-size: 1em;
  font-style: italic;
  font-weight: 300;
  color: #444;
  margin-bottom: 8px;
}
.product-detail-main-row {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.product-detail-price-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.product-detail-discount-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #e53935;
  color: #fff;
  font-size: 1.1em;
  font-weight: bold;
  padding: 4px 16px;
  border-top-right-radius: 18px;
  border-bottom-left-radius: 8px;
  z-index: 2;
  height: 32px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.product-detail-discount-badge.hidden {
  visibility: hidden;
}
.product-price-detail {
  font-size: 2em;
  font-weight: bold;
  color: #222;
  margin-bottom: 2px;
}
.product-detail .old-price {
  font-size: 1em;
  color: #aaa;
  text-decoration: line-through;
}
.product-desc {
  color: #444;
  font-size: 1.08em;
  margin: auto;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  padding: 18px 18px 14px 18px;
  font-style: normal;
  box-sizing: border-box;
}
.detail-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 18px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
.detail-btn {
  background: #f5f5f5;
  color: #222;
  border: 1.5px solid #eee;
  border-radius: 7px;
  padding: 14px 18px;
  font-size: 1.2em;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s, border 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  max-width: 180px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 1px 6px rgba(35,41,70,0.04);
}
.detail-btn:hover {
  background: #e0e0e0;
  color: #222;
  border-color: #444;
}
@media (max-width: 600px) {
  .product-detail {
    max-width: 100vw;
    padding-left: 0;
    padding-right: 0;
  }
  .product-detail-title {
    font-size: 1.3em;
    margin-left: 5px;
    margin-top: 20px;
    margin-bottom: 15px;
  }
  .product-detail-img-wrap {
    margin-bottom: 15px;
  }
  .product-detail-img {
    border-radius: 0;
  }
  .product-detail-tags {
    gap: 6px;
  }
  .product-desc {
    font-size: 1em;
    margin: 18px 2vw 24px 2vw;
    padding: 12px 8px 10px 8px;
    box-sizing: border-box;
  }
}


.back-btn {
  display: inline-block;
  background: #f5f5f5;
  color: #222;
  border: 1.5px solid #eee;
  border-radius: 8px;
  font-size: 1.05em;
  font-weight: 600;
  padding: 10px 22px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: background 0.2s, border 0.2s;
}
.back-btn:hover, .back-btn:focus {
  background: #e0e0e0;
  color: #222;
  border: 1.5px solid #444;
}
.product-detail h2 {
  margin: 0 0 8px 0;
  font-size: 1.3em;
  color: #222;
}
.product-price-detail {
  font-size: 2.5em;
  font-weight: bold;
  color: #222;
  margin-bottom: 10px;
}
.product-detail .old-price {
  font-size: 0.5em;
  color: #aaa;
  text-decoration: line-through;
}
.product-desc {
  width: 85%;
  margin: auto;
  color: #444;
  font-size: 1em;
  margin-top: 15px;
  margin-bottom: 15px;
  box-sizing: border-box;
}
.detail-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  width: 90%;
}
.detail-btn {
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 7px;
  padding: 9px 25px;
  font-size: 1.1em;
  color: #222;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s, border 0.2s;
  cursor: pointer;
  display: inline-block;
}
.detail-btn:hover {
  background: #e0e0e0;
  border: 1.5px solid #bbb;
}
@media (max-width: 600px) {
  .product-detail-main {
    gap: 10px;
  }
  .product-detail-img {
    width: 100%;
  }
}
.buy-btn-bg {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  z-index: 1199;
  pointer-events: none;
  background: linear-gradient(to top, #fff 80%, rgba(255,255,255,0.7) 100%, rgba(255,255,255,0));
}
.buy-btn {
  z-index: 1200;
  background: #e53935;
  color: #fff;
  font-size: 1.1em;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  width: calc(100vw - 48px);
  max-width: 180px;
  margin: 0 auto;
  display: block;
  margin-top: 20px;
  animation: buyPulse 2.2s ease-in-out infinite;
}
.buy-btn:hover, .buy-btn:focus {
  background: #444;
  color: #fff;
}
@media (max-width: 600px) {
  .buy-btn {
    padding: 16px 0;
    font-size: 1.1em;
    width: calc(100vw - 24px);
    max-width: 98vw;
  }
  .buy-btn-bg {
    height: 90px;
  }
}
@keyframes buyPulse {
  0% { transform: scale(1); box-shadow: 0 4px 16px rgba(22,194,213,0.13); }
  50% { transform: scale(1.012); box-shadow: 0 8px 24px rgba(22,194,213,0.18); }
  100% { transform: scale(1); box-shadow: 0 4px 16px rgba(22,194,213,0.13); }
}
.notif-bar {
  width: 100vw;
  background: #e53935;
  color: #fff;
  text-align: center;
  font-size: 0.9em;
  padding: 10px 0 9px 0;
  letter-spacing: 0.5px;
  font-weight: 500;
  position:sticky;
  top: 65px;
  z-index: 1999;
  display: none;
  animation: notifFlash 2.2s ease-in-out infinite;
}
@keyframes notifFlash {
  0% { background: #e53935; }
  50% { background: #e94560; }
  100% { background: #e53935; }
}
.notif-bar.show {
  display: block;
}
.notif-link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  margin: 0 4px 0 0;
  font-size: 1em;
  cursor: pointer;
}
@media (min-width: 900px) {
  .product-detail {
    max-width: 600px;
    width: 60vw;
    padding-left: 32px;
    padding-right: 32px;
  }
  .product-detail-title {
  }
  .detail-actions {
    gap: 18px;
  }
  .detail-btn {
    min-width: 0;
    max-width: none;
    width: 100%;
    font-size: 1.18em;
    padding: 18px 0;
  }
  .buy-btn {
    max-width: 600px;
    width: 60vw;
    font-size: 1.35em;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .product-detail-img-wrap {
    width: 70%;
    box-sizing: border-box;
  }
}
.product-card.favourite {
  border: 2px solid #ffe066;
  box-shadow: 0 0 0 2px #fffbe6, 0 2px 12px 0 rgba(255,224,102,0.18);
  transition: border 0.2s, box-shadow 0.2s;
}
.favourite-btn {
  background: #fffbe6;
  color: #ffb300;
  border: 1.5px solid #ffb300;
  border-radius: 7px;
  padding: 10px 18px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border 0.2s, color 0.2s;
  display: block;
  width: 70%;
  box-sizing: border-box;
}
.favourite-btn:hover, .favourite-btn:focus {
  background: #ffecb3;
  color: #e65100;
  border-color: #e65100;
}
.product-title .favourite-star {
  color: #ffb300;
  font-size: 1.1em;
  margin-left: 2px;
}
/* Remove underline and blue color from anchor wrapping buy button */
.buy-btn:visited,
.buy-btn:active,
.buy-btn:focus,
.buy-btn:link {
  text-decoration: none !important;
  color: inherit !important;
}

.buy-btn-link {
  text-decoration: none !important;
  color: inherit !important;
  display: inline-block;
}

.tag-filter-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  padding: 18px 0 10px 0;
  width: 90%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.tag-filter-heading {
  font-size: 1.15em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #444;
  letter-spacing: 0.01em;
}
.tag-list {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: start;
  align-items: start;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 15px;
  padding-top: 5px;
  padding-left: 5px;
  scrollbar-width: auto;
  scrollbar-color: #888 #eee;
  width: 85%;
  margin: auto;
}
.tag-list::-webkit-scrollbar {
  height: 8px;
}
.tag-list::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 4px;
}
.tag-list::-webkit-scrollbar-track {
  background: #eee;
  border-radius: 4px;
}
.tag-btn {
  background: #eee;
  border: 1.5px solid #eee;
  border-radius: 18px;
  padding: 8px 18px;
  font-size: 1em;
  color: #444;
  cursor: pointer;
  transition: background 0.18s, border 0.18s, color 0.18s;
  outline: none;
  font-weight: 500;
  white-space: nowrap;
}
.tag-btn.selected, .tag-btn:active {
  background: #ffe066;
  color: #222;
  border-color: #e53935;
}
.tag-btn:hover {
  background: #e0e0e0;
  border-color: #444;
}
.tag-alias {
  background: #f5f5f5;
  color: #888;
  font-style: italic;
  border-style: dashed;
}
.product-detail-tags {
  margin-bottom: 10px;
  margin-top: 20px;
  width: 90%;
  margin: auto;
  
  display: flex;
  justify-content: center;
}
.product-compat {
  margin-bottom: 8px;
  font-size: 1em;
  color: #444;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.product-detail-actions {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  width: 85vw;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.product-detail-actions .back-btn,
.product-detail-actions .favourite-btn {
  width: 100%;
  font-size: clamp(0.9em, 2vw, 1.1em);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 900px) {
  .product-detail-actions {
    width: 500px;
    max-width: 500px;
  }
  .product-detail-title {
    margin: 12.5px 0;
    font-size: 1.75em;
  }
} 
.featured-row-title {
  font-size: 1.25em;
  font-weight: 700;
  color: #222;
  margin: 32px auto 8px auto;
  width: 90%;
  letter-spacing: 0.01em;
  padding-left: 0;
  border-left: none;
  background: none;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 2px solid #eee;
  text-align: left;
}
.featured-row-banner {
  position: absolute;
  top: 8px;
  left: 10vw;
  background: #e53935;
  color: #fff;
  font-size: 0.9em;
  font-weight: 700;
  padding: 6px 16px 6px 12px;
  border-top-left-radius: 0.7em;
  border-bottom-right-radius: 1.1em;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  letter-spacing: 0.01em;
  display: inline-block;
  white-space: nowrap;
}
#featuredProductsRow {
  position: relative;
  background: none;
  margin: 0 auto 24px auto;
  display: flex;
  flex-direction: row;
  gap: 18px;
  overflow-x: auto;
  padding: 12px 0 18px 0;
  scrollbar-width: thin;
  scrollbar-color: #888 #eee;
  width: 80%;
}
#featuredProductsRow::-webkit-scrollbar {
  height: 8px;
}
#featuredProductsRow::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 4px;
}
#featuredProductsRow::-webkit-scrollbar-track {
  background: #eee;
  border-radius: 4px;
}
#featuredProductsRow .product-card {
  flex: 0 0 22vw;
  max-width: 260px;
  min-width: 120px;
  margin-right: 5px;
  margin-top: 25px;
  box-sizing: border-box;
  aspect-ratio: 1/1;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}
#featuredProductsRow .product-card:last-child {
  margin-right: 0;
}
#featuredProductsRow .product-img-wrap {
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 10px;
  box-sizing: border-box;
}
#featuredProductsRow .product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  display: block;
}
#featuredProductsRow .featured-row-banner {
  align-self: flex-start;
  height: auto;
}
@media (max-width: 600px) {
  #featuredProductsRow .product-card {
    flex: 0 0 38vw;
    max-width: 120px;
    min-width: 80px;
    aspect-ratio: 1/1;
  }
  #featuredProductsRow .product-img-wrap {
    padding: 4px;
  }
}
.featured-product-card {
  background: #fff;
  border: 2px solid #ffe066;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(255,224,102,0.10);
  min-width: 260px;
  max-width: 320px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 14px 20px 14px;
  position: relative;
  transition: box-shadow 0.18s, border 0.18s, transform 0.18s;
}
.featured-product-card:hover {
  box-shadow: 0 8px 32px rgba(35,41,70,0.13);
  border-color: #e53935;
  transform: translateY(-2px) scale(1.025);
}
.featured-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e53935;
  color: #fff;
  font-size: 0.95em;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 12px;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.featured-product-img {
  width: 100%;
  max-width: 180px;
  height: auto;
  border-radius: 6px;
  margin-bottom: 12px;
  object-fit: contain;
  background: #f8fafc;
}
.featured-product-title {
  font-size: 1.1em;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
  text-align: center;
}
.featured-product-desc {
  font-size: 0.98em;
  color: #444;
  margin-bottom: 10px;
  text-align: center;
}
.featured-product-btn {
  background: #e53935;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.featured-product-btn:hover {
  background: #444;
}
@media (max-width: 600px) {
  #featuredProductsRow {
    gap: 10px;
    padding: 8px 0 12px 0px;
  }
  .featured-product-card {
    min-width: 180px;
    max-width: 220px;
    padding: 10px 6px 12px 6px;
  }
  .featured-product-img {
    max-width: 110px;
  }
} 